ETH Price: $3,371.53 (-8.10%)

Contract

0x7c5b6a029627BBB251710b8b6e86F606b5aA7D81
 
Transaction Hash
Method
Block
From
To
Send96174822020-03-06 11:46:071749 days ago1583495167IN
0x7c5b6a02...6b5aA7D81
0 ETH0.000433165
Transfer92460522020-01-09 10:56:301806 days ago1578567390IN
0x7c5b6a02...6b5aA7D81
0.001 ETH0.00002311.1
Proxy Mint92434132020-01-09 1:06:531807 days ago1578532013IN
0x7c5b6a02...6b5aA7D81
0 ETH0.0009989210
Multisend88601472019-11-02 17:15:051874 days ago1572714905IN
0x7c5b6a02...6b5aA7D81
0 ETH0.000667411.5
Proxy Mint88468372019-10-31 13:45:231876 days ago1572529523IN
0x7c5b6a02...6b5aA7D81
0 ETH0.000337753.5
Proxy Mint88456132019-10-31 9:10:231876 days ago1572513023IN
0x7c5b6a02...6b5aA7D81
0 ETH0.000676847
Proxy Mint88451962019-10-31 7:33:461876 days ago1572507226IN
0x7c5b6a02...6b5aA7D81
0 ETH0.000337523.5
Proxy Mint88451682019-10-31 7:27:191876 days ago1572506839IN
0x7c5b6a02...6b5aA7D81
0 ETH0.000627256.5
Proxy Mint88449452019-10-31 6:36:511876 days ago1572503811IN
0x7c5b6a02...6b5aA7D81
0 ETH0.000241732.5
Proxy Mint88448352019-10-31 6:12:491876 days ago1572502369IN
0x7c5b6a02...6b5aA7D81
0 ETH0.00067557
Proxy Mint88447842019-10-31 6:02:291876 days ago1572501749IN
0x7c5b6a02...6b5aA7D81
0 ETH0.00067557
Proxy Mint88445492019-10-31 5:13:261877 days ago1572498806IN
0x7c5b6a02...6b5aA7D81
0 ETH0.000041711.5
Proxy Mint88442802019-10-31 4:10:121877 days ago1572495012IN
0x7c5b6a02...6b5aA7D81
0 ETH0.00067557
Proxy Mint88440662019-10-31 3:20:261877 days ago1572492026IN
0x7c5b6a02...6b5aA7D81
0 ETH0.0005796
Proxy Mint88437362019-10-31 1:59:061877 days ago1572487146IN
0x7c5b6a02...6b5aA7D81
0 ETH0.000144751.5
Proxy Mint88436612019-10-31 1:40:161877 days ago1572486016IN
0x7c5b6a02...6b5aA7D81
0 ETH0.000202652.1
Proxy Mint88427252019-10-30 22:05:001877 days ago1572473100IN
0x7c5b6a02...6b5aA7D81
0 ETH0.000530755.5
Proxy Mint88425432019-10-30 21:22:361877 days ago1572470556IN
0x7c5b6a02...6b5aA7D81
0 ETH0.000144751.5
Proxy Mint88420442019-10-30 19:28:021877 days ago1572463682IN
0x7c5b6a02...6b5aA7D81
0 ETH0.000145031.5
Proxy Mint88417802019-10-30 18:22:291877 days ago1572459749IN
0x7c5b6a02...6b5aA7D81
0 ETH0.000337523.5
Proxy Mint88414842019-10-30 17:15:111877 days ago1572455711IN
0x7c5b6a02...6b5aA7D81
0 ETH0.000318453.3
Proxy Mint88414312019-10-30 17:00:271877 days ago1572454827IN
0x7c5b6a02...6b5aA7D81
0 ETH0.00040534.2
Proxy Mint88413902019-10-30 16:51:581877 days ago1572454318IN
0x7c5b6a02...6b5aA7D81
0 ETH0.000434254.5
Proxy Mint88413492019-10-30 16:41:511877 days ago1572453711IN
0x7c5b6a02...6b5aA7D81
0 ETH0.000529345.5
Proxy Mint88412772019-10-30 16:22:151877 days ago1572452535IN
0x7c5b6a02...6b5aA7D81
0 ETH0.000529695.5
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:
PoolHelper

Compiler Version
v0.5.10+commit.5a6ea5b1

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
/**
 *Submitted for verification at Etherscan.io on 2019-07-11
*/

pragma solidity ^0.5.10;

/*
 * MintHelper and MultiSend for BSOV Mining Pool
 * BitcoinSoV (BSOV) Mineable & Deflationary
 *
 * https://www.btcsov.com
 * https://bsov-pool.hashtables.net
 *
 * Based off https://github.com/0xbitcoin/mint-helper
 */


contract Ownable {
    address private _owner;
    address private _payoutWallet;  // Added to prevent payouts interfering with minting requests. 

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    constructor () internal {
        _owner = msg.sender;
        _payoutWallet = msg.sender;

        emit OwnershipTransferred(address(0), _owner);
    }

    function owner() public view returns (address) {
        return _owner;
    }
    
    function payoutWallet() public view returns (address) {
        return _payoutWallet;
    }

    modifier onlyOwner() {
        require(msg.sender == _owner, "Ownable: caller is not the owner, minter, or payer.");
        _;
    }
    
    modifier onlyPayoutWallet() {
        require(msg.sender == _owner || msg.sender == _payoutWallet, "Ownable: caller is not the owner or payer.");
        _;
    }

    function renounceOwnership() public onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = address(0);
    }

    function transferOwnership(address newOwner) public onlyOwner {
        _transferOwnership(newOwner);
    }
    
    function setPayoutWallet(address newAddress) public onlyOwner {
        _payoutWallet = newAddress;
    }
    
    function _transferOwnership(address newOwner) internal {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

contract ERC20Interface {
    function totalSupply() public view returns (uint);
    function balanceOf(address tokenOwner) public view returns (uint balance);
    function allowance(address tokenOwner, address spender) public view returns (uint remaining);
    function transfer(address to, uint tokens) public returns (bool success);
    function approve(address spender, uint tokens) public returns (bool success);
    function transferFrom(address from, address to, uint tokens) public returns (bool success);

    event Transfer(address indexed from, address indexed to, uint tokens);
    event Approval(address indexed tokenOwner, address indexed spender, uint tokens);
}

contract ERC918Interface {
  function totalSupply() public view returns (uint);
  function getMiningDifficulty() public view returns (uint);
  function getMiningTarget() public view returns (uint);
  function getMiningReward() public view returns (uint);
  function balanceOf(address tokenOwner) public view returns (uint balance);

  function mint(uint256 nonce, bytes32 challenge_digest) public returns (bool success);

  event Mint(address indexed from, uint reward_amount, uint epochCount, bytes32 newChallengeNumber);
}

/*
The mintingWallet will proxy mint requests to be credited to the contract address.
The payoutWallet will call the multisend method to send out payments.
*/

contract PoolHelper is Ownable {
    string public name;
    address public mintableToken;
    mapping(bytes32 => bool) successfulPayments;

    event Payment(bytes32 _paymentId);
    
    constructor(address mToken, string memory mName)
    public
    {
      mintableToken = mToken;
      name = mName;
    }

    function setMintableToken(address mToken)
    public onlyOwner
    returns (bool)
    {
      mintableToken = mToken;
      return true;
    }

    function paymentSuccessful(bytes32 paymentId) public view returns (bool){
        return (successfulPayments[paymentId] == true);
    }
    
    function proxyMint(uint256 nonce, bytes32 challenge_digest )
    public
    returns (bool)
    {
      require(ERC918Interface(mintableToken).mint(nonce, challenge_digest), "Could not mint token");
      return true;
    }

    //withdraw any eth inside
    function withdraw()
    public onlyOwner
    {
        msg.sender.transfer(address(this).balance);
    }
    
    //send tokens out
    function send(address _tokenAddr, bytes32 paymentId, address dest, uint value)
    public onlyPayoutWallet
    returns (bool)
    {
        require(successfulPayments[paymentId] != true, "Payment ID already exists and was successful");
        successfulPayments[paymentId] = true;
        emit Payment(paymentId);
        return ERC20Interface(_tokenAddr).transfer(dest, value);
    }

    //batch send tokens
    function multisend(address _tokenAddr, bytes32 paymentId, address[] memory dests, uint256[] memory values)
    public onlyPayoutWallet
    returns (uint256)
    {
        require(dests.length > 0, "Must have more than 1 destination address");
        require(values.length >= dests.length, "Address to Value array size mismatch");
        require(successfulPayments[paymentId] != true, "Payment ID already exists and was successful");

        uint256 i = 0;
        while (i < dests.length) {
           require(ERC20Interface(_tokenAddr).transfer(dests[i], values[i]));
           i += 1;
        }

        successfulPayments[paymentId] = true;
        emit Payment(paymentId);
        return (i);
    }
}

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[{"name":"paymentId","type":"bytes32"}],"name":"paymentSuccessful","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_tokenAddr","type":"address"},{"name":"paymentId","type":"bytes32"},{"name":"dests","type":"address[]"},{"name":"values","type":"uint256[]"}],"name":"multisend","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"mToken","type":"address"}],"name":"setMintableToken","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"withdraw","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"newAddress","type":"address"}],"name":"setPayoutWallet","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"renounceOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"payoutWallet","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"mintableToken","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"nonce","type":"uint256"},{"name":"challenge_digest","type":"bytes32"}],"name":"proxyMint","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_tokenAddr","type":"address"},{"name":"paymentId","type":"bytes32"},{"name":"dest","type":"address"},{"name":"value","type":"uint256"}],"name":"send","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[{"name":"mToken","type":"address"},{"name":"mName","type":"string"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_paymentId","type":"bytes32"}],"name":"Payment","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"}]

608060405234801561001057600080fd5b50604051610f3a380380610f3a8339818101604052604081101561003357600080fd5b81516020830180519193928301929164010000000081111561005457600080fd5b8201602081018481111561006757600080fd5b815164010000000081118282018710171561008157600080fd5b505060008054336001600160a01b03199182168117808455600180549093169091179091556040519295506001600160a01b0316935091507f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3600380546001600160a01b0319166001600160a01b038416179055805161010c906002906020840190610114565b5050506101af565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061015557805160ff1916838001178555610182565b82800160010185558215610182579182015b82811115610182578251825591602001919060010190610167565b5061018e929150610192565b5090565b6101ac91905b8082111561018e5760008155600101610198565b90565b610d7c806101be6000396000f3fe608060405234801561001057600080fd5b50600436106100cf5760003560e01c8063715018a61161008c57806395d38ea81161006657806395d38ea81461035a578063b1bb4d3514610362578063ec5fb31e14610385578063f2fde38b146103bf576100cf565b8063715018a6146103265780638488bb4e1461032e5780638da5cb5b14610352576100cf565b8063066b3136146100d457806306fdde0314610105578063206ec7a1146101825780632516a18f146102d05780633ccfd60b146102f65780636b8f9c4314610300575b600080fd5b6100f1600480360360208110156100ea57600080fd5b50356103e5565b604080519115158252519081900360200190f35b61010d610401565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561014757818101518382015260200161012f565b50505050905090810190601f1680156101745780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102be6004803603608081101561019857600080fd5b6001600160a01b03823516916020810135918101906060810160408201356401000000008111156101c857600080fd5b8201836020820111156101da57600080fd5b803590602001918460208302840111640100000000831117156101fc57600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929594936020810193503591505064010000000081111561024c57600080fd5b82018360208201111561025e57600080fd5b8035906020019184602083028401116401000000008311171561028057600080fd5b91908080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525092955061048c945050505050565b60408051918252519081900360200190f35b6100f1600480360360208110156102e657600080fd5b50356001600160a01b03166106e5565b6102fe610754565b005b6102fe6004803603602081101561031657600080fd5b50356001600160a01b03166107cd565b6102fe610838565b6103366108cb565b604080516001600160a01b039092168252519081900360200190f35b6103366108da565b6103366108e9565b6100f16004803603604081101561037857600080fd5b50803590602001356108f8565b6100f16004803603608081101561039b57600080fd5b506001600160a01b03813581169160208101359160408201351690606001356109c9565b6102fe600480360360208110156103d557600080fd5b50356001600160a01b0316610b5e565b60008181526004602052604090205460ff161515600114919050565b6002805460408051602060018416156101000260001901909316849004601f810184900484028201840190925281815292918301828280156104845780601f1061045957610100808354040283529160200191610484565b820191906000526020600020905b81548152906001019060200180831161046757829003601f168201915b505050505081565b600080546001600160a01b03163314806104b057506001546001600160a01b031633145b6104eb5760405162461bcd60e51b815260040180806020018281038252602a815260200180610cc2602a913960400191505060405180910390fd5b600083511161052b5760405162461bcd60e51b8152600401808060200182810382526029815260200180610cec6029913960400191505060405180910390fd5b82518251101561056c5760405162461bcd60e51b8152600401808060200182810382526024815260200180610c9e6024913960400191505060405180910390fd5b60008481526004602052604090205460ff161515600114156105bf5760405162461bcd60e51b815260040180806020018281038252602c815260200180610c72602c913960400191505060405180910390fd5b60005b835181101561068e57856001600160a01b031663a9059cbb8583815181106105e657fe5b60200260200101518584815181106105fa57fe5b60200260200101516040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b0316815260200182815260200192505050602060405180830381600087803b15801561065157600080fd5b505af1158015610665573d6000803e3d6000fd5b505050506040513d602081101561067b57600080fd5b505161068657600080fd5b6001016105c2565b600085815260046020908152604091829020805460ff19166001179055815187815291517fadee04cb7c7dc8ba441caff4f51b7c0bbdf8122fac7f065bf606d9d3bdf370cb9281900390910190a195945050505050565b600080546001600160a01b0316331461072f5760405162461bcd60e51b8152600401808060200182810382526033815260200180610d156033913960400191505060405180910390fd5b50600380546001600160a01b0383166001600160a01b03199091161790556001919050565b6000546001600160a01b0316331461079d5760405162461bcd60e51b8152600401808060200182810382526033815260200180610d156033913960400191505060405180910390fd5b6040513390303180156108fc02916000818181858888f193505050501580156107ca573d6000803e3d6000fd5b50565b6000546001600160a01b031633146108165760405162461bcd60e51b8152600401808060200182810382526033815260200180610d156033913960400191505060405180910390fd5b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146108815760405162461bcd60e51b8152600401808060200182810382526033815260200180610d156033913960400191505060405180910390fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6001546001600160a01b031690565b6000546001600160a01b031690565b6003546001600160a01b031681565b60035460408051631801fbe560e01b8152600481018590526024810184905290516000926001600160a01b031691631801fbe591604480830192602092919082900301818787803b15801561094c57600080fd5b505af1158015610960573d6000803e3d6000fd5b505050506040513d602081101561097657600080fd5b50516109c0576040805162461bcd60e51b815260206004820152601460248201527321b7bab632103737ba1036b4b73a103a37b5b2b760611b604482015290519081900360640190fd5b50600192915050565b600080546001600160a01b03163314806109ed57506001546001600160a01b031633145b610a285760405162461bcd60e51b815260040180806020018281038252602a815260200180610cc2602a913960400191505060405180910390fd5b60008481526004602052604090205460ff16151560011415610a7b5760405162461bcd60e51b815260040180806020018281038252602c815260200180610c72602c913960400191505060405180910390fd5b600084815260046020908152604091829020805460ff19166001179055815186815291517fadee04cb7c7dc8ba441caff4f51b7c0bbdf8122fac7f065bf606d9d3bdf370cb9281900390910190a1846001600160a01b031663a9059cbb84846040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b0316815260200182815260200192505050602060405180830381600087803b158015610b2957600080fd5b505af1158015610b3d573d6000803e3d6000fd5b505050506040513d6020811015610b5357600080fd5b505195945050505050565b6000546001600160a01b03163314610ba75760405162461bcd60e51b8152600401808060200182810382526033815260200180610d156033913960400191505060405180910390fd5b6107ca816001600160a01b038116610bf05760405162461bcd60e51b8152600401808060200182810382526026815260200180610c4c6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b039290921691909117905556fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573735061796d656e7420494420616c72656164792065786973747320616e6420776173207375636365737366756c4164647265737320746f2056616c75652061727261792073697a65206d69736d617463684f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572206f722070617965722e4d7573742068617665206d6f7265207468616e20312064657374696e6174696f6e20616464726573734f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65722c206d696e7465722c206f722070617965722ea265627a7a72305820c51c73e2ffa0b5ae095c2e4fd3341e62b6dc7902df94627244bdd6a10d0140c164736f6c634300050a003200000000000000000000000026946ada5ecb57f3a1f91605050ce45c482c9eb10000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001042534f5620506f6f6c2048656c70657200000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100cf5760003560e01c8063715018a61161008c57806395d38ea81161006657806395d38ea81461035a578063b1bb4d3514610362578063ec5fb31e14610385578063f2fde38b146103bf576100cf565b8063715018a6146103265780638488bb4e1461032e5780638da5cb5b14610352576100cf565b8063066b3136146100d457806306fdde0314610105578063206ec7a1146101825780632516a18f146102d05780633ccfd60b146102f65780636b8f9c4314610300575b600080fd5b6100f1600480360360208110156100ea57600080fd5b50356103e5565b604080519115158252519081900360200190f35b61010d610401565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561014757818101518382015260200161012f565b50505050905090810190601f1680156101745780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102be6004803603608081101561019857600080fd5b6001600160a01b03823516916020810135918101906060810160408201356401000000008111156101c857600080fd5b8201836020820111156101da57600080fd5b803590602001918460208302840111640100000000831117156101fc57600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929594936020810193503591505064010000000081111561024c57600080fd5b82018360208201111561025e57600080fd5b8035906020019184602083028401116401000000008311171561028057600080fd5b91908080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525092955061048c945050505050565b60408051918252519081900360200190f35b6100f1600480360360208110156102e657600080fd5b50356001600160a01b03166106e5565b6102fe610754565b005b6102fe6004803603602081101561031657600080fd5b50356001600160a01b03166107cd565b6102fe610838565b6103366108cb565b604080516001600160a01b039092168252519081900360200190f35b6103366108da565b6103366108e9565b6100f16004803603604081101561037857600080fd5b50803590602001356108f8565b6100f16004803603608081101561039b57600080fd5b506001600160a01b03813581169160208101359160408201351690606001356109c9565b6102fe600480360360208110156103d557600080fd5b50356001600160a01b0316610b5e565b60008181526004602052604090205460ff161515600114919050565b6002805460408051602060018416156101000260001901909316849004601f810184900484028201840190925281815292918301828280156104845780601f1061045957610100808354040283529160200191610484565b820191906000526020600020905b81548152906001019060200180831161046757829003601f168201915b505050505081565b600080546001600160a01b03163314806104b057506001546001600160a01b031633145b6104eb5760405162461bcd60e51b815260040180806020018281038252602a815260200180610cc2602a913960400191505060405180910390fd5b600083511161052b5760405162461bcd60e51b8152600401808060200182810382526029815260200180610cec6029913960400191505060405180910390fd5b82518251101561056c5760405162461bcd60e51b8152600401808060200182810382526024815260200180610c9e6024913960400191505060405180910390fd5b60008481526004602052604090205460ff161515600114156105bf5760405162461bcd60e51b815260040180806020018281038252602c815260200180610c72602c913960400191505060405180910390fd5b60005b835181101561068e57856001600160a01b031663a9059cbb8583815181106105e657fe5b60200260200101518584815181106105fa57fe5b60200260200101516040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b0316815260200182815260200192505050602060405180830381600087803b15801561065157600080fd5b505af1158015610665573d6000803e3d6000fd5b505050506040513d602081101561067b57600080fd5b505161068657600080fd5b6001016105c2565b600085815260046020908152604091829020805460ff19166001179055815187815291517fadee04cb7c7dc8ba441caff4f51b7c0bbdf8122fac7f065bf606d9d3bdf370cb9281900390910190a195945050505050565b600080546001600160a01b0316331461072f5760405162461bcd60e51b8152600401808060200182810382526033815260200180610d156033913960400191505060405180910390fd5b50600380546001600160a01b0383166001600160a01b03199091161790556001919050565b6000546001600160a01b0316331461079d5760405162461bcd60e51b8152600401808060200182810382526033815260200180610d156033913960400191505060405180910390fd5b6040513390303180156108fc02916000818181858888f193505050501580156107ca573d6000803e3d6000fd5b50565b6000546001600160a01b031633146108165760405162461bcd60e51b8152600401808060200182810382526033815260200180610d156033913960400191505060405180910390fd5b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146108815760405162461bcd60e51b8152600401808060200182810382526033815260200180610d156033913960400191505060405180910390fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6001546001600160a01b031690565b6000546001600160a01b031690565b6003546001600160a01b031681565b60035460408051631801fbe560e01b8152600481018590526024810184905290516000926001600160a01b031691631801fbe591604480830192602092919082900301818787803b15801561094c57600080fd5b505af1158015610960573d6000803e3d6000fd5b505050506040513d602081101561097657600080fd5b50516109c0576040805162461bcd60e51b815260206004820152601460248201527321b7bab632103737ba1036b4b73a103a37b5b2b760611b604482015290519081900360640190fd5b50600192915050565b600080546001600160a01b03163314806109ed57506001546001600160a01b031633145b610a285760405162461bcd60e51b815260040180806020018281038252602a815260200180610cc2602a913960400191505060405180910390fd5b60008481526004602052604090205460ff16151560011415610a7b5760405162461bcd60e51b815260040180806020018281038252602c815260200180610c72602c913960400191505060405180910390fd5b600084815260046020908152604091829020805460ff19166001179055815186815291517fadee04cb7c7dc8ba441caff4f51b7c0bbdf8122fac7f065bf606d9d3bdf370cb9281900390910190a1846001600160a01b031663a9059cbb84846040518363ffffffff1660e01b815260040180836001600160a01b03166001600160a01b0316815260200182815260200192505050602060405180830381600087803b158015610b2957600080fd5b505af1158015610b3d573d6000803e3d6000fd5b505050506040513d6020811015610b5357600080fd5b505195945050505050565b6000546001600160a01b03163314610ba75760405162461bcd60e51b8152600401808060200182810382526033815260200180610d156033913960400191505060405180910390fd5b6107ca816001600160a01b038116610bf05760405162461bcd60e51b8152600401808060200182810382526026815260200180610c4c6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b039290921691909117905556fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573735061796d656e7420494420616c72656164792065786973747320616e6420776173207375636365737366756c4164647265737320746f2056616c75652061727261792073697a65206d69736d617463684f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572206f722070617965722e4d7573742068617665206d6f7265207468616e20312064657374696e6174696f6e20616464726573734f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65722c206d696e7465722c206f722070617965722ea265627a7a72305820c51c73e2ffa0b5ae095c2e4fd3341e62b6dc7902df94627244bdd6a10d0140c164736f6c634300050a0032

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

00000000000000000000000026946ada5ecb57f3a1f91605050ce45c482c9eb10000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001042534f5620506f6f6c2048656c70657200000000000000000000000000000000

-----Decoded View---------------
Arg [0] : mToken (address): 0x26946adA5eCb57f3A1F91605050Ce45c482C9Eb1
Arg [1] : mName (string): BSOV Pool Helper

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 00000000000000000000000026946ada5ecb57f3a1f91605050ce45c482c9eb1
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000010
Arg [3] : 42534f5620506f6f6c2048656c70657200000000000000000000000000000000


Deployed Bytecode Sourcemap

3208:2197:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3208:2197:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3694:137;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;3694:137:0;;:::i;:::-;;;;;;;;;;;;;;;;;;3246:18;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;3246:18:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4679:723;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;;;;;4679:723:0;;;;;;;;;;;;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;4679:723:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;4679:723:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;39:11;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;4679:723:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;4679:723:0;;;;;;;;-1:-1:-1;4679:723:0;;-1:-1:-1;;21:11;5:28;;2:2;;;46:1;43;36:12;2:2;4679:723:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;4679:723:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;39:11;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;4679:723:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;4679:723:0;;-1:-1:-1;4679:723:0;;-1:-1:-1;;;;;4679:723:0:i;:::-;;;;;;;;;;;;;;;;3538:148;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;3538:148:0;-1:-1:-1;;;;;3538:148:0;;:::i;4110:108::-;;;:::i;:::-;;1459:107;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1459:107:0;-1:-1:-1;;;;;1459:107:0;;:::i;1190:140::-;;;:::i;768:93::-;;;:::i;:::-;;;;-1:-1:-1;;;;;768:93:0;;;;;;;;;;;;;;677:79;;;:::i;3271:28::-;;;:::i;3843:228::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;3843:228:0;;;;;;;:::i;4253:393::-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;;;;;;4253:393:0;;;;;;;;;;;;;;;;;;;;:::i;1338:109::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1338:109:0;-1:-1:-1;;;;;1338:109:0;;:::i;3694:137::-;3761:4;3785:29;;;:18;:29;;;;;;;;:37;;:29;:37;3694:137;;;:::o;3246:18::-;;;;;;;;;;;;;;-1:-1:-1;;3246:18:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;4679:723::-;4829:7;1078:6;;-1:-1:-1;;;;;1078:6:0;1064:10;:20;;:51;;-1:-1:-1;1102:13:0;;-1:-1:-1;;;;;1102:13:0;1088:10;:27;1064:51;1056:106;;;;-1:-1:-1;;;1056:106:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4877:1;4862:5;:12;:16;4854:70;;;;-1:-1:-1;;;4854:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4960:5;:12;4943:6;:13;:29;;4935:78;;;;-1:-1:-1;;;4935:78:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5032:29;;;;:18;:29;;;;;;;;:37;;:29;:37;;5024:94;;;;-1:-1:-1;;;5024:94:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5131:9;5155:136;5166:5;:12;5162:1;:16;5155:136;;;5217:10;-1:-1:-1;;;;;5202:35:0;;5238:5;5244:1;5238:8;;;;;;;;;;;;;;5248:6;5255:1;5248:9;;;;;;;;;;;;;;5202:56;;;;;;;;;;;;;-1:-1:-1;;;;;5202:56:0;-1:-1:-1;;;;;5202:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5202:56:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;5202:56:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;5202:56:0;5194:65;;;;;;5278:1;5273:6;5155:136;;;5303:29;;;;:18;:29;;;;;;;;;:36;;-1:-1:-1;;5303:36:0;5335:4;5303:36;;;5355:18;;;;;;;;;;;;;;;;;5392:1;4679:723;-1:-1:-1;;;;;4679:723:0:o;3538:148::-;3616:4;923:6;;-1:-1:-1;;;;;923:6:0;909:10;:20;901:84;;;;-1:-1:-1;;;901:84:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3636:13:0;:22;;-1:-1:-1;;;;;3636:22:0;;-1:-1:-1;;;;;;3636:22:0;;;;;;;3538:148;;;:::o;4110:108::-;923:6;;-1:-1:-1;;;;;923:6:0;909:10;:20;901:84;;;;-1:-1:-1;;;901:84:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4168:42;;:10;;4196:4;4188:21;4168:42;;;;;;;;;4188:21;4168:10;:42;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;4168:42:0;4110:108::o;1459:107::-;923:6;;-1:-1:-1;;;;;923:6:0;909:10;:20;901:84;;;;-1:-1:-1;;;901:84:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1532:13;:26;;-1:-1:-1;;;;;;1532:26:0;-1:-1:-1;;;;;1532:26:0;;;;;;;;;;1459:107::o;1190:140::-;923:6;;-1:-1:-1;;;;;923:6:0;909:10;:20;901:84;;;;-1:-1:-1;;;901:84:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1289:1;1273:6;;1252:40;;-1:-1:-1;;;;;1273:6:0;;;;1252:40;;1289:1;;1252:40;1320:1;1303:19;;-1:-1:-1;;;;;;1303:19:0;;;1190:140::o;768:93::-;840:13;;-1:-1:-1;;;;;840:13:0;768:93;:::o;677:79::-;715:7;742:6;-1:-1:-1;;;;;742:6:0;677:79;:::o;3271:28::-;;;-1:-1:-1;;;;;3271:28:0;;:::o;3843:228::-;3974:13;;3958:60;;;-1:-1:-1;;;3958:60:0;;;;;;;;;;;;;;;;3930:4;;-1:-1:-1;;;;;3974:13:0;;3958:35;;:60;;;;;;;;;;;;;;3930:4;3974:13;3958:60;;;5:2:-1;;;;30:1;27;20:12;5:2;3958:60:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;3958:60:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;3958:60:0;3950:93;;;;;-1:-1:-1;;;3950:93:0;;;;;;;;;;;;-1:-1:-1;;;3950:93:0;;;;;;;;;;;;;;;-1:-1:-1;4059:4:0;3843:228;;;;:::o;4253:393::-;4375:4;1078:6;;-1:-1:-1;;;;;1078:6:0;1064:10;:20;;:51;;-1:-1:-1;1102:13:0;;-1:-1:-1;;;;;1102:13:0;1088:10;:27;1064:51;1056:106;;;;-1:-1:-1;;;1056:106:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4405:29;;;;:18;:29;;;;;;;;:37;;:29;:37;;4397:94;;;;-1:-1:-1;;;4397:94:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4502:29;;;;:18;:29;;;;;;;;;:36;;-1:-1:-1;;4502:36:0;4534:4;4502:36;;;4554:18;;;;;;;;;;;;;;;;;4605:10;-1:-1:-1;;;;;4590:35:0;;4626:4;4632:5;4590:48;;;;;;;;;;;;;-1:-1:-1;;;;;4590:48:0;-1:-1:-1;;;;;4590:48:0;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4590:48:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;4590:48:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;4590:48:0;;4253:393;-1:-1:-1;;;;;4253:393:0:o;1338:109::-;923:6;;-1:-1:-1;;;;;923:6:0;909:10;:20;901:84;;;;-1:-1:-1;;;901:84:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1411:28;1430:8;-1:-1:-1;;;;;1652:22:0;;1644:73;;;;-1:-1:-1;;;1644:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1754:6;;;1733:38;;-1:-1:-1;;;;;1733:38:0;;;;1754:6;;;1733:38;;;1782:6;:17;;-1:-1:-1;;;;;;1782:17:0;-1:-1:-1;;;;;1782:17:0;;;;;;;;;;1578:229::o

Swarm Source

bzzr://c51c73e2ffa0b5ae095c2e4fd3341e62b6dc7902df94627244bdd6a10d0140c1

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.