Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 22 from a total of 22 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Mint | 18231455 | 328 days ago | IN | 0 ETH | 0.00042726 | ||||
Burn | 18230824 | 328 days ago | IN | 0.0018 ETH | 0.00043921 | ||||
Burn | 18230414 | 328 days ago | IN | 0.0018 ETH | 0.00042109 | ||||
Mint | 18230311 | 328 days ago | IN | 0 ETH | 0.00048022 | ||||
Mint | 18222481 | 330 days ago | IN | 0 ETH | 0.00077012 | ||||
Mint | 18176175 | 336 days ago | IN | 0 ETH | 0.00050964 | ||||
Mint | 18148642 | 340 days ago | IN | 0 ETH | 0.00052448 | ||||
Mint | 18130190 | 343 days ago | IN | 0 ETH | 0.00063956 | ||||
Mint | 18128791 | 343 days ago | IN | 0 ETH | 0.00092608 | ||||
Mint | 18107927 | 346 days ago | IN | 0 ETH | 0.00059006 | ||||
Mint | 18104797 | 346 days ago | IN | 0 ETH | 0.00062016 | ||||
Mint | 18098425 | 347 days ago | IN | 0 ETH | 0.00053289 | ||||
Mint | 18098300 | 347 days ago | IN | 0 ETH | 0.00042969 | ||||
Transfer Ownersh... | 18093989 | 348 days ago | IN | 0 ETH | 0.00084532 | ||||
Mint | 18088222 | 348 days ago | IN | 0 ETH | 0.00049275 | ||||
Mint | 18087301 | 349 days ago | IN | 0 ETH | 0.00127379 | ||||
Mint | 18086859 | 349 days ago | IN | 0 ETH | 0.00193231 | ||||
Mint | 18086575 | 349 days ago | IN | 0 ETH | 0.00202434 | ||||
Mint | 18086556 | 349 days ago | IN | 0 ETH | 0.00329082 | ||||
Set Controller | 18085901 | 349 days ago | IN | 0 ETH | 0.00130143 | ||||
Set Eth Token | 18085900 | 349 days ago | IN | 0 ETH | 0.00066307 | ||||
0x60806040 | 18085899 | 349 days ago | IN | 0 ETH | 0.03166747 |
Loading...
Loading
Contract Name:
BridgeEth
Compiler Version
v0.8.17+commit.8df45f5f
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-09-07 */ // File: @openzeppelin/contracts/utils/math/SafeMath.sol // OpenZeppelin Contracts (last updated v4.9.0) (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the subtraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // 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 (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @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) { return a + b; } /** * @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 a - b; } /** * @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) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting 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 a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting 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) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * 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) { unchecked { require(b > 0, errorMessage); return a % b; } } } // File: @openzeppelin/contracts/token/ERC20/IERC20.sol // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @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 Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @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 `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, 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 `from` to `to` 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 from, address to, uint256 amount) external returns (bool); } // File: @openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); } // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/token/ERC20/ERC20.sol // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * The default value of {decimals} is 18. To change this, you should override * this function so it returns a different value. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the default value returned by this function, unless * it's overridden. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom(address from, address to, uint256 amount) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); 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 {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, allowance(owner, spender) + 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 {IERC20-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) public virtual returns (bool) { address owner = _msgSender(); uint256 currentAllowance = allowance(owner, spender); require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `from` to `to`. * * This 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: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer(address from, address to, uint256 amount) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by // decrementing then incrementing. _balances[to] += amount; } emit Transfer(from, to, amount); _afterTokenTransfer(from, to, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; unchecked { // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above. _balances[account] += amount; } emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; // Overflow not possible: amount <= accountBalance <= totalSupply. _totalSupply -= amount; } emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This 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 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); } /** * @dev Updates `owner` s allowance for `spender` based on spent `amount`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance(address owner, address spender, uint256 amount) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - amount); } } } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer(address from, address to, uint256 amount) internal virtual {} } // File: contracts/tokens/TokenBase.sol pragma solidity ^0.8.0; contract TokenBase is ERC20 { address public admin; constructor(string memory name, string memory symbol) ERC20(name, symbol) { admin = msg.sender; } function updateAdmin(address newAdmin) external { require(msg.sender == admin, 'only admin'); admin = newAdmin; } function mint(address to, uint amount) external { require(msg.sender == admin, 'only admin'); _mint(to, amount); } function burn(address owner, uint amount) external { require(msg.sender == admin, 'only admin'); _burn(owner, amount); } function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) { _transfer(sender, recipient, amount); return true; } function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(msg.sender, recipient, amount); return true; } function decimals() public view virtual override returns (uint8) { return 18; } function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(msg.sender, spender, amount); return true; } } // File: contracts/trustless/TreatBridge.sol pragma solidity ^0.8.0; contract TreatBridge { using SafeMath for uint256; address public owner; address public pendingOwner; address public controller; TokenBase public token; uint256 public _balance; uint256 public _tax; uint256 public _taxMaxValue; uint128 public _fee; enum Step { Burn, Mint } event Transfer( address from, address to, uint amount, uint date, Step indexed step ); event Deposit( address indexed account, uint256 amount ); event Withdraw( address indexed account, uint256 amount ); event ControllerChanged(address indexed previousBridge, address indexed newBridge); event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); modifier onlyOwner() { require(msg.sender == owner, "BridgeBase: caller is not the owner"); _; } modifier onlyController() { require(msg.sender == controller, "TreatBridge: caller is not the bridge"); _; } constructor(address _token) { // Ensure that the _token address is not zero require(_token != address(0), "Bridge: token address cannot be 0"); token = TokenBase(_token); owner = msg.sender; _tax = 0; _taxMaxValue = 0; // set _fee to 0.005 ether _fee = 5000000000000000; } function setFee(uint128 fee) external onlyOwner { _fee = fee; } function setController(address _bridge) external onlyOwner { controller = _bridge; emit ControllerChanged(controller, _bridge); } function transferOwnership(address _pendingOwner) external onlyOwner { pendingOwner = _pendingOwner; } function acceptOwnership() external { require(msg.sender == pendingOwner, "BridgeBase: caller is not the pending owner"); emit OwnershipTransferred(owner, pendingOwner); owner = pendingOwner; pendingOwner = address(0); } function setToken (address _token) external onlyOwner { token = TokenBase(_token); } function setTax (uint256 tax) external onlyOwner { _tax = tax; } function setTaxMaxValue (uint256 taxMaxValue) external onlyOwner { _taxMaxValue = taxMaxValue; } function deposit(uint256 _amount) external onlyOwner { // Ensure bridge has allowance to transfer from user require(token.allowance(msg.sender, address(this)) >= _amount, "BridgeBase: insufficient allowance for deposit"); require(token.balanceOf(msg.sender) >= _amount, "BridgeBase: insufficient balance for deposit"); token.transferFrom(msg.sender, address(this), _amount); _balance = _balance.add(_amount); emit Deposit(msg.sender, _amount); } function withdraw(uint256 _amount) external onlyOwner { // Ensure bridge has enough token to mint require(token.balanceOf(address(this)) >= _amount, "BridgeBase: insufficient balance for withdraw"); token.transfer(msg.sender, _amount); _balance = _balance.sub(_amount); emit Withdraw(msg.sender, _amount); } function unlock(address account, uint256 amount) virtual external onlyController returns (bool) { require(account != address(0), "Bridge: mint to the zero address"); // Ensure bridge has enough token to mint require(token.balanceOf(address(this)) >= amount, "Bridge: insufficient balance for mint"); _balance = _balance.sub(amount); token.transfer(account, amount); emit Transfer( address(this), account, amount, block.timestamp, Step.Mint ); return true; } function lock(uint256 amount) payable external returns (bool) { require(token.allowance(msg.sender, address(this)) >= amount, "Bridge: insufficient allowance to bridge"); require(token.balanceOf(msg.sender) >= amount, "Bridge: insufficient balance to bridge"); // require _fee to be paid require(msg.value >= _fee, "Bridge: insufficient fee"); token.transferFrom(msg.sender, address(this), amount); _balance = _balance.add(amount); payable(controller).transfer(_fee); // Calculate tax amount // Get the percentage value for the tax uint256 taxAmount = amount.mul(_tax).div(100); // Ensure tax amount is not greater than the max tax value if(taxAmount > _taxMaxValue) { taxAmount = _taxMaxValue; } uint256 amountAfterTax = amount.sub(taxAmount); emit Transfer( msg.sender, address(this), amountAfterTax, block.timestamp, Step.Burn ); return true; } receive() external payable {} } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: @uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol pragma solidity >=0.5.0; interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPair(address tokenA, address tokenB) external view returns (address pair); function allPairs(uint) external view returns (address pair); function allPairsLength() external view returns (uint); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; } // File: @uniswap/v2-core/contracts/interfaces/IUniswapV2ERC20.sol pragma solidity >=0.5.0; interface IUniswapV2ERC20 { event Approval(address indexed owner, address indexed spender, uint value); event Transfer(address indexed from, address indexed to, uint value); function name() external pure returns (string memory); function symbol() external pure returns (string memory); function decimals() external pure returns (uint8); function totalSupply() external view returns (uint); function balanceOf(address owner) external view returns (uint); function allowance(address owner, address spender) external view returns (uint); function approve(address spender, uint value) external returns (bool); function transfer(address to, uint value) external returns (bool); function transferFrom(address from, address to, uint value) external returns (bool); function DOMAIN_SEPARATOR() external view returns (bytes32); function PERMIT_TYPEHASH() external pure returns (bytes32); function nonces(address owner) external view returns (uint); function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external; } // File: @uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router01.sol pragma solidity >=0.6.2; interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB, uint liquidity); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); function removeLiquidityETH( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountToken, uint amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountA, uint amountB); function removeLiquidityETHWithPermit( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountToken, uint amountETH); function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapTokensForExactTokens( uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB); function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut); function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn); function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts); function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts); } // File: @uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol pragma solidity >=0.6.2; interface IUniswapV2Router02 is IUniswapV2Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; } // File: contracts/tokens/EthTreatToken.sol pragma solidity ^0.8.0; contract TokenEth is ERC20, Ownable { using SafeMath for uint256; IUniswapV2Router02 public uniswapV2Router; address public uniswapV2Pair; uint8 public feeDecimals; uint32 public feePercentage; uint128 private minTokensBeforeSwap; address public treatBridge; address payable public treatTreasuryAddress; bool inSwapAndLiquify; bool swapAndLiquifyEnabled; address[] public nontaxedFromContracts; mapping(address => bool) public isAddressNotTaxedFrom; address[] public nontaxedToContracts; mapping(address => bool) public isAddressNotTaxedTo; event FeeUpdated(uint8 feeDecimals, uint32 feePercentage); event MinTokensBeforeSwapUpdated(uint128 minTokensBeforeSwap); event SwapAndLiquifyEnabledUpdated(bool enabled); event SwapAndLiquify( uint256 tokensSwapped, uint256 ethReceived, uint256 tokensIntoLiqudity ); event RouterChanged(address newRouter); event Taxing(address from, address to, uint256 amount); modifier lockTheSwap { inSwapAndLiquify = true; _; inSwapAndLiquify = false; } modifier onlyBridge() { require(msg.sender == treatBridge, "Caller is not the bridge"); _; } constructor( uint8 _feeDecimals, uint32 _feePercentage, uint128 _minTokensBeforeSwap, bool _swapAndLiquifyEnabled, address payable _treasuryAddress ) ERC20("Treat", "Treat") { // Create a uniswap pair for this new token treatTreasuryAddress = _treasuryAddress; updateFee(_feeDecimals, _feePercentage); updateMinTokensBeforeSwap(_minTokensBeforeSwap); updateSwapAndLiquifyEnabled(_swapAndLiquifyEnabled); } function initializeUniswapFactory(IUniswapV2Router02 _uniswapV2Router) public onlyOwner { uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()) .createPair(address(this), _uniswapV2Router.WETH()); // set the rest of the contract variables uniswapV2Router = _uniswapV2Router; } /* override the internal _transfer function so that we can take the fee, and conditionally do the swap + liquditiy */ function _transfer( address from, address to, uint256 amount ) internal override { // is the token balance of this contract address over the min number of // tokens that we need to initiate a swap + liquidity lock? // also, don't get caught in a circular liquidity event. // also, don't swap & liquify if sender is uniswap pair. uint256 contractTokenBalance = balanceOf(address(this)); bool overMinTokenBalance = contractTokenBalance >= minTokensBeforeSwap; if ( overMinTokenBalance && !inSwapAndLiquify && msg.sender != uniswapV2Pair && swapAndLiquifyEnabled ) { swapAndLiquify(contractTokenBalance); } // calculate the number of tokens to take as a fee uint256 tokensToLock = calculateTokenFee( amount, feeDecimals, feePercentage, from, to ); // take the fee and send those tokens to this contract address // and then send the remainder of tokens to original recipient uint256 tokensToTransfer = amount.sub(tokensToLock); if(tokensToLock > 0) { super._transfer(from, address(this), tokensToLock.div(2)); super._transfer(from, treatTreasuryAddress, tokensToLock.div(2)); } super._transfer(from, to, tokensToTransfer); } function swapAndLiquify(uint256 contractTokenBalance) private lockTheSwap { // split the contract balance into halves uint256 half = contractTokenBalance.div(2); uint256 otherHalf = contractTokenBalance.sub(half); // capture the contract's current ETH balance. // this is so that we can capture exactly the amount of ETH that the // swap creates, and not make the liquidity event include any ETH that // has been manually sent to the contract uint256 initialBalance = address(this).balance; // swap tokens for ETH swapTokensForEth(half); // <- this breaks the ETH -> TreatDao swap when swap+liquify is triggered // how much ETH did we just swap into? uint256 newBalance = address(this).balance.sub(initialBalance); // add liquidity to pancakeswap addLiquidity(otherHalf, newBalance); emit SwapAndLiquify(half, newBalance, otherHalf); } function swapTokensForEth(uint256 tokenAmount) private { // generate the pancakeswap pair path of token -> weth address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapV2Router.WETH(); _approve(address(this), address(uniswapV2Router), tokenAmount); // make the swap uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, // accept any amount of ETH path, address(this), block.timestamp ); } function addLiquidity(uint256 tokenAmount, uint256 ethAmount) private { // approve token transfer to cover all possible scenarios _approve(address(this), address(uniswapV2Router), tokenAmount); // add the liquidity uniswapV2Router.addLiquidityETH{value: ethAmount}( address(this), tokenAmount, 0, // slippage is unavoidable 0, // slippage is unavoidable address(this), block.timestamp ); } function calculateTokenFee( uint256 _amount, uint8 _feeDecimals, uint32 _feePercentage, address _from, address _to ) public view returns (uint256 locked) { bool isTaxed = true; if(isAddressNotTaxedFrom[_from]) { isTaxed = false; } if(isAddressNotTaxedTo[_to]) { isTaxed = false; } if(!isTaxed) { return 0; } locked = _amount.mul(_feePercentage).div( 10**(uint256(_feeDecimals) + 2) ); } function addNonTaxedToContract(address nontaxed) public onlyOwner { bool isAddedAlready = false; for(uint i=0; i< nontaxedToContracts.length; i++) { if(nontaxedToContracts[i] == nontaxed) { isAddedAlready = true; } } require(!isAddedAlready, "Address is already not taxed when sending to"); nontaxedToContracts.push(nontaxed); isAddressNotTaxedTo[nontaxed] = true; } function addNonTaxedFromContract(address nontaxed) public onlyOwner { bool isAddedAlready = false; for(uint i=0; i< nontaxedFromContracts.length; i++) { if(nontaxedFromContracts[i] == nontaxed) { isAddedAlready = true; } } require(!isAddedAlready, "Address is already not taxed when sending from"); nontaxedFromContracts.push(nontaxed); isAddressNotTaxedFrom[nontaxed] = true; } function removeNonTaxedToContract(address taxed) public onlyOwner { for (uint256 i=0; i < nontaxedToContracts.length; i++) { if(nontaxedToContracts[i] == taxed) { nontaxedToContracts[i] = nontaxedToContracts[nontaxedToContracts.length - 1]; nontaxedToContracts.pop(); isAddressNotTaxedTo[taxed] = false; } } } function removeNonTaxedFromContract(address taxed) public onlyOwner { for (uint256 i=0; i < nontaxedFromContracts.length; i++) { if(nontaxedFromContracts[i] == taxed) { nontaxedFromContracts[i] = nontaxedFromContracts[nontaxedFromContracts.length - 1]; nontaxedFromContracts.pop(); isAddressNotTaxedFrom[taxed] = false; } } } receive() external payable {} /** * * @dev burn and mint functions */ function mint(address account, uint256 amount) public onlyBridge { _mint(account, amount); } function burn(address account, uint256 amount) public onlyBridge { _burn(account, amount); } /// /// Ownership adjustments /// function setRouter(address _uniswapRouter) public onlyOwner { uniswapV2Router = IUniswapV2Router02(_uniswapRouter); emit RouterChanged(_uniswapRouter); } function setBridge(address _treatBridge) public onlyOwner { treatBridge = _treatBridge; } function updateFee(uint8 _feeDecimals, uint32 _feePercentage) public onlyOwner { feeDecimals = _feeDecimals; feePercentage = _feePercentage; emit FeeUpdated(_feeDecimals, _feePercentage); } function updateMinTokensBeforeSwap(uint128 _minTokensBeforeSwap) public onlyOwner { minTokensBeforeSwap = _minTokensBeforeSwap; emit MinTokensBeforeSwapUpdated(_minTokensBeforeSwap); } function updateSwapAndLiquifyEnabled(bool _enabled) public onlyOwner { swapAndLiquifyEnabled = _enabled; emit SwapAndLiquifyEnabledUpdated(_enabled); } function withdrawAll(address _tokenAddress, address payable _to) public onlyOwner { uint balance = IERC20(_tokenAddress).balanceOf(address(this)); IERC20(_tokenAddress).transfer(_to, balance); } function withdrawTokens(address _token,address _to,uint256 _amount) public onlyOwner { IUniswapV2ERC20 token = IUniswapV2ERC20(_token); token.transfer(_to, _amount); } function withdrawEther(address payable _to, uint256 _amount) public onlyOwner { _to.transfer(_amount); } function harvestTreats(address payable _to) public onlyOwner { _to.transfer(address(this).balance); } function treasury(address payable _treatTreasuryAddress) public onlyOwner { require(_treatTreasuryAddress != address(0), "cannot switch treasury to the zero address"); treatTreasuryAddress = _treatTreasuryAddress; } function setPair(address _pairAddress) public onlyOwner { uniswapV2Pair = _pairAddress; } } // File: @openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/extensions/ERC20Burnable.sol) pragma solidity ^0.8.0; /** * @dev Extension of {ERC20} that allows token holders to destroy both their own * tokens and those that they have an allowance for, in a way that can be * recognized off-chain (via event analysis). */ abstract contract ERC20Burnable is Context, ERC20 { /** * @dev Destroys `amount` tokens from the caller. * * See {ERC20-_burn}. */ function burn(uint256 amount) public virtual { _burn(_msgSender(), amount); } /** * @dev Destroys `amount` tokens from `account`, deducting from the caller's * allowance. * * See {ERC20-_burn} and {ERC20-allowance}. * * Requirements: * * - the caller must have allowance for ``accounts``'s tokens of at least * `amount`. */ function burnFrom(address account, uint256 amount) public virtual { _spendAllowance(account, _msgSender(), amount); _burn(account, amount); } } // File: contracts/trustless/BridgeEth.sol pragma solidity ^0.8.0; contract BridgeEth is TreatBridge { using SafeMath for uint256; TokenEth public ethToken; constructor(address payable _token) TreatBridge(_token) { // Ensure that the _token address is not zero require(_token != address(0), "Bridge: token address cannot be 0"); ethToken = TokenEth(_token); // set fee to 0.0018 ether _fee = 1800000000000000; } function setEthToken(address payable _token) external onlyOwner { // Ensure that the _token address is not zero require(_token != address(0), "Bridge: token address cannot be 0"); ethToken = TokenEth(_token); } function burn(uint256 amount) payable external returns(bool) { require(amount > 0, "Bridge: amount must be greater than zero"); require(msg.value >= _fee, "Bridge: insufficient fee"); // transfer _fee to bridge controller payable(controller).transfer(_fee); ethToken.burn(msg.sender, amount); // Get the percentage value for the tax uint256 taxAmount = amount.mul(_tax).div(100); // Ensure tax amount is not greater than the max tax value if(taxAmount > _taxMaxValue) { taxAmount = _taxMaxValue; } uint256 amountAfterTax = amount.sub(taxAmount); emit Transfer( msg.sender, address(this), amountAfterTax, block.timestamp, Step.Burn ); return true; } function mint(address account, uint256 amount) external onlyController returns(bool) { require(account != address(0), "Bridge: mint to the zero address"); require(msg.sender != address(this), "Bridge: mint to the bridge"); ethToken.mint(account, amount); emit Transfer( address(this), account, amount, block.timestamp, Step.Mint ); return true; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address payable","name":"_token","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousBridge","type":"address"},{"indexed":true,"internalType":"address","name":"newBridge","type":"address"}],"name":"ControllerChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposit","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":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"date","type":"uint256"},{"indexed":true,"internalType":"enum TreatBridge.Step","name":"step","type":"uint8"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"_balance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_fee","outputs":[{"internalType":"uint128","name":"","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_tax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_taxMaxValue","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"acceptOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"controller","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"ethToken","outputs":[{"internalType":"contract TokenEth","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"lock","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pendingOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_bridge","type":"address"}],"name":"setController","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_token","type":"address"}],"name":"setEthToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint128","name":"fee","type":"uint128"}],"name":"setFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tax","type":"uint256"}],"name":"setTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"taxMaxValue","type":"uint256"}],"name":"setTaxMaxValue","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"setToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"token","outputs":[{"internalType":"contract TokenBase","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_pendingOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"unlock","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040523480156200001157600080fd5b506040516200182c3803806200182c83398101604081905262000034916200015e565b806001600160a01b0381166200008a5760405162461bcd60e51b815260206004820152602160248201526000805160206200180c8339815191526044820152600360fc1b60648201526084015b60405180910390fd5b600380546001600160a01b039283166001600160a01b03199182161790915560008054909116331781556005819055600655600780546001600160801b0319166611c37937e0800017905581166200011e5760405162461bcd60e51b815260206004820152602160248201526000805160206200180c8339815191526044820152600360fc1b606482015260840162000081565b600880546001600160a01b039092166001600160a01b0319909216919091179055600780546001600160801b031916660665172898800017905562000190565b6000602082840312156200017157600080fd5b81516001600160a01b03811681146200018957600080fd5b9392505050565b61166c80620001a06000396000f3fe6080604052600436106101445760003560e01c80637eee288d116100b6578063e30c39781161006f578063e30c397814610396578063e52c1654146103b6578063e751d508146103cc578063f2fde38b146103e2578063f77c479114610402578063fc0c546a1461042257600080fd5b80637eee288d146102cb5780638da5cb5b146102eb57806392eefe9b1461030b578063b6b55f251461032b578063c5b37c221461034b578063dd4670641461038357600080fd5b806342966c681161010857806342966c6814610207578063473fcf0b1461021a57806356c4e05a1461023a57806370907d271461025e57806379ba50971461027e5780637bf1a6271461029357600080fd5b8063144fa6d7146101505780632e1a7d4d146101725780632e5bb6ff146101925780633687f24a146101b257806340c10f19146101d257600080fd5b3661014b57005b600080fd5b34801561015c57600080fd5b5061017061016b366004611473565b610442565b005b34801561017e57600080fd5b5061017061018d366004611490565b610497565b34801561019e57600080fd5b506101706101ad366004611490565b610650565b3480156101be57600080fd5b506101706101cd3660046114a9565b61067f565b3480156101de57600080fd5b506101f26101ed3660046114d2565b6106d4565b60405190151581526020015b60405180910390f35b6101f2610215366004611490565b61086e565b34801561022657600080fd5b50610170610235366004611490565b610a66565b34801561024657600080fd5b5061025060045481565b6040519081526020016101fe565b34801561026a57600080fd5b50610170610279366004611473565b610a95565b34801561028a57600080fd5b50610170610b41565b34801561029f57600080fd5b506008546102b3906001600160a01b031681565b6040516001600160a01b0390911681526020016101fe565b3480156102d757600080fd5b506101f26102e63660046114d2565b610c13565b3480156102f757600080fd5b506000546102b3906001600160a01b031681565b34801561031757600080fd5b50610170610326366004611473565b610df0565b34801561033757600080fd5b50610170610346366004611490565b610e66565b34801561035757600080fd5b5060075461036b906001600160801b031681565b6040516001600160801b0390911681526020016101fe565b6101f2610391366004611490565b6110f4565b3480156103a257600080fd5b506001546102b3906001600160a01b031681565b3480156103c257600080fd5b5061025060065481565b3480156103d857600080fd5b5061025060055481565b3480156103ee57600080fd5b506101706103fd366004611473565b6113d8565b34801561040e57600080fd5b506002546102b3906001600160a01b031681565b34801561042e57600080fd5b506003546102b3906001600160a01b031681565b6000546001600160a01b031633146104755760405162461bcd60e51b815260040161046c906114fe565b60405180910390fd5b600380546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146104c15760405162461bcd60e51b815260040161046c906114fe565b6003546040516370a0823160e01b815230600482015282916001600160a01b0316906370a0823190602401602060405180830381865afa158015610509573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061052d9190611541565b10156105915760405162461bcd60e51b815260206004820152602d60248201527f427269646765426173653a20696e73756666696369656e742062616c616e636560448201526c20666f7220776974686472617760981b606482015260840161046c565b60035460405163a9059cbb60e01b8152336004820152602481018390526001600160a01b039091169063a9059cbb906044016020604051808303816000875af11580156105e2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610606919061155a565b506004546106149082611424565b60045560405181815233907f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364906020015b60405180910390a250565b6000546001600160a01b0316331461067a5760405162461bcd60e51b815260040161046c906114fe565b600555565b6000546001600160a01b031633146106a95760405162461bcd60e51b815260040161046c906114fe565b600780546fffffffffffffffffffffffffffffffff19166001600160801b0392909216919091179055565b6002546000906001600160a01b031633146107015760405162461bcd60e51b815260040161046c9061157c565b6001600160a01b0383166107575760405162461bcd60e51b815260206004820181905260248201527f4272696467653a206d696e7420746f20746865207a65726f2061646472657373604482015260640161046c565b3033036107a65760405162461bcd60e51b815260206004820152601a60248201527f4272696467653a206d696e7420746f2074686520627269646765000000000000604482015260640161046c565b6008546040516340c10f1960e01b81526001600160a01b03858116600483015260248201859052909116906340c10f1990604401600060405180830381600087803b1580156107f457600080fd5b505af1158015610808573d6000803e3d6000fd5b5060019250610815915050565b604080513081526001600160a01b03861660208201529081018490524260608201527fc35a7fce54223101e5dbbacdbc167cd5802bd5336afd19786eee986f7d04f52a9060800160405180910390a25060015b92915050565b60008082116108d05760405162461bcd60e51b815260206004820152602860248201527f4272696467653a20616d6f756e74206d7573742062652067726561746572207460448201526768616e207a65726f60c01b606482015260840161046c565b6007546001600160801b03163410156109265760405162461bcd60e51b81526020600482015260186024820152774272696467653a20696e73756666696369656e742066656560401b604482015260640161046c565b6002546007546040516001600160a01b03909216916001600160801b0390911680156108fc02916000818181858888f1935050505015801561096c573d6000803e3d6000fd5b50600854604051632770a7eb60e21b8152336004820152602481018490526001600160a01b0390911690639dc29fac90604401600060405180830381600087803b1580156109b957600080fd5b505af11580156109cd573d6000803e3d6000fd5b5050505060006109f360646109ed6005548661143790919063ffffffff16565b90611443565b9050600654811115610a0457506006545b6000610a108483611424565b604080513381523060208201529081018290524260608201529091506000907fc35a7fce54223101e5dbbacdbc167cd5802bd5336afd19786eee986f7d04f52a9060800160405180910390a25060019392505050565b6000546001600160a01b03163314610a905760405162461bcd60e51b815260040161046c906114fe565b600655565b6000546001600160a01b03163314610abf5760405162461bcd60e51b815260040161046c906114fe565b6001600160a01b038116610b1f5760405162461bcd60e51b815260206004820152602160248201527f4272696467653a20746f6b656e20616464726573732063616e6e6f74206265206044820152600360fc1b606482015260840161046c565b600880546001600160a01b0319166001600160a01b0392909216919091179055565b6001546001600160a01b03163314610baf5760405162461bcd60e51b815260206004820152602b60248201527f427269646765426173653a2063616c6c6572206973206e6f742074686520706560448201526a373234b7339037bbb732b960a91b606482015260840161046c565b600154600080546040516001600160a01b0393841693909116917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a360018054600080546001600160a01b03199081166001600160a01b03841617909155169055565b6002546000906001600160a01b03163314610c405760405162461bcd60e51b815260040161046c9061157c565b6001600160a01b038316610c965760405162461bcd60e51b815260206004820181905260248201527f4272696467653a206d696e7420746f20746865207a65726f2061646472657373604482015260640161046c565b6003546040516370a0823160e01b815230600482015283916001600160a01b0316906370a0823190602401602060405180830381865afa158015610cde573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d029190611541565b1015610d5e5760405162461bcd60e51b815260206004820152602560248201527f4272696467653a20696e73756666696369656e742062616c616e636520666f72604482015264081b5a5b9d60da1b606482015260840161046c565b600454610d6b9083611424565b600490815560035460405163a9059cbb60e01b81526001600160a01b03868116938201939093526024810185905291169063a9059cbb906044016020604051808303816000875af1158015610dc4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610de8919061155a565b506001610815565b6000546001600160a01b03163314610e1a5760405162461bcd60e51b815260040161046c906114fe565b600280546001600160a01b0319166001600160a01b03831690811790915560405181907f6aef1fb5b23d0e109fc7f2b0601019e1edbacd177e31a441ec8548e8dd14f0f790600090a350565b6000546001600160a01b03163314610e905760405162461bcd60e51b815260040161046c906114fe565b600354604051636eb1769f60e11b815233600482015230602482015282916001600160a01b03169063dd62ed3e90604401602060405180830381865afa158015610ede573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f029190611541565b1015610f675760405162461bcd60e51b815260206004820152602e60248201527f427269646765426173653a20696e73756666696369656e7420616c6c6f77616e60448201526d18d948199bdc8819195c1bdcda5d60921b606482015260840161046c565b6003546040516370a0823160e01b815233600482015282916001600160a01b0316906370a0823190602401602060405180830381865afa158015610faf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fd39190611541565b10156110365760405162461bcd60e51b815260206004820152602c60248201527f427269646765426173653a20696e73756666696369656e742062616c616e636560448201526b08199bdc8819195c1bdcda5d60a21b606482015260840161046c565b6003546040516323b872dd60e01b8152336004820152306024820152604481018390526001600160a01b03909116906323b872dd906064016020604051808303816000875af115801561108d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110b1919061155a565b506004546110bf908261144f565b60045560405181815233907fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c90602001610645565b600354604051636eb1769f60e11b815233600482015230602482015260009183916001600160a01b039091169063dd62ed3e90604401602060405180830381865afa158015611147573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061116b9190611541565b10156111ca5760405162461bcd60e51b815260206004820152602860248201527f4272696467653a20696e73756666696369656e7420616c6c6f77616e636520746044820152676f2062726964676560c01b606482015260840161046c565b6003546040516370a0823160e01b815233600482015283916001600160a01b0316906370a0823190602401602060405180830381865afa158015611212573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112369190611541565b10156112935760405162461bcd60e51b815260206004820152602660248201527f4272696467653a20696e73756666696369656e742062616c616e636520746f2060448201526562726964676560d01b606482015260840161046c565b6007546001600160801b03163410156112e95760405162461bcd60e51b81526020600482015260186024820152774272696467653a20696e73756666696369656e742066656560401b604482015260640161046c565b6003546040516323b872dd60e01b8152336004820152306024820152604481018490526001600160a01b03909116906323b872dd906064016020604051808303816000875af1158015611340573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611364919061155a565b50600454611372908361144f565b6004556002546007546040516001600160a01b03909216916001600160801b0390911680156108fc02916000818181858888f193505050501580156113bb573d6000803e3d6000fd5b5060006109f360646109ed6005548661143790919063ffffffff16565b6000546001600160a01b031633146114025760405162461bcd60e51b815260040161046c906114fe565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b600061143082846115d7565b9392505050565b600061143082846115ea565b60006114308284611601565b60006114308284611623565b6001600160a01b038116811461147057600080fd5b50565b60006020828403121561148557600080fd5b81356114308161145b565b6000602082840312156114a257600080fd5b5035919050565b6000602082840312156114bb57600080fd5b81356001600160801b038116811461143057600080fd5b600080604083850312156114e557600080fd5b82356114f08161145b565b946020939093013593505050565b60208082526023908201527f427269646765426173653a2063616c6c6572206973206e6f7420746865206f776040820152623732b960e91b606082015260800190565b60006020828403121561155357600080fd5b5051919050565b60006020828403121561156c57600080fd5b8151801515811461143057600080fd5b60208082526025908201527f54726561744272696467653a2063616c6c6572206973206e6f74207468652062604082015264726964676560d81b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b81810381811115610868576108686115c1565b8082028115828204841417610868576108686115c1565b60008261161e57634e487b7160e01b600052601260045260246000fd5b500490565b80820180821115610868576108686115c156fea26469706673582212201f379719af910c1ea7c8db3dd309a0eeae29739b6f3e1cbb9955906dd2e6508d64736f6c634300081100334272696467653a20746f6b656e20616464726573732063616e6e6f7420626520000000000000000000000000bcee578e9b5a0f4d19e8d35e628faae293bbce80
Deployed Bytecode
0x6080604052600436106101445760003560e01c80637eee288d116100b6578063e30c39781161006f578063e30c397814610396578063e52c1654146103b6578063e751d508146103cc578063f2fde38b146103e2578063f77c479114610402578063fc0c546a1461042257600080fd5b80637eee288d146102cb5780638da5cb5b146102eb57806392eefe9b1461030b578063b6b55f251461032b578063c5b37c221461034b578063dd4670641461038357600080fd5b806342966c681161010857806342966c6814610207578063473fcf0b1461021a57806356c4e05a1461023a57806370907d271461025e57806379ba50971461027e5780637bf1a6271461029357600080fd5b8063144fa6d7146101505780632e1a7d4d146101725780632e5bb6ff146101925780633687f24a146101b257806340c10f19146101d257600080fd5b3661014b57005b600080fd5b34801561015c57600080fd5b5061017061016b366004611473565b610442565b005b34801561017e57600080fd5b5061017061018d366004611490565b610497565b34801561019e57600080fd5b506101706101ad366004611490565b610650565b3480156101be57600080fd5b506101706101cd3660046114a9565b61067f565b3480156101de57600080fd5b506101f26101ed3660046114d2565b6106d4565b60405190151581526020015b60405180910390f35b6101f2610215366004611490565b61086e565b34801561022657600080fd5b50610170610235366004611490565b610a66565b34801561024657600080fd5b5061025060045481565b6040519081526020016101fe565b34801561026a57600080fd5b50610170610279366004611473565b610a95565b34801561028a57600080fd5b50610170610b41565b34801561029f57600080fd5b506008546102b3906001600160a01b031681565b6040516001600160a01b0390911681526020016101fe565b3480156102d757600080fd5b506101f26102e63660046114d2565b610c13565b3480156102f757600080fd5b506000546102b3906001600160a01b031681565b34801561031757600080fd5b50610170610326366004611473565b610df0565b34801561033757600080fd5b50610170610346366004611490565b610e66565b34801561035757600080fd5b5060075461036b906001600160801b031681565b6040516001600160801b0390911681526020016101fe565b6101f2610391366004611490565b6110f4565b3480156103a257600080fd5b506001546102b3906001600160a01b031681565b3480156103c257600080fd5b5061025060065481565b3480156103d857600080fd5b5061025060055481565b3480156103ee57600080fd5b506101706103fd366004611473565b6113d8565b34801561040e57600080fd5b506002546102b3906001600160a01b031681565b34801561042e57600080fd5b506003546102b3906001600160a01b031681565b6000546001600160a01b031633146104755760405162461bcd60e51b815260040161046c906114fe565b60405180910390fd5b600380546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146104c15760405162461bcd60e51b815260040161046c906114fe565b6003546040516370a0823160e01b815230600482015282916001600160a01b0316906370a0823190602401602060405180830381865afa158015610509573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061052d9190611541565b10156105915760405162461bcd60e51b815260206004820152602d60248201527f427269646765426173653a20696e73756666696369656e742062616c616e636560448201526c20666f7220776974686472617760981b606482015260840161046c565b60035460405163a9059cbb60e01b8152336004820152602481018390526001600160a01b039091169063a9059cbb906044016020604051808303816000875af11580156105e2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610606919061155a565b506004546106149082611424565b60045560405181815233907f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364906020015b60405180910390a250565b6000546001600160a01b0316331461067a5760405162461bcd60e51b815260040161046c906114fe565b600555565b6000546001600160a01b031633146106a95760405162461bcd60e51b815260040161046c906114fe565b600780546fffffffffffffffffffffffffffffffff19166001600160801b0392909216919091179055565b6002546000906001600160a01b031633146107015760405162461bcd60e51b815260040161046c9061157c565b6001600160a01b0383166107575760405162461bcd60e51b815260206004820181905260248201527f4272696467653a206d696e7420746f20746865207a65726f2061646472657373604482015260640161046c565b3033036107a65760405162461bcd60e51b815260206004820152601a60248201527f4272696467653a206d696e7420746f2074686520627269646765000000000000604482015260640161046c565b6008546040516340c10f1960e01b81526001600160a01b03858116600483015260248201859052909116906340c10f1990604401600060405180830381600087803b1580156107f457600080fd5b505af1158015610808573d6000803e3d6000fd5b5060019250610815915050565b604080513081526001600160a01b03861660208201529081018490524260608201527fc35a7fce54223101e5dbbacdbc167cd5802bd5336afd19786eee986f7d04f52a9060800160405180910390a25060015b92915050565b60008082116108d05760405162461bcd60e51b815260206004820152602860248201527f4272696467653a20616d6f756e74206d7573742062652067726561746572207460448201526768616e207a65726f60c01b606482015260840161046c565b6007546001600160801b03163410156109265760405162461bcd60e51b81526020600482015260186024820152774272696467653a20696e73756666696369656e742066656560401b604482015260640161046c565b6002546007546040516001600160a01b03909216916001600160801b0390911680156108fc02916000818181858888f1935050505015801561096c573d6000803e3d6000fd5b50600854604051632770a7eb60e21b8152336004820152602481018490526001600160a01b0390911690639dc29fac90604401600060405180830381600087803b1580156109b957600080fd5b505af11580156109cd573d6000803e3d6000fd5b5050505060006109f360646109ed6005548661143790919063ffffffff16565b90611443565b9050600654811115610a0457506006545b6000610a108483611424565b604080513381523060208201529081018290524260608201529091506000907fc35a7fce54223101e5dbbacdbc167cd5802bd5336afd19786eee986f7d04f52a9060800160405180910390a25060019392505050565b6000546001600160a01b03163314610a905760405162461bcd60e51b815260040161046c906114fe565b600655565b6000546001600160a01b03163314610abf5760405162461bcd60e51b815260040161046c906114fe565b6001600160a01b038116610b1f5760405162461bcd60e51b815260206004820152602160248201527f4272696467653a20746f6b656e20616464726573732063616e6e6f74206265206044820152600360fc1b606482015260840161046c565b600880546001600160a01b0319166001600160a01b0392909216919091179055565b6001546001600160a01b03163314610baf5760405162461bcd60e51b815260206004820152602b60248201527f427269646765426173653a2063616c6c6572206973206e6f742074686520706560448201526a373234b7339037bbb732b960a91b606482015260840161046c565b600154600080546040516001600160a01b0393841693909116917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a360018054600080546001600160a01b03199081166001600160a01b03841617909155169055565b6002546000906001600160a01b03163314610c405760405162461bcd60e51b815260040161046c9061157c565b6001600160a01b038316610c965760405162461bcd60e51b815260206004820181905260248201527f4272696467653a206d696e7420746f20746865207a65726f2061646472657373604482015260640161046c565b6003546040516370a0823160e01b815230600482015283916001600160a01b0316906370a0823190602401602060405180830381865afa158015610cde573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d029190611541565b1015610d5e5760405162461bcd60e51b815260206004820152602560248201527f4272696467653a20696e73756666696369656e742062616c616e636520666f72604482015264081b5a5b9d60da1b606482015260840161046c565b600454610d6b9083611424565b600490815560035460405163a9059cbb60e01b81526001600160a01b03868116938201939093526024810185905291169063a9059cbb906044016020604051808303816000875af1158015610dc4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610de8919061155a565b506001610815565b6000546001600160a01b03163314610e1a5760405162461bcd60e51b815260040161046c906114fe565b600280546001600160a01b0319166001600160a01b03831690811790915560405181907f6aef1fb5b23d0e109fc7f2b0601019e1edbacd177e31a441ec8548e8dd14f0f790600090a350565b6000546001600160a01b03163314610e905760405162461bcd60e51b815260040161046c906114fe565b600354604051636eb1769f60e11b815233600482015230602482015282916001600160a01b03169063dd62ed3e90604401602060405180830381865afa158015610ede573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f029190611541565b1015610f675760405162461bcd60e51b815260206004820152602e60248201527f427269646765426173653a20696e73756666696369656e7420616c6c6f77616e60448201526d18d948199bdc8819195c1bdcda5d60921b606482015260840161046c565b6003546040516370a0823160e01b815233600482015282916001600160a01b0316906370a0823190602401602060405180830381865afa158015610faf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fd39190611541565b10156110365760405162461bcd60e51b815260206004820152602c60248201527f427269646765426173653a20696e73756666696369656e742062616c616e636560448201526b08199bdc8819195c1bdcda5d60a21b606482015260840161046c565b6003546040516323b872dd60e01b8152336004820152306024820152604481018390526001600160a01b03909116906323b872dd906064016020604051808303816000875af115801561108d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110b1919061155a565b506004546110bf908261144f565b60045560405181815233907fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c90602001610645565b600354604051636eb1769f60e11b815233600482015230602482015260009183916001600160a01b039091169063dd62ed3e90604401602060405180830381865afa158015611147573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061116b9190611541565b10156111ca5760405162461bcd60e51b815260206004820152602860248201527f4272696467653a20696e73756666696369656e7420616c6c6f77616e636520746044820152676f2062726964676560c01b606482015260840161046c565b6003546040516370a0823160e01b815233600482015283916001600160a01b0316906370a0823190602401602060405180830381865afa158015611212573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112369190611541565b10156112935760405162461bcd60e51b815260206004820152602660248201527f4272696467653a20696e73756666696369656e742062616c616e636520746f2060448201526562726964676560d01b606482015260840161046c565b6007546001600160801b03163410156112e95760405162461bcd60e51b81526020600482015260186024820152774272696467653a20696e73756666696369656e742066656560401b604482015260640161046c565b6003546040516323b872dd60e01b8152336004820152306024820152604481018490526001600160a01b03909116906323b872dd906064016020604051808303816000875af1158015611340573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611364919061155a565b50600454611372908361144f565b6004556002546007546040516001600160a01b03909216916001600160801b0390911680156108fc02916000818181858888f193505050501580156113bb573d6000803e3d6000fd5b5060006109f360646109ed6005548661143790919063ffffffff16565b6000546001600160a01b031633146114025760405162461bcd60e51b815260040161046c906114fe565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b600061143082846115d7565b9392505050565b600061143082846115ea565b60006114308284611601565b60006114308284611623565b6001600160a01b038116811461147057600080fd5b50565b60006020828403121561148557600080fd5b81356114308161145b565b6000602082840312156114a257600080fd5b5035919050565b6000602082840312156114bb57600080fd5b81356001600160801b038116811461143057600080fd5b600080604083850312156114e557600080fd5b82356114f08161145b565b946020939093013593505050565b60208082526023908201527f427269646765426173653a2063616c6c6572206973206e6f7420746865206f776040820152623732b960e91b606082015260800190565b60006020828403121561155357600080fd5b5051919050565b60006020828403121561156c57600080fd5b8151801515811461143057600080fd5b60208082526025908201527f54726561744272696467653a2063616c6c6572206973206e6f74207468652062604082015264726964676560d81b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b81810381811115610868576108686115c1565b8082028115828204841417610868576108686115c1565b60008261161e57634e487b7160e01b600052601260045260246000fd5b500490565b80820180821115610868576108686115c156fea26469706673582212201f379719af910c1ea7c8db3dd309a0eeae29739b6f3e1cbb9955906dd2e6508d64736f6c63430008110033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000bcee578e9b5a0f4d19e8d35e628faae293bbce80
-----Decoded View---------------
Arg [0] : _token (address): 0xbCEe578E9B5a0f4d19e8d35E628fAAE293BbcE80
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000bcee578e9b5a0f4d19e8d35e628faae293bbce80
Deployed Bytecode Sourcemap
52790:2061:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28048:108;;;;;;;;;;-1:-1:-1;28048:108:0;;;;;:::i;:::-;;:::i;:::-;;28895:361;;;;;;;;;;-1:-1:-1;28895:361:0;;;;;:::i;:::-;;:::i;28164:78::-;;;;;;;;;;-1:-1:-1;28164:78:0;;;;;:::i;:::-;;:::i;27409:77::-;;;;;;;;;;-1:-1:-1;27409:77:0;;;;;:::i;:::-;;:::i;54370:474::-;;;;;;;;;;-1:-1:-1;54370:474:0;;;;;:::i;:::-;;:::i;:::-;;;1378:14:1;;1371:22;1353:41;;1341:2;1326:18;54370:474:0;;;;;;;;53485:877;;;;;;:::i;:::-;;:::i;28250:110::-;;;;;;;;;;-1:-1:-1;28250:110:0;;;;;:::i;:::-;;:::i;26156:23::-;;;;;;;;;;;;;;;;;;;1551:25:1;;;1539:2;1524:18;26156:23:0;1405:177:1;53225:252:0;;;;;;;;;;-1:-1:-1;53225:252:0;;;;;:::i;:::-;;:::i;27779:261::-;;;;;;;;;;;;;:::i;52866:24::-;;;;;;;;;;-1:-1:-1;52866:24:0;;;;-1:-1:-1;;;;;52866:24:0;;;;;;-1:-1:-1;;;;;2036:32:1;;;2018:51;;2006:2;1991:18;52866:24:0;1847:228:1;29264:632:0;;;;;;;;;;-1:-1:-1;29264:632:0;;;;;:::i;:::-;;:::i;26030:20::-;;;;;;;;;;-1:-1:-1;26030:20:0;;;;-1:-1:-1;;;;;26030:20:0;;;27495:152;;;;;;;;;;-1:-1:-1;27495:152:0;;;;;:::i;:::-;;:::i;28368:519::-;;;;;;;;;;-1:-1:-1;28368:519:0;;;;;:::i;:::-;;:::i;26246:19::-;;;;;;;;;;-1:-1:-1;26246:19:0;;;;-1:-1:-1;;;;;26246:19:0;;;;;;-1:-1:-1;;;;;2452:47:1;;;2434:66;;2422:2;2407:18;26246:19:0;2288:218:1;29904:1107:0;;;;;;:::i;:::-;;:::i;26057:27::-;;;;;;;;;;-1:-1:-1;26057:27:0;;;;-1:-1:-1;;;;;26057:27:0;;;26212;;;;;;;;;;;;;;;;26186:19;;;;;;;;;;;;;;;;27655:116;;;;;;;;;;-1:-1:-1;27655:116:0;;;;;:::i;:::-;;:::i;26091:25::-;;;;;;;;;;-1:-1:-1;26091:25:0;;;;-1:-1:-1;;;;;26091:25:0;;;26127:22;;;;;;;;;;-1:-1:-1;26127:22:0;;;;-1:-1:-1;;;;;26127:22:0;;;28048:108;26859:5;;-1:-1:-1;;;;;26859:5:0;26845:10;:19;26837:67;;;;-1:-1:-1;;;26837:67:0;;;;;;;:::i;:::-;;;;;;;;;28113:5:::1;:25:::0;;-1:-1:-1;;;;;;28113:25:0::1;-1:-1:-1::0;;;;;28113:25:0;;;::::1;::::0;;;::::1;::::0;;28048:108::o;28895:361::-;26859:5;;-1:-1:-1;;;;;26859:5:0;26845:10;:19;26837:67;;;;-1:-1:-1;;;26837:67:0;;;;;;;:::i;:::-;29019:5:::1;::::0;:30:::1;::::0;-1:-1:-1;;;29019:30:0;;29043:4:::1;29019:30;::::0;::::1;2018:51:1::0;29053:7:0;;-1:-1:-1;;;;;29019:5:0::1;::::0;:15:::1;::::0;1991:18:1;;29019:30:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:41;;29011:99;;;::::0;-1:-1:-1;;;29011:99:0;;3532:2:1;29011:99:0::1;::::0;::::1;3514:21:1::0;3571:2;3551:18;;;3544:30;3610:34;3590:18;;;3583:62;-1:-1:-1;;;3661:18:1;;;3654:43;3714:19;;29011:99:0::1;3330:409:1::0;29011:99:0::1;29123:5;::::0;:35:::1;::::0;-1:-1:-1;;;29123:35:0;;29138:10:::1;29123:35;::::0;::::1;3918:51:1::0;3985:18;;;3978:34;;;-1:-1:-1;;;;;29123:5:0;;::::1;::::0;:14:::1;::::0;3891:18:1;;29123:35:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;29180:8:0::1;::::0;:21:::1;::::0;29193:7;29180:12:::1;:21::i;:::-;29169:8;:32:::0;29219:29:::1;::::0;1551:25:1;;;29228:10:0::1;::::0;29219:29:::1;::::0;1539:2:1;1524:18;29219:29:0::1;;;;;;;;28895:361:::0;:::o;28164:78::-;26859:5;;-1:-1:-1;;;;;26859:5:0;26845:10;:19;26837:67;;;;-1:-1:-1;;;26837:67:0;;;;;;;:::i;:::-;28224:4:::1;:10:::0;28164:78::o;27409:77::-;26859:5;;-1:-1:-1;;;;;26859:5:0;26845:10;:19;26837:67;;;;-1:-1:-1;;;26837:67:0;;;;;;;:::i;:::-;27468:4:::1;:10:::0;;-1:-1:-1;;27468:10:0::1;-1:-1:-1::0;;;;;27468:10:0;;;::::1;::::0;;;::::1;::::0;;27409:77::o;54370:474::-;26966:10;;54449:4;;-1:-1:-1;;;;;26966:10:0;26952;:24;26944:74;;;;-1:-1:-1;;;26944:74:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;54474:21:0;::::1;54466:66;;;::::0;-1:-1:-1;;;54466:66:0;;4913:2:1;54466:66:0::1;::::0;::::1;4895:21:1::0;;;4932:18;;;4925:30;4991:34;4971:18;;;4964:62;5043:18;;54466:66:0::1;4711:356:1::0;54466:66:0::1;54573:4;54551:10;:27:::0;54543:66:::1;;;::::0;-1:-1:-1;;;54543:66:0;;5274:2:1;54543:66:0::1;::::0;::::1;5256:21:1::0;5313:2;5293:18;;;5286:30;5352:28;5332:18;;;5325:56;5398:18;;54543:66:0::1;5072:350:1::0;54543:66:0::1;54624:8;::::0;:30:::1;::::0;-1:-1:-1;;;54624:30:0;;-1:-1:-1;;;;;3936:32:1;;;54624:30:0::1;::::0;::::1;3918:51:1::0;3985:18;;;3978:34;;;54624:8:0;;::::1;::::0;:13:::1;::::0;3891:18:1;;54624:30:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;54794:9:0::1;::::0;-1:-1:-1;54670:144:0::1;::::0;-1:-1:-1;;54670:144:0;::::1;;::::0;;54701:4:::1;5828:34:1::0;;-1:-1:-1;;;;;5898:15:1;;5893:2;5878:18;;5871:43;5930:18;;;5923:34;;;54764:15:0::1;5988:2:1::0;5973:18;;5966:34;54670:144:0::1;::::0;5777:3:1;5762:19;54670:144:0::1;;;;;;;-1:-1:-1::0;54832:4:0::1;27020:1;54370:474:::0;;;;:::o;53485:877::-;53540:4;53574:1;53565:6;:10;53557:63;;;;-1:-1:-1;;;53557:63:0;;6213:2:1;53557:63:0;;;6195:21:1;6252:2;6232:18;;;6225:30;6291:34;6271:18;;;6264:62;-1:-1:-1;;;6342:18:1;;;6335:38;6390:19;;53557:63:0;6011:404:1;53557:63:0;53652:4;;-1:-1:-1;;;;;53652:4:0;53639:9;:17;;53631:54;;;;-1:-1:-1;;;53631:54:0;;6622:2:1;53631:54:0;;;6604:21:1;6661:2;6641:18;;;6634:30;-1:-1:-1;;;6680:18:1;;;6673:54;6744:18;;53631:54:0;6420:348:1;53631:54:0;53761:10;;53782:4;;53753:34;;-1:-1:-1;;;;;53761:10:0;;;;-1:-1:-1;;;;;53782:4:0;;;53753:34;;;;;53761:10;53753:34;53761:10;53753:34;53782:4;53761:10;53753:34;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53798:8:0;;:33;;-1:-1:-1;;;53798:33:0;;53812:10;53798:33;;;3918:51:1;3985:18;;;3978:34;;;-1:-1:-1;;;;;53798:8:0;;;;:13;;3891:18:1;;53798:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53893:17;53913:25;53934:3;53913:16;53924:4;;53913:6;:10;;:16;;;;:::i;:::-;:20;;:25::i;:::-;53893:45;;54032:12;;54020:9;:24;54017:80;;;-1:-1:-1;54073:12:0;;54017:80;54109:22;54134:21;:6;54145:9;54134:10;:21::i;:::-;54177:155;;;54200:10;5828:34:1;;54233:4:0;5893:2:1;5878:18;;5871:43;5930:18;;;5923:34;;;54282:15:0;5988:2:1;5973:18;;5966:34;54109:46:0;;-1:-1:-1;54312:9:0;;54177:155;;5777:3:1;5762:19;54177:155:0;;;;;;;-1:-1:-1;54350:4:0;;53485:877;-1:-1:-1;;;53485:877:0:o;28250:110::-;26859:5;;-1:-1:-1;;;;;26859:5:0;26845:10;:19;26837:67;;;;-1:-1:-1;;;26837:67:0;;;;;;;:::i;:::-;28326:12:::1;:26:::0;28250:110::o;53225:252::-;26859:5;;-1:-1:-1;;;;;26859:5:0;26845:10;:19;26837:67;;;;-1:-1:-1;;;26837:67:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;53363:20:0;::::1;53355:66;;;::::0;-1:-1:-1;;;53355:66:0;;6975:2:1;53355:66:0::1;::::0;::::1;6957:21:1::0;7014:2;6994:18;;;6987:30;7053:34;7033:18;;;7026:62;-1:-1:-1;;;7104:18:1;;;7097:31;7145:19;;53355:66:0::1;6773:397:1::0;53355:66:0::1;53442:8;:27:::0;;-1:-1:-1;;;;;;53442:27:0::1;-1:-1:-1::0;;;;;53442:27:0;;;::::1;::::0;;;::::1;::::0;;53225:252::o;27779:261::-;27848:12;;-1:-1:-1;;;;;27848:12:0;27834:10;:26;27826:82;;;;-1:-1:-1;;;27826:82:0;;7377:2:1;27826:82:0;;;7359:21:1;7416:2;7396:18;;;7389:30;7455:34;7435:18;;;7428:62;-1:-1:-1;;;7506:18:1;;;7499:41;7557:19;;27826:82:0;7175:407:1;27826:82:0;27952:12;;;27945:5;;27924:41;;-1:-1:-1;;;;;27952:12:0;;;;27945:5;;;;27924:41;;;27984:12;;;;27976:20;;-1:-1:-1;;;;;;27976:20:0;;;-1:-1:-1;;;;;27984:12:0;;27976:20;;;;28007:25;;;27779:261::o;29264:632::-;26966:10;;29354:4;;-1:-1:-1;;;;;26966:10:0;26952;:24;26944:74;;;;-1:-1:-1;;;26944:74:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;29379:21:0;::::1;29371:66;;;::::0;-1:-1:-1;;;29371:66:0;;4913:2:1;29371:66:0::1;::::0;::::1;4895:21:1::0;;;4932:18;;;4925:30;4991:34;4971:18;;;4964:62;5043:18;;29371:66:0::1;4711:356:1::0;29371:66:0::1;29507:5;::::0;:30:::1;::::0;-1:-1:-1;;;29507:30:0;;29531:4:::1;29507:30;::::0;::::1;2018:51:1::0;29541:6:0;;-1:-1:-1;;;;;29507:5:0::1;::::0;:15:::1;::::0;1991:18:1;;29507:30:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:40;;29499:90;;;::::0;-1:-1:-1;;;29499:90:0;;7789:2:1;29499:90:0::1;::::0;::::1;7771:21:1::0;7828:2;7808:18;;;7801:30;7867:34;7847:18;;;7840:62;-1:-1:-1;;;7918:18:1;;;7911:35;7963:19;;29499:90:0::1;7587:401:1::0;29499:90:0::1;29617:8;::::0;:20:::1;::::0;29630:6;29617:12:::1;:20::i;:::-;29606:8;:31:::0;;;29648:5:::1;::::0;:31:::1;::::0;-1:-1:-1;;;29648:31:0;;-1:-1:-1;;;;;3936:32:1;;;29648:31:0;;::::1;3918:51:1::0;;;;3985:18;;;3978:34;;;29648:5:0;::::1;::::0;:14:::1;::::0;3891:18:1;;29648:31:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;29830:9:0::1;29706:158;::::0;27495:152;26859:5;;-1:-1:-1;;;;;26859:5:0;26845:10;:19;26837:67;;;;-1:-1:-1;;;26837:67:0;;;;;;;:::i;:::-;27565:10:::1;:20:::0;;-1:-1:-1;;;;;;27565:20:0::1;-1:-1:-1::0;;;;;27565:20:0;::::1;::::0;;::::1;::::0;;;27601:38:::1;::::0;27565:20;;27601:38:::1;::::0;-1:-1:-1;;27601:38:0::1;27495:152:::0;:::o;28368:519::-;26859:5;;-1:-1:-1;;;;;26859:5:0;26845:10;:19;26837:67;;;;-1:-1:-1;;;26837:67:0;;;;;;;:::i;:::-;28511:5:::1;::::0;:42:::1;::::0;-1:-1:-1;;;28511:42:0;;28527:10:::1;28511:42;::::0;::::1;8205:34:1::0;28547:4:0::1;8255:18:1::0;;;8248:43;28557:7:0;;-1:-1:-1;;;;;28511:5:0::1;::::0;:15:::1;::::0;8140:18:1;;28511:42:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:53;;28503:112;;;::::0;-1:-1:-1;;;28503:112:0;;8504:2:1;28503:112:0::1;::::0;::::1;8486:21:1::0;8543:2;8523:18;;;8516:30;8582:34;8562:18;;;8555:62;-1:-1:-1;;;8633:18:1;;;8626:44;8687:19;;28503:112:0::1;8302:410:1::0;28503:112:0::1;28634:5;::::0;:27:::1;::::0;-1:-1:-1;;;28634:27:0;;28650:10:::1;28634:27;::::0;::::1;2018:51:1::0;28665:7:0;;-1:-1:-1;;;;;28634:5:0::1;::::0;:15:::1;::::0;1991:18:1;;28634:27:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:38;;28626:95;;;::::0;-1:-1:-1;;;28626:95:0;;8919:2:1;28626:95:0::1;::::0;::::1;8901:21:1::0;8958:2;8938:18;;;8931:30;8997:34;8977:18;;;8970:62;-1:-1:-1;;;9048:18:1;;;9041:42;9100:19;;28626:95:0::1;8717:408:1::0;28626:95:0::1;28734:5;::::0;:54:::1;::::0;-1:-1:-1;;;28734:54:0;;28753:10:::1;28734:54;::::0;::::1;9370:34:1::0;28773:4:0::1;9420:18:1::0;;;9413:43;9472:18;;;9465:34;;;-1:-1:-1;;;;;28734:5:0;;::::1;::::0;:18:::1;::::0;9305::1;;28734:54:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;28810:8:0::1;::::0;:21:::1;::::0;28823:7;28810:12:::1;:21::i;:::-;28799:8;:32:::0;28849:28:::1;::::0;1551:25:1;;;28857:10:0::1;::::0;28849:28:::1;::::0;1539:2:1;1524:18;28849:28:0::1;1405:177:1::0;29904:1107:0;29985:5;;:42;;-1:-1:-1;;;29985:42:0;;30001:10;29985:42;;;8205:34:1;30021:4:0;8255:18:1;;;8248:43;29960:4:0;;30031:6;;-1:-1:-1;;;;;29985:5:0;;;;:15;;8140:18:1;;29985:42:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:52;;29977:105;;;;-1:-1:-1;;;29977:105:0;;9712:2:1;29977:105:0;;;9694:21:1;9751:2;9731:18;;;9724:30;9790:34;9770:18;;;9763:62;-1:-1:-1;;;9841:18:1;;;9834:38;9889:19;;29977:105:0;9510:404:1;29977:105:0;30101:5;;:27;;-1:-1:-1;;;30101:27:0;;30117:10;30101:27;;;2018:51:1;30132:6:0;;-1:-1:-1;;;;;30101:5:0;;:15;;1991:18:1;;30101:27:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:37;;30093:88;;;;-1:-1:-1;;;30093:88:0;;10121:2:1;30093:88:0;;;10103:21:1;10160:2;10140:18;;;10133:30;10199:34;10179:18;;;10172:62;-1:-1:-1;;;10250:18:1;;;10243:36;10296:19;;30093:88:0;9919:402:1;30093:88:0;30249:4;;-1:-1:-1;;;;;30249:4:0;30236:9;:17;;30228:54;;;;-1:-1:-1;;;30228:54:0;;6622:2:1;30228:54:0;;;6604:21:1;6661:2;6641:18;;;6634:30;-1:-1:-1;;;6680:18:1;;;6673:54;6744:18;;30228:54:0;6420:348:1;30228:54:0;30307:5;;:53;;-1:-1:-1;;;30307:53:0;;30326:10;30307:53;;;9370:34:1;30346:4:0;9420:18:1;;;9413:43;9472:18;;;9465:34;;;-1:-1:-1;;;;;30307:5:0;;;;:18;;9305::1;;30307:53:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;30382:8:0;;:20;;30395:6;30382:12;:20::i;:::-;30371:8;:31;30423:10;;30444:4;;30415:34;;-1:-1:-1;;;;;30423:10:0;;;;-1:-1:-1;;;;;30444:4:0;;;30415:34;;;;;30423:10;30415:34;30423:10;30415:34;30444:4;30423:10;30415:34;;;;;;;;;;;;;;;;;;;;;30544:17;30564:25;30585:3;30564:16;30575:4;;30564:6;:10;;:16;;;;:::i;27655:116::-;26859:5;;-1:-1:-1;;;;;26859:5:0;26845:10;:19;26837:67;;;;-1:-1:-1;;;26837:67:0;;;;;;;:::i;:::-;27735:12:::1;:28:::0;;-1:-1:-1;;;;;;27735:28:0::1;-1:-1:-1::0;;;;;27735:28:0;;;::::1;::::0;;;::::1;::::0;;27655:116::o;3253:98::-;3311:7;3338:5;3342:1;3338;:5;:::i;:::-;3331:12;3253:98;-1:-1:-1;;;3253:98:0:o;3610:::-;3668:7;3695:5;3699:1;3695;:5;:::i;4009:98::-;4067:7;4094:5;4098:1;4094;:5;:::i;2872:98::-;2930:7;2957:5;2961:1;2957;:5;:::i;14:131:1:-;-1:-1:-1;;;;;89:31:1;;79:42;;69:70;;135:1;132;125:12;69:70;14:131;:::o;150:247::-;209:6;262:2;250:9;241:7;237:23;233:32;230:52;;;278:1;275;268:12;230:52;317:9;304:23;336:31;361:5;336:31;:::i;402:180::-;461:6;514:2;502:9;493:7;489:23;485:32;482:52;;;530:1;527;520:12;482:52;-1:-1:-1;553:23:1;;402:180;-1:-1:-1;402:180:1:o;587:301::-;646:6;699:2;687:9;678:7;674:23;670:32;667:52;;;715:1;712;705:12;667:52;754:9;741:23;-1:-1:-1;;;;;797:5:1;793:46;786:5;783:57;773:85;;854:1;851;844:12;893:315;961:6;969;1022:2;1010:9;1001:7;997:23;993:32;990:52;;;1038:1;1035;1028:12;990:52;1077:9;1064:23;1096:31;1121:5;1096:31;:::i;:::-;1146:5;1198:2;1183:18;;;;1170:32;;-1:-1:-1;;;893:315:1:o;2737:399::-;2939:2;2921:21;;;2978:2;2958:18;;;2951:30;3017:34;3012:2;2997:18;;2990:62;-1:-1:-1;;;3083:2:1;3068:18;;3061:33;3126:3;3111:19;;2737:399::o;3141:184::-;3211:6;3264:2;3252:9;3243:7;3239:23;3235:32;3232:52;;;3280:1;3277;3270:12;3232:52;-1:-1:-1;3303:16:1;;3141:184;-1:-1:-1;3141:184:1:o;4023:277::-;4090:6;4143:2;4131:9;4122:7;4118:23;4114:32;4111:52;;;4159:1;4156;4149:12;4111:52;4191:9;4185:16;4244:5;4237:13;4230:21;4223:5;4220:32;4210:60;;4266:1;4263;4256:12;4305:401;4507:2;4489:21;;;4546:2;4526:18;;;4519:30;4585:34;4580:2;4565:18;;4558:62;-1:-1:-1;;;4651:2:1;4636:18;;4629:35;4696:3;4681:19;;4305:401::o;10326:127::-;10387:10;10382:3;10378:20;10375:1;10368:31;10418:4;10415:1;10408:15;10442:4;10439:1;10432:15;10458:128;10525:9;;;10546:11;;;10543:37;;;10560:18;;:::i;10591:168::-;10664:9;;;10695;;10712:15;;;10706:22;;10692:37;10682:71;;10733:18;;:::i;10764:217::-;10804:1;10830;10820:132;;10874:10;10869:3;10865:20;10862:1;10855:31;10909:4;10906:1;10899:15;10937:4;10934:1;10927:15;10820:132;-1:-1:-1;10966:9:1;;10764:217::o;10986:125::-;11051:9;;;11072:10;;;11069:36;;;11085:18;;:::i
Swarm Source
ipfs://1f379719af910c1ea7c8db3dd309a0eeae29739b6f3e1cbb9955906dd2e6508d
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
[ 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.