Mumbai Testnet

Contract

0xAA01a91f568e4FC2d20f83b2Ff3654D75B12fd07

Overview

MATIC Balance

Multichain Info

N/A
Transaction Hash
Method
Block
From
To
Value
0x60806040336378972023-03-27 16:40:17425 days ago1679935217IN
 Create: MatchOperator
0 MATIC0.003145472.50000001

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

Contract Source Code Verified (Exact Match)

Contract Name:
MatchOperator

Compiler Version
v0.8.1+commit.df193b15

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, GNU GPLv3 license
/**
 *Submitted for verification at mumbai.polygonscan.com on 2023-03-27
*/

// SPDX-License-Identifier: GPL-3.0
pragma solidity 0.8.1;

contract MatchOperator {

    //Mapping de direcciones y apuestas
    mapping(string => mapping(address => uint256)) public _matches; 
    mapping(string => address) public _matchCreators;
    mapping(address => bool) public _admins;


    modifier onlyOwners {
            require(_admins[msg.sender] == true, "Only the admins can do this."); //Only the owner can register evidences.
            _;
        }

    constructor() {
        _matches["test"][msg.sender] = 0;
        _matchCreators["test"] = msg.sender;
        _admins[msg.sender] = true;
    }


    function createMatch(string memory id_match) public onlyOwners {
            require (_matchCreators[id_match] == 0x0000000000000000000000000000000000000000,"Match is already created");
            _matches[id_match][msg.sender] = 0;
            _matchCreators[id_match] = msg.sender; 
    }

    function closeMatch(string memory id_match, uint256 winner) public onlyOwners {
        require(_matchCreators[id_match] == msg.sender, "Only match creator can close it.");
        require(winner == 1 || winner == 2 ,"Choose a valid bet (1,2)");
        require(_matches[id_match][_matchCreators[id_match]] == 0 ,"Match is over");
        
        _matches[id_match][msg.sender] = winner;
    }


    function ChangeAdminRole(address user, bool AdminRol) public onlyOwners {

        _admins[user] = AdminRol;
    }


    function storeBet (string memory id_match, uint256 winner) public {

        require(winner == 1 || winner == 2 ,"Choose a valid bet (1,2)");
        require(_matches[id_match][_matchCreators[id_match]] == 0 ,"Match is over");
        require(checkUserbet(id_match,msg.sender) != winner,"Your bet is already saved or the id-match is invalid");

        _matches[id_match][msg.sender] = winner;        
    }

    function isAdmin(address user) public view returns (bool){
        return (_admins[user]); 

    }

    function MatchCreator(string memory id_match) public view returns (address){
        return (_matchCreators[id_match]); 
    }

    function checkUserbet(string memory id_match, address user) public view returns (uint256){
        return (_matches[id_match][user]); 
    }


    function checkMatchResult(string memory id_match) public view returns (uint256){
        require(_matches[id_match][_matchCreators[id_match]] != 0,"Match is not over");
        return (_matches[id_match][_matchCreators[id_match]]); 
    } 
}

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"bool","name":"AdminRol","type":"bool"}],"name":"ChangeAdminRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"id_match","type":"string"}],"name":"MatchCreator","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_admins","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"","type":"string"}],"name":"_matchCreators","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"","type":"string"},{"internalType":"address","name":"","type":"address"}],"name":"_matches","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"id_match","type":"string"}],"name":"checkMatchResult","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"id_match","type":"string"},{"internalType":"address","name":"user","type":"address"}],"name":"checkUserbet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"id_match","type":"string"},{"internalType":"uint256","name":"winner","type":"uint256"}],"name":"closeMatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"id_match","type":"string"}],"name":"createMatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"isAdmin","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"id_match","type":"string"},{"internalType":"uint256","name":"winner","type":"uint256"}],"name":"storeBet","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b50600080604051620000239062000154565b908152602001604051809103902060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550336001604051620000839062000154565b908152602001604051809103902060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506200019f565b60006200013c6004836200016b565b9150620001498262000176565b600482019050919050565b600062000161826200012d565b9150819050919050565b600081905092915050565b7f7465737400000000000000000000000000000000000000000000000000000000600082015250565b6114ef80620001af6000396000f3fe608060405234801561001057600080fd5b50600436106100a95760003560e01c80639ceee6a6116100715780639ceee6a614610176578063b7c83872146101a6578063ba215e9a146101d6578063d44fcd5d14610206578063e05e9d4314610236578063eafa53b214610252576100a9565b80630d5e2053146100ae5780631ff86ae2146100de57806323a60932146100fa57806324d7806c1461012a5780635762b50c1461015a575b600080fd5b6100c860048036038101906100c39190610dce565b61026e565b6040516100d591906110a1565b60405180910390f35b6100f860048036038101906100f39190610ec8565b61028e565b005b610114600480360381019061010f9190610e33565b610467565b6040516101219190611086565b60405180910390f35b610144600480360381019061013f9190610dce565b6104af565b60405161015191906110a1565b60405180910390f35b610174600480360381019061016f9190610e33565b610505565b005b610190600480360381019061018b9190610e33565b610705565b60405161019d919061119c565b60405180910390f35b6101c060048036038101906101bb9190610e33565b610884565b6040516101cd9190611086565b60405180910390f35b6101f060048036038101906101eb9190610e74565b6108cd565b6040516101fd919061119c565b60405180910390f35b610220600480360381019061021b9190610e74565b610932565b60405161022d919061119c565b60405180910390f35b610250600480360381019061024b9190610ec8565b61096d565b005b61026c60048036038101906102679190610df7565b610c39565b005b60026020528060005260406000206000915054906101000a900460ff1681565b600181148061029d5750600281145b6102dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102d3906110fc565b60405180910390fd5b600080836040516102ed919061106f565b9081526020016040518091039020600060018560405161030d919061106f565b908152602001604051809103902060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054146103b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103ae9061113c565b60405180910390fd5b806103c283336108cd565b1415610403576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103fa906110dc565b60405180910390fd5b80600083604051610414919061106f565b908152602001604051809103902060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050565b6000600182604051610479919061106f565b908152602001604051809103902060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b60011515600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514610598576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161058f9061115c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff166001826040516105c0919061106f565b908152602001604051809103902060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610645576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161063c906110bc565b60405180910390fd5b60008082604051610656919061106f565b908152602001604051809103902060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550336001826040516106b6919061106f565b908152602001604051809103902060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600080600083604051610718919061106f565b90815260200160405180910390206000600185604051610738919061106f565b908152602001604051809103902060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205414156107e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107da9061117c565b60405180910390fd5b6000826040516107f3919061106f565b90815260200160405180910390206000600184604051610813919061106f565b908152602001604051809103902060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6001818051602081018201805184825260208301602085012081835280955050505050506000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600080836040516108de919061106f565b908152602001604051809103902060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600082805160208101820180518482526020830160208501208183528095505050505050602052806000526040600020600091509150505481565b60011515600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514610a00576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109f79061115c565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff16600183604051610a27919061106f565b908152602001604051809103902060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610aac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aa39061111c565b60405180910390fd5b6001811480610abb5750600281145b610afa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610af1906110fc565b60405180910390fd5b60008083604051610b0b919061106f565b90815260200160405180910390206000600185604051610b2b919061106f565b908152602001604051809103902060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205414610bd5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bcc9061113c565b60405180910390fd5b80600083604051610be6919061106f565b908152602001604051809103902060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050565b60011515600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514610ccc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cc39061115c565b60405180910390fd5b80600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b6000610d3a610d35846111dc565b6111b7565b905082815260208101848484011115610d5257600080fd5b610d5d84828561127c565b509392505050565b600081359050610d7481611474565b92915050565b600081359050610d898161148b565b92915050565b600082601f830112610da057600080fd5b8135610db0848260208601610d27565b91505092915050565b600081359050610dc8816114a2565b92915050565b600060208284031215610de057600080fd5b6000610dee84828501610d65565b91505092915050565b60008060408385031215610e0a57600080fd5b6000610e1885828601610d65565b9250506020610e2985828601610d7a565b9150509250929050565b600060208284031215610e4557600080fd5b600082013567ffffffffffffffff811115610e5f57600080fd5b610e6b84828501610d8f565b91505092915050565b60008060408385031215610e8757600080fd5b600083013567ffffffffffffffff811115610ea157600080fd5b610ead85828601610d8f565b9250506020610ebe85828601610d65565b9150509250929050565b60008060408385031215610edb57600080fd5b600083013567ffffffffffffffff811115610ef557600080fd5b610f0185828601610d8f565b9250506020610f1285828601610db9565b9150509250929050565b610f2581611234565b82525050565b610f3481611246565b82525050565b6000610f458261120d565b610f4f8185611229565b9350610f5f81856020860161128b565b80840191505092915050565b6000610f78601883611218565b9150610f838261132f565b602082019050919050565b6000610f9b603483611218565b9150610fa682611358565b604082019050919050565b6000610fbe601883611218565b9150610fc9826113a7565b602082019050919050565b6000610fe1602083611218565b9150610fec826113d0565b602082019050919050565b6000611004600d83611218565b915061100f826113f9565b602082019050919050565b6000611027601c83611218565b915061103282611422565b602082019050919050565b600061104a601183611218565b91506110558261144b565b602082019050919050565b61106981611272565b82525050565b600061107b8284610f3a565b915081905092915050565b600060208201905061109b6000830184610f1c565b92915050565b60006020820190506110b66000830184610f2b565b92915050565b600060208201905081810360008301526110d581610f6b565b9050919050565b600060208201905081810360008301526110f581610f8e565b9050919050565b6000602082019050818103600083015261111581610fb1565b9050919050565b6000602082019050818103600083015261113581610fd4565b9050919050565b6000602082019050818103600083015261115581610ff7565b9050919050565b600060208201905081810360008301526111758161101a565b9050919050565b600060208201905081810360008301526111958161103d565b9050919050565b60006020820190506111b16000830184611060565b92915050565b60006111c16111d2565b90506111cd82826112be565b919050565b6000604051905090565b600067ffffffffffffffff8211156111f7576111f66112ef565b5b6112008261131e565b9050602081019050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600061123f82611252565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156112a957808201518184015260208101905061128e565b838111156112b8576000848401525b50505050565b6112c78261131e565b810181811067ffffffffffffffff821117156112e6576112e56112ef565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4d6174636820697320616c726561647920637265617465640000000000000000600082015250565b7f596f75722062657420697320616c7265616479207361766564206f722074686560008201527f2069642d6d6174636820697320696e76616c6964000000000000000000000000602082015250565b7f43686f6f736520612076616c6964206265742028312c32290000000000000000600082015250565b7f4f6e6c79206d617463682063726561746f722063616e20636c6f73652069742e600082015250565b7f4d61746368206973206f76657200000000000000000000000000000000000000600082015250565b7f4f6e6c79207468652061646d696e732063616e20646f20746869732e00000000600082015250565b7f4d61746368206973206e6f74206f766572000000000000000000000000000000600082015250565b61147d81611234565b811461148857600080fd5b50565b61149481611246565b811461149f57600080fd5b50565b6114ab81611272565b81146114b657600080fd5b5056fea26469706673582212202464f7340df2771fa35045035d4be651dbab3b0a2d1cfa83de48d7bfa9141a7b64736f6c63430008010033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100a95760003560e01c80639ceee6a6116100715780639ceee6a614610176578063b7c83872146101a6578063ba215e9a146101d6578063d44fcd5d14610206578063e05e9d4314610236578063eafa53b214610252576100a9565b80630d5e2053146100ae5780631ff86ae2146100de57806323a60932146100fa57806324d7806c1461012a5780635762b50c1461015a575b600080fd5b6100c860048036038101906100c39190610dce565b61026e565b6040516100d591906110a1565b60405180910390f35b6100f860048036038101906100f39190610ec8565b61028e565b005b610114600480360381019061010f9190610e33565b610467565b6040516101219190611086565b60405180910390f35b610144600480360381019061013f9190610dce565b6104af565b60405161015191906110a1565b60405180910390f35b610174600480360381019061016f9190610e33565b610505565b005b610190600480360381019061018b9190610e33565b610705565b60405161019d919061119c565b60405180910390f35b6101c060048036038101906101bb9190610e33565b610884565b6040516101cd9190611086565b60405180910390f35b6101f060048036038101906101eb9190610e74565b6108cd565b6040516101fd919061119c565b60405180910390f35b610220600480360381019061021b9190610e74565b610932565b60405161022d919061119c565b60405180910390f35b610250600480360381019061024b9190610ec8565b61096d565b005b61026c60048036038101906102679190610df7565b610c39565b005b60026020528060005260406000206000915054906101000a900460ff1681565b600181148061029d5750600281145b6102dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102d3906110fc565b60405180910390fd5b600080836040516102ed919061106f565b9081526020016040518091039020600060018560405161030d919061106f565b908152602001604051809103902060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054146103b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103ae9061113c565b60405180910390fd5b806103c283336108cd565b1415610403576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103fa906110dc565b60405180910390fd5b80600083604051610414919061106f565b908152602001604051809103902060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050565b6000600182604051610479919061106f565b908152602001604051809103902060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b60011515600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514610598576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161058f9061115c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff166001826040516105c0919061106f565b908152602001604051809103902060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610645576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161063c906110bc565b60405180910390fd5b60008082604051610656919061106f565b908152602001604051809103902060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550336001826040516106b6919061106f565b908152602001604051809103902060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600080600083604051610718919061106f565b90815260200160405180910390206000600185604051610738919061106f565b908152602001604051809103902060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205414156107e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107da9061117c565b60405180910390fd5b6000826040516107f3919061106f565b90815260200160405180910390206000600184604051610813919061106f565b908152602001604051809103902060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6001818051602081018201805184825260208301602085012081835280955050505050506000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600080836040516108de919061106f565b908152602001604051809103902060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600082805160208101820180518482526020830160208501208183528095505050505050602052806000526040600020600091509150505481565b60011515600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514610a00576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109f79061115c565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff16600183604051610a27919061106f565b908152602001604051809103902060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610aac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aa39061111c565b60405180910390fd5b6001811480610abb5750600281145b610afa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610af1906110fc565b60405180910390fd5b60008083604051610b0b919061106f565b90815260200160405180910390206000600185604051610b2b919061106f565b908152602001604051809103902060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205414610bd5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bcc9061113c565b60405180910390fd5b80600083604051610be6919061106f565b908152602001604051809103902060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050565b60011515600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514610ccc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cc39061115c565b60405180910390fd5b80600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b6000610d3a610d35846111dc565b6111b7565b905082815260208101848484011115610d5257600080fd5b610d5d84828561127c565b509392505050565b600081359050610d7481611474565b92915050565b600081359050610d898161148b565b92915050565b600082601f830112610da057600080fd5b8135610db0848260208601610d27565b91505092915050565b600081359050610dc8816114a2565b92915050565b600060208284031215610de057600080fd5b6000610dee84828501610d65565b91505092915050565b60008060408385031215610e0a57600080fd5b6000610e1885828601610d65565b9250506020610e2985828601610d7a565b9150509250929050565b600060208284031215610e4557600080fd5b600082013567ffffffffffffffff811115610e5f57600080fd5b610e6b84828501610d8f565b91505092915050565b60008060408385031215610e8757600080fd5b600083013567ffffffffffffffff811115610ea157600080fd5b610ead85828601610d8f565b9250506020610ebe85828601610d65565b9150509250929050565b60008060408385031215610edb57600080fd5b600083013567ffffffffffffffff811115610ef557600080fd5b610f0185828601610d8f565b9250506020610f1285828601610db9565b9150509250929050565b610f2581611234565b82525050565b610f3481611246565b82525050565b6000610f458261120d565b610f4f8185611229565b9350610f5f81856020860161128b565b80840191505092915050565b6000610f78601883611218565b9150610f838261132f565b602082019050919050565b6000610f9b603483611218565b9150610fa682611358565b604082019050919050565b6000610fbe601883611218565b9150610fc9826113a7565b602082019050919050565b6000610fe1602083611218565b9150610fec826113d0565b602082019050919050565b6000611004600d83611218565b915061100f826113f9565b602082019050919050565b6000611027601c83611218565b915061103282611422565b602082019050919050565b600061104a601183611218565b91506110558261144b565b602082019050919050565b61106981611272565b82525050565b600061107b8284610f3a565b915081905092915050565b600060208201905061109b6000830184610f1c565b92915050565b60006020820190506110b66000830184610f2b565b92915050565b600060208201905081810360008301526110d581610f6b565b9050919050565b600060208201905081810360008301526110f581610f8e565b9050919050565b6000602082019050818103600083015261111581610fb1565b9050919050565b6000602082019050818103600083015261113581610fd4565b9050919050565b6000602082019050818103600083015261115581610ff7565b9050919050565b600060208201905081810360008301526111758161101a565b9050919050565b600060208201905081810360008301526111958161103d565b9050919050565b60006020820190506111b16000830184611060565b92915050565b60006111c16111d2565b90506111cd82826112be565b919050565b6000604051905090565b600067ffffffffffffffff8211156111f7576111f66112ef565b5b6112008261131e565b9050602081019050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600061123f82611252565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156112a957808201518184015260208101905061128e565b838111156112b8576000848401525b50505050565b6112c78261131e565b810181811067ffffffffffffffff821117156112e6576112e56112ef565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4d6174636820697320616c726561647920637265617465640000000000000000600082015250565b7f596f75722062657420697320616c7265616479207361766564206f722074686560008201527f2069642d6d6174636820697320696e76616c6964000000000000000000000000602082015250565b7f43686f6f736520612076616c6964206265742028312c32290000000000000000600082015250565b7f4f6e6c79206d617463682063726561746f722063616e20636c6f73652069742e600082015250565b7f4d61746368206973206f76657200000000000000000000000000000000000000600082015250565b7f4f6e6c79207468652061646d696e732063616e20646f20746869732e00000000600082015250565b7f4d61746368206973206e6f74206f766572000000000000000000000000000000600082015250565b61147d81611234565b811461148857600080fd5b50565b61149481611246565b811461149f57600080fd5b50565b6114ab81611272565b81146114b657600080fd5b5056fea26469706673582212202464f7340df2771fa35045035d4be651dbab3b0a2d1cfa83de48d7bfa9141a7b64736f6c63430008010033

Deployed Bytecode Sourcemap

63:2490:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;261:39;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1489:414;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;2020:128;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1911:101;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;649:295;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;2308:241;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;206:48;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;2156:142;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;136:62;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;952:400;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;1362:117;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;261:39;;;;;;;;;;;;;;;;;;;;;;:::o;1489:414::-;1586:1;1576:6;:11;:26;;;;1601:1;1591:6;:11;1576:26;1568:63;;;;;;;;;;;;:::i;:::-;;;;;;;;;1698:1;1650:8;1659;1650:18;;;;;;:::i;:::-;;;;;;;;;;;;;:44;1669:14;1684:8;1669:24;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;1650:44;;;;;;;;;;;;;;;;:49;1642:75;;;;;;;;;;;;:::i;:::-;;;;;;;;;1773:6;1736:33;1749:8;1758:10;1736:12;:33::i;:::-;:43;;1728:107;;;;;;;;;;;;:::i;:::-;;;;;;;;;1881:6;1848:8;1857;1848:18;;;;;;:::i;:::-;;;;;;;;;;;;;:30;1867:10;1848:30;;;;;;;;;;;;;;;:39;;;;1489:414;;:::o;2020:128::-;2087:7;2114:14;2129:8;2114:24;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;2106:33;;2020:128;;;:::o;1911:101::-;1963:4;1987:7;:13;1995:4;1987:13;;;;;;;;;;;;;;;;;;;;;;;;;1979:22;;1911:101;;;:::o;649:295::-;377:4;354:27;;:7;:19;362:10;354:19;;;;;;;;;;;;;;;;;;;;;;;;;:27;;;346:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;764:42:::1;736:70;;:14;751:8;736:24;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;:70;;;727:107;;;;;;;;;;;;:::i;:::-;;;;;;;;;882:1;849:8:::0;858::::1;849:18;;;;;;:::i;:::-;;;;;;;;;;;;;:30;868:10;849:30;;;;;;;;;;;;;;;:34;;;;925:10;898:14;913:8;898:24;;;;;;:::i;:::-;;;;;;;;;;;;;;:37;;;;;;;;;;;;;;;;;;649:295:::0;:::o;2308:241::-;2379:7;2454:1;2406:8;2415;2406:18;;;;;;:::i;:::-;;;;;;;;;;;;;:44;2425:14;2440:8;2425:24;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;2406:44;;;;;;;;;;;;;;;;:49;;2398:78;;;;;;;;;;;;:::i;:::-;;;;;;;;;2495:8;2504;2495:18;;;;;;:::i;:::-;;;;;;;;;;;;;:44;2514:14;2529:8;2514:24;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;2495:44;;;;;;;;;;;;;;;;2487:53;;2308:241;;;:::o;206:48::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;2156:142::-;2237:7;2264:8;2273;2264:18;;;;;;:::i;:::-;;;;;;;;;;;;;:24;2283:4;2264:24;;;;;;;;;;;;;;;;2256:33;;2156:142;;;;:::o;136:62::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;952:400::-;377:4;354:27;;:7;:19;362:10;354:19;;;;;;;;;;;;;;;;;;;;;;;;;:27;;;346:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;1077:10:::1;1049:38;;:14;1064:8;1049:24;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;:38;;;1041:83;;;;;;;;;;;;:::i;:::-;;;;;;;;;1153:1;1143:6;:11;:26;;;;1168:1;1158:6;:11;1143:26;1135:63;;;;;;;;;;;;:::i;:::-;;;;;;;;;1265:1;1217:8:::0;1226::::1;1217:18;;;;;;:::i;:::-;;;;;;;;;;;;;:44;1236:14;1251:8;1236:24;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;1217:44;;;;;;;;;;;;;;;;:49;1209:75;;;;;;;;;;;;:::i;:::-;;;;;;;;;1338:6;1305:8;1314;1305:18;;;;;;:::i;:::-;;;;;;;;;;;;;:30;1324:10;1305:30;;;;;;;;;;;;;;;:39;;;;952:400:::0;;:::o;1362:117::-;377:4;354:27;;:7;:19;362:10;354:19;;;;;;;;;;;;;;;;;;;;;;;;;:27;;;346:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;1463:8:::1;1447:7;:13;1455:4;1447:13;;;;;;;;;;;;;;;;:24;;;;;;;;;;;;;;;;;;1362:117:::0;;:::o;7:345:1:-;;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::-;;442:6;429:20;420:29;;458:33;485:5;458:33;:::i;:::-;410:87;;;;:::o;503:133::-;;584:6;571:20;562:29;;600:30;624:5;600:30;:::i;:::-;552:84;;;;:::o;656:273::-;;761:3;754:4;746:6;742:17;738:27;728:2;;779:1;776;769:12;728:2;819:6;806:20;844:79;919:3;911:6;904:4;896:6;892:17;844:79;:::i;:::-;835:88;;718:211;;;;;:::o;935:139::-;;1019:6;1006:20;997:29;;1035:33;1062:5;1035:33;:::i;:::-;987:87;;;;:::o;1080:262::-;;1188:2;1176:9;1167:7;1163:23;1159:32;1156:2;;;1204:1;1201;1194:12;1156:2;1247:1;1272:53;1317:7;1308:6;1297:9;1293:22;1272:53;:::i;:::-;1262:63;;1218:117;1146:196;;;;:::o;1348:401::-;;;1470:2;1458:9;1449:7;1445:23;1441:32;1438:2;;;1486:1;1483;1476:12;1438:2;1529:1;1554:53;1599:7;1590:6;1579:9;1575:22;1554:53;:::i;:::-;1544:63;;1500:117;1656:2;1682:50;1724:7;1715:6;1704:9;1700:22;1682:50;:::i;:::-;1672:60;;1627:115;1428:321;;;;;:::o;1755:375::-;;1873:2;1861:9;1852:7;1848:23;1844:32;1841:2;;;1889:1;1886;1879:12;1841:2;1960:1;1949:9;1945:17;1932:31;1990:18;1982:6;1979:30;1976:2;;;2022:1;2019;2012:12;1976:2;2050:63;2105:7;2096:6;2085:9;2081:22;2050:63;:::i;:::-;2040:73;;1903:220;1831:299;;;;:::o;2136:520::-;;;2271:2;2259:9;2250:7;2246:23;2242:32;2239:2;;;2287:1;2284;2277:12;2239:2;2358:1;2347:9;2343:17;2330:31;2388:18;2380:6;2377:30;2374:2;;;2420:1;2417;2410:12;2374:2;2448:63;2503:7;2494:6;2483:9;2479:22;2448:63;:::i;:::-;2438:73;;2301:220;2560:2;2586:53;2631:7;2622:6;2611:9;2607:22;2586:53;:::i;:::-;2576:63;;2531:118;2229:427;;;;;:::o;2662:520::-;;;2797:2;2785:9;2776:7;2772:23;2768:32;2765:2;;;2813:1;2810;2803:12;2765:2;2884:1;2873:9;2869:17;2856:31;2914:18;2906:6;2903:30;2900:2;;;2946:1;2943;2936:12;2900:2;2974:63;3029:7;3020:6;3009:9;3005:22;2974:63;:::i;:::-;2964:73;;2827:220;3086:2;3112:53;3157:7;3148:6;3137:9;3133:22;3112:53;:::i;:::-;3102:63;;3057:118;2755:427;;;;;:::o;3188:118::-;3275:24;3293:5;3275:24;:::i;:::-;3270:3;3263:37;3253:53;;:::o;3312:109::-;3393:21;3408:5;3393:21;:::i;:::-;3388:3;3381:34;3371:50;;:::o;3427:377::-;;3561:39;3594:5;3561:39;:::i;:::-;3616:89;3698:6;3693:3;3616:89;:::i;:::-;3609:96;;3714:52;3759:6;3754:3;3747:4;3740:5;3736:16;3714:52;:::i;:::-;3791:6;3786:3;3782:16;3775:23;;3537:267;;;;;:::o;3810:366::-;;3973:67;4037:2;4032:3;3973:67;:::i;:::-;3966:74;;4049:93;4138:3;4049:93;:::i;:::-;4167:2;4162:3;4158:12;4151:19;;3956:220;;;:::o;4182:366::-;;4345:67;4409:2;4404:3;4345:67;:::i;:::-;4338:74;;4421:93;4510:3;4421:93;:::i;:::-;4539:2;4534:3;4530:12;4523:19;;4328:220;;;:::o;4554:366::-;;4717:67;4781:2;4776:3;4717:67;:::i;:::-;4710:74;;4793:93;4882:3;4793:93;:::i;:::-;4911:2;4906:3;4902:12;4895:19;;4700:220;;;:::o;4926:366::-;;5089:67;5153:2;5148:3;5089:67;:::i;:::-;5082:74;;5165:93;5254:3;5165:93;:::i;:::-;5283:2;5278:3;5274:12;5267:19;;5072:220;;;:::o;5298:366::-;;5461:67;5525:2;5520:3;5461:67;:::i;:::-;5454:74;;5537:93;5626:3;5537:93;:::i;:::-;5655:2;5650:3;5646:12;5639:19;;5444:220;;;:::o;5670:366::-;;5833:67;5897:2;5892:3;5833:67;:::i;:::-;5826:74;;5909:93;5998:3;5909:93;:::i;:::-;6027:2;6022:3;6018:12;6011:19;;5816:220;;;:::o;6042:366::-;;6205:67;6269:2;6264:3;6205:67;:::i;:::-;6198:74;;6281:93;6370:3;6281:93;:::i;:::-;6399:2;6394:3;6390:12;6383:19;;6188:220;;;:::o;6414:118::-;6501:24;6519:5;6501:24;:::i;:::-;6496:3;6489:37;6479:53;;:::o;6538:275::-;;6692:95;6783:3;6774:6;6692:95;:::i;:::-;6685:102;;6804:3;6797:10;;6674:139;;;;:::o;6819:222::-;;6950:2;6939:9;6935:18;6927:26;;6963:71;7031:1;7020:9;7016:17;7007:6;6963:71;:::i;:::-;6917:124;;;;:::o;7047:210::-;;7172:2;7161:9;7157:18;7149:26;;7185:65;7247:1;7236:9;7232:17;7223:6;7185:65;:::i;:::-;7139:118;;;;:::o;7263:419::-;;7467:2;7456:9;7452:18;7444:26;;7516:9;7510:4;7506:20;7502:1;7491:9;7487:17;7480:47;7544:131;7670:4;7544:131;:::i;:::-;7536:139;;7434:248;;;:::o;7688:419::-;;7892:2;7881:9;7877:18;7869:26;;7941:9;7935:4;7931:20;7927:1;7916:9;7912:17;7905:47;7969:131;8095:4;7969:131;:::i;:::-;7961:139;;7859:248;;;:::o;8113:419::-;;8317:2;8306:9;8302:18;8294:26;;8366:9;8360:4;8356:20;8352:1;8341:9;8337:17;8330:47;8394:131;8520:4;8394:131;:::i;:::-;8386:139;;8284:248;;;:::o;8538:419::-;;8742:2;8731:9;8727:18;8719:26;;8791:9;8785:4;8781:20;8777:1;8766:9;8762:17;8755:47;8819:131;8945:4;8819:131;:::i;:::-;8811:139;;8709:248;;;:::o;8963:419::-;;9167:2;9156:9;9152:18;9144:26;;9216:9;9210:4;9206:20;9202:1;9191:9;9187:17;9180:47;9244:131;9370:4;9244:131;:::i;:::-;9236:139;;9134:248;;;:::o;9388:419::-;;9592:2;9581:9;9577:18;9569:26;;9641:9;9635:4;9631:20;9627:1;9616:9;9612:17;9605:47;9669:131;9795:4;9669:131;:::i;:::-;9661:139;;9559:248;;;:::o;9813:419::-;;10017:2;10006:9;10002:18;9994:26;;10066:9;10060:4;10056:20;10052:1;10041:9;10037:17;10030:47;10094:131;10220:4;10094:131;:::i;:::-;10086:139;;9984:248;;;:::o;10238:222::-;;10369:2;10358:9;10354:18;10346:26;;10382:71;10450:1;10439:9;10435:17;10426:6;10382:71;:::i;:::-;10336:124;;;;:::o;10466:129::-;;10527:20;;:::i;:::-;10517:30;;10556:33;10584:4;10576:6;10556:33;:::i;:::-;10507:88;;;:::o;10601:75::-;;10667:2;10661:9;10651:19;;10641:35;:::o;10682:308::-;;10834:18;10826:6;10823:30;10820:2;;;10856:18;;:::i;:::-;10820:2;10894:29;10916:6;10894:29;:::i;:::-;10886:37;;10978:4;10972;10968:15;10960:23;;10749:241;;;:::o;10996:99::-;;11082:5;11076:12;11066:22;;11055:40;;;:::o;11101:169::-;;11219:6;11214:3;11207:19;11259:4;11254:3;11250:14;11235:29;;11197:73;;;;:::o;11276:148::-;;11415:3;11400:18;;11390:34;;;;:::o;11430:96::-;;11496:24;11514:5;11496:24;:::i;:::-;11485:35;;11475:51;;;:::o;11532:90::-;;11609:5;11602:13;11595:21;11584:32;;11574:48;;;:::o;11628:126::-;;11705:42;11698:5;11694:54;11683:65;;11673:81;;;:::o;11760:77::-;;11826:5;11815:16;;11805:32;;;:::o;11843:154::-;11927:6;11922:3;11917;11904:30;11989:1;11980:6;11975:3;11971:16;11964:27;11894:103;;;:::o;12003:307::-;12071:1;12081:113;12095:6;12092:1;12089:13;12081:113;;;12180:1;12175:3;12171:11;12165:18;12161:1;12156:3;12152:11;12145:39;12117:2;12114:1;12110:10;12105:15;;12081:113;;;12212:6;12209:1;12206:13;12203:2;;;12292:1;12283:6;12278:3;12274:16;12267:27;12203:2;12052:258;;;;:::o;12316:281::-;12399:27;12421:4;12399:27;:::i;:::-;12391:6;12387:40;12529:6;12517:10;12514:22;12493:18;12481:10;12478:34;12475:62;12472:2;;;12540:18;;:::i;:::-;12472:2;12580:10;12576:2;12569:22;12359:238;;;:::o;12603:180::-;12651:77;12648:1;12641:88;12748:4;12745:1;12738:15;12772:4;12769:1;12762:15;12789:102;;12881:2;12877:7;12872:2;12865:5;12861:14;12857:28;12847:38;;12837:54;;;:::o;12897:174::-;13037:26;13033:1;13025:6;13021:14;13014:50;13003:68;:::o;13077:239::-;13217:34;13213:1;13205:6;13201:14;13194:58;13286:22;13281:2;13273:6;13269:15;13262:47;13183:133;:::o;13322:174::-;13462:26;13458:1;13450:6;13446:14;13439:50;13428:68;:::o;13502:182::-;13642:34;13638:1;13630:6;13626:14;13619:58;13608:76;:::o;13690:163::-;13830:15;13826:1;13818:6;13814:14;13807:39;13796:57;:::o;13859:178::-;13999:30;13995:1;13987:6;13983:14;13976:54;13965:72;:::o;14043:167::-;14183:19;14179:1;14171:6;14167:14;14160:43;14149:61;:::o;14216:122::-;14289:24;14307:5;14289:24;:::i;:::-;14282:5;14279:35;14269:2;;14328:1;14325;14318:12;14269:2;14259:79;:::o;14344:116::-;14414:21;14429:5;14414:21;:::i;:::-;14407:5;14404:32;14394:2;;14450:1;14447;14440:12;14394:2;14384:76;:::o;14466:122::-;14539:24;14557:5;14539:24;:::i;:::-;14532:5;14529:35;14519:2;;14578:1;14575;14568:12;14519:2;14509:79;:::o

Swarm Source

ipfs://2464f7340df2771fa35045035d4be651dbab3b0a2d1cfa83de48d7bfa9141a7b

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.