Contract 0x5c8266fbf78977e8B3C3fCc96cDd3CC21133ff9E

 

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) Solidity Compiler Bugs.

Contract Source Code Verified (Exact Match)
Contract Name: balanceChecker
Compiler Version: v0.4.24+commit.e67f0147
Optimization Enabled: Yes
Runs (Optimizer):  200


Contract Source Code
contract ERC20 {
    mapping(address => uint) public balanceOf;
}


contract balanceChecker {
    function checkBals(ERC20 _location, address[] addrs) public view returns(uint[]) {
        uint[] memory bals = new uint[](addrs.length);
        for (uint i=0; i < addrs.length; i++) {
            bals[i] = _location.balanceOf(addrs[i]);
        }
        return bals;
    }
}

Contract ABI
[{"constant":true,"inputs":[{"name":"_location","type":"address"},{"name":"addrs","type":"address[]"}],"name":"checkBals","outputs":[{"name":"","type":"uint256[]"}],"payable":false,"stateMutability":"view","type":"function"}]

Contract Creation Code
608060405234801561001057600080fd5b50610278806100206000396000f3006080604052600436106100405763ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663b20725828114610045575b600080fd5b34801561005157600080fd5b506040805160206004602480358281013584810280870186019097528086526100b596843573ffffffffffffffffffffffffffffffffffffffff16963696604495919490910192918291850190849080828437509497506101059650505050505050565b60408051602080825283518183015283519192839290830191858101910280838360005b838110156100f15781810151838201526020016100d9565b505050509050019250505060405180910390f35b60608060008351604051908082528060200260200182016040528015610135578160200160208202803883390190505b509150600090505b8351811015610244578473ffffffffffffffffffffffffffffffffffffffff166370a08231858381518110151561017057fe5b906020019060200201516040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b1580156101f857600080fd5b505af115801561020c573d6000803e3d6000fd5b505050506040513d602081101561022257600080fd5b5051825183908390811061023257fe5b6020908102909101015260010161013d565b5093925050505600a165627a7a7230582033c401ebc894adf01eb13f5f0146a88595af43b304fe9d236bf74c135f9d39f40029


   Swarm Source:
bzzr://33c401ebc894adf01eb13f5f0146a88595af43b304fe9d236bf74c135f9d39f4
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.