ETH Price: $3,979.56 (+3.00%)

Contract

0x12F720EE40D09e404fd5b04Db9691bDf1dc1C933
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Withdraw Balance110516422020-10-14 4:34:541523 days ago1602650094IN
0x12F720EE...f1dc1C933
0 ETH0.0015337939.00000145
Withdraw Balance110510752020-10-14 2:24:031523 days ago1602642243IN
0x12F720EE...f1dc1C933
0 ETH0.0008258821
Withdraw Balance110501362020-10-13 22:52:421524 days ago1602629562IN
0x12F720EE...f1dc1C933
0 ETH0.0010618527
Withdraw Balance110501222020-10-13 22:48:541524 days ago1602629334IN
0x12F720EE...f1dc1C933
0 ETH0.0011011828
Withdraw Balance109833142020-10-03 13:48:341534 days ago1601732914IN
0x12F720EE...f1dc1C933
0 ETH0.0050829895.25128578
Withdraw Balance107317022020-08-25 20:14:001573 days ago1598386440IN
0x12F720EE...f1dc1C933
0 ETH0.0014425860
Withdraw Balance107317002020-08-25 20:13:281573 days ago1598386408IN
0x12F720EE...f1dc1C933
0 ETH0.0032018460
Initate Stake107266972020-08-25 1:34:481573 days ago1598319288IN
0x12F720EE...f1dc1C933
0 ETH0.0068148570
Withdraw Balance106926262020-08-19 20:12:191579 days ago1597867939IN
0x12F720EE...f1dc1C933
0 ETH0.0053364100
Withdraw Balance106725542020-08-16 17:55:521582 days ago1597600552IN
0x12F720EE...f1dc1C933
0 ETH0.0045359485
Initate Stake106724152020-08-16 17:29:281582 days ago1597598968IN
0x12F720EE...f1dc1C933
0 ETH0.01119582115
Withdraw Balance105824942020-08-02 20:19:081596 days ago1596399548IN
0x12F720EE...f1dc1C933
0 ETH0.0021345640
Initate Stake105818092020-08-02 17:46:411596 days ago1596390401IN
0x12F720EE...f1dc1C933
0 ETH0.0043809745
Withdraw Balance105817962020-08-02 17:43:171596 days ago1596390197IN
0x12F720EE...f1dc1C933
0 ETH0.0024013845
Withdraw Balance105679202020-07-31 14:35:311598 days ago1596206131IN
0x12F720EE...f1dc1C933
0 ETH0.0048027690
Withdraw Balance105291422020-07-25 14:30:281604 days ago1595687428IN
0x12F720EE...f1dc1C933
0 ETH0.0030844674
Withdraw Balance105257332020-07-25 1:37:361604 days ago1595641056IN
0x12F720EE...f1dc1C933
0 ETH0.0033085662
Withdraw Balance105144552020-07-23 7:44:051606 days ago1595490245IN
0x12F720EE...f1dc1C933
0 ETH0.0038955773
Initate Stake104879222020-07-19 5:02:131610 days ago1595134933IN
0x12F720EE...f1dc1C933
0 ETH0.0043809745.00000134
Withdraw Balance104695262020-07-16 8:35:521613 days ago1594888552IN
0x12F720EE...f1dc1C933
0 ETH0.0030417457
Initate Stake104675332020-07-16 1:16:351613 days ago1594862195IN
0x12F720EE...f1dc1C933
0 ETH0.0024338725
Withdraw Balance104673462020-07-16 0:34:331613 days ago1594859673IN
0x12F720EE...f1dc1C933
0 ETH0.001334125
Initate Stake104626492020-07-15 7:08:531614 days ago1594796933IN
0x12F720EE...f1dc1C933
0 ETH0.0048677550
Initate Stake104516262020-07-13 13:59:071616 days ago1594648747IN
0x12F720EE...f1dc1C933
0 ETH0.0053545255
Withdraw Balance104343292020-07-10 22:15:031619 days ago1594419303IN
0x12F720EE...f1dc1C933
0 ETH0.0004231517.6
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
StakeImperial

Compiler Version
v0.4.24+commit.e67f0147

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, None license
/**
 *Submitted for verification at Etherscan.io on 2020-04-15
*/

pragma solidity >=0.4.0 <0.6.0;
 
 interface tokenToTransfer {
        function transfer(address to, uint256 value) external;
        function transferFrom(address from, address to, uint256 value) external;
        function balanceOf(address owner) external returns (uint256);
    }
    
    contract Ownable {
        address private _owner;
        
        constructor() public {
            _owner = msg.sender;
        }
        
        modifier onlyOwner() {
            require(isOwner());
            _;
         }
          
        function isOwner() public view returns(bool) {
            return msg.sender == _owner;
         }
          
        function transferOwnership(address newOwner) public onlyOwner {
            _transferOwnership(newOwner);
        }
        
        function _transferOwnership(address newOwner) internal {
            require(newOwner != address(0));
            _owner = newOwner;
        }
    }
    
    contract StakeImperial is Ownable {
    //Setup of public variables for maintaing between contract transactions
    address private ImperialAddress = address(0x25cef4fb106e76080e88135a0e4059276fa9be87);
    tokenToTransfer private sendtTransaction;
    
    //Setup of staking variables for contract maintenance 
    mapping (address => uint256) private stake;
    mapping (address => uint256) private timeinStake;
    mapping (address => bool) private hasUserStaked;
    uint256 private time = now;
    uint256 private reward;
    uint256 private timeVariable = 86400;
    uint256 private allStakes;
    bool private higherReward = true;
    
    function View_Balance() public view returns (uint256) {
        sendtTransaction = tokenToTransfer(ImperialAddress);
        return sendtTransaction.balanceOf(msg.sender);
    }
    
    function View_ContractBalance() public view returns (uint256) {
        sendtTransaction = tokenToTransfer(ImperialAddress);
        return sendtTransaction.balanceOf(address(this));
    }
    
    function initateStake() public {
        //uint256 stakedAmount = stake * 1000000;
        sendtTransaction = tokenToTransfer(ImperialAddress);
        uint256 stakedAmount = View_Balance();
        
                if (stakedAmount == 0) {
                    revert();
                }
                
                if (hasUserStaked[msg.sender] == true) {
                    revert();
                }
        
        sendtTransaction.transferFrom(msg.sender, address(this), stakedAmount);
        stake[msg.sender] = stakedAmount;
        allStakes += stakedAmount;
        timeinStake[msg.sender] = now;
        hasUserStaked[msg.sender] = true;
    }
    
    function displayStake() public view returns (uint256) {
        return stake[msg.sender];
    }
    
    function displayBalance() public view returns (uint256) {
        uint256 balanceTime = (now - timeinStake[msg.sender]) / timeVariable;
        if (higherReward == true) {
        return balanceTime * reward * stake[msg.sender];
        } else {
        balanceTime = balanceTime * (stake[msg.sender] / reward) + stake[msg.sender];
        return balanceTime;
        }
    }

    function displayTime() public view returns (uint256) {
        return time;
    }
    
    function displayAllStakes() public view returns (uint256) {
        return allStakes;
    }
    
    function displayTimeVariable() public view returns (uint256) {
        return timeVariable;
    }
    
    function displayTimeWhenUserStaked() public view returns (uint256) {
        return timeinStake[msg.sender];
    }
    
    function displayRewardBool() public view returns (bool) {
        return higherReward;
    }
    
    function displayRewardVariable() public view returns (uint256) {
        return reward;
    }
    
    /* ADMIN FUNCTIONS */
    //Admin change address to updated address function
    function displayUserStake(address user) public view onlyOwner returns (uint256) {
        return stake[user];
    }
    
    function adminWithdraw(uint256 amount, address ownerAddress) public onlyOwner {
        sendtTransaction = tokenToTransfer(ImperialAddress);
        sendtTransaction.transfer(ownerAddress, amount);
    }
    
    function changeImperialAddresstoNew(address change) public onlyOwner {
        ImperialAddress = change;
    }
    
    //Admin change reward function
    function changeReward(uint256 change) public onlyOwner {
        reward = change;
    }
    
    //Admin change reward function
    function changeTimeVariable(uint256 change) public onlyOwner {
        timeVariable = change;
    }
    
    //Admin reward function for lower than 100%
    function changeRewardtoLower(bool value) public onlyOwner {
        higherReward = value;
    }
    
    //Admin reset time balance to reset stake to new level
    function resetTime() public onlyOwner {
        time = now;
    }

    function withdrawBalance() public {
        uint256 balanceTime = now - timeinStake[msg.sender];
        if (balanceTime < timeVariable) {
                revert();
        }
        
        if (timeinStake[msg.sender] == 0) {
            revert();
        }
        sendtTransaction = tokenToTransfer(ImperialAddress);
        uint256 getUserBalance = displayBalance();
        uint256 contractBalance = View_ContractBalance();
        //Ensure users can get their balance
            if (getUserBalance > contractBalance) {
                revert();
            }
        sendtTransaction.transfer(msg.sender, getUserBalance);
        stake[msg.sender] = 0;
        allStakes -= getUserBalance;
        timeinStake[msg.sender] = 0;
        hasUserStaked[msg.sender] = false;
    }
    
 }

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[],"name":"displayAllStakes","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"user","type":"address"}],"name":"displayUserStake","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"displayStake","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"displayTimeVariable","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"displayBalance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"initateStake","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"value","type":"bool"}],"name":"changeRewardtoLower","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"amount","type":"uint256"},{"name":"ownerAddress","type":"address"}],"name":"adminWithdraw","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"displayTime","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"withdrawBalance","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"change","type":"uint256"}],"name":"changeTimeVariable","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"resetTime","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"displayRewardVariable","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isOwner","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"displayTimeWhenUserStaked","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"change","type":"address"}],"name":"changeImperialAddresstoNew","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"View_Balance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"change","type":"uint256"}],"name":"changeReward","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"displayRewardBool","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"View_ContractBalance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"}]

60806040527325cef4fb106e76080e88135a0e4059276fa9be87600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555042600655620151806008556001600a60006101000a81548160ff021916908315150217905550336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555061136f806100ce6000396000f30060806040526004361061011c576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff168062e6872014610121578063068701a01461014c5780630ad182a0146101a3578063182bf6d2146101ce5780633c7d73d8146101f95780633edb057414610224578063584ec66b1461023b5780635a09a4131461026a5780635fbbe65a146102b75780635fd8c710146102e25780636464d024146102f957806365a114f1146103265780636b1da6bf1461033d5780638f32d59b14610368578063903d4c151461039757806394b7c89e146103c25780639d79fb5314610405578063cf5d57db14610430578063ea5f81001461045d578063f2fde38b1461048c578063ff9acf43146104cf575b600080fd5b34801561012d57600080fd5b506101366104fa565b6040518082815260200191505060405180910390f35b34801561015857600080fd5b5061018d600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610504565b6040518082815260200191505060405180910390f35b3480156101af57600080fd5b506101b8610560565b6040518082815260200191505060405180910390f35b3480156101da57600080fd5b506101e36105a7565b6040518082815260200191505060405180910390f35b34801561020557600080fd5b5061020e6105b1565b6040518082815260200191505060405180910390f35b34801561023057600080fd5b50610239610708565b005b34801561024757600080fd5b506102686004803603810190808035151590602001909291905050506109e7565b005b34801561027657600080fd5b506102b560048036038101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610a17565b005b3480156102c357600080fd5b506102cc610b6e565b6040518082815260200191505060405180910390f35b3480156102ee57600080fd5b506102f7610b78565b005b34801561030557600080fd5b5061032460048036038101908080359060200190929190505050610e75565b005b34801561033257600080fd5b5061033b610e92565b005b34801561034957600080fd5b50610352610eae565b6040518082815260200191505060405180910390f35b34801561037457600080fd5b5061037d610eb8565b604051808215151515815260200191505060405180910390f35b3480156103a357600080fd5b506103ac610f0f565b6040518082815260200191505060405180910390f35b3480156103ce57600080fd5b50610403600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610f56565b005b34801561041157600080fd5b5061041a610fad565b6040518082815260200191505060405180910390f35b34801561043c57600080fd5b5061045b6004803603810190808035906020019092919050505061110f565b005b34801561046957600080fd5b5061047261112c565b604051808215151515815260200191505060405180910390f35b34801561049857600080fd5b506104cd600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611143565b005b3480156104db57600080fd5b506104e4611162565b6040518082815260200191505060405180910390f35b6000600954905090565b600061050e610eb8565b151561051957600080fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905090565b6000600854905090565b600080600854600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054420381151561060257fe5b04905060011515600a60009054906101000a900460ff161515141561066e57600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546007548202029150610704565b600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600754600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548115156106fa57fe5b0482020190508091505b5090565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550610775610fad565b9050600081141561078557600080fd5b60011515600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514156107e357600080fd5b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3330846040518463ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050600060405180830381600087803b1580156108dc57600080fd5b505af11580156108f0573d6000803e3d6000fd5b5050505080600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508060096000828254019250508190555042600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506001600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b6109ef610eb8565b15156109fa57600080fd5b80600a60006101000a81548160ff02191690831515021790555050565b610a1f610eb8565b1515610a2a57600080fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb82846040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b158015610b5257600080fd5b505af1158015610b66573d6000803e3d6000fd5b505050505050565b6000600654905090565b6000806000600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205442039250600854831015610bd057600080fd5b6000600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541415610c1d57600080fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550610c886105b1565b9150610c92611162565b905080821115610ca157600080fd5b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33846040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b158015610d6657600080fd5b505af1158015610d7a573d6000803e3d6000fd5b505050506000600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816009600082825403925050819055506000600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506000600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550505050565b610e7d610eb8565b1515610e8857600080fd5b8060088190555050565b610e9a610eb8565b1515610ea557600080fd5b42600681905550565b6000600754905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614905090565b6000600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905090565b610f5e610eb8565b1515610f6957600080fd5b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b1580156110cf57600080fd5b505af11580156110e3573d6000803e3d6000fd5b505050506040513d60208110156110f957600080fd5b8101908080519060200190929190505050905090565b611117610eb8565b151561112257600080fd5b8060078190555050565b6000600a60009054906101000a900460ff16905090565b61114b610eb8565b151561115657600080fd5b61115f816112c4565b50565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b15801561128457600080fd5b505af1158015611298573d6000803e3d6000fd5b505050506040513d60208110156112ae57600080fd5b8101908080519060200190929190505050905090565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415151561130057600080fd5b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505600a165627a7a7230582031537fd3e0a63505feade553132527d9daa5b5a0b4279404994fe9b1512c5b0a0029

Deployed Bytecode

0x60806040526004361061011c576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff168062e6872014610121578063068701a01461014c5780630ad182a0146101a3578063182bf6d2146101ce5780633c7d73d8146101f95780633edb057414610224578063584ec66b1461023b5780635a09a4131461026a5780635fbbe65a146102b75780635fd8c710146102e25780636464d024146102f957806365a114f1146103265780636b1da6bf1461033d5780638f32d59b14610368578063903d4c151461039757806394b7c89e146103c25780639d79fb5314610405578063cf5d57db14610430578063ea5f81001461045d578063f2fde38b1461048c578063ff9acf43146104cf575b600080fd5b34801561012d57600080fd5b506101366104fa565b6040518082815260200191505060405180910390f35b34801561015857600080fd5b5061018d600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610504565b6040518082815260200191505060405180910390f35b3480156101af57600080fd5b506101b8610560565b6040518082815260200191505060405180910390f35b3480156101da57600080fd5b506101e36105a7565b6040518082815260200191505060405180910390f35b34801561020557600080fd5b5061020e6105b1565b6040518082815260200191505060405180910390f35b34801561023057600080fd5b50610239610708565b005b34801561024757600080fd5b506102686004803603810190808035151590602001909291905050506109e7565b005b34801561027657600080fd5b506102b560048036038101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610a17565b005b3480156102c357600080fd5b506102cc610b6e565b6040518082815260200191505060405180910390f35b3480156102ee57600080fd5b506102f7610b78565b005b34801561030557600080fd5b5061032460048036038101908080359060200190929190505050610e75565b005b34801561033257600080fd5b5061033b610e92565b005b34801561034957600080fd5b50610352610eae565b6040518082815260200191505060405180910390f35b34801561037457600080fd5b5061037d610eb8565b604051808215151515815260200191505060405180910390f35b3480156103a357600080fd5b506103ac610f0f565b6040518082815260200191505060405180910390f35b3480156103ce57600080fd5b50610403600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610f56565b005b34801561041157600080fd5b5061041a610fad565b6040518082815260200191505060405180910390f35b34801561043c57600080fd5b5061045b6004803603810190808035906020019092919050505061110f565b005b34801561046957600080fd5b5061047261112c565b604051808215151515815260200191505060405180910390f35b34801561049857600080fd5b506104cd600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611143565b005b3480156104db57600080fd5b506104e4611162565b6040518082815260200191505060405180910390f35b6000600954905090565b600061050e610eb8565b151561051957600080fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905090565b6000600854905090565b600080600854600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054420381151561060257fe5b04905060011515600a60009054906101000a900460ff161515141561066e57600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546007548202029150610704565b600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600754600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548115156106fa57fe5b0482020190508091505b5090565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550610775610fad565b9050600081141561078557600080fd5b60011515600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514156107e357600080fd5b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3330846040518463ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050600060405180830381600087803b1580156108dc57600080fd5b505af11580156108f0573d6000803e3d6000fd5b5050505080600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508060096000828254019250508190555042600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506001600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b6109ef610eb8565b15156109fa57600080fd5b80600a60006101000a81548160ff02191690831515021790555050565b610a1f610eb8565b1515610a2a57600080fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb82846040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b158015610b5257600080fd5b505af1158015610b66573d6000803e3d6000fd5b505050505050565b6000600654905090565b6000806000600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205442039250600854831015610bd057600080fd5b6000600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541415610c1d57600080fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550610c886105b1565b9150610c92611162565b905080821115610ca157600080fd5b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33846040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b158015610d6657600080fd5b505af1158015610d7a573d6000803e3d6000fd5b505050506000600360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816009600082825403925050819055506000600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506000600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550505050565b610e7d610eb8565b1515610e8857600080fd5b8060088190555050565b610e9a610eb8565b1515610ea557600080fd5b42600681905550565b6000600754905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614905090565b6000600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905090565b610f5e610eb8565b1515610f6957600080fd5b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b1580156110cf57600080fd5b505af11580156110e3573d6000803e3d6000fd5b505050506040513d60208110156110f957600080fd5b8101908080519060200190929190505050905090565b611117610eb8565b151561112257600080fd5b8060078190555050565b6000600a60009054906101000a900460ff16905090565b61114b610eb8565b151561115657600080fd5b61115f816112c4565b50565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b15801561128457600080fd5b505af1158015611298573d6000803e3d6000fd5b505050506040513d60208110156112ae57600080fd5b8101908080519060200190929190505050905090565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415151561130057600080fd5b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505600a165627a7a7230582031537fd3e0a63505feade553132527d9daa5b5a0b4279404994fe9b1512c5b0a0029

Deployed Bytecode Sourcemap

986:4850:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3332:93;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3332:93:0;;;;;;;;;;;;;;;;;;;;;;;3972:117;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3972:117:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2737:97;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2737:97:0;;;;;;;;;;;;;;;;;;;;;;;3437:99;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3437:99:0;;;;;;;;;;;;;;;;;;;;;;;2846:383;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2846:383:0;;;;;;;;;;;;;;;;;;;;;;;2044:681;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2044:681:0;;;;;;4778:97;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4778:97:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;4101:206;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4101:206:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3237:83;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3237:83:0;;;;;;;;;;;;;;;;;;;;;;;5022:804;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5022:804:0;;;;;;4616:101;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4616:101:0;;;;;;;;;;;;;;;;;;;;;;;;;;4947:67;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4947:67:0;;;;;;3782:95;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3782:95:0;;;;;;;;;;;;;;;;;;;;;;;563:100;;8:9:-1;5:2;;;30:1;27;20:12;5:2;563:100:0;;;;;;;;;;;;;;;;;;;;;;;;;;;3548:116;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3548:116:0;;;;;;;;;;;;;;;;;;;;;;;4319:112;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4319:112:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;1649:180;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1649:180:0;;;;;;;;;;;;;;;;;;;;;;;4479:89;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4479:89:0;;;;;;;;;;;;;;;;;;;;;;;;;;3676:94;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3676:94:0;;;;;;;;;;;;;;;;;;;;;;;;;;;685:117;;8:9:-1;5:2;;;30:1;27;20:12;5:2;685:117:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;1841:191;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1841:191:0;;;;;;;;;;;;;;;;;;;;;;;3332:93;3381:7;3408:9;;3401:16;;3332:93;:::o;3972:117::-;4043:7;502:9;:7;:9::i;:::-;494:18;;;;;;;;4070:5;:11;4076:4;4070:11;;;;;;;;;;;;;;;;4063:18;;3972:117;;;:::o;2737:97::-;2782:7;2809:5;:17;2815:10;2809:17;;;;;;;;;;;;;;;;2802:24;;2737:97;:::o;3437:99::-;3489:7;3516:12;;3509:19;;3437:99;:::o;2846:383::-;2893:7;2913:19;2969:12;;2942:11;:23;2954:10;2942:23;;;;;;;;;;;;;;;;2936:3;:29;2935:46;;;;;;;;2913:68;;3012:4;2996:20;;:12;;;;;;;;;;;:20;;;2992:230;;;3059:5;:17;3065:10;3059:17;;;;;;;;;;;;;;;;3050:6;;3036:11;:20;:40;3029:47;;;;2992:230;3164:5;:17;3170:10;3164:17;;;;;;;;;;;;;;;;3154:6;;3134:5;:17;3140:10;3134:17;;;;;;;;;;;;;;;;:26;;;;;;;;3119:11;:42;:62;3105:76;;3199:11;3192:18;;2846:383;;;:::o;2044:681::-;2199:20;2172:15;;;;;;;;;;;2137:16;;:51;;;;;;;;;;;;;;;;;;2222:14;:12;:14::i;:::-;2199:37;;2285:1;2269:12;:17;2265:74;;;2311:8;;;2265:74;2408:4;2379:33;;:13;:25;2393:10;2379:25;;;;;;;;;;;;;;;;;;;;;;;;;:33;;;2375:90;;;2437:8;;;2375:90;2485:16;;;;;;;;;;;:29;;;2515:10;2535:4;2542:12;2485:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2485:70:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2485:70:0;;;;2586:12;2566:5;:17;2572:10;2566:17;;;;;;;;;;;;;;;:32;;;;2622:12;2609:9;;:25;;;;;;;;;;;2671:3;2645:11;:23;2657:10;2645:23;;;;;;;;;;;;;;;:29;;;;2713:4;2685:13;:25;2699:10;2685:25;;;;;;;;;;;;;;;;:32;;;;;;;;;;;;;;;;;;2044:681;:::o;4778:97::-;502:9;:7;:9::i;:::-;494:18;;;;;;;;4862:5;4847:12;;:20;;;;;;;;;;;;;;;;;;4778:97;:::o;4101:206::-;502:9;:7;:9::i;:::-;494:18;;;;;;;;4225:15;;;;;;;;;;;4190:16;;:51;;;;;;;;;;;;;;;;;;4252:16;;;;;;;;;;;:25;;;4278:12;4292:6;4252:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4252:47:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;4252:47:0;;;;4101:206;;:::o;3237:83::-;3281:7;3308:4;;3301:11;;3237:83;:::o;5022:804::-;5067:19;5361:22;5413:23;5095:11;:23;5107:10;5095:23;;;;;;;;;;;;;;;;5089:3;:29;5067:51;;5147:12;;5133:11;:26;5129:71;;;5180:8;;;5129:71;5251:1;5224:11;:23;5236:10;5224:23;;;;;;;;;;;;;;;;:28;5220:69;;;5269:8;;;5220:69;5334:15;;;;;;;;;;;5299:16;;:51;;;;;;;;;;;;;;;;;;5386:16;:14;:16::i;:::-;5361:41;;5439:22;:20;:22::i;:::-;5413:48;;5543:15;5526:14;:32;5522:81;;;5579:8;;;5522:81;5613:16;;;;;;;;;;;:25;;;5639:10;5651:14;5613:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5613:53:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;5613:53:0;;;;5697:1;5677:5;:17;5683:10;5677:17;;;;;;;;;;;;;;;:21;;;;5722:14;5709:9;;:27;;;;;;;;;;;5773:1;5747:11;:23;5759:10;5747:23;;;;;;;;;;;;;;;:27;;;;5813:5;5785:13;:25;5799:10;5785:25;;;;;;;;;;;;;;;;:33;;;;;;;;;;;;;;;;;;5022:804;;;:::o;4616:101::-;502:9;:7;:9::i;:::-;494:18;;;;;;;;4703:6;4688:12;:21;;;;4616:101;:::o;4947:67::-;502:9;:7;:9::i;:::-;494:18;;;;;;;;5003:3;4996:4;:10;;;;4947:67::o;3782:95::-;3836:7;3863:6;;3856:13;;3782:95;:::o;563:100::-;602:4;644:6;;;;;;;;;;;630:20;;:10;:20;;;623:27;;563:100;:::o;3548:116::-;3606:7;3633:11;:23;3645:10;3633:23;;;;;;;;;;;;;;;;3626:30;;3548:116;:::o;4319:112::-;502:9;:7;:9::i;:::-;494:18;;;;;;;;4417:6;4399:15;;:24;;;;;;;;;;;;;;;;;;4319:112;:::o;1649:180::-;1694:7;1749:15;;;;;;;;;;;1714:16;;:51;;;;;;;;;;;;;;;;;;1783:16;;;;;;;;;;;:26;;;1810:10;1783:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1783:38:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1783:38:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;1783:38:0;;;;;;;;;;;;;;;;1776:45;;1649:180;:::o;4479:89::-;502:9;:7;:9::i;:::-;494:18;;;;;;;;4554:6;4545;:15;;;;4479:89;:::o;3676:94::-;3726:4;3750:12;;;;;;;;;;;3743:19;;3676:94;:::o;685:117::-;502:9;:7;:9::i;:::-;494:18;;;;;;;;762:28;781:8;762:18;:28::i;:::-;685:117;:::o;1841:191::-;1894:7;1949:15;;;;;;;;;;;1914:16;;:51;;;;;;;;;;;;;;;;;;1983:16;;;;;;;;;;;:26;;;2018:4;1983:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1983:41:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1983:41:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;1983:41:0;;;;;;;;;;;;;;;;1976:48;;1841:191;:::o;822:145::-;920:1;900:22;;:8;:22;;;;892:31;;;;;;;;947:8;938:6;;:17;;;;;;;;;;;;;;;;;;822:145;:::o

Swarm Source

bzzr://31537fd3e0a63505feade553132527d9daa5b5a0b4279404994fe9b1512c5b0a

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

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ 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.