ETH Price: $3,449.54 (+3.54%)

Contract

0x944b22D2721ddA5e881a0C20ed08dE1fA2C10fcE
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer109187732020-09-23 12:05:591577 days ago1600862759IN
0x944b22D2...fA2C10fcE
0 ETH0.00540519104
Approve109158972020-09-23 1:48:221577 days ago1600825702IN
0x944b22D2...fA2C10fcE
0 ETH0.0042384595.7
Approve109158812020-09-23 1:42:301577 days ago1600825350IN
0x944b22D2...fA2C10fcE
0 ETH0.0037202784
Approve109158132020-09-23 1:28:541577 days ago1600824534IN
0x944b22D2...fA2C10fcE
0 ETH0.0039860190
Approve109153782020-09-22 23:57:551577 days ago1600819075IN
0x944b22D2...fA2C10fcE
0 ETH0.0028787865
Approve109150242020-09-22 22:42:441577 days ago1600814564IN
0x944b22D2...fA2C10fcE
0 ETH0.00482307108.9
Approve109149792020-09-22 22:31:111577 days ago1600813871IN
0x944b22D2...fA2C10fcE
0 ETH0.00469463106
Approve109149722020-09-22 22:29:121577 days ago1600813752IN
0x944b22D2...fA2C10fcE
0 ETH0.00453076102.30000023
Approve109149532020-09-22 22:25:231577 days ago1600813523IN
0x944b22D2...fA2C10fcE
0 ETH0.0041188793
Approve109149382020-09-22 22:21:261577 days ago1600813286IN
0x944b22D2...fA2C10fcE
0 ETH0.00453076102.30000023
Approve109149212020-09-22 22:18:101577 days ago1600813090IN
0x944b22D2...fA2C10fcE
0 ETH0.0041188793
Approve109149122020-09-22 22:15:481577 days ago1600812948IN
0x944b22D2...fA2C10fcE
0 ETH0.0041188793
Approve109149112020-09-22 22:15:421577 days ago1600812942IN
0x944b22D2...fA2C10fcE
0 ETH0.0041188793
Approve109149102020-09-22 22:15:301577 days ago1600812930IN
0x944b22D2...fA2C10fcE
0 ETH0.00523611119
Approve109148982020-09-22 22:12:041577 days ago1600812724IN
0x944b22D2...fA2C10fcE
0 ETH0.0041188793
Approve109148902020-09-22 22:09:421577 days ago1600812582IN
0x944b22D2...fA2C10fcE
0 ETH0.00500465113
Approve109148902020-09-22 22:09:421577 days ago1600812582IN
0x944b22D2...fA2C10fcE
0 ETH0.0052261118
Approve109148642020-09-22 22:04:081577 days ago1600812248IN
0x944b22D2...fA2C10fcE
0 ETH0.0042960397
Transfer109148592020-09-22 22:02:531577 days ago1600812173IN
0x944b22D2...fA2C10fcE
0 ETH0.0048334893
Transfer109148522020-09-22 22:01:251577 days ago1600812085IN
0x944b22D2...fA2C10fcE
0 ETH0.0048334893
Transfer109148522020-09-22 22:01:251577 days ago1600812085IN
0x944b22D2...fA2C10fcE
0 ETH0.0048334893

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
BunMaker

Compiler Version
v0.6.0+commit.26b70077

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, Unlicense license
/**
 *Submitted for verification at Etherscan.io on 2020-09-22
*/

pragma solidity 0.6.0;

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;
    }
}

contract Ownable {
    address public _owner;

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

    constructor () public {
        _owner = msg.sender;
        emit OwnershipTransferred(address(0), msg.sender);
    }

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

    modifier onlyOwner() {
        require(_owner == msg.sender, "Ownable: caller is not the owner");
        _;
    }

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

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

contract BunMaker is Ownable {

    using SafeMath for uint256;

    event LogRebase(uint256 indexed epoch, uint256 totalSupply);

    modifier validRecipient(address to) {
        require(to != address(this));
        _;
    }
    
    event Transfer(address indexed from, address indexed to, uint256 value);
    event Approval(address indexed owner, address indexed spender, uint256 value);

    string public constant name = "BunMaker";
    string public constant symbol = "BUN";
    uint256 public constant decimals = 18;

    uint256 private constant DECIMALS = 18;
    uint256 private constant MAX_UINT256 = ~uint256(0);
    uint256 private constant INITIAL_FRAGMENTS_SUPPLY = 12000 * 10**DECIMALS;

    uint256 private constant TOTAL_GONS = MAX_UINT256 - (MAX_UINT256 % INITIAL_FRAGMENTS_SUPPLY);

    uint256 private constant MAX_SUPPLY = ~uint128(0);

    uint256 private _totalSupply;
    uint256 private _gonsPerFragment;
    mapping(address => uint256) private _gonBalances;

    mapping (address => mapping (address => uint256)) private _allowedFragments;
    

    function rebase(uint256 epoch, uint256 supplyDelta)
        external
        onlyOwner
        returns (uint256)
    {
        if (supplyDelta == 0) {
            emit LogRebase(epoch, _totalSupply);
            return _totalSupply;
        }

         _totalSupply = _totalSupply.sub(supplyDelta);

        
        if (_totalSupply > MAX_SUPPLY) {
            _totalSupply = MAX_SUPPLY;
        }

        _gonsPerFragment = TOTAL_GONS.div(_totalSupply);

        emit LogRebase(epoch, _totalSupply);
        return _totalSupply;
    }

    constructor() public override {
        _owner = msg.sender;
        
        _totalSupply = INITIAL_FRAGMENTS_SUPPLY;
        _gonBalances[_owner] = TOTAL_GONS;
        _gonsPerFragment = TOTAL_GONS.div(_totalSupply);

        emit Transfer(address(0x0), _owner, _totalSupply);
    }

    function totalSupply()
        public
        view
        returns (uint256)
    {
        return _totalSupply;
    }

    function balanceOf(address who)
        public
        view
        returns (uint256)
    {
        return _gonBalances[who].div(_gonsPerFragment);
    }

    function transfer(address to, uint256 value)
        public
        validRecipient(to)
        returns (bool)
    {
        uint256 gonValue = value.mul(_gonsPerFragment);
        _gonBalances[msg.sender] = _gonBalances[msg.sender].sub(gonValue);
        _gonBalances[to] = _gonBalances[to].add(gonValue);
        emit Transfer(msg.sender, to, value);
        return true;
    }

    function allowance(address owner_, address spender)
        public
        view
        returns (uint256)
    {
        return _allowedFragments[owner_][spender];
    }

    function transferFrom(address from, address to, uint256 value)
        public
        validRecipient(to)
        returns (bool)
    {
        _allowedFragments[from][msg.sender] = _allowedFragments[from][msg.sender].sub(value);

        uint256 gonValue = value.mul(_gonsPerFragment);
        _gonBalances[from] = _gonBalances[from].sub(gonValue);
        _gonBalances[to] = _gonBalances[to].add(gonValue);
        emit Transfer(from, to, value);

        return true;
    }

    function approve(address spender, uint256 value)
        public
        returns (bool)
    {
        _allowedFragments[msg.sender][spender] = value;
        emit Approval(msg.sender, spender, value);
        return true;
    }

    function increaseAllowance(address spender, uint256 addedValue)
        public
        returns (bool)
    {
        _allowedFragments[msg.sender][spender] =
            _allowedFragments[msg.sender][spender].add(addedValue);
        emit Approval(msg.sender, spender, _allowedFragments[msg.sender][spender]);
        return true;
    }

    function decreaseAllowance(address spender, uint256 subtractedValue)
        public
        returns (bool)
    {
        uint256 oldValue = _allowedFragments[msg.sender][spender];
        if (subtractedValue >= oldValue) {
            _allowedFragments[msg.sender][spender] = 0;
        } else {
            _allowedFragments[msg.sender][spender] = oldValue.sub(subtractedValue);
        }
        emit Approval(msg.sender, spender, _allowedFragments[msg.sender][spender]);
        return true;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"epoch","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"totalSupply","type":"uint256"}],"name":"LogRebase","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"_owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner_","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"who","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"epoch","type":"uint256"},{"internalType":"uint256","name":"supplyDelta","type":"uint256"}],"name":"rebase","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b50600080546001600160a01b0319163390811782556040519091907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3600080546001600160a01b031916331780825569028a857425466f80000060019081556001600160a01b03909116825260036020908152604090922069026d1deb6e50b27fffff199081905590546100af926100fd811b610b8517901c565b6002556000805460015460408051918252516001600160a01b0390921692917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a36101ee565b600061014583836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061014c60201b60201c565b9392505050565b600081836101d85760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561019d578181015183820152602001610185565b50505050905090810190601f1680156101ca5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385816101e457fe5b0495945050505050565b610df3806101fd6000396000f3fe608060405234801561001057600080fd5b50600436106101005760003560e01c8063715018a611610097578063a9059cbb11610066578063a9059cbb146102f1578063b2bdfa7b1461031d578063dd62ed3e14610325578063f2fde38b1461035357610100565b8063715018a61461028f5780638da5cb5b1461029957806395d89b41146102bd578063a457c2d7146102c557610100565b806323b872dd116100d357806323b872dd146101ff578063313ce56714610235578063395093511461023d57806370a082311461026957610100565b8063058ecdb41461010557806306fdde031461013a578063095ea7b3146101b757806318160ddd146101f7575b600080fd5b6101286004803603604081101561011b57600080fd5b5080359060200135610379565b60408051918252519081900360200190f35b6101426104b0565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561017c578181015183820152602001610164565b50505050905090810190601f1680156101a95780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101e3600480360360408110156101cd57600080fd5b506001600160a01b0381351690602001356104d4565b604080519115158252519081900360200190f35b61012861053a565b6101e36004803603606081101561021557600080fd5b506001600160a01b03813581169160208101359091169060400135610540565b61012861068c565b6101e36004803603604081101561025357600080fd5b506001600160a01b038135169060200135610691565b6101286004803603602081101561027f57600080fd5b50356001600160a01b031661072a565b610297610758565b005b6102a1610801565b604080516001600160a01b039092168252519081900360200190f35b610142610810565b6101e3600480360360408110156102db57600080fd5b506001600160a01b03813516906020013561082f565b6101e36004803603604081101561030757600080fd5b506001600160a01b03813516906020013561091e565b6102a1610a03565b6101286004803603604081101561033b57600080fd5b506001600160a01b0381358116916020013516610a12565b6102976004803603602081101561036957600080fd5b50356001600160a01b0316610a3d565b600080546001600160a01b031633146103d9576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b8161041f57600154604080519182525184917f72725a3b1e5bd622d6bcd1339bb31279c351abe8f541ac7fd320f24e1b1641f2919081900360200190a2506001546104aa565b600154610432908363ffffffff610b3c16565b60018190556001600160801b031015610451576001600160801b036001555b60015461046a9069026d1deb6e50b27fffff1990610b85565b600255600154604080519182525184917f72725a3b1e5bd622d6bcd1339bb31279c351abe8f541ac7fd320f24e1b1641f2919081900360200190a2506001545b92915050565b60405180604001604052806008815260200167213ab726b0b5b2b960c11b81525081565b3360008181526004602090815260408083206001600160a01b038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b60015490565b6000826001600160a01b03811630141561055957600080fd5b6001600160a01b038516600090815260046020908152604080832033845290915290205461058d908463ffffffff610b3c16565b6001600160a01b03861660009081526004602090815260408083203384529091528120919091556002546105c890859063ffffffff610bc716565b6001600160a01b0387166000908152600360205260409020549091506105f4908263ffffffff610b3c16565b6001600160a01b038088166000908152600360205260408082209390935590871681522054610629908263ffffffff610c2016565b6001600160a01b0380871660008181526003602090815260409182902094909455805188815290519193928a16927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a350600195945050505050565b601281565b3360009081526004602090815260408083206001600160a01b03861684529091528120546106c5908363ffffffff610c2016565b3360008181526004602090815260408083206001600160a01b0389168085529083529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a350600192915050565b6002546001600160a01b03821660009081526003602052604081205490916104aa919063ffffffff610b8516565b6000546001600160a01b031633146107b7576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031690565b60405180604001604052806003815260200162212aa760e91b81525081565b3360009081526004602090815260408083206001600160a01b0386168452909152812054808310610883573360009081526004602090815260408083206001600160a01b03881684529091528120556108b8565b610893818463ffffffff610b3c16565b3360009081526004602090815260408083206001600160a01b03891684529091529020555b3360008181526004602090815260408083206001600160a01b0389168085529083529281902054815190815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060019392505050565b6000826001600160a01b03811630141561093757600080fd5b600061094e60025485610bc790919063ffffffff16565b33600090815260036020526040902054909150610971908263ffffffff610b3c16565b33600090815260036020526040808220929092556001600160a01b038716815220546109a3908263ffffffff610c2016565b6001600160a01b0386166000818152600360209081526040918290209390935580518781529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a3506001949350505050565b6000546001600160a01b031681565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b6000546001600160a01b03163314610a9c576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b038116610ae15760405162461bcd60e51b8152600401808060200182810382526026815260200180610d776026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000610b7e83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610c7a565b9392505050565b6000610b7e83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250610d11565b600082610bd6575060006104aa565b82820282848281610be357fe5b0414610b7e5760405162461bcd60e51b8152600401808060200182810382526021815260200180610d9d6021913960400191505060405180910390fd5b600082820183811015610b7e576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b60008184841115610d095760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610cce578181015183820152602001610cb6565b50505050905090810190601f168015610cfb5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b60008183610d605760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315610cce578181015183820152602001610cb6565b506000838581610d6c57fe5b049594505050505056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77a2646970667358221220c540414865e786ccd068e873a22890e3584b0d577525db3d88d63875f47f6ae564736f6c63430006000033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101005760003560e01c8063715018a611610097578063a9059cbb11610066578063a9059cbb146102f1578063b2bdfa7b1461031d578063dd62ed3e14610325578063f2fde38b1461035357610100565b8063715018a61461028f5780638da5cb5b1461029957806395d89b41146102bd578063a457c2d7146102c557610100565b806323b872dd116100d357806323b872dd146101ff578063313ce56714610235578063395093511461023d57806370a082311461026957610100565b8063058ecdb41461010557806306fdde031461013a578063095ea7b3146101b757806318160ddd146101f7575b600080fd5b6101286004803603604081101561011b57600080fd5b5080359060200135610379565b60408051918252519081900360200190f35b6101426104b0565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561017c578181015183820152602001610164565b50505050905090810190601f1680156101a95780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101e3600480360360408110156101cd57600080fd5b506001600160a01b0381351690602001356104d4565b604080519115158252519081900360200190f35b61012861053a565b6101e36004803603606081101561021557600080fd5b506001600160a01b03813581169160208101359091169060400135610540565b61012861068c565b6101e36004803603604081101561025357600080fd5b506001600160a01b038135169060200135610691565b6101286004803603602081101561027f57600080fd5b50356001600160a01b031661072a565b610297610758565b005b6102a1610801565b604080516001600160a01b039092168252519081900360200190f35b610142610810565b6101e3600480360360408110156102db57600080fd5b506001600160a01b03813516906020013561082f565b6101e36004803603604081101561030757600080fd5b506001600160a01b03813516906020013561091e565b6102a1610a03565b6101286004803603604081101561033b57600080fd5b506001600160a01b0381358116916020013516610a12565b6102976004803603602081101561036957600080fd5b50356001600160a01b0316610a3d565b600080546001600160a01b031633146103d9576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b8161041f57600154604080519182525184917f72725a3b1e5bd622d6bcd1339bb31279c351abe8f541ac7fd320f24e1b1641f2919081900360200190a2506001546104aa565b600154610432908363ffffffff610b3c16565b60018190556001600160801b031015610451576001600160801b036001555b60015461046a9069026d1deb6e50b27fffff1990610b85565b600255600154604080519182525184917f72725a3b1e5bd622d6bcd1339bb31279c351abe8f541ac7fd320f24e1b1641f2919081900360200190a2506001545b92915050565b60405180604001604052806008815260200167213ab726b0b5b2b960c11b81525081565b3360008181526004602090815260408083206001600160a01b038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b60015490565b6000826001600160a01b03811630141561055957600080fd5b6001600160a01b038516600090815260046020908152604080832033845290915290205461058d908463ffffffff610b3c16565b6001600160a01b03861660009081526004602090815260408083203384529091528120919091556002546105c890859063ffffffff610bc716565b6001600160a01b0387166000908152600360205260409020549091506105f4908263ffffffff610b3c16565b6001600160a01b038088166000908152600360205260408082209390935590871681522054610629908263ffffffff610c2016565b6001600160a01b0380871660008181526003602090815260409182902094909455805188815290519193928a16927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a350600195945050505050565b601281565b3360009081526004602090815260408083206001600160a01b03861684529091528120546106c5908363ffffffff610c2016565b3360008181526004602090815260408083206001600160a01b0389168085529083529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a350600192915050565b6002546001600160a01b03821660009081526003602052604081205490916104aa919063ffffffff610b8516565b6000546001600160a01b031633146107b7576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031690565b60405180604001604052806003815260200162212aa760e91b81525081565b3360009081526004602090815260408083206001600160a01b0386168452909152812054808310610883573360009081526004602090815260408083206001600160a01b03881684529091528120556108b8565b610893818463ffffffff610b3c16565b3360009081526004602090815260408083206001600160a01b03891684529091529020555b3360008181526004602090815260408083206001600160a01b0389168085529083529281902054815190815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060019392505050565b6000826001600160a01b03811630141561093757600080fd5b600061094e60025485610bc790919063ffffffff16565b33600090815260036020526040902054909150610971908263ffffffff610b3c16565b33600090815260036020526040808220929092556001600160a01b038716815220546109a3908263ffffffff610c2016565b6001600160a01b0386166000818152600360209081526040918290209390935580518781529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a3506001949350505050565b6000546001600160a01b031681565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b6000546001600160a01b03163314610a9c576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b038116610ae15760405162461bcd60e51b8152600401808060200182810382526026815260200180610d776026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000610b7e83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610c7a565b9392505050565b6000610b7e83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250610d11565b600082610bd6575060006104aa565b82820282848281610be357fe5b0414610b7e5760405162461bcd60e51b8152600401808060200182810382526021815260200180610d9d6021913960400191505060405180910390fd5b600082820183811015610b7e576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b60008184841115610d095760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610cce578181015183820152602001610cb6565b50505050905090810190601f168015610cfb5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b60008183610d605760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315610cce578181015183820152602001610cb6565b506000838581610d6c57fe5b049594505050505056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77a2646970667358221220c540414865e786ccd068e873a22890e3584b0d577525db3d88d63875f47f6ae564736f6c63430006000033

Deployed Bytecode Sourcemap

2384:4456:0:-:0;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2384:4456:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3496:558;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;3496:558:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;2796:40;;;:::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;2796:40:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5733:233;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;5733:233:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;4362:123;;;:::i;5238:487::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;5238:487:0;;;;;;;;;;;;;;;;;:::i;2887:37::-;;;:::i;5974:343::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;5974:343:0;;;;;;;;:::i;4493:159::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;4493:159:0;-1:-1:-1;;;;;4493:159:0;;:::i;1977:148::-;;;:::i;:::-;;1765:79;;;:::i;:::-;;;;-1:-1:-1;;;;;1765:79:0;;;;;;;;;;;;;;2843:37;;;:::i;6325:512::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;6325:512:0;;;;;;;;:::i;4660:388::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;4660:388:0;;;;;;;;:::i;1515:21::-;;;:::i;5056:174::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;5056:174:0;;;;;;;;;;:::i;2133:244::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2133:244:0;-1:-1:-1;;;;;2133:244:0;;:::i;3496:558::-;3603:7;1892:6;;-1:-1:-1;;;;;1892:6:0;1902:10;1892:20;1884:65;;;;;-1:-1:-1;;;1884:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3632:16;3628:118:::1;;3687:12;::::0;3670:30:::1;::::0;;;;;;3680:5;;3670:30:::1;::::0;;;;;::::1;::::0;;::::1;-1:-1:-1::0;3722:12:0::1;::::0;3715:19:::1;;3628:118;3774:12;::::0;:29:::1;::::0;3791:11;3774:29:::1;:16;:29;:::i;:::-;3759:12;:44:::0;;;-1:-1:-1;;;;;;3826:83:0::1;;;-1:-1:-1::0;;;;;3872:12:0::1;:25:::0;3826:83:::1;3955:12;::::0;3940:28:::1;::::0;-1:-1:-1;;3154:54:0;3940:14:::1;:28::i;:::-;3921:16;:47:::0;4003:12:::1;::::0;3986:30:::1;::::0;;;;;;3996:5;;3986:30:::1;::::0;;;;;::::1;::::0;;::::1;-1:-1:-1::0;4034:12:0::1;::::0;1960:1:::1;3496:558:::0;;;;:::o;2796:40::-;;;;;;;;;;;;;;-1:-1:-1;;;2796:40:0;;;;:::o;5733:233::-;5856:10;5816:4;5838:29;;;:17;:29;;;;;;;;-1:-1:-1;;;;;5838:38:0;;;;;;;;;;;:46;;;5900:36;;;;;;;5816:4;;5838:38;;5856:10;;5900:36;;;;;;;;-1:-1:-1;5954:4:0;5733:233;;;;:::o;4362:123::-;4465:12;;4362:123;:::o;5238:487::-;5363:4;5341:2;-1:-1:-1;;;;;2580:19:0;;2594:4;2580:19;;2572:28;;;;;;-1:-1:-1;;;;;5423:23:0;::::1;;::::0;;;:17:::1;:23;::::0;;;;;;;5447:10:::1;5423:35:::0;;;;;;;;:46:::1;::::0;5463:5;5423:46:::1;:39;:46;:::i;:::-;-1:-1:-1::0;;;;;5385:23:0;::::1;;::::0;;;:17:::1;:23;::::0;;;;;;;5409:10:::1;5385:35:::0;;;;;;;:84;;;;5511:16:::1;::::0;5501:27:::1;::::0;:5;;:27:::1;:9;:27;:::i;:::-;-1:-1:-1::0;;;;;5560:18:0;::::1;;::::0;;;:12:::1;:18;::::0;;;;;5482:46;;-1:-1:-1;5560:32:0::1;::::0;5482:46;5560:32:::1;:22;:32;:::i;:::-;-1:-1:-1::0;;;;;5539:18:0;;::::1;;::::0;;;:12:::1;:18;::::0;;;;;:53;;;;5622:16;;::::1;::::0;;;;:30:::1;::::0;5643:8;5622:30:::1;:20;:30;:::i;:::-;-1:-1:-1::0;;;;;5603:16:0;;::::1;;::::0;;;:12:::1;:16;::::0;;;;;;;;:49;;;;5668:25;;;;;;;5603:16;;5668:25;;::::1;::::0;::::1;::::0;;;;;;;::::1;-1:-1:-1::0;5713:4:0::1;::::0;5238:487;-1:-1:-1;;;;;5238:487:0:o;2887:37::-;2922:2;2887:37;:::o;5974:343::-;6166:10;6072:4;6148:29;;;:17;:29;;;;;;;;-1:-1:-1;;;;;6148:38:0;;;;;;;;;;:54;;6191:10;6148:54;:42;:54;:::i;:::-;6112:10;6094:29;;;;:17;:29;;;;;;;;-1:-1:-1;;;;;6094:38:0;;;;;;;;;;;;:108;;;6218:69;;;;;;6094:38;;6218:69;;;;;;;;;;;-1:-1:-1;6305:4:0;5974:343;;;;:::o;4493:159::-;4627:16;;-1:-1:-1;;;;;4605:17:0;;4573:7;4605:17;;;:12;:17;;;;;;4573:7;;4605:39;;:17;:39;:21;:39;:::i;1977:148::-;1892:6;;-1:-1:-1;;;;;1892:6:0;1902:10;1892:20;1884:65;;;;;-1:-1:-1;;;1884:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2084:1:::1;2068:6:::0;;2047:40:::1;::::0;-1:-1:-1;;;;;2068:6:0;;::::1;::::0;2047:40:::1;::::0;2084:1;;2047:40:::1;2115:1;2098:19:::0;;-1:-1:-1;;;;;;2098:19:0::1;::::0;;1977:148::o;1765:79::-;1803:7;1830:6;-1:-1:-1;;;;;1830:6:0;1765:79;:::o;2843:37::-;;;;;;;;;;;;;;-1:-1:-1;;;2843:37:0;;;;:::o;6325:512::-;6487:10;6428:4;6469:29;;;:17;:29;;;;;;;;-1:-1:-1;;;;;6469:38:0;;;;;;;;;;6522:27;;;6518:205;;6584:10;6607:1;6566:29;;;:17;:29;;;;;;;;-1:-1:-1;;;;;6566:38:0;;;;;;;;;:42;6518:205;;;6682:29;:8;6695:15;6682:29;:12;:29;:::i;:::-;6659:10;6641:29;;;;:17;:29;;;;;;;;-1:-1:-1;;;;;6641:38:0;;;;;;;;;:70;6518:205;6747:10;6768:29;;;;:17;:29;;;;;;;;-1:-1:-1;;;;;6738:69:0;;6768:38;;;;;;;;;;;6738:69;;;;;;;;;6747:10;6738:69;;;;;;;;;;;-1:-1:-1;6825:4:0;;6325:512;-1:-1:-1;;;6325:512:0:o;4660:388::-;4767:4;4745:2;-1:-1:-1;;;;;2580:19:0;;2594:4;2580:19;;2572:28;;;;;;4789:16:::1;4808:27;4818:16;;4808:5;:9;;:27;;;;:::i;:::-;4886:10;4873:24;::::0;;;:12:::1;:24;::::0;;;;;4789:46;;-1:-1:-1;4873:38:0::1;::::0;4789:46;4873:38:::1;:28;:38;:::i;:::-;4859:10;4846:24;::::0;;;:12:::1;:24;::::0;;;;;:65;;;;-1:-1:-1;;;;;4941:16:0;::::1;::::0;;;;:30:::1;::::0;4962:8;4941:30:::1;:20;:30;:::i;:::-;-1:-1:-1::0;;;;;4922:16:0;::::1;;::::0;;;:12:::1;:16;::::0;;;;;;;;:49;;;;4987:31;;;;;;;4922:16;;4996:10:::1;::::0;4987:31:::1;::::0;;;;;;;;::::1;-1:-1:-1::0;5036:4:0::1;::::0;4660:388;-1:-1:-1;;;;4660:388:0:o;1515:21::-;;;-1:-1:-1;;;;;1515:21:0;;:::o;5056:174::-;-1:-1:-1;;;;;5188:25:0;;;5156:7;5188:25;;;:17;:25;;;;;;;;:34;;;;;;;;;;;;;5056:174::o;2133:244::-;1892:6;;-1:-1:-1;;;;;1892:6:0;1902:10;1892:20;1884:65;;;;;-1:-1:-1;;;1884:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2222:22:0;::::1;2214:73;;;;-1:-1:-1::0;;;2214:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2324:6;::::0;;2303:38:::1;::::0;-1:-1:-1;;;;;2303:38:0;;::::1;::::0;2324:6;::::1;::::0;2303:38:::1;::::0;::::1;2352:6;:17:::0;;-1:-1:-1;;;;;;2352:17:0::1;-1:-1:-1::0;;;;;2352:17:0;;;::::1;::::0;;;::::1;::::0;;2133:244::o;239:136::-;297:7;324:43;328:1;331;324:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;317:50;239:136;-1:-1:-1;;;239:136:0:o;841:132::-;899:7;926:39;930:1;933;926:39;;;;;;;;;;;;;;;;;:3;:39::i;583:250::-;641:7;665:6;661:47;;-1:-1:-1;695:1:0;688:8;;661:47;732:5;;;736:1;732;:5;:1;756:5;;;;;:10;748:56;;;;-1:-1:-1;;;748:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50:181;108:7;140:5;;;164:6;;;;156:46;;;;;-1:-1:-1;;;156:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;383:192;469:7;505:12;497:6;;;;489:29;;;;-1:-1:-1;;;489:29: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;489:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;541:5:0;;;383:192::o;981:191::-;1067:7;1102:12;1095:5;1087:28;;;;-1:-1:-1;;;1087:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27:10:-1;;8:100;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;1087:28:0;;1126:9;1142:1;1138;:5;;;;;;;981:191;-1:-1:-1;;;;;981:191:0:o

Swarm Source

ipfs://c540414865e786ccd068e873a22890e3584b0d577525db3d88d63875f47f6ae5

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.