Contract 0x3c9dF924b16b321847096a47d2d57D4A3259D060

 

Internal Transactions as a result of Contract Execution

Parent TxHash Block Age From To Value
Warning: The compiled contract might be susceptible to ExpExponentCleanup (medium/high-severity), EventStructWrongData (very low-severity), NestedArrayFunctionCallDecoder (medium-severity) Solidity Compiler Bugs.

Contract Source Code Verified (Exact Match)
Contract Name: EscrowChecker
Compiler Version: v0.4.21+commit.dfe3193c
Optimization Enabled: Yes
Runs (Optimizer):  200


Contract Source Code
pragma solidity ^0.4.21;


contract HavvenEscrow {
    function numVestingEntries(address account) public returns (uint);
    function getVestingScheduleEntry(address account, uint index) public returns (uint[2]);
}


contract EscrowChecker {
    HavvenEscrow public havven_escrow;
    function EscrowChecker(HavvenEscrow _esc) public {
        havven_escrow = _esc;
    }

    function checkAccountSchedule(address account)
        public
        view
        returns (uint[16])
    {
        uint[16] memory _result;
        uint schedules = havven_escrow.numVestingEntries(account);
        for (uint i=0; i < schedules; i++) {
            uint[2] memory pair = havven_escrow.getVestingScheduleEntry(account, i);
            _result[i*2] = pair[0];
            _result[i*2 + 1] = pair[1];
        }
        return _result;
    }
}

Contract ABI
[{"constant":true,"inputs":[{"name":"account","type":"address"}],"name":"checkAccountSchedule","outputs":[{"name":"","type":"uint256[16]"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"havven_escrow","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"name":"_esc","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"}]

Contract Creation Code
6060604052341561000f57600080fd5b6040516020806102d98339810160405280805160008054600160a060020a03909216600160a060020a03199092169190911790555050610285806100546000396000f3006060604052600436106100325763ffffffff60e060020a600035041663449d0eb18114610037578063a55c51d81461008f575b600080fd5b341561004257600080fd5b610056600160a060020a03600435166100be565b604051808261020080838360005b8381101561007c578082015183820152602001610064565b5050505090500191505060405180910390f35b341561009a57600080fd5b6100a2610209565b604051600160a060020a03909116815260200160405180910390f35b6100c6610218565b6100ce610218565b6000806100d9610240565b600054600160a060020a031663204b676a8760405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b151561012957600080fd5b5af1151561013657600080fd5b5050506040518051935060009250505b828210156101ff57600054600160a060020a031663da7bd3e9878460405160e060020a63ffffffff8516028152600160a060020a03909216600483015260248201526044016040805180830381600087803b15156101a357600080fd5b5af115156101b057600080fd5b50505060405160408181019052905080518460028402601081106101d057fe5b602002015280600160200201518460016002850201601081106101ef57fe5b6020020152600190910190610146565b5091949350505050565b600054600160a060020a031681565b6102006040519081016040526010815b60008152602001906001900390816102285790505090565b60408051908101604052600081526001602082016102285600a165627a7a72305820de2b06f75a72bb86323e27b7a32b4f4d05de94f7b7a1d3e7a9a282f197499cc10029000000000000000000000000971e78e0c92392a4e39099835cf7e6ab535b2227


    Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000971e78e0c92392a4e39099835cf7e6ab535b2227

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000971e78e0c92392a4e39099835cf7e6ab535b2227


   Swarm Source:
bzzr://de2b06f75a72bb86323e27b7a32b4f4d05de94f7b7a1d3e7a9a282f197499cc1
Block Age transaction Difficulty GasUsed Reward
Block Age Uncle Number Difficulty GasUsed Reward
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.