Mumbai Testnet

Contract

0xb0ddfe834E2006050fA500D661AC01464F05e87f
Transaction Hash
Method
Block
From
To
Value
Set Random Value481410242024-04-11 22:16:155 days ago1712873775IN
0xb0ddfe83...64F05e87f
0 MATIC0.0083482620.00000001
Set Random Value481410142024-04-11 22:15:535 days ago1712873753IN
0xb0ddfe83...64F05e87f
0 MATIC0.0089272121.38700001
Set Random Value481409962024-04-11 22:15:155 days ago1712873715IN
0xb0ddfe83...64F05e87f
0 MATIC0.0083482620.00000001
Set Random Value481409922024-04-11 22:15:075 days ago1712873707IN
0xb0ddfe83...64F05e87f
0 MATIC0.0080143219.20000001
Set Random Value481409682024-04-11 22:14:155 days ago1712873655IN
0xb0ddfe83...64F05e87f
0 MATIC0.0080143219.20000001
Set Random Value481409582024-04-11 22:13:535 days ago1712873633IN
0xb0ddfe83...64F05e87f
0 MATIC0.0080143219.20000001
Set Random Value481409442024-04-11 22:13:255 days ago1712873605IN
0xb0ddfe83...64F05e87f
0 MATIC0.0080140919.20000001
Set Random Value481409442024-04-11 22:13:255 days ago1712873605IN
0xb0ddfe83...64F05e87f
0 MATIC0.006678616.00000001
Set Random Value481409112024-04-11 22:12:135 days ago1712873533IN
0xb0ddfe83...64F05e87f
0 MATIC0.006678616.00000001
Set Random Value481409022024-04-11 22:11:555 days ago1712873515IN
0xb0ddfe83...64F05e87f
0 MATIC0.006678616.00000001
Set Random Value481408822024-04-11 22:11:135 days ago1712873473IN
0xb0ddfe83...64F05e87f
0 MATIC0.006678616.00000001
Set Random Value481408742024-04-11 22:10:555 days ago1712873455IN
0xb0ddfe83...64F05e87f
0 MATIC0.006678616.00000001
Set Random Value481408542024-04-11 22:10:135 days ago1712873413IN
0xb0ddfe83...64F05e87f
0 MATIC0.0146553535.10995944
Set Random Value481408462024-04-11 22:09:555 days ago1712873395IN
0xb0ddfe83...64F05e87f
0 MATIC0.0146553535.10995944
Set Random Value481408272024-04-11 22:09:155 days ago1712873355IN
0xb0ddfe83...64F05e87f
0 MATIC0.0137278532.88793152
Set Random Value481408172024-04-11 22:08:555 days ago1712873335IN
0xb0ddfe83...64F05e87f
0 MATIC0.012977531.09031893
Set Random Value481407992024-04-11 22:08:155 days ago1712873295IN
0xb0ddfe83...64F05e87f
0 MATIC0.0108608726.01948289
Set Random Value481407892024-04-11 22:07:555 days ago1712873275IN
0xb0ddfe83...64F05e87f
0 MATIC0.0111025426.59845412
Set Random Value481407692024-04-11 22:07:135 days ago1712873233IN
0xb0ddfe83...64F05e87f
0 MATIC0.0100179124.00000001
Set Random Value481407682024-04-11 22:07:115 days ago1712873231IN
0xb0ddfe83...64F05e87f
0 MATIC0.0100179124.00000001
Set Random Value481407412024-04-11 22:06:135 days ago1712873173IN
0xb0ddfe83...64F05e87f
0 MATIC0.0083482620.00000001
Set Random Value481407322024-04-11 22:05:535 days ago1712873153IN
0xb0ddfe83...64F05e87f
0 MATIC0.0083482620.00000001
Set Random Value481407142024-04-11 22:05:155 days ago1712873115IN
0xb0ddfe83...64F05e87f
0 MATIC0.0100179124.00000001
Set Random Value481407042024-04-11 22:04:555 days ago1712873095IN
0xb0ddfe83...64F05e87f
0 MATIC0.0095332222.83884133
Set Random Value481406862024-04-11 22:04:155 days ago1712873055IN
0xb0ddfe83...64F05e87f
0 MATIC0.0095332222.83884133
View all transactions

Parent Txn Hash Block From To Value
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
DIARandomOracle

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, None license
/**
 *Submitted for verification at mumbai.polygonscan.com on 2022-07-08
*/

// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.0;

contract DIARandomOracle {

struct Random { 
   string randomness;
   string signature;
   string previousSignature;
}
 
    mapping (uint256 => Random) public values;
    uint256 public lastRound = 0;

    address public oracleUpdater;
    
    event OracleUpdate(string key, uint128 value, uint128 timestamp);
    event UpdaterAddressChange(address newUpdater);
    
    constructor() {
        oracleUpdater = msg.sender;
    }
    
    // function setValue(string memory key, uint128 value, uint128 timestamp) public {
    //     require(msg.sender == oracleUpdater,"not a updater");
    //     uint256 cValue = (((uint256)(value)) << 128) + timestamp;
    //     values[key] = cValue;
    //     emit OracleUpdate(key, value, timestamp);
    // }

    function setRandomValue(uint256 _round, string memory _randomness,string memory _signature,string memory _previousSignature) public {
             require(msg.sender == oracleUpdater,"not a updater");
             require(lastRound<_round, "old round");
             lastRound = _round;
             values[_round] = Random(_randomness,_signature,_previousSignature);
    }
    
    function getValue(uint256 _round) external view returns ( Random memory) {
        return values[_round];
    }
    
    function updateOracleUpdaterAddress(address newOracleUpdaterAddress) public {
        require(msg.sender == oracleUpdater,"not a updater");
        oracleUpdater = newOracleUpdaterAddress;
        emit UpdaterAddressChange(newOracleUpdaterAddress);
    }

    function getRandomValueFromRound(uint256 _round ) external view returns (string memory){
        return values[_round].randomness;
    }
     function getRandomValueFromRoundWithSignature(uint256 _round ) external view returns (Random memory){
        return values[_round];
    }

    function getLastRound()public view returns(uint256){
        return lastRound;
    }
}

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"key","type":"string"},{"indexed":false,"internalType":"uint128","name":"value","type":"uint128"},{"indexed":false,"internalType":"uint128","name":"timestamp","type":"uint128"}],"name":"OracleUpdate","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newUpdater","type":"address"}],"name":"UpdaterAddressChange","type":"event"},{"inputs":[],"name":"getLastRound","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_round","type":"uint256"}],"name":"getRandomValueFromRound","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_round","type":"uint256"}],"name":"getRandomValueFromRoundWithSignature","outputs":[{"components":[{"internalType":"string","name":"randomness","type":"string"},{"internalType":"string","name":"signature","type":"string"},{"internalType":"string","name":"previousSignature","type":"string"}],"internalType":"struct DIARandomOracle.Random","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_round","type":"uint256"}],"name":"getValue","outputs":[{"components":[{"internalType":"string","name":"randomness","type":"string"},{"internalType":"string","name":"signature","type":"string"},{"internalType":"string","name":"previousSignature","type":"string"}],"internalType":"struct DIARandomOracle.Random","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastRound","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"oracleUpdater","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_round","type":"uint256"},{"internalType":"string","name":"_randomness","type":"string"},{"internalType":"string","name":"_signature","type":"string"},{"internalType":"string","name":"_previousSignature","type":"string"}],"name":"setRandomValue","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOracleUpdaterAddress","type":"address"}],"name":"updateOracleUpdaterAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"values","outputs":[{"internalType":"string","name":"randomness","type":"string"},{"internalType":"string","name":"signature","type":"string"},{"internalType":"string","name":"previousSignature","type":"string"}],"stateMutability":"view","type":"function"}]

6080604052600060015534801561001557600080fd5b5033600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506111d8806100666000396000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c80636f9aa784116100665780636f9aa78414610134578063805d64a01461016457806382bc07e614610182578063a921a502146101a0578063bfcd5771146101d057610093565b80630ff4c916146100985780634231a2c3146100c85780635e383d21146100e65780636aa45efc14610118575b600080fd5b6100b260048036038101906100ad9190610c41565b6101ec565b6040516100bf9190610f12565b60405180910390f35b6100d06103ce565b6040516100dd9190610f34565b60405180910390f35b61010060048036038101906100fb9190610c41565b6103d8565b60405161010f93929190610e86565b60405180910390f35b610132600480360381019061012d9190610c18565b61059a565b005b61014e60048036038101906101499190610c41565b6106a5565b60405161015b9190610e64565b60405180910390f35b61016c61074c565b6040516101799190610e49565b60405180910390f35b61018a610772565b6040516101979190610f34565b60405180910390f35b6101ba60048036038101906101b59190610c41565b610778565b6040516101c79190610f12565b60405180910390f35b6101ea60048036038101906101e59190610c6a565b61095a565b005b6101f4610ac2565b60008083815260200190815260200160002060405180606001604052908160008201805461022190611050565b80601f016020809104026020016040519081016040528092919081815260200182805461024d90611050565b801561029a5780601f1061026f5761010080835404028352916020019161029a565b820191906000526020600020905b81548152906001019060200180831161027d57829003601f168201915b505050505081526020016001820180546102b390611050565b80601f01602080910402602001604051908101604052809291908181526020018280546102df90611050565b801561032c5780601f106103015761010080835404028352916020019161032c565b820191906000526020600020905b81548152906001019060200180831161030f57829003601f168201915b5050505050815260200160028201805461034590611050565b80601f016020809104026020016040519081016040528092919081815260200182805461037190611050565b80156103be5780601f10610393576101008083540402835291602001916103be565b820191906000526020600020905b8154815290600101906020018083116103a157829003601f168201915b5050505050815250509050919050565b6000600154905090565b60006020528060005260406000206000915090508060000180546103fb90611050565b80601f016020809104026020016040519081016040528092919081815260200182805461042790611050565b80156104745780601f1061044957610100808354040283529160200191610474565b820191906000526020600020905b81548152906001019060200180831161045757829003601f168201915b50505050509080600101805461048990611050565b80601f01602080910402602001604051908101604052809291908181526020018280546104b590611050565b80156105025780601f106104d757610100808354040283529160200191610502565b820191906000526020600020905b8154815290600101906020018083116104e557829003601f168201915b50505050509080600201805461051790611050565b80601f016020809104026020016040519081016040528092919081815260200182805461054390611050565b80156105905780601f1061056557610100808354040283529160200191610590565b820191906000526020600020905b81548152906001019060200180831161057357829003601f168201915b5050505050905083565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461062a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161062190610ef2565b60405180910390fd5b80600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f121e958a4cadf7f8dadefa22cc019700365240223668418faebed197da07089f8160405161069a9190610e49565b60405180910390a150565b606060008083815260200190815260200160002060000180546106c790611050565b80601f01602080910402602001604051908101604052809291908181526020018280546106f390611050565b80156107405780601f1061071557610100808354040283529160200191610740565b820191906000526020600020905b81548152906001019060200180831161072357829003601f168201915b50505050509050919050565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60015481565b610780610ac2565b6000808381526020019081526020016000206040518060600160405290816000820180546107ad90611050565b80601f01602080910402602001604051908101604052809291908181526020018280546107d990611050565b80156108265780601f106107fb57610100808354040283529160200191610826565b820191906000526020600020905b81548152906001019060200180831161080957829003601f168201915b5050505050815260200160018201805461083f90611050565b80601f016020809104026020016040519081016040528092919081815260200182805461086b90611050565b80156108b85780601f1061088d576101008083540402835291602001916108b8565b820191906000526020600020905b81548152906001019060200180831161089b57829003601f168201915b505050505081526020016002820180546108d190611050565b80601f01602080910402602001604051908101604052809291908181526020018280546108fd90611050565b801561094a5780601f1061091f5761010080835404028352916020019161094a565b820191906000526020600020905b81548152906001019060200180831161092d57829003601f168201915b5050505050815250509050919050565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146109ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109e190610ef2565b60405180910390fd5b8360015410610a2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a2590610ed2565b60405180910390fd5b836001819055506040518060600160405280848152602001838152602001828152506000808681526020019081526020016000206000820151816000019080519060200190610a7e929190610ae3565b506020820151816001019080519060200190610a9b929190610ae3565b506040820151816002019080519060200190610ab8929190610ae3565b5090505050505050565b60405180606001604052806060815260200160608152602001606081525090565b828054610aef90611050565b90600052602060002090601f016020900481019282610b115760008555610b58565b82601f10610b2a57805160ff1916838001178555610b58565b82800160010185558215610b58579182015b82811115610b57578251825591602001919060010190610b3c565b5b509050610b659190610b69565b5090565b5b80821115610b82576000816000905550600101610b6a565b5090565b6000610b99610b9484610f74565b610f4f565b905082815260208101848484011115610bb157600080fd5b610bbc84828561100e565b509392505050565b600081359050610bd381611174565b92915050565b600082601f830112610bea57600080fd5b8135610bfa848260208601610b86565b91505092915050565b600081359050610c128161118b565b92915050565b600060208284031215610c2a57600080fd5b6000610c3884828501610bc4565b91505092915050565b600060208284031215610c5357600080fd5b6000610c6184828501610c03565b91505092915050565b60008060008060808587031215610c8057600080fd5b6000610c8e87828801610c03565b945050602085013567ffffffffffffffff811115610cab57600080fd5b610cb787828801610bd9565b935050604085013567ffffffffffffffff811115610cd457600080fd5b610ce087828801610bd9565b925050606085013567ffffffffffffffff811115610cfd57600080fd5b610d0987828801610bd9565b91505092959194509250565b610d1e81610fd2565b82525050565b6000610d2f82610fa5565b610d398185610fb0565b9350610d4981856020860161101d565b610d5281611111565b840191505092915050565b6000610d6882610fa5565b610d728185610fc1565b9350610d8281856020860161101d565b610d8b81611111565b840191505092915050565b6000610da3600983610fc1565b9150610dae82611122565b602082019050919050565b6000610dc6600d83610fc1565b9150610dd18261114b565b602082019050919050565b60006060830160008301518482036000860152610df98282610d24565b91505060208301518482036020860152610e138282610d24565b91505060408301518482036040860152610e2d8282610d24565b9150508091505092915050565b610e4381611004565b82525050565b6000602082019050610e5e6000830184610d15565b92915050565b60006020820190508181036000830152610e7e8184610d5d565b905092915050565b60006060820190508181036000830152610ea08186610d5d565b90508181036020830152610eb48185610d5d565b90508181036040830152610ec88184610d5d565b9050949350505050565b60006020820190508181036000830152610eeb81610d96565b9050919050565b60006020820190508181036000830152610f0b81610db9565b9050919050565b60006020820190508181036000830152610f2c8184610ddc565b905092915050565b6000602082019050610f496000830184610e3a565b92915050565b6000610f59610f6a565b9050610f658282611082565b919050565b6000604051905090565b600067ffffffffffffffff821115610f8f57610f8e6110e2565b5b610f9882611111565b9050602081019050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b6000610fdd82610fe4565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561103b578082015181840152602081019050611020565b8381111561104a576000848401525b50505050565b6000600282049050600182168061106857607f821691505b6020821081141561107c5761107b6110b3565b5b50919050565b61108b82611111565b810181811067ffffffffffffffff821117156110aa576110a96110e2565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f6f6c6420726f756e640000000000000000000000000000000000000000000000600082015250565b7f6e6f742061207570646174657200000000000000000000000000000000000000600082015250565b61117d81610fd2565b811461118857600080fd5b50565b61119481611004565b811461119f57600080fd5b5056fea2646970667358221220cce52c7d85ea65f3115284c3108b257131872c5659e241a9cef3a9d942e32b4664736f6c63430008040033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100935760003560e01c80636f9aa784116100665780636f9aa78414610134578063805d64a01461016457806382bc07e614610182578063a921a502146101a0578063bfcd5771146101d057610093565b80630ff4c916146100985780634231a2c3146100c85780635e383d21146100e65780636aa45efc14610118575b600080fd5b6100b260048036038101906100ad9190610c41565b6101ec565b6040516100bf9190610f12565b60405180910390f35b6100d06103ce565b6040516100dd9190610f34565b60405180910390f35b61010060048036038101906100fb9190610c41565b6103d8565b60405161010f93929190610e86565b60405180910390f35b610132600480360381019061012d9190610c18565b61059a565b005b61014e60048036038101906101499190610c41565b6106a5565b60405161015b9190610e64565b60405180910390f35b61016c61074c565b6040516101799190610e49565b60405180910390f35b61018a610772565b6040516101979190610f34565b60405180910390f35b6101ba60048036038101906101b59190610c41565b610778565b6040516101c79190610f12565b60405180910390f35b6101ea60048036038101906101e59190610c6a565b61095a565b005b6101f4610ac2565b60008083815260200190815260200160002060405180606001604052908160008201805461022190611050565b80601f016020809104026020016040519081016040528092919081815260200182805461024d90611050565b801561029a5780601f1061026f5761010080835404028352916020019161029a565b820191906000526020600020905b81548152906001019060200180831161027d57829003601f168201915b505050505081526020016001820180546102b390611050565b80601f01602080910402602001604051908101604052809291908181526020018280546102df90611050565b801561032c5780601f106103015761010080835404028352916020019161032c565b820191906000526020600020905b81548152906001019060200180831161030f57829003601f168201915b5050505050815260200160028201805461034590611050565b80601f016020809104026020016040519081016040528092919081815260200182805461037190611050565b80156103be5780601f10610393576101008083540402835291602001916103be565b820191906000526020600020905b8154815290600101906020018083116103a157829003601f168201915b5050505050815250509050919050565b6000600154905090565b60006020528060005260406000206000915090508060000180546103fb90611050565b80601f016020809104026020016040519081016040528092919081815260200182805461042790611050565b80156104745780601f1061044957610100808354040283529160200191610474565b820191906000526020600020905b81548152906001019060200180831161045757829003601f168201915b50505050509080600101805461048990611050565b80601f01602080910402602001604051908101604052809291908181526020018280546104b590611050565b80156105025780601f106104d757610100808354040283529160200191610502565b820191906000526020600020905b8154815290600101906020018083116104e557829003601f168201915b50505050509080600201805461051790611050565b80601f016020809104026020016040519081016040528092919081815260200182805461054390611050565b80156105905780601f1061056557610100808354040283529160200191610590565b820191906000526020600020905b81548152906001019060200180831161057357829003601f168201915b5050505050905083565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461062a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161062190610ef2565b60405180910390fd5b80600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f121e958a4cadf7f8dadefa22cc019700365240223668418faebed197da07089f8160405161069a9190610e49565b60405180910390a150565b606060008083815260200190815260200160002060000180546106c790611050565b80601f01602080910402602001604051908101604052809291908181526020018280546106f390611050565b80156107405780601f1061071557610100808354040283529160200191610740565b820191906000526020600020905b81548152906001019060200180831161072357829003601f168201915b50505050509050919050565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60015481565b610780610ac2565b6000808381526020019081526020016000206040518060600160405290816000820180546107ad90611050565b80601f01602080910402602001604051908101604052809291908181526020018280546107d990611050565b80156108265780601f106107fb57610100808354040283529160200191610826565b820191906000526020600020905b81548152906001019060200180831161080957829003601f168201915b5050505050815260200160018201805461083f90611050565b80601f016020809104026020016040519081016040528092919081815260200182805461086b90611050565b80156108b85780601f1061088d576101008083540402835291602001916108b8565b820191906000526020600020905b81548152906001019060200180831161089b57829003601f168201915b505050505081526020016002820180546108d190611050565b80601f01602080910402602001604051908101604052809291908181526020018280546108fd90611050565b801561094a5780601f1061091f5761010080835404028352916020019161094a565b820191906000526020600020905b81548152906001019060200180831161092d57829003601f168201915b5050505050815250509050919050565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146109ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109e190610ef2565b60405180910390fd5b8360015410610a2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a2590610ed2565b60405180910390fd5b836001819055506040518060600160405280848152602001838152602001828152506000808681526020019081526020016000206000820151816000019080519060200190610a7e929190610ae3565b506020820151816001019080519060200190610a9b929190610ae3565b506040820151816002019080519060200190610ab8929190610ae3565b5090505050505050565b60405180606001604052806060815260200160608152602001606081525090565b828054610aef90611050565b90600052602060002090601f016020900481019282610b115760008555610b58565b82601f10610b2a57805160ff1916838001178555610b58565b82800160010185558215610b58579182015b82811115610b57578251825591602001919060010190610b3c565b5b509050610b659190610b69565b5090565b5b80821115610b82576000816000905550600101610b6a565b5090565b6000610b99610b9484610f74565b610f4f565b905082815260208101848484011115610bb157600080fd5b610bbc84828561100e565b509392505050565b600081359050610bd381611174565b92915050565b600082601f830112610bea57600080fd5b8135610bfa848260208601610b86565b91505092915050565b600081359050610c128161118b565b92915050565b600060208284031215610c2a57600080fd5b6000610c3884828501610bc4565b91505092915050565b600060208284031215610c5357600080fd5b6000610c6184828501610c03565b91505092915050565b60008060008060808587031215610c8057600080fd5b6000610c8e87828801610c03565b945050602085013567ffffffffffffffff811115610cab57600080fd5b610cb787828801610bd9565b935050604085013567ffffffffffffffff811115610cd457600080fd5b610ce087828801610bd9565b925050606085013567ffffffffffffffff811115610cfd57600080fd5b610d0987828801610bd9565b91505092959194509250565b610d1e81610fd2565b82525050565b6000610d2f82610fa5565b610d398185610fb0565b9350610d4981856020860161101d565b610d5281611111565b840191505092915050565b6000610d6882610fa5565b610d728185610fc1565b9350610d8281856020860161101d565b610d8b81611111565b840191505092915050565b6000610da3600983610fc1565b9150610dae82611122565b602082019050919050565b6000610dc6600d83610fc1565b9150610dd18261114b565b602082019050919050565b60006060830160008301518482036000860152610df98282610d24565b91505060208301518482036020860152610e138282610d24565b91505060408301518482036040860152610e2d8282610d24565b9150508091505092915050565b610e4381611004565b82525050565b6000602082019050610e5e6000830184610d15565b92915050565b60006020820190508181036000830152610e7e8184610d5d565b905092915050565b60006060820190508181036000830152610ea08186610d5d565b90508181036020830152610eb48185610d5d565b90508181036040830152610ec88184610d5d565b9050949350505050565b60006020820190508181036000830152610eeb81610d96565b9050919050565b60006020820190508181036000830152610f0b81610db9565b9050919050565b60006020820190508181036000830152610f2c8184610ddc565b905092915050565b6000602082019050610f496000830184610e3a565b92915050565b6000610f59610f6a565b9050610f658282611082565b919050565b6000604051905090565b600067ffffffffffffffff821115610f8f57610f8e6110e2565b5b610f9882611111565b9050602081019050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b6000610fdd82610fe4565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561103b578082015181840152602081019050611020565b8381111561104a576000848401525b50505050565b6000600282049050600182168061106857607f821691505b6020821081141561107c5761107b6110b3565b5b50919050565b61108b82611111565b810181811067ffffffffffffffff821117156110aa576110a96110e2565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f6f6c6420726f756e640000000000000000000000000000000000000000000000600082015250565b7f6e6f742061207570646174657200000000000000000000000000000000000000600082015250565b61117d81610fd2565b811461118857600080fd5b50565b61119481611004565b811461119f57600080fd5b5056fea2646970667358221220cce52c7d85ea65f3115284c3108b257131872c5659e241a9cef3a9d942e32b4664736f6c63430008040033

Deployed Bytecode Sourcemap

67:1947:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1241:113;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1925:86;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;200:41;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;:::i;:::-;;;;;;;;1366:258;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;1632:138;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;285:28;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;248;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1777:140;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;851:378;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;1241:113;1299:13;;:::i;:::-;1332:6;:14;1339:6;1332:14;;;;;;;;;;;1325:21;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1241:113;;;:::o;1925:86::-;1968:7;1994:9;;1987:16;;1925:86;:::o;200:41::-;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;1366:258::-;1475:13;;;;;;;;;;;1461:27;;:10;:27;;;1453:52;;;;;;;;;;;;:::i;:::-;;;;;;;;;1532:23;1516:13;;:39;;;;;;;;;;;;;;;;;;1571:45;1592:23;1571:45;;;;;;:::i;:::-;;;;;;;;1366:258;:::o;1632:138::-;1705:13;1737:6;:14;1744:6;1737:14;;;;;;;;;;;:25;;1730:32;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1632:138;;;:::o;285:28::-;;;;;;;;;;;;;:::o;248:::-;;;;:::o;1777:140::-;1863:13;;:::i;:::-;1895:6;:14;1902:6;1895:14;;;;;;;;;;;1888:21;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1777:140;;;:::o;851:378::-;1021:13;;;;;;;;;;;1007:27;;:10;:27;;;999:52;;;;;;;;;;;;:::i;:::-;;;;;;;;;1085:6;1075:9;;:16;1067:38;;;;;;;;;;;;:::i;:::-;;;;;;;;;1133:6;1121:9;:18;;;;1172:49;;;;;;;;1179:11;1172:49;;;;1191:10;1172:49;;;;1202:18;1172:49;;;1155:6;:14;1162:6;1155:14;;;;;;;;;;;:66;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;851:378;;;;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::o;7:345:1:-;85:5;110:66;126:49;168:6;126:49;:::i;:::-;110:66;:::i;:::-;101:75;;199:6;192:5;185:21;237:4;230:5;226:16;275:3;266:6;261:3;257:16;254:25;251:2;;;292:1;289;282:12;251:2;305:41;339:6;334:3;329;305:41;:::i;:::-;91:261;;;;;;:::o;358:139::-;404:5;442:6;429:20;420:29;;458:33;485:5;458:33;:::i;:::-;410:87;;;;:::o;517:273::-;573:5;622:3;615:4;607:6;603:17;599:27;589:2;;640:1;637;630:12;589:2;680:6;667:20;705:79;780:3;772:6;765:4;757:6;753:17;705:79;:::i;:::-;696:88;;579:211;;;;;:::o;796:139::-;842:5;880:6;867:20;858:29;;896:33;923:5;896:33;:::i;:::-;848:87;;;;:::o;941:262::-;1000:6;1049:2;1037:9;1028:7;1024:23;1020:32;1017:2;;;1065:1;1062;1055:12;1017:2;1108:1;1133:53;1178:7;1169:6;1158:9;1154:22;1133:53;:::i;:::-;1123:63;;1079:117;1007:196;;;;:::o;1209:262::-;1268:6;1317:2;1305:9;1296:7;1292:23;1288:32;1285:2;;;1333:1;1330;1323:12;1285:2;1376:1;1401:53;1446:7;1437:6;1426:9;1422:22;1401:53;:::i;:::-;1391:63;;1347:117;1275:196;;;;:::o;1477:1037::-;1593:6;1601;1609;1617;1666:3;1654:9;1645:7;1641:23;1637:33;1634:2;;;1683:1;1680;1673:12;1634:2;1726:1;1751:53;1796:7;1787:6;1776:9;1772:22;1751:53;:::i;:::-;1741:63;;1697:117;1881:2;1870:9;1866:18;1853:32;1912:18;1904:6;1901:30;1898:2;;;1944:1;1941;1934:12;1898:2;1972:63;2027:7;2018:6;2007:9;2003:22;1972:63;:::i;:::-;1962:73;;1824:221;2112:2;2101:9;2097:18;2084:32;2143:18;2135:6;2132:30;2129:2;;;2175:1;2172;2165:12;2129:2;2203:63;2258:7;2249:6;2238:9;2234:22;2203:63;:::i;:::-;2193:73;;2055:221;2343:2;2332:9;2328:18;2315:32;2374:18;2366:6;2363:30;2360:2;;;2406:1;2403;2396:12;2360:2;2434:63;2489:7;2480:6;2469:9;2465:22;2434:63;:::i;:::-;2424:73;;2286:221;1624:890;;;;;;;:::o;2520:118::-;2607:24;2625:5;2607:24;:::i;:::-;2602:3;2595:37;2585:53;;:::o;2644:344::-;2722:3;2750:39;2783:5;2750:39;:::i;:::-;2805:61;2859:6;2854:3;2805:61;:::i;:::-;2798:68;;2875:52;2920:6;2915:3;2908:4;2901:5;2897:16;2875:52;:::i;:::-;2952:29;2974:6;2952:29;:::i;:::-;2947:3;2943:39;2936:46;;2726:262;;;;;:::o;2994:364::-;3082:3;3110:39;3143:5;3110:39;:::i;:::-;3165:71;3229:6;3224:3;3165:71;:::i;:::-;3158:78;;3245:52;3290:6;3285:3;3278:4;3271:5;3267:16;3245:52;:::i;:::-;3322:29;3344:6;3322:29;:::i;:::-;3317:3;3313:39;3306:46;;3086:272;;;;;:::o;3364:365::-;3506:3;3527:66;3591:1;3586:3;3527:66;:::i;:::-;3520:73;;3602:93;3691:3;3602:93;:::i;:::-;3720:2;3715:3;3711:12;3704:19;;3510:219;;;:::o;3735:366::-;3877:3;3898:67;3962:2;3957:3;3898:67;:::i;:::-;3891:74;;3974:93;4063:3;3974:93;:::i;:::-;4092:2;4087:3;4083:12;4076:19;;3881:220;;;:::o;4177:938::-;4288:3;4324:4;4319:3;4315:14;4417:4;4410:5;4406:16;4400:23;4470:3;4464:4;4460:14;4453:4;4448:3;4444:14;4437:38;4496:73;4564:4;4550:12;4496:73;:::i;:::-;4488:81;;4339:241;4667:4;4660:5;4656:16;4650:23;4720:3;4714:4;4710:14;4703:4;4698:3;4694:14;4687:38;4746:73;4814:4;4800:12;4746:73;:::i;:::-;4738:81;;4590:240;4925:4;4918:5;4914:16;4908:23;4978:3;4972:4;4968:14;4961:4;4956:3;4952:14;4945:38;5004:73;5072:4;5058:12;5004:73;:::i;:::-;4996:81;;4840:248;5105:4;5098:11;;4293:822;;;;;:::o;5121:118::-;5208:24;5226:5;5208:24;:::i;:::-;5203:3;5196:37;5186:53;;:::o;5245:222::-;5338:4;5376:2;5365:9;5361:18;5353:26;;5389:71;5457:1;5446:9;5442:17;5433:6;5389:71;:::i;:::-;5343:124;;;;:::o;5473:313::-;5586:4;5624:2;5613:9;5609:18;5601:26;;5673:9;5667:4;5663:20;5659:1;5648:9;5644:17;5637:47;5701:78;5774:4;5765:6;5701:78;:::i;:::-;5693:86;;5591:195;;;;:::o;5792:715::-;6001:4;6039:2;6028:9;6024:18;6016:26;;6088:9;6082:4;6078:20;6074:1;6063:9;6059:17;6052:47;6116:78;6189:4;6180:6;6116:78;:::i;:::-;6108:86;;6241:9;6235:4;6231:20;6226:2;6215:9;6211:18;6204:48;6269:78;6342:4;6333:6;6269:78;:::i;:::-;6261:86;;6394:9;6388:4;6384:20;6379:2;6368:9;6364:18;6357:48;6422:78;6495:4;6486:6;6422:78;:::i;:::-;6414:86;;6006:501;;;;;;:::o;6513:419::-;6679:4;6717:2;6706:9;6702:18;6694:26;;6766:9;6760:4;6756:20;6752:1;6741:9;6737:17;6730:47;6794:131;6920:4;6794:131;:::i;:::-;6786:139;;6684:248;;;:::o;6938:419::-;7104:4;7142:2;7131:9;7127:18;7119:26;;7191:9;7185:4;7181:20;7177:1;7166:9;7162:17;7155:47;7219:131;7345:4;7219:131;:::i;:::-;7211:139;;7109:248;;;:::o;7363:357::-;7498:4;7536:2;7525:9;7521:18;7513:26;;7585:9;7579:4;7575:20;7571:1;7560:9;7556:17;7549:47;7613:100;7708:4;7699:6;7613:100;:::i;:::-;7605:108;;7503:217;;;;:::o;7726:222::-;7819:4;7857:2;7846:9;7842:18;7834:26;;7870:71;7938:1;7927:9;7923:17;7914:6;7870:71;:::i;:::-;7824:124;;;;:::o;7954:129::-;7988:6;8015:20;;:::i;:::-;8005:30;;8044:33;8072:4;8064:6;8044:33;:::i;:::-;7995:88;;;:::o;8089:75::-;8122:6;8155:2;8149:9;8139:19;;8129:35;:::o;8170:308::-;8232:4;8322:18;8314:6;8311:30;8308:2;;;8344:18;;:::i;:::-;8308:2;8382:29;8404:6;8382:29;:::i;:::-;8374:37;;8466:4;8460;8456:15;8448:23;;8237:241;;;:::o;8484:99::-;8536:6;8570:5;8564:12;8554:22;;8543:40;;;:::o;8589:159::-;8663:11;8697:6;8692:3;8685:19;8737:4;8732:3;8728:14;8713:29;;8675:73;;;;:::o;8754:169::-;8838:11;8872:6;8867:3;8860:19;8912:4;8907:3;8903:14;8888:29;;8850:73;;;;:::o;8929:96::-;8966:7;8995:24;9013:5;8995:24;:::i;:::-;8984:35;;8974:51;;;:::o;9031:126::-;9068:7;9108:42;9101:5;9097:54;9086:65;;9076:81;;;:::o;9163:77::-;9200:7;9229:5;9218:16;;9208:32;;;:::o;9246:154::-;9330:6;9325:3;9320;9307:30;9392:1;9383:6;9378:3;9374:16;9367:27;9297:103;;;:::o;9406:307::-;9474:1;9484:113;9498:6;9495:1;9492:13;9484:113;;;9583:1;9578:3;9574:11;9568:18;9564:1;9559:3;9555:11;9548:39;9520:2;9517:1;9513:10;9508:15;;9484:113;;;9615:6;9612:1;9609:13;9606:2;;;9695:1;9686:6;9681:3;9677:16;9670:27;9606:2;9455:258;;;;:::o;9719:320::-;9763:6;9800:1;9794:4;9790:12;9780:22;;9847:1;9841:4;9837:12;9868:18;9858:2;;9924:4;9916:6;9912:17;9902:27;;9858:2;9986;9978:6;9975:14;9955:18;9952:38;9949:2;;;10005:18;;:::i;:::-;9949:2;9770:269;;;;:::o;10045:281::-;10128:27;10150:4;10128:27;:::i;:::-;10120:6;10116:40;10258:6;10246:10;10243:22;10222:18;10210:10;10207:34;10204:62;10201:2;;;10269:18;;:::i;:::-;10201:2;10309:10;10305:2;10298:22;10088:238;;;:::o;10332:180::-;10380:77;10377:1;10370:88;10477:4;10474:1;10467:15;10501:4;10498:1;10491:15;10518:180;10566:77;10563:1;10556:88;10663:4;10660:1;10653:15;10687:4;10684:1;10677:15;10704:102;10745:6;10796:2;10792:7;10787:2;10780:5;10776:14;10772:28;10762:38;;10752:54;;;:::o;10812:159::-;10952:11;10948:1;10940:6;10936:14;10929:35;10918:53;:::o;10977:163::-;11117:15;11113:1;11105:6;11101:14;11094:39;11083:57;:::o;11146:122::-;11219:24;11237:5;11219:24;:::i;:::-;11212:5;11209:35;11199:2;;11258:1;11255;11248:12;11199:2;11189:79;:::o;11274:122::-;11347:24;11365:5;11347:24;:::i;:::-;11340:5;11337:35;11327:2;;11386:1;11383;11376:12;11327:2;11317:79;:::o

Swarm Source

ipfs://cce52c7d85ea65f3115284c3108b257131872c5659e241a9cef3a9d942e32b46

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Txn Hash Block Value Eth2 PubKey Valid
View All Deposits
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.