Contract Address Details

0x44b8c54d95906D6b223dAE5E038cB8EF4ef45aE5

Contract Name
CroBridge
Creator
Balance
0 TCRO
Tokens
Fetching tokens...
Transactions
556 Transactions
Transfers
0 Transfers
Gas Used
9,840,040
Last Balance Update
21041927
Contract name:
CroBridge




Optimization enabled
true
Compiler version
v0.6.6+commit.6c089d02




Optimization runs
200
EVM Version
default




Verified at
2021-10-14T12:10:40.823087Z

Contract source code

pragma solidity ^0.6.6;

contract CroBridge {

    event __CronosSendCroToIbc(address sender, string recipient, uint256 amount);

    // Pay the contract a certain CRO amount and trigger a CRO transfer
    // from the contract to recipient through IBC
    function send_cro_to_crypto_org(string memory recipient) public payable {
        emit __CronosSendCroToIbc(msg.sender, recipient, msg.value);
    }
}
        

Contract ABI

[{"type":"event","name":"__CronosSendCroToIbc","inputs":[{"type":"address","name":"sender","internalType":"address","indexed":false},{"type":"string","name":"recipient","internalType":"string","indexed":false},{"type":"uint256","name":"amount","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"function","stateMutability":"payable","outputs":[],"name":"send_cro_to_crypto_org","inputs":[{"type":"string","name":"recipient","internalType":"string"}]}]
            

Deployed ByteCode

0x60806040526004361061001e5760003560e01c8063c41cc27014610023575b600080fd5b6100dc6004803603602081101561003957600080fd5b810190808035906020019064010000000081111561005657600080fd5b82018360208201111561006857600080fd5b8035906020019184600183028401116401000000008311171561008a57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505091929192905050506100de565b005b7ffbb552151d1a72b8da58707becbeaaf202cf9e83730579ce3184cf564f772859338234604051808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200180602001838152602001828103825284818151815260200191508051906020019080838360005b8381101561017a57808201518184015260208101905061015f565b50505050905090810190601f1680156101a75780820380516001836020036101000a031916815260200191505b5094505050505060405180910390a15056fea2646970667358221220cb07f3eb372cd35bfc3df64634bc3195dceb8f387dac127436010fd2c0d86e4664736f6c63430006060033