Contract Overview
Balance: 0 Ether
Ether Value: $0
Transactions: 1 txn
Misc:
Address Watch: Add To Watch List
Contract Creator: 0xb8b68ffbad23b2077f073c12b4e31cecdc89f6d1at txn 0x03dce817d2b522259ae2a7c5473843718ca35c1d8ee42066851a873e92287394
[ Download CSV Export  ] 
 Internal Transactions as a result of Contract Execution
View All
ParentTxHash Block Age From To Value
Warning: The Compiled Contract might be susceptible to ExpExponentCleanup (medium/high-severity), EventStructWrongData (very low-severity) SolidityCompiler Bugs.

Contract Source Code Verified (Exact Match)
Contract Name: StringYokes
Compiler Text: v0.4.24+commit.e67f0147
Optimization Enabled: Yes
Runs (Optimiser):  200



  Contract Source Code   Find Similiar Contracts

library StringYokes {
    function zint_bytes32ToString(bytes32 x) public pure returns (string) {
        bytes memory bytesString = new bytes(32);
        uint charCount = 0;
        for (uint j = 0; j < 32; j++) {
            byte char = byte(bytes32(uint(x) * 2 ** (8 * j)));
            if (char != 0) {
                bytesString[charCount] = char;
                charCount++;
            }
        }
        bytes memory bytesStringTrimmed = new bytes(charCount);
        for (j = 0; j < charCount; j++) {
            bytesStringTrimmed[j] = bytesString[j];
        }
        return string(bytesStringTrimmed);
    }
    function zint_convert(string key) public pure returns (bytes32 ret) {
        if (bytes(key).length > 32) revert();
        assembly {
          ret := mload(add(key, 32))
        }
    }
}

    Contract ABI  
[{"constant":true,"inputs":[{"name":"key","type":"string"}],"name":"zint_convert","outputs":[{"name":"ret","type":"bytes32"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[{"name":"x","type":"bytes32"}],"name":"zint_bytes32ToString","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"pure","type":"function"}]

  Contract Creation Code Switch To Opcodes View
610338610030600b82828239805160001a6073146000811461002057610022565bfe5b5030600052607381538281f30073000000000000000000000000000000000000000030146080604052600436106100625763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416630bb8b9c381146100675780632c76d586146100c5575b600080fd5b6040805160206004803580820135601f81018490048402850184019095528484526100b39436949293602493928401919081908401838280828437509497506101459650505050505050565b60408051918252519081900360200190f35b6100d060043561015e565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561010a5781810151838201526020016100f2565b50505050905090810190601f1680156101375780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b600060208251111561015657600080fd5b506020015190565b6040805160208082528183019092526060918291600091829182918591908082016104008038833901905050945060009350600092505b6020831015610222576008830260020a870291507fff00000000000000000000000000000000000000000000000000000000000000821615610217578185858151811015156101e057fe5b9060200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506001909301925b600190920191610195565b836040519080825280601f01601f191660200182016040528015610250578160200160208202803883390190505b509050600092505b8383101561030257848381518110151561026e57fe5b9060200101517f010000000000000000000000000000000000000000000000000000000000000090047f01000000000000000000000000000000000000000000000000000000000000000281848151811015156102c757fe5b9060200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600190920191610258565b96955050505050505600a165627a7a723058206daecda92728d67a57390f7ca1538897dffa2ed4d7821b1d6b6d09e92efdb5030029

   Swarm Source:
bzzr://6daecda92728d67a57390f7ca1538897dffa2ed4d7821b1d6b6d09e92efdb503

 

View All
Block Age transaction Difficulty GasUsed Reward
View All
Block Age UncleNumber Difficulty GasUsed Reward
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.