ETH Price: $3,067.84 (-8.11%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Change Mapping104696052020-07-16 8:54:451656 days ago1594889685IN
NEST Protocol: Mining Pool
0 ETH0.0023152255

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Nest_3_MiningContract

Compiler Version
v0.6.0+commit.26b70077

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, GNU GPLv3 license
/**
 *Submitted for verification at Etherscan.io on 2020-07-28
*/

pragma solidity 0.6.0;

/**
 * @title Mining contract
 * @dev Mining pool + mining logic
 */
contract Nest_3_MiningContract {
    
    using address_make_payable for address;
    using SafeMath for uint256;
    
    uint256 _blockAttenuation = 2400000;                 //  Block decay time interval
    uint256[10] _attenuationAmount;                      //  Mining decay amount
    uint256 _afterMiningAmount = 40 ether;               //  Stable period mining amount
    uint256 _firstBlockNum;                              //  Starting mining block
    uint256 _latestMining;                               //  Latest offering block
    Nest_3_VoteFactory _voteFactory;                     //  Voting contract
    ERC20 _nestContract;                                 //  NEST contract address
    address _offerFactoryAddress;                        //  Offering contract address
    
    // Current block, current block mining amount
    event OreDrawingLog(uint256 nowBlock, uint256 blockAmount);
    
    /**
    * @dev Initialization method
    * @param voteFactory  voting contract address
    */
    constructor(address voteFactory) public {
        _voteFactory = Nest_3_VoteFactory(address(voteFactory));                  
        _offerFactoryAddress = address(_voteFactory.checkAddress("nest.v3.offerMain"));
        _nestContract = ERC20(address(_voteFactory.checkAddress("nest")));
        // Initiate mining parameters
        _firstBlockNum = 6236588;
        _latestMining = block.number;
        uint256 blockAmount = 400 ether;
        for (uint256 i = 0; i < 10; i ++) {
            _attenuationAmount[i] = blockAmount;
            blockAmount = blockAmount.mul(8).div(10);
        }
    }
    
    /**
    * @dev Reset voting contract
    * @param voteFactory Voting contract address
    */
    function changeMapping(address voteFactory) public onlyOwner {
        _voteFactory = Nest_3_VoteFactory(address(voteFactory));                  
        _offerFactoryAddress = address(_voteFactory.checkAddress("nest.v3.offerMain"));
        _nestContract = ERC20(address(_voteFactory.checkAddress("nest")));
    }
    
    /**
    * @dev Offering mining
    * @return Current block mining amount
    */
    function oreDrawing() public returns (uint256) {
        require(address(msg.sender) == _offerFactoryAddress, "No authority");
        //  Update mining amount list
        uint256 miningAmount = changeBlockAmountList();
        //  Transfer NEST
        if (_nestContract.balanceOf(address(this)) < miningAmount){
            miningAmount = _nestContract.balanceOf(address(this));
        }
        if (miningAmount > 0) {
            _nestContract.transfer(address(msg.sender), miningAmount);
            emit OreDrawingLog(block.number,miningAmount);
        }
        return miningAmount;
    }
    
    /**
    * @dev Update mining amount list
    */
    function changeBlockAmountList() private returns (uint256) {
        uint256 createBlock = _firstBlockNum;
        uint256 recentlyUsedBlock = _latestMining;
        uint256 attenuationPointNow = block.number.sub(createBlock).div(_blockAttenuation);
        uint256 miningAmount = 0;
        uint256 attenuation;
        if (attenuationPointNow > 9) {
            attenuation = _afterMiningAmount;
        } else {
            attenuation = _attenuationAmount[attenuationPointNow];
        }
        miningAmount = attenuation.mul(block.number.sub(recentlyUsedBlock));
        _latestMining = block.number;
        return miningAmount;
    }
    
    /**
    * @dev Transfer all NEST
    * @param target Transfer target address
    */
    function takeOutNest(address target) public onlyOwner {
        _nestContract.transfer(address(target),_nestContract.balanceOf(address(this)));
    }

    // Check block decay time interval
    function checkBlockAttenuation() public view returns(uint256) {
        return _blockAttenuation;
    }
    
    // Check latest offering block
    function checkLatestMining() public view returns(uint256) {
        return _latestMining;
    }
    
    // Check mining amount decay
    function checkAttenuationAmount(uint256 num) public view returns(uint256) {
        return _attenuationAmount[num];
    }
    
    // Check NEST balance
    function checkNestBalance() public view returns(uint256) {
        return _nestContract.balanceOf(address(this));
    }
    
    // Modify block decay time interval
    function changeBlockAttenuation(uint256 blockNum) public onlyOwner {
        require(blockNum > 0);
        _blockAttenuation = blockNum;
    }
    
    // Modify mining amount decay
    function changeAttenuationAmount(uint256 firstAmount, uint256 top, uint256 bottom) public onlyOwner {
        uint256 blockAmount = firstAmount;
        for (uint256 i = 0; i < 10; i ++) {
            _attenuationAmount[i] = blockAmount;
            blockAmount = blockAmount.mul(top).div(bottom);
        }
    }
    
    // Administrator only
    modifier onlyOwner(){
        require(_voteFactory.checkOwners(msg.sender), "No authority");
        _;
    }
}

// Voting contract
interface Nest_3_VoteFactory {
    // Check address
	function checkAddress(string calldata name) external view returns (address contractAddress);
	// Check whether administrator
	function checkOwners(address man) external view returns (bool);
}

// EC20
interface ERC20 {
    function totalSupply() external view returns (uint256);
    function balanceOf(address account) external view returns (uint256);
    function transfer(address recipient, uint256 amount) external returns (bool);
    function allowance(address owner, address spender) external view returns (uint256);
    function approve(address spender, uint256 amount) external returns (bool);
    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);
    event Transfer(address indexed from, address indexed to, uint256 value);
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

library SafeMath {
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return sub(a, b, "SafeMath: subtraction overflow");
    }
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;

        return c;
    }
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }
        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");

        return c;
    }
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return div(a, b, "SafeMath: division by zero");
    }
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        uint256 c = a / b;
        return c;
    }
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return mod(a, b, "SafeMath: modulo by zero");
    }
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}

library address_make_payable {
   function make_payable(address x) internal pure returns (address payable) {
      return address(uint160(x));
   }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"voteFactory","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"nowBlock","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"blockAmount","type":"uint256"}],"name":"OreDrawingLog","type":"event"},{"inputs":[{"internalType":"uint256","name":"firstAmount","type":"uint256"},{"internalType":"uint256","name":"top","type":"uint256"},{"internalType":"uint256","name":"bottom","type":"uint256"}],"name":"changeAttenuationAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"blockNum","type":"uint256"}],"name":"changeBlockAttenuation","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"voteFactory","type":"address"}],"name":"changeMapping","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"num","type":"uint256"}],"name":"checkAttenuationAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"checkBlockAttenuation","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"checkLatestMining","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"checkNestBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"oreDrawing","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"target","type":"address"}],"name":"takeOutNest","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405262249f0060005568022b1c8c1227a00000600b553480156200002557600080fd5b506040516200104e3803806200104e833981810160405260208110156200004b57600080fd5b5051600e80546001600160a01b0319166001600160a01b038084169190911791829055604080516347f3bf4360e11b815260206004820181905260116024830152703732b9ba173b199737b33332b926b0b4b760791b604483015291519390921692638fe77e86926064808201939291829003018186803b158015620000d057600080fd5b505afa158015620000e5573d6000803e3d6000fd5b505050506040513d6020811015620000fc57600080fd5b5051601080546001600160a01b0319166001600160a01b03928316179055600e54604080516347f3bf4360e11b8152602060048083018290526024830152631b995cdd60e21b604483015291519290931692638fe77e869260648083019392829003018186803b1580156200017057600080fd5b505afa15801562000185573d6000803e3d6000fd5b505050506040513d60208110156200019c57600080fd5b5051600f80546001600160a01b0319166001600160a01b03909216919091179055625f29ac600c5543600d556815af1d78b58c40000060005b600a8110156200022e5781600182600a8110620001ee57fe5b015562000223600a6200020f84600862000237602090811b620009df17901c565b6200029e60201b62000a411790919060201c565b9150600101620001d5565b5050506200038f565b600082620002485750600062000298565b828202828482816200025657fe5b0414620002955760405162461bcd60e51b81526004018080602001828103825260218152602001806200102d6021913960400191505060405180910390fd5b90505b92915050565b60006200029583836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250620002e860201b60201c565b60008183620003785760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156200033c57818101518382015260200162000322565b50505050905090810190601f1680156200036a5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385816200038557fe5b0495945050505050565b610c8e806200039f6000396000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c8063a781e7f811610066578063a781e7f814610102578063b34ed41214610128578063be9c375f14610145578063cd0a6f631461014d578063e246ac391461017357610093565b8063180d574c146100985780633d9faf87146100c757806346bf7cf8146100f2578063920f5e37146100fa575b600080fd5b6100b5600480360360208110156100ae57600080fd5b503561017b565b60408051918252519081900360200190f35b6100f0600480360360608110156100dd57600080fd5b5080359060208101359060400135610192565b005b6100b5610297565b6100b56104b5565b6100f06004803603602081101561011857600080fd5b50356001600160a01b03166104bb565b6100f06004803603602081101561013e57600080fd5b50356106df565b6100b56107a8565b6100f06004803603602081101561016357600080fd5b50356001600160a01b03166107ae565b6100b5610963565b6000600182600a811061018a57fe5b015492915050565b600e546040805163a3bf06f160e01b815233600482015290516001600160a01b039092169163a3bf06f191602480820192602092909190829003018186803b1580156101dd57600080fd5b505afa1580156101f1573d6000803e3d6000fd5b505050506040513d602081101561020757600080fd5b5051610249576040805162461bcd60e51b815260206004820152600c60248201526b4e6f20617574686f7269747960a01b604482015290519081900360640190fd5b8260005b600a8110156102905781600182600a811061026457fe5b01556102868361027a848763ffffffff6109df16565b9063ffffffff610a4116565b915060010161024d565b5050505050565b6010546000906001600160a01b031633146102e8576040805162461bcd60e51b815260206004820152600c60248201526b4e6f20617574686f7269747960a01b604482015290519081900360640190fd5b60006102f2610a83565b600f54604080516370a0823160e01b8152306004820152905192935083926001600160a01b03909216916370a0823191602480820192602092909190829003018186803b15801561034257600080fd5b505afa158015610356573d6000803e3d6000fd5b505050506040513d602081101561036c57600080fd5b505110156103ee57600f54604080516370a0823160e01b815230600482015290516001600160a01b03909216916370a0823191602480820192602092909190829003018186803b1580156103bf57600080fd5b505afa1580156103d3573d6000803e3d6000fd5b505050506040513d60208110156103e957600080fd5b505190505b80156104b057600f546040805163a9059cbb60e01b81523360048201526024810184905290516001600160a01b039092169163a9059cbb916044808201926020929091908290030181600087803b15801561044857600080fd5b505af115801561045c573d6000803e3d6000fd5b505050506040513d602081101561047257600080fd5b5050604080514381526020810183905281517fe562eb487d0f4f5d86dc1c1fc74820ea3006c9d180ea22a48404eed0dac4a659929181900390910190a15b905090565b600d5490565b600e546040805163a3bf06f160e01b815233600482015290516001600160a01b039092169163a3bf06f191602480820192602092909190829003018186803b15801561050657600080fd5b505afa15801561051a573d6000803e3d6000fd5b505050506040513d602081101561053057600080fd5b5051610572576040805162461bcd60e51b815260206004820152600c60248201526b4e6f20617574686f7269747960a01b604482015290519081900360640190fd5b600e80546001600160a01b0319166001600160a01b038381169190911791829055604080516347f3bf4360e11b815260206004820181905260116024830152703732b9ba173b199737b33332b926b0b4b760791b604483015291519390921692638fe77e86926064808201939291829003018186803b1580156105f457600080fd5b505afa158015610608573d6000803e3d6000fd5b505050506040513d602081101561061e57600080fd5b5051601080546001600160a01b0319166001600160a01b03928316179055600e54604080516347f3bf4360e11b8152602060048083018290526024830152631b995cdd60e21b604483015291519290931692638fe77e869260648083019392829003018186803b15801561069157600080fd5b505afa1580156106a5573d6000803e3d6000fd5b505050506040513d60208110156106bb57600080fd5b5051600f80546001600160a01b0319166001600160a01b0390921691909117905550565b600e546040805163a3bf06f160e01b815233600482015290516001600160a01b039092169163a3bf06f191602480820192602092909190829003018186803b15801561072a57600080fd5b505afa15801561073e573d6000803e3d6000fd5b505050506040513d602081101561075457600080fd5b5051610796576040805162461bcd60e51b815260206004820152600c60248201526b4e6f20617574686f7269747960a01b604482015290519081900360640190fd5b600081116107a357600080fd5b600055565b60005490565b600e546040805163a3bf06f160e01b815233600482015290516001600160a01b039092169163a3bf06f191602480820192602092909190829003018186803b1580156107f957600080fd5b505afa15801561080d573d6000803e3d6000fd5b505050506040513d602081101561082357600080fd5b5051610865576040805162461bcd60e51b815260206004820152600c60248201526b4e6f20617574686f7269747960a01b604482015290519081900360640190fd5b600f54604080516370a0823160e01b815230600482015290516001600160a01b039092169163a9059cbb91849184916370a08231916024808301926020929190829003018186803b1580156108b957600080fd5b505afa1580156108cd573d6000803e3d6000fd5b505050506040513d60208110156108e357600080fd5b5051604080516001600160e01b031960e086901b1681526001600160a01b03909316600484015260248301919091525160448083019260209291908290030181600087803b15801561093457600080fd5b505af1158015610948573d6000803e3d6000fd5b505050506040513d602081101561095e57600080fd5b505050565b600f54604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b1580156109ae57600080fd5b505afa1580156109c2573d6000803e3d6000fd5b505050506040513d60208110156109d857600080fd5b5051905090565b6000826109ee57506000610a3b565b828202828482816109fb57fe5b0414610a385760405162461bcd60e51b8152600401808060200182810382526021815260200180610c386021913960400191505060405180910390fd5b90505b92915050565b6000610a3883836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250610afe565b600c54600d5460008054909291908390610aa79061027a438663ffffffff610ba016565b90506000806009831115610abe5750600b54610ad0565b600183600a8110610acb57fe5b015490505b610af0610ae3438663ffffffff610ba016565b829063ffffffff6109df16565b43600d559550505050505090565b60008183610b8a5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610b4f578181015183820152602001610b37565b50505050905090810190601f168015610b7c5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838581610b9657fe5b0495945050505050565b6000610a3883836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525060008184841115610c2f5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315610b4f578181015183820152602001610b37565b50505090039056fe536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77a264697066735822122028edb0240734441bf8d3bdef66077bf3438b43888baca7fd03161274ede913cf64736f6c63430006000033536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77000000000000000000000000a628845c523975493da88ac3641a803e92fa5d54

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100935760003560e01c8063a781e7f811610066578063a781e7f814610102578063b34ed41214610128578063be9c375f14610145578063cd0a6f631461014d578063e246ac391461017357610093565b8063180d574c146100985780633d9faf87146100c757806346bf7cf8146100f2578063920f5e37146100fa575b600080fd5b6100b5600480360360208110156100ae57600080fd5b503561017b565b60408051918252519081900360200190f35b6100f0600480360360608110156100dd57600080fd5b5080359060208101359060400135610192565b005b6100b5610297565b6100b56104b5565b6100f06004803603602081101561011857600080fd5b50356001600160a01b03166104bb565b6100f06004803603602081101561013e57600080fd5b50356106df565b6100b56107a8565b6100f06004803603602081101561016357600080fd5b50356001600160a01b03166107ae565b6100b5610963565b6000600182600a811061018a57fe5b015492915050565b600e546040805163a3bf06f160e01b815233600482015290516001600160a01b039092169163a3bf06f191602480820192602092909190829003018186803b1580156101dd57600080fd5b505afa1580156101f1573d6000803e3d6000fd5b505050506040513d602081101561020757600080fd5b5051610249576040805162461bcd60e51b815260206004820152600c60248201526b4e6f20617574686f7269747960a01b604482015290519081900360640190fd5b8260005b600a8110156102905781600182600a811061026457fe5b01556102868361027a848763ffffffff6109df16565b9063ffffffff610a4116565b915060010161024d565b5050505050565b6010546000906001600160a01b031633146102e8576040805162461bcd60e51b815260206004820152600c60248201526b4e6f20617574686f7269747960a01b604482015290519081900360640190fd5b60006102f2610a83565b600f54604080516370a0823160e01b8152306004820152905192935083926001600160a01b03909216916370a0823191602480820192602092909190829003018186803b15801561034257600080fd5b505afa158015610356573d6000803e3d6000fd5b505050506040513d602081101561036c57600080fd5b505110156103ee57600f54604080516370a0823160e01b815230600482015290516001600160a01b03909216916370a0823191602480820192602092909190829003018186803b1580156103bf57600080fd5b505afa1580156103d3573d6000803e3d6000fd5b505050506040513d60208110156103e957600080fd5b505190505b80156104b057600f546040805163a9059cbb60e01b81523360048201526024810184905290516001600160a01b039092169163a9059cbb916044808201926020929091908290030181600087803b15801561044857600080fd5b505af115801561045c573d6000803e3d6000fd5b505050506040513d602081101561047257600080fd5b5050604080514381526020810183905281517fe562eb487d0f4f5d86dc1c1fc74820ea3006c9d180ea22a48404eed0dac4a659929181900390910190a15b905090565b600d5490565b600e546040805163a3bf06f160e01b815233600482015290516001600160a01b039092169163a3bf06f191602480820192602092909190829003018186803b15801561050657600080fd5b505afa15801561051a573d6000803e3d6000fd5b505050506040513d602081101561053057600080fd5b5051610572576040805162461bcd60e51b815260206004820152600c60248201526b4e6f20617574686f7269747960a01b604482015290519081900360640190fd5b600e80546001600160a01b0319166001600160a01b038381169190911791829055604080516347f3bf4360e11b815260206004820181905260116024830152703732b9ba173b199737b33332b926b0b4b760791b604483015291519390921692638fe77e86926064808201939291829003018186803b1580156105f457600080fd5b505afa158015610608573d6000803e3d6000fd5b505050506040513d602081101561061e57600080fd5b5051601080546001600160a01b0319166001600160a01b03928316179055600e54604080516347f3bf4360e11b8152602060048083018290526024830152631b995cdd60e21b604483015291519290931692638fe77e869260648083019392829003018186803b15801561069157600080fd5b505afa1580156106a5573d6000803e3d6000fd5b505050506040513d60208110156106bb57600080fd5b5051600f80546001600160a01b0319166001600160a01b0390921691909117905550565b600e546040805163a3bf06f160e01b815233600482015290516001600160a01b039092169163a3bf06f191602480820192602092909190829003018186803b15801561072a57600080fd5b505afa15801561073e573d6000803e3d6000fd5b505050506040513d602081101561075457600080fd5b5051610796576040805162461bcd60e51b815260206004820152600c60248201526b4e6f20617574686f7269747960a01b604482015290519081900360640190fd5b600081116107a357600080fd5b600055565b60005490565b600e546040805163a3bf06f160e01b815233600482015290516001600160a01b039092169163a3bf06f191602480820192602092909190829003018186803b1580156107f957600080fd5b505afa15801561080d573d6000803e3d6000fd5b505050506040513d602081101561082357600080fd5b5051610865576040805162461bcd60e51b815260206004820152600c60248201526b4e6f20617574686f7269747960a01b604482015290519081900360640190fd5b600f54604080516370a0823160e01b815230600482015290516001600160a01b039092169163a9059cbb91849184916370a08231916024808301926020929190829003018186803b1580156108b957600080fd5b505afa1580156108cd573d6000803e3d6000fd5b505050506040513d60208110156108e357600080fd5b5051604080516001600160e01b031960e086901b1681526001600160a01b03909316600484015260248301919091525160448083019260209291908290030181600087803b15801561093457600080fd5b505af1158015610948573d6000803e3d6000fd5b505050506040513d602081101561095e57600080fd5b505050565b600f54604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b1580156109ae57600080fd5b505afa1580156109c2573d6000803e3d6000fd5b505050506040513d60208110156109d857600080fd5b5051905090565b6000826109ee57506000610a3b565b828202828482816109fb57fe5b0414610a385760405162461bcd60e51b8152600401808060200182810382526021815260200180610c386021913960400191505060405180910390fd5b90505b92915050565b6000610a3883836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250610afe565b600c54600d5460008054909291908390610aa79061027a438663ffffffff610ba016565b90506000806009831115610abe5750600b54610ad0565b600183600a8110610acb57fe5b015490505b610af0610ae3438663ffffffff610ba016565b829063ffffffff6109df16565b43600d559550505050505090565b60008183610b8a5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610b4f578181015183820152602001610b37565b50505050905090810190601f168015610b7c5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838581610b9657fe5b0495945050505050565b6000610a3883836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525060008184841115610c2f5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315610b4f578181015183820152602001610b37565b50505090039056fe536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77a264697066735822122028edb0240734441bf8d3bdef66077bf3438b43888baca7fd03161274ede913cf64736f6c63430006000033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000a628845c523975493da88ac3641a803e92fa5d54

-----Decoded View---------------
Arg [0] : voteFactory (address): 0xa628845c523975493DA88Ac3641a803E92fa5d54

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000a628845c523975493da88ac3641a803e92fa5d54


Deployed Bytecode Sourcemap

99:5114:0:-:0;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;99:5114:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4211:123;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;4211:123:0;;:::i;:::-;;;;;;;;;;;;;;;;4740:319;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;4740:319:0;;;;;;;;;;;;:::i;:::-;;2279:611;;;:::i;4068:97::-;;;:::i;1861:318::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1861:318:0;-1:-1:-1;;;;;1861:318:0;;:::i;4547:146::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;4547:146:0;;:::i;3915:105::-;;;:::i;3716:151::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;3716:151:0;-1:-1:-1;;;;;3716:151:0;;:::i;4373:121::-;;;:::i;4211:123::-;4276:7;4303:18;4322:3;4303:23;;;;;;;;;;4211:123;-1:-1:-1;;4211:123:0:o;4740:319::-;5137:12;;:36;;;-1:-1:-1;;;5137:36:0;;5162:10;5137:36;;;;;;-1:-1:-1;;;;;5137:12:0;;;;:24;;:36;;;;;;;;;;;;;;;:12;:36;;;5:2:-1;;;;30:1;27;20:12;5:2;5137:36:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;5137:36:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;5137:36:0;5129:61;;;;;-1:-1:-1;;;5129:61:0;;;;;;;;;;;;-1:-1:-1;;;5129:61:0;;;;;;;;;;;;;;;4873:11;4851:19:::1;4895:157;4919:2;4915:1;:6;4895:157;;;4968:11;4944:18;4963:1;4944:21;;;;;;;;:35:::0;5008:32:::1;5033:6:::0;5008:20:::1;:11:::0;5024:3;5008:20:::1;:15;:20;:::i;:::-;:24:::0;:32:::1;:24;:32;:::i;:::-;4994:46:::0;-1:-1:-1;4923:4:0::1;;4895:157;;;;5201:1;4740:319:::0;;;:::o;2279:611::-;2368:20;;2317:7;;-1:-1:-1;;;;;2368:20:0;2353:10;2345:43;2337:68;;;;;-1:-1:-1;;;2337:68:0;;;;;;;;;;;;-1:-1:-1;;;2337:68:0;;;;;;;;;;;;;;;2455:20;2478:23;:21;:23::i;:::-;2543:13;;:38;;;-1:-1:-1;;;2543:38:0;;2575:4;2543:38;;;;;;2455:46;;-1:-1:-1;2455:46:0;;-1:-1:-1;;;;;2543:13:0;;;;:23;;:38;;;;;;;;;;;;;;;:13;:38;;;5:2:-1;;;;30:1;27;20:12;5:2;2543:38:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2543:38:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2543:38:0;:53;2539:138;;;2627:13;;:38;;;-1:-1:-1;;;2627:38:0;;2659:4;2627:38;;;;;;-1:-1:-1;;;;;2627:13:0;;;;:23;;:38;;;;;;;;;;;;;;;:13;:38;;;5:2:-1;;;;30:1;27;20:12;5:2;2627:38:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2627:38:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2627:38:0;;-1:-1:-1;2539:138:0;2691:16;;2687:166;;2724:13;;:57;;;-1:-1:-1;;;2724:57:0;;2755:10;2724:57;;;;;;;;;;;;-1:-1:-1;;;;;2724:13:0;;;;:22;;:57;;;;;;;;;;;;;;;:13;;:57;;;5:2:-1;;;;30:1;27;20:12;5:2;2724:57:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;2724:57:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;2801:40:0;;;2815:12;2801:40;;2724:57;2801:40;;;;;;;;;;;;;;;;;;2687:166;2870:12;-1:-1:-1;2279:611:0;:::o;4068:97::-;4144:13;;4068:97;:::o;1861:318::-;5137:12;;:36;;;-1:-1:-1;;;5137:36:0;;5162:10;5137:36;;;;;;-1:-1:-1;;;;;5137:12:0;;;;:24;;:36;;;;;;;;;;;;;;;:12;:36;;;5:2:-1;;;;30:1;27;20:12;5:2;5137:36:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;5137:36:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;5137:36:0;5129:61;;;;;-1:-1:-1;;;5129:61:0;;;;;;;;;;;;-1:-1:-1;;;5129:61:0;;;;;;;;;;;;;;;1933:12:::1;:55:::0;;-1:-1:-1;;;;;;1933:55:0::1;-1:-1:-1::0;;;;;1933:55:0;;::::1;::::0;;;::::1;::::0;;;;2048:46:::1;::::0;;-1:-1:-1;;;2048:46:0;;::::1;;::::0;::::1;::::0;;;::::1;::::0;;;;-1:-1:-1;;;2048:46:0;;;;;;:12;;;::::1;::::0;:25:::1;::::0;:46;;;;;;;;;;;;:12;:46;::::1;;5:2:-1::0;::::1;;;30:1;27::::0;20:12:::1;5:2;2048:46:0;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::1;77:16;74:1;67:27;5:2;2048:46:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26::::0;19:12:::1;2:2;-1:-1:::0;2048:46:0;2017:20:::1;:78:::0;;-1:-1:-1;;;;;;2017:78:0::1;-1:-1:-1::0;;;;;2017:78:0;;::::1;;::::0;;2136:12:::1;::::0;:33:::1;::::0;;-1:-1:-1;;;2136:33:0;;2048:46:::1;2136:33;::::0;;::::1;::::0;;;;;;;-1:-1:-1;;;2136:33:0;;;;;;:12;;;::::1;::::0;:25:::1;::::0;:33;;;;;2048:46;2136:33;;;;;:12;:33;::::1;;5:2:-1::0;::::1;;;30:1;27::::0;20:12:::1;5:2;2136:33:0;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::1;77:16;74:1;67:27;5:2;2136:33:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26::::0;19:12:::1;2:2;-1:-1:::0;2136:33:0;2106:13:::1;:65:::0;;-1:-1:-1;;;;;;2106:65:0::1;-1:-1:-1::0;;;;;2106:65:0;;::::1;::::0;;;::::1;::::0;;-1:-1:-1;1861:318:0:o;4547:146::-;5137:12;;:36;;;-1:-1:-1;;;5137:36:0;;5162:10;5137:36;;;;;;-1:-1:-1;;;;;5137:12:0;;;;:24;;:36;;;;;;;;;;;;;;;:12;:36;;;5:2:-1;;;;30:1;27;20:12;5:2;5137:36:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;5137:36:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;5137:36:0;5129:61;;;;;-1:-1:-1;;;5129:61:0;;;;;;;;;;;;-1:-1:-1;;;5129:61:0;;;;;;;;;;;;;;;4644:1:::1;4633:8;:12;4625:21;;;::::0;::::1;;4657:17;:28:::0;4547:146::o;3915:105::-;3968:7;3995:17;3915:105;:::o;3716:151::-;5137:12;;:36;;;-1:-1:-1;;;5137:36:0;;5162:10;5137:36;;;;;;-1:-1:-1;;;;;5137:12:0;;;;:24;;:36;;;;;;;;;;;;;;;:12;:36;;;5:2:-1;;;;30:1;27;20:12;5:2;5137:36:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;5137:36:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;5137:36:0;5129:61;;;;;-1:-1:-1;;;5129:61:0;;;;;;;;;;;;-1:-1:-1;;;5129:61:0;;;;;;;;;;;;;;;3781:13:::1;::::0;3820:38:::1;::::0;;-1:-1:-1;;;3820:38:0;;3852:4:::1;3820:38;::::0;::::1;::::0;;;-1:-1:-1;;;;;3781:13:0;;::::1;::::0;:22:::1;::::0;3812:6;;3781:13;;3820:23:::1;::::0;:38;;;;;::::1;::::0;;;;;;;;3781:13;3820:38;::::1;;5:2:-1::0;::::1;;;30:1;27::::0;20:12:::1;5:2;3820:38:0;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::1;77:16;74:1;67:27;5:2;3820:38:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26::::0;19:12:::1;2:2;-1:-1:::0;3820:38:0;3781:78:::1;::::0;;-1:-1:-1;;;;;;3781:78:0::1;::::0;;;;;;-1:-1:-1;;;;;3781:78:0;;::::1;;::::0;::::1;::::0;;;;;;;;;;;;;;3820:38:::1;::::0;3781:78;;;;;;;-1:-1:-1;3781:78:0;;::::1;;5:2:-1::0;::::1;;;30:1;27::::0;20:12:::1;5:2;3781:78:0;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::1;77:16;74:1;67:27;5:2;3781:78:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26::::0;19:12:::1;2:2;-1:-1:::0;;;3716:151:0:o;4373:121::-;4448:13;;:38;;;-1:-1:-1;;;4448:38:0;;4480:4;4448:38;;;;;;4421:7;;-1:-1:-1;;;;;4448:13:0;;:23;;:38;;;;;;;;;;;;;;:13;:38;;;5:2:-1;;;;30:1;27;20:12;5:2;4448:38:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;4448:38:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;4448:38:0;;-1:-1:-1;4373:121:0;:::o;6726:248::-;6784:7;6808:6;6804:47;;-1:-1:-1;6838:1:0;6831:8;;6804:47;6873:5;;;6877:1;6873;:5;:1;6897:5;;;;;:10;6889:56;;;;-1:-1:-1;;;6889:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6965:1;-1:-1:-1;6726:248:0;;;;;:::o;6980:132::-;7038:7;7065:39;7069:1;7072;7065:39;;;;;;;;;;;;;;;;;:3;:39::i;2957:655::-;3049:14;;3102:13;;3007:7;3190:17;;3007:7;;3049:14;3102:13;3007:7;;3156:52;;:29;:12;3049:14;3156:29;:16;:29;:::i;:52::-;3126:82;-1:-1:-1;3219:20:0;;3310:1;3288:23;;3284:174;;;-1:-1:-1;3342:18:0;;3284:174;;;3407:18;3426:19;3407:39;;;;;;;;;3393:53;;3284:174;3483:52;3499:35;:12;3516:17;3499:35;:16;:35;:::i;:::-;3483:11;;:52;:15;:52;:::i;:::-;3562:12;3546:13;:28;3468:67;-1:-1:-1;;;;;;2957:655:0;:::o;7118:189::-;7204:7;7239:12;7232:5;7224:28;;;;-1:-1:-1;;;7224:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;7224:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7263:9;7279:1;7275;:5;;;;;;;7118:189;-1:-1:-1;;;;;7118:189:0:o;6386:136::-;6444:7;6471:43;6475:1;6478;6471:43;;;;;;;;;;;;;;;;;6614:7;6650:12;6642:6;;;;6634:29;;;;-1:-1:-1;;;6634:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27:10:-1;;8:100;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;6634:29:0;-1:-1:-1;;;6686:5:0;;;6528:192::o

Swarm Source

ipfs://28edb0240734441bf8d3bdef66077bf3438b43888baca7fd03161274ede913cf

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

OVERVIEW

NEST Token mining pool V3.

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.