Source Code
Overview
MATIC Balance
0 MATIC
More Info
ContractCreator:
Multichain Info
N/A
Latest 1 from a total of 1 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
Value | ||||
---|---|---|---|---|---|---|---|---|---|
0x60806040 | 29231992 | 494 days ago | IN | Create: ChildMintableERC20 | 0 MATIC | 0.00515402 |
Loading...
Loading
Contract Name:
ChildMintableERC20
Compiler Version
v0.8.0+commit.c7dfd78e
Contract Source Code (Solidity)
/** *Submitted for verification at mumbai.polygonscan.com on 2022-11-19 */ // File: @openzeppelin/contracts/GSN/Context.sol // SPDX-License-Identifier: MIT 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 GSN 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 memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } // File: @openzeppelin/contracts/token/ERC20/IERC20.sol pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @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 `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); } // File: @openzeppelin/contracts/math/SafeMath.sol pragma solidity ^0.8.0; /** * @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) { require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold 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; } } // File: @openzeppelin/contracts/utils/Address.sol pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // According to EIP-1052, 0x0 is the value returned for not-yet created accounts // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned // for accounts without code, i.e. `keccak256('')` bytes32 codehash; bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470; // solhint-disable-next-line no-inline-assembly assembly { codehash := extcodehash(account) } return (codehash != accountHash && codehash != 0x0); } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (bool success, ) = recipient.call{ value: amount }(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain`call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { return _functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); return _functionCallWithValue(target, data, value, errorMessage); } function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) { require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{ value: weiValue }(data); if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: @openzeppelin/contracts/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.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin guidelines: functions revert instead * of 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 { using SafeMath for uint256; using Address for address; mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; uint8 private _decimals; /** * @dev Sets the values for {name} and {symbol}, initializes {decimals} with * a default value of 18. * * To select a different value for {decimals}, use {_setupDecimals}. * * All three of these values are immutable: they can only be set once during * construction. */ constructor (string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _decimals = 18; } /** * @dev Returns the name of the token. */ function name() public view returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view 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 value {ERC20} uses, unless {_setupDecimals} is * called. * * 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 returns (uint8) { return _decimals; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, 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}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), 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}; * * 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) public virtual override returns (bool) { _transfer(sender, recipient, amount); _approve(sender, _msgSender(), _allowances[sender][_msgSender()].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 {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) { _approve(_msgSender(), spender, _allowances[_msgSender()][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 {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) { _approve(_msgSender(), spender, _allowances[_msgSender()][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 virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance"); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(sender, recipient, 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 * * - `to` 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 = _totalSupply.add(amount); _balances[account] = _balances[account].add(amount); emit Transfer(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); _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance"); _totalSupply = _totalSupply.sub(amount); emit Transfer(account, address(0), 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 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 Sets {decimals} to a value other than the default one of 18. * * WARNING: This function should only be called from the constructor. Most * applications that interact with token contracts will not expect * {decimals} to ever change, and may work incorrectly if it does. */ function _setupDecimals(uint8 decimals_) internal { _decimals = decimals_; } /** * @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 to 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 { } } // File: @openzeppelin/contracts/utils/EnumerableSet.sol pragma solidity ^0.8.0; /** * @dev Library for managing * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive * types. * * Sets have the following properties: * * - Elements are added, removed, and checked for existence in constant time * (O(1)). * - Elements are enumerated in O(n). No guarantees are made on the ordering. * * ``` * contract Example { * // Add the library methods * using EnumerableSet for EnumerableSet.AddressSet; * * // Declare a set state variable * EnumerableSet.AddressSet private mySet; * } * ``` * * As of v3.0.0, only sets of type `address` (`AddressSet`) and `uint256` * (`UintSet`) are supported. */ library EnumerableSet { // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Set type with // bytes32 values. // The Set implementation uses private functions, and user-facing // implementations (such as AddressSet) are just wrappers around the // underlying Set. // This means that we can only create new EnumerableSets for types that fit // in bytes32. struct Set { // Storage of set values bytes32[] _values; // Position of the value in the `values` array, plus 1 because index 0 // means a value is not in the set. mapping (bytes32 => uint256) _indexes; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function _add(Set storage set, bytes32 value) private returns (bool) { if (!_contains(set, value)) { set._values.push(value); // The value is stored at length-1, but we add 1 to all indexes // and use 0 as a sentinel value set._indexes[value] = set._values.length; return true; } else { return false; } } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function _remove(Set storage set, bytes32 value) private returns (bool) { // We read and store the value's index to prevent multiple reads from the same storage slot uint256 valueIndex = set._indexes[value]; if (valueIndex != 0) { // Equivalent to contains(set, value) // To delete an element from the _values array in O(1), we swap the element to delete with the last one in // the array, and then remove the last element (sometimes called as 'swap and pop'). // This modifies the order of the array, as noted in {at}. uint256 toDeleteIndex = valueIndex - 1; uint256 lastIndex = set._values.length - 1; // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement. bytes32 lastvalue = set._values[lastIndex]; // Move the last value to the index where the value to delete is set._values[toDeleteIndex] = lastvalue; // Update the index for the moved value set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based // Delete the slot where the moved value was stored set._values.pop(); // Delete the index for the deleted slot delete set._indexes[value]; return true; } else { return false; } } /** * @dev Returns true if the value is in the set. O(1). */ function _contains(Set storage set, bytes32 value) private view returns (bool) { return set._indexes[value] != 0; } /** * @dev Returns the number of values on the set. O(1). */ function _length(Set storage set) private view returns (uint256) { return set._values.length; } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at(Set storage set, uint256 index) private view returns (bytes32) { require(set._values.length > index, "EnumerableSet: index out of bounds"); return set._values[index]; } // AddressSet struct AddressSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(AddressSet storage set, address value) internal returns (bool) { return _add(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(AddressSet storage set, address value) internal returns (bool) { return _remove(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(AddressSet storage set, address value) internal view returns (bool) { return _contains(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns the number of values in the set. O(1). */ function length(AddressSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(AddressSet storage set, uint256 index) internal view returns (address) { return address(uint160(uint256(_at(set._inner, index)))); } // UintSet struct UintSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(UintSet storage set, uint256 value) internal returns (bool) { return _add(set._inner, bytes32(value)); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(UintSet storage set, uint256 value) internal returns (bool) { return _remove(set._inner, bytes32(value)); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(UintSet storage set, uint256 value) internal view returns (bool) { return _contains(set._inner, bytes32(value)); } /** * @dev Returns the number of values on the set. O(1). */ function length(UintSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(UintSet storage set, uint256 index) internal view returns (uint256) { return uint256(_at(set._inner, index)); } } // File: @openzeppelin/contracts/access/AccessControl.sol pragma solidity ^0.8.0; /** * @dev Contract module that allows children to implement role-based access * control mechanisms. * * Roles are referred to by their `bytes32` identifier. These should be exposed * in the external API and be unique. The best way to achieve this is by * using `public constant` hash digests: * * ``` * bytes32 public constant MY_ROLE = keccak256("MY_ROLE"); * ``` * * Roles can be used to represent a set of permissions. To restrict access to a * function call, use {hasRole}: * * ``` * function foo() public { * require(hasRole(MY_ROLE, msg.sender)); * ... * } * ``` * * Roles can be granted and revoked dynamically via the {grantRole} and * {revokeRole} functions. Each role has an associated admin role, and only * accounts that have a role's admin role can call {grantRole} and {revokeRole}. * * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means * that only accounts with this role will be able to grant or revoke other * roles. More complex role relationships can be created by using * {_setRoleAdmin}. * * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to * grant and revoke this role. Extra precautions should be taken to secure * accounts that have been granted it. */ abstract contract AccessControl is Context { using EnumerableSet for EnumerableSet.AddressSet; using Address for address; struct RoleData { EnumerableSet.AddressSet members; bytes32 adminRole; } mapping (bytes32 => RoleData) private _roles; bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00; /** * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` * * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite * {RoleAdminChanged} not being emitted signaling this. * * _Available since v3.1._ */ event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole); /** * @dev Emitted when `account` is granted `role`. * * `sender` is the account that originated the contract call, an admin role * bearer except when using {_setupRole}. */ event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Emitted when `account` is revoked `role`. * * `sender` is the account that originated the contract call: * - if using `revokeRole`, it is the admin role bearer * - if using `renounceRole`, it is the role bearer (i.e. `account`) */ event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) public view returns (bool) { return _roles[role].members.contains(account); } /** * @dev Returns the number of accounts that have `role`. Can be used * together with {getRoleMember} to enumerate all bearers of a role. */ function getRoleMemberCount(bytes32 role) public view returns (uint256) { return _roles[role].members.length(); } /** * @dev Returns one of the accounts that have `role`. `index` must be a * value between 0 and {getRoleMemberCount}, non-inclusive. * * Role bearers are not sorted in any particular way, and their ordering may * change at any point. * * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure * you perform all queries on the same block. See the following * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post] * for more information. */ function getRoleMember(bytes32 role, uint256 index) public view returns (address) { return _roles[role].members.at(index); } /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) public view returns (bytes32) { return _roles[role].adminRole; } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) public virtual { require(hasRole(_roles[role].adminRole, _msgSender()), "AccessControl: sender must be an admin to grant"); _grantRole(role, account); } /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) public virtual { require(hasRole(_roles[role].adminRole, _msgSender()), "AccessControl: sender must be an admin to revoke"); _revokeRole(role, account); } /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been granted `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) public virtual { require(account == _msgSender(), "AccessControl: can only renounce roles for self"); _revokeRole(role, account); } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. Note that unlike {grantRole}, this function doesn't perform any * checks on the calling account. * * [WARNING] * ==== * This function should only be called from the constructor when setting * up the initial roles for the system. * * Using this function in any other way is effectively circumventing the admin * system imposed by {AccessControl}. * ==== */ function _setupRole(bytes32 role, address account) internal virtual { _grantRole(role, account); } /** * @dev Sets `adminRole` as ``role``'s admin role. * * Emits a {RoleAdminChanged} event. */ function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual { emit RoleAdminChanged(role, _roles[role].adminRole, adminRole); _roles[role].adminRole = adminRole; } function _grantRole(bytes32 role, address account) private { if (_roles[role].members.add(account)) { emit RoleGranted(role, account, _msgSender()); } } function _revokeRole(bytes32 role, address account) private { if (_roles[role].members.remove(account)) { emit RoleRevoked(role, account, _msgSender()); } } } // File: contracts/common/AccessControlMixin.sol pragma solidity 0.8.0; contract AccessControlMixin is AccessControl { string private _revertMsg; function _setupContractId(string memory contractId) internal { _revertMsg = string(abi.encodePacked(contractId, ": INSUFFICIENT_PERMISSIONS")); } modifier only(bytes32 role) { require( hasRole(role, _msgSender()), _revertMsg ); _; } } // File: contracts/child/ChildToken/IChildToken.sol pragma solidity 0.8.0; interface IChildToken { function deposit(address user, bytes calldata depositData) external; } // File: contracts/common/Initializable.sol pragma solidity 0.8.0; contract Initializable { bool inited = false; modifier initializer() { require(!inited, "already inited"); _; inited = true; } } // File: contracts/common/EIP712Base.sol pragma solidity 0.8.0; contract EIP712Base is Initializable { struct EIP712Domain { string name; string version; address verifyingContract; bytes32 salt; } string constant public ERC712_VERSION = "1"; bytes32 internal constant EIP712_DOMAIN_TYPEHASH = keccak256( bytes( "EIP712Domain(string name,string version,address verifyingContract,bytes32 salt)" ) ); bytes32 internal domainSeperator; // supposed to be called once while initializing. // one of the contractsa that inherits this contract follows proxy pattern // so it is not possible to do this in a constructor function _initializeEIP712( string memory name ) internal initializer { _setDomainSeperator(name); } function _setDomainSeperator(string memory name) internal { domainSeperator = keccak256( abi.encode( EIP712_DOMAIN_TYPEHASH, keccak256(bytes(name)), keccak256(bytes(ERC712_VERSION)), address(this), bytes32(getChainId()) ) ); } function getDomainSeperator() public view returns (bytes32) { return domainSeperator; } function getChainId() public view returns (uint256) { uint256 id; assembly { id := chainid() } return id; } /** * Accept message hash and returns hash message in EIP712 compatible form * So that it can be used to recover signer from signature signed using EIP712 formatted data * https://eips.ethereum.org/EIPS/eip-712 * "\\x19" makes the encoding deterministic * "\\x01" is the version byte to make it compatible to EIP-191 */ function toTypedMessageHash(bytes32 messageHash) internal view returns (bytes32) { return keccak256( abi.encodePacked("\x19\x01", getDomainSeperator(), messageHash) ); } } // File: contracts/common/NativeMetaTransaction.sol pragma solidity 0.8.0; contract NativeMetaTransaction is EIP712Base { using SafeMath for uint256; bytes32 private constant META_TRANSACTION_TYPEHASH = keccak256( bytes( "MetaTransaction(uint256 nonce,address from,bytes functionSignature)" ) ); event MetaTransactionExecuted( address userAddress, address relayerAddress, bytes functionSignature ); mapping(address => uint256) nonces; /* * Meta transaction structure. * No point of including value field here as if user is doing value transfer then he has the funds to pay for gas * He should call the desired function directly in that case. */ struct MetaTransaction { uint256 nonce; address from; bytes functionSignature; } function executeMetaTransaction( address userAddress, bytes memory functionSignature, bytes32 sigR, bytes32 sigS, uint8 sigV ) public payable returns (bytes memory) { MetaTransaction memory metaTx = MetaTransaction({ nonce: nonces[userAddress], from: userAddress, functionSignature: functionSignature }); require( verify(userAddress, metaTx, sigR, sigS, sigV), "Signer and signature do not match" ); // increase nonce for user (to avoid re-use) ++nonces[userAddress]; emit MetaTransactionExecuted( userAddress, msg.sender, functionSignature ); // Append userAddress and relayer address at the end to extract it from calling context (bool success, bytes memory returnData) = address(this).call( abi.encodePacked(functionSignature, userAddress) ); require(success, "Function call not successful"); return returnData; } function hashMetaTransaction(MetaTransaction memory metaTx) internal pure returns (bytes32) { return keccak256( abi.encode( META_TRANSACTION_TYPEHASH, metaTx.nonce, metaTx.from, keccak256(metaTx.functionSignature) ) ); } function getNonce(address user) public view returns (uint256 nonce) { nonce = nonces[user]; } function verify( address signer, MetaTransaction memory metaTx, bytes32 sigR, bytes32 sigS, uint8 sigV ) internal view returns (bool) { require(signer != address(0), "NativeMetaTransaction: INVALID_SIGNER"); return signer == ecrecover( toTypedMessageHash(hashMetaTransaction(metaTx)), sigV, sigR, sigS ); } } // File: contracts/common/ContextMixin.sol pragma solidity 0.8.0; abstract contract ContextMixin { function msgSender() internal view returns (address sender) { if (msg.sender == address(this)) { bytes memory array = msg.data; uint256 index = msg.data.length; assembly { // Load the 32 bytes word from memory with the address on the lower 20 bytes, and mask those. sender := and( mload(add(array, index)), 0xffffffffffffffffffffffffffffffffffffffff ) } } else { sender = msg.sender; } return sender; } } // File: contracts/child/ChildToken/ChildMintableERC20.sol pragma solidity 0.8.0; contract ChildMintableERC20 is ERC20, IChildToken, AccessControlMixin, NativeMetaTransaction, ContextMixin { bytes32 public constant DEPOSITOR_ROLE = keccak256("DEPOSITOR_ROLE"); constructor( string memory name_, string memory symbol_, uint8 decimals_, address childChainManager ) ERC20(name_, symbol_) { _setupContractId("ChildMintableERC20"); _setupDecimals(decimals_); _setupRole(DEFAULT_ADMIN_ROLE, _msgSender()); _setupRole(DEPOSITOR_ROLE, childChainManager); _initializeEIP712(name_); } // This is to support Native meta transactions // never use msg.sender directly, use _msgSender() instead function _msgSender() internal override view returns (address sender) { return ContextMixin.msgSender(); } /** * @notice called when token is deposited on root chain * @dev Should be callable only by ChildChainManager * Should handle deposit by minting the required amount for user * Make sure minting is done only by this function * @param user user address for whom deposit is being done * @param depositData abi encoded amount */ function deposit(address user, bytes calldata depositData) external override only(DEPOSITOR_ROLE) { uint256 amount = abi.decode(depositData, (uint256)); _mint(user, amount); } /** * @notice called when user wants to withdraw tokens back to root chain * @dev Should burn user's tokens. This transaction will be verified when exiting on root chain * @param amount amount of tokens to withdraw */ function withdraw(uint256 amount) external { _burn(_msgSender(), amount); } /** * @notice Example function to handle minting tokens on matic chain * @dev Minting can be done as per requirement, * This implementation allows only admin to mint tokens but it can be changed as per requirement * @param user user for whom tokens are being minted * @param amount amount of token to mint */ function mint(address user, uint256 amount) public only(DEFAULT_ADMIN_ROLE) { _mint(user, amount); } }
[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"uint8","name":"decimals_","type":"uint8"},{"internalType":"address","name":"childChainManager","type":"address"}],"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":false,"internalType":"address","name":"userAddress","type":"address"},{"indexed":false,"internalType":"address","name":"relayerAddress","type":"address"},{"indexed":false,"internalType":"bytes","name":"functionSignature","type":"bytes"}],"name":"MetaTransactionExecuted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEPOSITOR_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ERC712_VERSION","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":"user","type":"address"},{"internalType":"bytes","name":"depositData","type":"bytes"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"userAddress","type":"address"},{"internalType":"bytes","name":"functionSignature","type":"bytes"},{"internalType":"bytes32","name":"sigR","type":"bytes32"},{"internalType":"bytes32","name":"sigS","type":"bytes32"},{"internalType":"uint8","name":"sigV","type":"uint8"}],"name":"executeMetaTransaction","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"getChainId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getDomainSeperator","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"getNonce","outputs":[{"internalType":"uint256","name":"nonce","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getRoleMember","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleMemberCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"address","name":"user","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"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"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526008805460ff191690553480156200001b57600080fd5b5060405162002533380380620025338339810160408190526200003e9162000510565b83518490849062000057906003906020850190620003e1565b5080516200006d906004906020840190620003e1565b50506005805460ff19166012908117909155604080518082019091529081527104368696c644d696e7461626c6545524332360741b6020820152620000b3915062000115565b620000be8262000152565b620000d46000620000ce62000168565b62000185565b620001007f8f4f2da22e8ac8f11e15f9fc141cddbb5deea8800186560abb6e68c5496619a98262000185565b6200010b8462000191565b50505050620006cc565b80604051602001620001289190620005af565b604051602081830303815290604052600790805190602001906200014e929190620003e1565b5050565b6005805460ff191660ff92909216919091179055565b60006200017f620001db60201b62000b471760201c565b90505b90565b6200014e828262000239565b60085460ff1615620001c05760405162461bcd60e51b8152600401620001b7906200061e565b60405180910390fd5b620001cb81620002b4565b506008805460ff19166001179055565b6000333014156200023457600080368080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505050503601516001600160a01b03169150620001829050565b503390565b60008281526006602090815260409091206200026091839062000ba362000356821b17901c565b156200014e576200027062000168565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6040518060800160405280604f8152602001620024e4604f913980516020918201208251838301206040805180820190915260018152603160f81b930192909252907fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc6306200032262000376565b60405162000338959493929190602001620005f2565b60408051601f19818403018152919052805160209091012060095550565b60006200036d836001600160a01b0384166200037a565b90505b92915050565b4690565b6000620003888383620003c9565b620003c05750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915562000370565b50600062000370565b60009081526001919091016020526040902054151590565b828054620003ef9062000679565b90600052602060002090601f0160209004810192826200041357600085556200045e565b82601f106200042e57805160ff19168380011785556200045e565b828001600101855582156200045e579182015b828111156200045e57825182559160200191906001019062000441565b506200046c92915062000470565b5090565b5b808211156200046c576000815560010162000471565b600082601f83011262000498578081fd5b81516001600160401b0380821115620004b557620004b5620006b6565b604051601f8301601f191681016020018281118282101715620004dc57620004dc620006b6565b604052828152848301602001861015620004f4578384fd5b6200050783602083016020880162000646565b95945050505050565b6000806000806080858703121562000526578384fd5b84516001600160401b03808211156200053d578586fd5b6200054b8883890162000487565b9550602087015191508082111562000561578485fd5b50620005708782880162000487565b935050604085015160ff8116811462000587578283fd5b60608601519092506001600160a01b0381168114620005a4578182fd5b939692955090935050565b60008251620005c381846020870162000646565b7f3a20494e53554646494349454e545f5045524d495353494f4e53000000000000920191825250601a01919050565b948552602085019390935260408401919091526001600160a01b03166060830152608082015260a00190565b6020808252600e908201526d185b1c9958591e481a5b9a5d195960921b604082015260600190565b60005b838110156200066357818101518382015260200162000649565b8381111562000673576000848401525b50505050565b6002810460018216806200068e57607f821691505b60208210811415620006b057634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b611e0880620006dc6000396000f3fe6080604052600436106101b75760003560e01c806339509351116100ec578063a3b0b5a31161008a578063ca15c87311610064578063ca15c87314610498578063cf2c52cb146104b8578063d547741f146104d8578063dd62ed3e146104f8576101b7565b8063a3b0b5a314610443578063a457c2d714610458578063a9059cbb14610478576101b7565b80639010d07c116100c65780639010d07c146103cc57806391d14854146103f957806395d89b4114610419578063a217fddf1461042e576101b7565b8063395093511461036c57806340c10f191461038c57806370a08231146103ac576101b7565b8063248a9ca3116101595780632f2ff15d116101335780632f2ff15d146102f5578063313ce567146103155780633408e4701461033757806336568abe1461034c576101b7565b8063248a9ca3146102935780632d0335ab146102b35780632e1a7d4d146102d3576101b7565b80630f7e5970116101955780630f7e59701461022757806318160ddd1461023c57806320379ee51461025e57806323b872dd14610273576101b7565b806306fdde03146101bc578063095ea7b3146101e75780630c53c51c14610214575b600080fd5b3480156101c857600080fd5b506101d1610518565b6040516101de9190611798565b60405180910390f35b3480156101f357600080fd5b506102076102023660046115e4565b6105ab565b6040516101de9190611742565b6101d161022236600461150d565b6105c9565b34801561023357600080fd5b506101d161073c565b34801561024857600080fd5b50610251610759565b6040516101de919061174d565b34801561026a57600080fd5b5061025161075f565b34801561027f57600080fd5b5061020761028e366004611454565b610765565b34801561029f57600080fd5b506102516102ae36600461160d565b6107ec565b3480156102bf57600080fd5b506102516102ce366004611408565b610804565b3480156102df57600080fd5b506102f36102ee36600461160d565b61081f565b005b34801561030157600080fd5b506102f3610310366004611625565b610833565b34801561032157600080fd5b5061032a61087b565b6040516101de9190611bff565b34801561034357600080fd5b50610251610884565b34801561035857600080fd5b506102f3610367366004611625565b610888565b34801561037857600080fd5b506102076103873660046115e4565b6108ca565b34801561039857600080fd5b506102f36103a73660046115e4565b610918565b3480156103b857600080fd5b506102516103c7366004611408565b610956565b3480156103d857600080fd5b506103ec6103e7366004611647565b610971565b6040516101de9190611702565b34801561040557600080fd5b50610207610414366004611625565b610990565b34801561042557600080fd5b506101d16109a8565b34801561043a57600080fd5b506102516109b7565b34801561044f57600080fd5b506102516109bc565b34801561046457600080fd5b506102076104733660046115e4565b6109e0565b34801561048457600080fd5b506102076104933660046115e4565b610a48565b3480156104a457600080fd5b506102516104b336600461160d565b610a5c565b3480156104c457600080fd5b506102f36104d336600461148f565b610a73565b3480156104e457600080fd5b506102f36104f3366004611625565b610ae2565b34801561050457600080fd5b50610251610513366004611422565b610b1c565b60606003805461052790611c78565b80601f016020809104026020016040519081016040528092919081815260200182805461055390611c78565b80156105a05780601f10610575576101008083540402835291602001916105a0565b820191906000526020600020905b81548152906001019060200180831161058357829003601f168201915b505050505090505b90565b60006105bf6105b8610bb8565b8484610bc7565b5060015b92915050565b60408051606081810183526001600160a01b0388166000818152600a6020908152908590205484528301529181018690526106078782878787610c7b565b61062c5760405162461bcd60e51b815260040161062390611a6e565b60405180910390fd5b6001600160a01b0387166000908152600a60205260408120805490919061065290611cb3565b909155506040517f5845892132946850460bff5a0083f71031bc5bf9aadcd40f1de79423eac9b10b9061068a90899033908a90611716565b60405180910390a1600080306001600160a01b0316888a6040516020016106b29291906116b0565b60408051601f19818403018152908290526106cc91611694565b6000604051808303816000865af19150503d8060008114610709576040519150601f19603f3d011682016040523d82523d6000602084013e61070e565b606091505b5091509150816107305760405162461bcd60e51b81526004016106239061196b565b98975050505050505050565b604051806040016040528060018152602001603160f81b81525081565b60025490565b60095490565b6000610772848484610d21565b6107e28461077e610bb8565b6107dd85604051806060016040528060288152602001611d86602891396001600160a01b038a166000908152600160205260408120906107bc610bb8565b6001600160a01b031681526020810191909152604001600020549190610e36565b610bc7565b5060019392505050565b6000818152600660205260409020600201545b919050565b6001600160a01b03166000908152600a602052604090205490565b61083061082a610bb8565b82610e70565b50565b60008281526006602052604090206002015461085190610414610bb8565b61086d5760405162461bcd60e51b8152600401610623906118da565b6108778282610f52565b5050565b60055460ff1690565b4690565b610890610bb8565b6001600160a01b0316816001600160a01b0316146108c05760405162461bcd60e51b815260040161062390611b79565b6108778282610fbb565b60006105bf6108d7610bb8565b846107dd85600160006108e8610bb8565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490611024565b600061092681610414610bb8565b6007906109465760405162461bcd60e51b815260040161062391906117ab565b506109518383611053565b505050565b6001600160a01b031660009081526020819052604090205490565b60008281526006602052604081206109899083611107565b9392505050565b60008281526006602052604081206109899083611113565b60606004805461052790611c78565b600081565b7f8f4f2da22e8ac8f11e15f9fc141cddbb5deea8800186560abb6e68c5496619a981565b60006105bf6109ed610bb8565b846107dd85604051806060016040528060258152602001611dae6025913960016000610a17610bb8565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190610e36565b60006105bf610a55610bb8565b8484610d21565b60008181526006602052604081206105c390611128565b7f8f4f2da22e8ac8f11e15f9fc141cddbb5deea8800186560abb6e68c5496619a9610aa081610414610bb8565b600790610ac05760405162461bcd60e51b815260040161062391906117ab565b506000610acf8385018561160d565b9050610adb8582611053565b5050505050565b600082815260066020526040902060020154610b0090610414610bb8565b6108c05760405162461bcd60e51b8152600401610623906119d9565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b600033301415610b9e57600080368080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505050503601516001600160a01b031691506105a89050565b503390565b6000610989836001600160a01b038416611133565b6000610bc2610b47565b905090565b6001600160a01b038316610bed5760405162461bcd60e51b815260040161062390611b35565b6001600160a01b038216610c135760405162461bcd60e51b815260040161062390611929565b6001600160a01b0380841660008181526001602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92590610c6e90859061174d565b60405180910390a3505050565b60006001600160a01b038616610ca35760405162461bcd60e51b815260040161062390611a29565b6001610cb6610cb18761117d565b6111db565b83868660405160008152602001604052604051610cd6949392919061177a565b6020604051602081039080840390855afa158015610cf8573d6000803e3d6000fd5b505050602060405103516001600160a01b0316866001600160a01b031614905095945050505050565b6001600160a01b038316610d475760405162461bcd60e51b815260040161062390611af0565b6001600160a01b038216610d6d5760405162461bcd60e51b815260040161062390611897565b610d78838383610951565b610db581604051806060016040528060268152602001611d60602691396001600160a01b0386166000908152602081905260409020549190610e36565b6001600160a01b038085166000908152602081905260408082209390935590841681522054610de49082611024565b6001600160a01b0380841660008181526020819052604090819020939093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610c6e90859061174d565b60008184841115610e5a5760405162461bcd60e51b81526004016106239190611798565b506000610e678486611c31565b95945050505050565b6001600160a01b038216610e965760405162461bcd60e51b815260040161062390611aaf565b610ea282600083610951565b610edf81604051806060016040528060228152602001611cfb602291396001600160a01b0385166000908152602081905260409020549190610e36565b6001600160a01b038316600090815260208190526040902055600254610f0590826111f7565b6002556040516000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610f4690859061174d565b60405180910390a35050565b6000828152600660205260409020610f6a9082610ba3565b1561087757610f77610bb8565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000828152600660205260409020610fd39082611239565b1561087757610fe0610bb8565b6001600160a01b0316816001600160a01b0316837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45050565b6000806110318385611c19565b9050838110156109895760405162461bcd60e51b8152600401610623906119a2565b6001600160a01b0382166110795760405162461bcd60e51b815260040161062390611bc8565b61108560008383610951565b6002546110929082611024565b6002556001600160a01b0382166000908152602081905260409020546110b89082611024565b6001600160a01b0383166000818152602081905260408082209390935591519091907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610f4690859061174d565b6000610989838361124e565b6000610989836001600160a01b0384166112a7565b60006105c3826112bf565b600061113f83836112a7565b611175575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556105c3565b5060006105c3565b6000604051806080016040528060438152602001611d1d60439139805160209182012083518483015160408087015180519086012090516111be9501611756565b604051602081830303815290604052805190602001209050919050565b60006111e561075f565b826040516020016111be9291906116e7565b600061098983836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610e36565b6000610989836001600160a01b0384166112c3565b815460009082106112715760405162461bcd60e51b815260040161062390611855565b82600001828154811061129457634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905092915050565b60009081526001919091016020526040902054151590565b5490565b600081815260018301602052604081205480156113d65760006112e7600183611c31565b85549091506000906112fb90600190611c31565b9050600086600001828154811061132257634e487b7160e01b600052603260045260246000fd5b906000526020600020015490508087600001848154811061135357634e487b7160e01b600052603260045260246000fd5b60009182526020909120015561136a836001611c19565b6000828152600189016020526040902055865487908061139a57634e487b7160e01b600052603160045260246000fd5b600190038181906000526020600020016000905590558660010160008781526020019081526020016000206000905560019450505050506105c3565b60009150506105c3565b80356001600160a01b03811681146107ff57600080fd5b803560ff811681146107ff57600080fd5b600060208284031215611419578081fd5b610989826113e0565b60008060408385031215611434578081fd5b61143d836113e0565b915061144b602084016113e0565b90509250929050565b600080600060608486031215611468578081fd5b611471846113e0565b925061147f602085016113e0565b9150604084013590509250925092565b6000806000604084860312156114a3578283fd5b6114ac846113e0565b9250602084013567ffffffffffffffff808211156114c8578384fd5b818601915086601f8301126114db578384fd5b8135818111156114e9578485fd5b8760208285010111156114fa578485fd5b6020830194508093505050509250925092565b600080600080600060a08688031215611524578081fd5b61152d866113e0565b945060208087013567ffffffffffffffff8082111561154a578384fd5b818901915089601f83011261155d578384fd5b81358181111561156f5761156f611ce4565b604051601f8201601f191681018501838111828210171561159257611592611ce4565b60405281815283820185018c10156115a8578586fd5b8185850186830137908101909301849052509094505060408601359250606086013591506115d8608087016113f7565b90509295509295909350565b600080604083850312156115f6578182fd5b6115ff836113e0565b946020939093013593505050565b60006020828403121561161e578081fd5b5035919050565b60008060408385031215611637578182fd5b8235915061144b602084016113e0565b60008060408385031215611659578182fd5b50508035926020909101359150565b60008151808452611680816020860160208601611c48565b601f01601f19169290920160200192915050565b600082516116a6818460208701611c48565b9190910192915050565b600083516116c2818460208801611c48565b60609390931b6bffffffffffffffffffffffff19169190920190815260140192915050565b61190160f01b81526002810192909252602282015260420190565b6001600160a01b0391909116815260200190565b6001600160a01b03848116825283166020820152606060408201819052600090610e6790830184611668565b901515815260200190565b90815260200190565b93845260208401929092526001600160a01b03166040830152606082015260800190565b93845260ff9290921660208401526040830152606082015260800190565b6000602082526109896020830184611668565b60006020808352818454836002820490506001808316806117cd57607f831692505b8583108114156117eb57634e487b7160e01b87526022600452602487fd5b6117f783878a0161174d565b81801561180b576001811461181c57611846565b60ff19861682528782019650611846565b6118258b611c0d565b895b8681101561184057815484820152908501908901611827565b83019750505b50949998505050505050505050565b60208082526022908201527f456e756d657261626c655365743a20696e646578206f7574206f6620626f756e604082015261647360f01b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b6020808252602f908201527f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60408201526e0818591b5a5b881d1bc819dc985b9d608a1b606082015260800190565b60208082526022908201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604082015261737360f01b606082015260800190565b6020808252601c908201527f46756e6374696f6e2063616c6c206e6f74207375636365737366756c00000000604082015260600190565b6020808252601b908201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604082015260600190565b60208082526030908201527f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60408201526f2061646d696e20746f207265766f6b6560801b606082015260800190565b60208082526025908201527f4e61746976654d6574615472616e73616374696f6e3a20494e56414c49445f5360408201526424a3a722a960d91b606082015260800190565b60208082526021908201527f5369676e657220616e64207369676e617475726520646f206e6f74206d6174636040820152600d60fb1b606082015260800190565b60208082526021908201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736040820152607360f81b606082015260800190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526024908201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646040820152637265737360e01b606082015260800190565b6020808252602f908201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560408201526e103937b632b9903337b91039b2b63360891b606082015260800190565b6020808252601f908201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604082015260600190565b60ff91909116815260200190565b60009081526020902090565b60008219821115611c2c57611c2c611cce565b500190565b600082821015611c4357611c43611cce565b500390565b60005b83811015611c63578181015183820152602001611c4b565b83811115611c72576000848401525b50505050565b600281046001821680611c8c57607f821691505b60208210811415611cad57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611cc757611cc7611cce565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fdfe45524332303a206275726e20616d6f756e7420657863656564732062616c616e63654d6574615472616e73616374696f6e2875696e74323536206e6f6e63652c616464726573732066726f6d2c62797465732066756e6374696f6e5369676e61747572652945524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122031ed9e0440e31f3befe572f157ad8ced28bc13e72fb1e9e06154da9a6265d37664736f6c63430008000033454950373132446f6d61696e28737472696e67206e616d652c737472696e672076657273696f6e2c6164647265737320766572696679696e67436f6e74726163742c627974657333322073616c7429000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000012000000000000000000000000b5505a6d998549090530911180f38ac5130101c600000000000000000000000000000000000000000000000000000000000000054348494c4400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000056368696c64000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106101b75760003560e01c806339509351116100ec578063a3b0b5a31161008a578063ca15c87311610064578063ca15c87314610498578063cf2c52cb146104b8578063d547741f146104d8578063dd62ed3e146104f8576101b7565b8063a3b0b5a314610443578063a457c2d714610458578063a9059cbb14610478576101b7565b80639010d07c116100c65780639010d07c146103cc57806391d14854146103f957806395d89b4114610419578063a217fddf1461042e576101b7565b8063395093511461036c57806340c10f191461038c57806370a08231146103ac576101b7565b8063248a9ca3116101595780632f2ff15d116101335780632f2ff15d146102f5578063313ce567146103155780633408e4701461033757806336568abe1461034c576101b7565b8063248a9ca3146102935780632d0335ab146102b35780632e1a7d4d146102d3576101b7565b80630f7e5970116101955780630f7e59701461022757806318160ddd1461023c57806320379ee51461025e57806323b872dd14610273576101b7565b806306fdde03146101bc578063095ea7b3146101e75780630c53c51c14610214575b600080fd5b3480156101c857600080fd5b506101d1610518565b6040516101de9190611798565b60405180910390f35b3480156101f357600080fd5b506102076102023660046115e4565b6105ab565b6040516101de9190611742565b6101d161022236600461150d565b6105c9565b34801561023357600080fd5b506101d161073c565b34801561024857600080fd5b50610251610759565b6040516101de919061174d565b34801561026a57600080fd5b5061025161075f565b34801561027f57600080fd5b5061020761028e366004611454565b610765565b34801561029f57600080fd5b506102516102ae36600461160d565b6107ec565b3480156102bf57600080fd5b506102516102ce366004611408565b610804565b3480156102df57600080fd5b506102f36102ee36600461160d565b61081f565b005b34801561030157600080fd5b506102f3610310366004611625565b610833565b34801561032157600080fd5b5061032a61087b565b6040516101de9190611bff565b34801561034357600080fd5b50610251610884565b34801561035857600080fd5b506102f3610367366004611625565b610888565b34801561037857600080fd5b506102076103873660046115e4565b6108ca565b34801561039857600080fd5b506102f36103a73660046115e4565b610918565b3480156103b857600080fd5b506102516103c7366004611408565b610956565b3480156103d857600080fd5b506103ec6103e7366004611647565b610971565b6040516101de9190611702565b34801561040557600080fd5b50610207610414366004611625565b610990565b34801561042557600080fd5b506101d16109a8565b34801561043a57600080fd5b506102516109b7565b34801561044f57600080fd5b506102516109bc565b34801561046457600080fd5b506102076104733660046115e4565b6109e0565b34801561048457600080fd5b506102076104933660046115e4565b610a48565b3480156104a457600080fd5b506102516104b336600461160d565b610a5c565b3480156104c457600080fd5b506102f36104d336600461148f565b610a73565b3480156104e457600080fd5b506102f36104f3366004611625565b610ae2565b34801561050457600080fd5b50610251610513366004611422565b610b1c565b60606003805461052790611c78565b80601f016020809104026020016040519081016040528092919081815260200182805461055390611c78565b80156105a05780601f10610575576101008083540402835291602001916105a0565b820191906000526020600020905b81548152906001019060200180831161058357829003601f168201915b505050505090505b90565b60006105bf6105b8610bb8565b8484610bc7565b5060015b92915050565b60408051606081810183526001600160a01b0388166000818152600a6020908152908590205484528301529181018690526106078782878787610c7b565b61062c5760405162461bcd60e51b815260040161062390611a6e565b60405180910390fd5b6001600160a01b0387166000908152600a60205260408120805490919061065290611cb3565b909155506040517f5845892132946850460bff5a0083f71031bc5bf9aadcd40f1de79423eac9b10b9061068a90899033908a90611716565b60405180910390a1600080306001600160a01b0316888a6040516020016106b29291906116b0565b60408051601f19818403018152908290526106cc91611694565b6000604051808303816000865af19150503d8060008114610709576040519150601f19603f3d011682016040523d82523d6000602084013e61070e565b606091505b5091509150816107305760405162461bcd60e51b81526004016106239061196b565b98975050505050505050565b604051806040016040528060018152602001603160f81b81525081565b60025490565b60095490565b6000610772848484610d21565b6107e28461077e610bb8565b6107dd85604051806060016040528060288152602001611d86602891396001600160a01b038a166000908152600160205260408120906107bc610bb8565b6001600160a01b031681526020810191909152604001600020549190610e36565b610bc7565b5060019392505050565b6000818152600660205260409020600201545b919050565b6001600160a01b03166000908152600a602052604090205490565b61083061082a610bb8565b82610e70565b50565b60008281526006602052604090206002015461085190610414610bb8565b61086d5760405162461bcd60e51b8152600401610623906118da565b6108778282610f52565b5050565b60055460ff1690565b4690565b610890610bb8565b6001600160a01b0316816001600160a01b0316146108c05760405162461bcd60e51b815260040161062390611b79565b6108778282610fbb565b60006105bf6108d7610bb8565b846107dd85600160006108e8610bb8565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490611024565b600061092681610414610bb8565b6007906109465760405162461bcd60e51b815260040161062391906117ab565b506109518383611053565b505050565b6001600160a01b031660009081526020819052604090205490565b60008281526006602052604081206109899083611107565b9392505050565b60008281526006602052604081206109899083611113565b60606004805461052790611c78565b600081565b7f8f4f2da22e8ac8f11e15f9fc141cddbb5deea8800186560abb6e68c5496619a981565b60006105bf6109ed610bb8565b846107dd85604051806060016040528060258152602001611dae6025913960016000610a17610bb8565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190610e36565b60006105bf610a55610bb8565b8484610d21565b60008181526006602052604081206105c390611128565b7f8f4f2da22e8ac8f11e15f9fc141cddbb5deea8800186560abb6e68c5496619a9610aa081610414610bb8565b600790610ac05760405162461bcd60e51b815260040161062391906117ab565b506000610acf8385018561160d565b9050610adb8582611053565b5050505050565b600082815260066020526040902060020154610b0090610414610bb8565b6108c05760405162461bcd60e51b8152600401610623906119d9565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b600033301415610b9e57600080368080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505050503601516001600160a01b031691506105a89050565b503390565b6000610989836001600160a01b038416611133565b6000610bc2610b47565b905090565b6001600160a01b038316610bed5760405162461bcd60e51b815260040161062390611b35565b6001600160a01b038216610c135760405162461bcd60e51b815260040161062390611929565b6001600160a01b0380841660008181526001602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92590610c6e90859061174d565b60405180910390a3505050565b60006001600160a01b038616610ca35760405162461bcd60e51b815260040161062390611a29565b6001610cb6610cb18761117d565b6111db565b83868660405160008152602001604052604051610cd6949392919061177a565b6020604051602081039080840390855afa158015610cf8573d6000803e3d6000fd5b505050602060405103516001600160a01b0316866001600160a01b031614905095945050505050565b6001600160a01b038316610d475760405162461bcd60e51b815260040161062390611af0565b6001600160a01b038216610d6d5760405162461bcd60e51b815260040161062390611897565b610d78838383610951565b610db581604051806060016040528060268152602001611d60602691396001600160a01b0386166000908152602081905260409020549190610e36565b6001600160a01b038085166000908152602081905260408082209390935590841681522054610de49082611024565b6001600160a01b0380841660008181526020819052604090819020939093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610c6e90859061174d565b60008184841115610e5a5760405162461bcd60e51b81526004016106239190611798565b506000610e678486611c31565b95945050505050565b6001600160a01b038216610e965760405162461bcd60e51b815260040161062390611aaf565b610ea282600083610951565b610edf81604051806060016040528060228152602001611cfb602291396001600160a01b0385166000908152602081905260409020549190610e36565b6001600160a01b038316600090815260208190526040902055600254610f0590826111f7565b6002556040516000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610f4690859061174d565b60405180910390a35050565b6000828152600660205260409020610f6a9082610ba3565b1561087757610f77610bb8565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000828152600660205260409020610fd39082611239565b1561087757610fe0610bb8565b6001600160a01b0316816001600160a01b0316837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45050565b6000806110318385611c19565b9050838110156109895760405162461bcd60e51b8152600401610623906119a2565b6001600160a01b0382166110795760405162461bcd60e51b815260040161062390611bc8565b61108560008383610951565b6002546110929082611024565b6002556001600160a01b0382166000908152602081905260409020546110b89082611024565b6001600160a01b0383166000818152602081905260408082209390935591519091907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610f4690859061174d565b6000610989838361124e565b6000610989836001600160a01b0384166112a7565b60006105c3826112bf565b600061113f83836112a7565b611175575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556105c3565b5060006105c3565b6000604051806080016040528060438152602001611d1d60439139805160209182012083518483015160408087015180519086012090516111be9501611756565b604051602081830303815290604052805190602001209050919050565b60006111e561075f565b826040516020016111be9291906116e7565b600061098983836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610e36565b6000610989836001600160a01b0384166112c3565b815460009082106112715760405162461bcd60e51b815260040161062390611855565b82600001828154811061129457634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905092915050565b60009081526001919091016020526040902054151590565b5490565b600081815260018301602052604081205480156113d65760006112e7600183611c31565b85549091506000906112fb90600190611c31565b9050600086600001828154811061132257634e487b7160e01b600052603260045260246000fd5b906000526020600020015490508087600001848154811061135357634e487b7160e01b600052603260045260246000fd5b60009182526020909120015561136a836001611c19565b6000828152600189016020526040902055865487908061139a57634e487b7160e01b600052603160045260246000fd5b600190038181906000526020600020016000905590558660010160008781526020019081526020016000206000905560019450505050506105c3565b60009150506105c3565b80356001600160a01b03811681146107ff57600080fd5b803560ff811681146107ff57600080fd5b600060208284031215611419578081fd5b610989826113e0565b60008060408385031215611434578081fd5b61143d836113e0565b915061144b602084016113e0565b90509250929050565b600080600060608486031215611468578081fd5b611471846113e0565b925061147f602085016113e0565b9150604084013590509250925092565b6000806000604084860312156114a3578283fd5b6114ac846113e0565b9250602084013567ffffffffffffffff808211156114c8578384fd5b818601915086601f8301126114db578384fd5b8135818111156114e9578485fd5b8760208285010111156114fa578485fd5b6020830194508093505050509250925092565b600080600080600060a08688031215611524578081fd5b61152d866113e0565b945060208087013567ffffffffffffffff8082111561154a578384fd5b818901915089601f83011261155d578384fd5b81358181111561156f5761156f611ce4565b604051601f8201601f191681018501838111828210171561159257611592611ce4565b60405281815283820185018c10156115a8578586fd5b8185850186830137908101909301849052509094505060408601359250606086013591506115d8608087016113f7565b90509295509295909350565b600080604083850312156115f6578182fd5b6115ff836113e0565b946020939093013593505050565b60006020828403121561161e578081fd5b5035919050565b60008060408385031215611637578182fd5b8235915061144b602084016113e0565b60008060408385031215611659578182fd5b50508035926020909101359150565b60008151808452611680816020860160208601611c48565b601f01601f19169290920160200192915050565b600082516116a6818460208701611c48565b9190910192915050565b600083516116c2818460208801611c48565b60609390931b6bffffffffffffffffffffffff19169190920190815260140192915050565b61190160f01b81526002810192909252602282015260420190565b6001600160a01b0391909116815260200190565b6001600160a01b03848116825283166020820152606060408201819052600090610e6790830184611668565b901515815260200190565b90815260200190565b93845260208401929092526001600160a01b03166040830152606082015260800190565b93845260ff9290921660208401526040830152606082015260800190565b6000602082526109896020830184611668565b60006020808352818454836002820490506001808316806117cd57607f831692505b8583108114156117eb57634e487b7160e01b87526022600452602487fd5b6117f783878a0161174d565b81801561180b576001811461181c57611846565b60ff19861682528782019650611846565b6118258b611c0d565b895b8681101561184057815484820152908501908901611827565b83019750505b50949998505050505050505050565b60208082526022908201527f456e756d657261626c655365743a20696e646578206f7574206f6620626f756e604082015261647360f01b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b6020808252602f908201527f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60408201526e0818591b5a5b881d1bc819dc985b9d608a1b606082015260800190565b60208082526022908201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604082015261737360f01b606082015260800190565b6020808252601c908201527f46756e6374696f6e2063616c6c206e6f74207375636365737366756c00000000604082015260600190565b6020808252601b908201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604082015260600190565b60208082526030908201527f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60408201526f2061646d696e20746f207265766f6b6560801b606082015260800190565b60208082526025908201527f4e61746976654d6574615472616e73616374696f6e3a20494e56414c49445f5360408201526424a3a722a960d91b606082015260800190565b60208082526021908201527f5369676e657220616e64207369676e617475726520646f206e6f74206d6174636040820152600d60fb1b606082015260800190565b60208082526021908201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736040820152607360f81b606082015260800190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526024908201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646040820152637265737360e01b606082015260800190565b6020808252602f908201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560408201526e103937b632b9903337b91039b2b63360891b606082015260800190565b6020808252601f908201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604082015260600190565b60ff91909116815260200190565b60009081526020902090565b60008219821115611c2c57611c2c611cce565b500190565b600082821015611c4357611c43611cce565b500390565b60005b83811015611c63578181015183820152602001611c4b565b83811115611c72576000848401525b50505050565b600281046001821680611c8c57607f821691505b60208210811415611cad57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611cc757611cc7611cce565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fdfe45524332303a206275726e20616d6f756e7420657863656564732062616c616e63654d6574615472616e73616374696f6e2875696e74323536206e6f6e63652c616464726573732066726f6d2c62797465732066756e6374696f6e5369676e61747572652945524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122031ed9e0440e31f3befe572f157ad8ced28bc13e72fb1e9e06154da9a6265d37664736f6c63430008000033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000012000000000000000000000000b5505a6d998549090530911180f38ac5130101c600000000000000000000000000000000000000000000000000000000000000054348494c4400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000056368696c64000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name_ (string): CHILD
Arg [1] : symbol_ (string): child
Arg [2] : decimals_ (uint8): 18
Arg [3] : childChainManager (address): 0xb5505a6d998549090530911180f38aC5130101c6
-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [3] : 000000000000000000000000b5505a6d998549090530911180f38ac5130101c6
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [5] : 4348494c44000000000000000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [7] : 6368696c64000000000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
49040:2336:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17612:83;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;19718:169;;;;;;;;;;-1:-1:-1;19718:169:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;46051:1115::-;;;;;;:::i;:::-;;:::i;43240:43::-;;;;;;;;;;;;;:::i;18687:100::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;44250:101::-;;;;;;;;;;;;;:::i;20361:321::-;;;;;;;;;;-1:-1:-1;20361:321:0;;;;;:::i;:::-;;:::i;38846:114::-;;;;;;;;;;-1:-1:-1;38846:114:0;;;;;:::i;:::-;;:::i;47592:107::-;;;;;;;;;;-1:-1:-1;47592:107:0;;;;;:::i;:::-;;:::i;50812:89::-;;;;;;;;;;-1:-1:-1;50812:89:0;;;;;:::i;:::-;;:::i;:::-;;39222:227;;;;;;;;;;-1:-1:-1;39222:227:0;;;;;:::i;:::-;;:::i;18539:83::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;44359:161::-;;;;;;;;;;;;;:::i;40431:209::-;;;;;;;;;;-1:-1:-1;40431:209:0;;;;;:::i;:::-;;:::i;21091:218::-;;;;;;;;;;-1:-1:-1;21091:218:0;;;;;:::i;:::-;;:::i;51259:114::-;;;;;;;;;;-1:-1:-1;51259:114:0;;;;;:::i;:::-;;:::i;18850:119::-;;;;;;;;;;-1:-1:-1;18850:119:0;;;;;:::i;:::-;;:::i;38519:138::-;;;;;;;;;;-1:-1:-1;38519:138:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;37480:139::-;;;;;;;;;;-1:-1:-1;37480:139:0;;;;;:::i;:::-;;:::i;17814:87::-;;;;;;;;;;;;;:::i;36225:49::-;;;;;;;;;;;;;:::i;49180:68::-;;;;;;;;;;;;;:::i;21812:269::-;;;;;;;;;;-1:-1:-1;21812:269:0;;;;;:::i;:::-;;:::i;19182:175::-;;;;;;;;;;-1:-1:-1;19182:175:0;;;;;:::i;:::-;;:::i;37793:127::-;;;;;;;;;;-1:-1:-1;37793:127:0;;;;;:::i;:::-;;:::i;50327:230::-;;;;;;;;;;-1:-1:-1;50327:230:0;;;;;:::i;:::-;;:::i;39694:::-;;;;;;;;;;-1:-1:-1;39694:230:0;;;;;:::i;:::-;;:::i;19420:151::-;;;;;;;;;;-1:-1:-1;19420:151:0;;;;;:::i;:::-;;:::i;17612:83::-;17649:13;17682:5;17675:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17612:83;;:::o;19718:169::-;19801:4;19818:39;19827:12;:10;:12::i;:::-;19841:7;19850:6;19818:8;:39::i;:::-;-1:-1:-1;19875:4:0;19718:169;;;;;:::o;46051:1115::-;46309:152;;;46252:12;46309:152;;;;;-1:-1:-1;;;;;46347:19:0;;46277:29;46347:19;;;:6;:19;;;;;;;;;46309:152;;;;;;;;;;;46496:45;46354:11;46309:152;46524:4;46530;46536;46496:6;:45::i;:::-;46474:128;;;;-1:-1:-1;;;46474:128:0;;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;;;;;46671:19:0;;;;;;:6;:19;;;;;46669:21;;46671:19;;;46669:21;;;:::i;:::-;;;;-1:-1:-1;46708:117:0;;;;;;46746:11;;46772:10;;46797:17;;46708:117;:::i;:::-;;;;;;;;46936:12;46950:23;46985:4;-1:-1:-1;;;;;46977:18:0;47027:17;47046:11;47010:48;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;47010:48:0;;;;;;;;;;46977:92;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46935:134;;;;47088:7;47080:48;;;;-1:-1:-1;;;47080:48:0;;;;;;;:::i;:::-;47148:10;46051:1115;-1:-1:-1;;;;;;;;46051:1115:0:o;43240:43::-;;;;;;;;;;;;;;-1:-1:-1;;;43240:43:0;;;;:::o;18687:100::-;18767:12;;18687:100;:::o;44250:101::-;44328:15;;44250:101;:::o;20361:321::-;20467:4;20484:36;20494:6;20502:9;20513:6;20484:9;:36::i;:::-;20531:121;20540:6;20548:12;:10;:12::i;:::-;20562:89;20600:6;20562:89;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;20562:19:0;;;;;;:11;:19;;;;;;20582:12;:10;:12::i;:::-;-1:-1:-1;;;;;20562:33:0;;;;;;;;;;;;-1:-1:-1;20562:33:0;;;:89;:37;:89::i;:::-;20531:8;:121::i;:::-;-1:-1:-1;20670:4:0;20361:321;;;;;:::o;38846:114::-;38903:7;38930:12;;;:6;:12;;;;;:22;;;38846:114;;;;:::o;47592:107::-;-1:-1:-1;;;;;47679:12:0;47645:13;47679:12;;;:6;:12;;;;;;;47592:107::o;50812:89::-;50866:27;50872:12;:10;:12::i;:::-;50886:6;50866:5;:27::i;:::-;50812:89;:::o;39222:227::-;39314:12;;;;:6;:12;;;;;:22;;;39306:45;;39338:12;:10;:12::i;39306:45::-;39298:105;;;;-1:-1:-1;;;39298:105:0;;;;;;;:::i;:::-;39416:25;39427:4;39433:7;39416:10;:25::i;:::-;39222:227;;:::o;18539:83::-;18605:9;;;;18539:83;:::o;44359:161::-;44473:9;44359:161;:::o;40431:209::-;40529:12;:10;:12::i;:::-;-1:-1:-1;;;;;40518:23:0;:7;-1:-1:-1;;;;;40518:23:0;;40510:83;;;;-1:-1:-1;;;40510:83:0;;;;;;;:::i;:::-;40606:26;40618:4;40624:7;40606:11;:26::i;21091:218::-;21179:4;21196:83;21205:12;:10;:12::i;:::-;21219:7;21228:50;21267:10;21228:11;:25;21240:12;:10;:12::i;:::-;-1:-1:-1;;;;;21228:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;21228:25:0;;;:34;;;;;;;;;;;:38;:50::i;51259:114::-;36270:4;42459:27;36270:4;42473:12;:10;:12::i;42459:27::-;42501:10;42437:85;;;;;-1:-1:-1;;;42437:85:0;;;;;;;;:::i;:::-;;51346:19:::1;51352:4;51358:6;51346:5;:19::i;:::-;51259:114:::0;;;:::o;18850:119::-;-1:-1:-1;;;;;18943:18:0;18916:7;18943:18;;;;;;;;;;;;18850:119::o;38519:138::-;38592:7;38619:12;;;:6;:12;;;;;:30;;38643:5;38619:23;:30::i;:::-;38612:37;38519:138;-1:-1:-1;;;38519:138:0:o;37480:139::-;37549:4;37573:12;;;:6;:12;;;;;:38;;37603:7;37573:29;:38::i;17814:87::-;17853:13;17886:7;17879:14;;;;;:::i;36225:49::-;36270:4;36225:49;:::o;49180:68::-;49221:27;49180:68;:::o;21812:269::-;21905:4;21922:129;21931:12;:10;:12::i;:::-;21945:7;21954:96;21993:15;21954:96;;;;;;;;;;;;;;;;;:11;:25;21966:12;:10;:12::i;:::-;-1:-1:-1;;;;;21954:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;21954:25:0;;;:34;;;;;;;;;;;:96;:38;:96::i;19182:175::-;19268:4;19285:42;19295:12;:10;:12::i;:::-;19309:9;19320:6;19285:9;:42::i;37793:127::-;37856:7;37883:12;;;:6;:12;;;;;:29;;:27;:29::i;50327:230::-;49221:27;42459;42467:4;42473:12;:10;:12::i;42459:27::-;42501:10;42437:85;;;;;-1:-1:-1;;;42437:85:0;;;;;;;;:::i;:::-;-1:-1:-1;50468:14:0::1;50485:34;::::0;;::::1;50496:11:::0;50485:34:::1;:::i;:::-;50468:51;;50530:19;50536:4;50542:6;50530:5;:19::i;:::-;42533:1;50327:230:::0;;;;:::o;39694:::-;39787:12;;;;:6;:12;;;;;:22;;;39779:45;;39811:12;:10;:12::i;39779:45::-;39771:106;;;;-1:-1:-1;;;39771:106:0;;;;;;;:::i;19420:151::-;-1:-1:-1;;;;;19536:18:0;;;19509:7;19536:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;19420:151::o;48310:633::-;48381:14;48417:10;48439:4;48417:27;48413:499;;;48461:18;48482:8;;48461:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;48521:8:0;48732:17;48726:24;-1:-1:-1;;;;;48700:134:0;;-1:-1:-1;48560:289:0;;-1:-1:-1;48560:289:0;;-1:-1:-1;48890:10:0;48310:633;:::o;31466:152::-;31536:4;31560:50;31565:3;-1:-1:-1;;;;;31585:23:0;;31560:4;:50::i;49785:161::-;49875:14;49914:24;:22;:24::i;:::-;49907:31;;49785:161;:::o;24959:346::-;-1:-1:-1;;;;;25061:19:0;;25053:68;;;;-1:-1:-1;;;25053:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;25140:21:0;;25132:68;;;;-1:-1:-1;;;25132:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;25213:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;;:36;;;25265:32;;;;;25243:6;;25265:32;:::i;:::-;;;;;;;;24959:346;;;:::o;47707:486::-;47885:4;-1:-1:-1;;;;;47910:20:0;;47902:70;;;;-1:-1:-1;;;47902:70:0;;;;;;;:::i;:::-;48026:159;48054:47;48073:27;48093:6;48073:19;:27::i;:::-;48054:18;:47::i;:::-;48120:4;48143;48166;48026:159;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;48003:182:0;:6;-1:-1:-1;;;;;48003:182:0;;47983:202;;47707:486;;;;;;;:::o;22571:539::-;-1:-1:-1;;;;;22677:20:0;;22669:70;;;;-1:-1:-1;;;22669:70:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;22758:23:0;;22750:71;;;;-1:-1:-1;;;22750:71:0;;;;;;;:::i;:::-;22834:47;22855:6;22863:9;22874:6;22834:20;:47::i;:::-;22914:71;22936:6;22914:71;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;22914:17:0;;:9;:17;;;;;;;;;;;;:71;:21;:71::i;:::-;-1:-1:-1;;;;;22894:17:0;;;:9;:17;;;;;;;;;;;:91;;;;23019:20;;;;;;;:32;;23044:6;23019:24;:32::i;:::-;-1:-1:-1;;;;;22996:20:0;;;:9;:20;;;;;;;;;;;;:55;;;;23067:35;;;;;;;;;;23095:6;;23067:35;:::i;5630:192::-;5716:7;5752:12;5744:6;;;;5736:29;;;;-1:-1:-1;;;5736:29:0;;;;;;;;:::i;:::-;-1:-1:-1;5776:9:0;5788:5;5792:1;5788;:5;:::i;:::-;5776:17;5630:192;-1:-1:-1;;;;;5630:192:0:o;24101:418::-;-1:-1:-1;;;;;24185:21:0;;24177:67;;;;-1:-1:-1;;;24177:67:0;;;;;;;:::i;:::-;24257:49;24278:7;24295:1;24299:6;24257:20;:49::i;:::-;24340:68;24363:6;24340:68;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;24340:18:0;;:9;:18;;;;;;;;;;;;:68;:22;:68::i;:::-;-1:-1:-1;;;;;24319:18:0;;:9;:18;;;;;;;;;;:89;24434:12;;:24;;24451:6;24434:16;:24::i;:::-;24419:12;:39;24474:37;;24500:1;;-1:-1:-1;;;;;24474:37:0;;;;;;;24504:6;;24474:37;:::i;:::-;;;;;;;;24101:418;;:::o;41674:188::-;41748:12;;;;:6;:12;;;;;:33;;41773:7;41748:24;:33::i;:::-;41744:111;;;41830:12;:10;:12::i;:::-;-1:-1:-1;;;;;41803:40:0;41821:7;-1:-1:-1;;;;;41803:40:0;41815:4;41803:40;;;;;;;;;;41674:188;;:::o;41870:192::-;41945:12;;;;:6;:12;;;;;:36;;41973:7;41945:27;:36::i;:::-;41941:114;;;42030:12;:10;:12::i;:::-;-1:-1:-1;;;;;42003:40:0;42021:7;-1:-1:-1;;;;;42003:40:0;42015:4;42003:40;;;;;;;;;;41870:192;;:::o;4727:181::-;4785:7;;4817:5;4821:1;4817;:5;:::i;:::-;4805:17;;4846:1;4841;:6;;4833:46;;;;-1:-1:-1;;;4833:46:0;;;;;;;:::i;23391:378::-;-1:-1:-1;;;;;23475:21:0;;23467:65;;;;-1:-1:-1;;;23467:65:0;;;;;;;:::i;:::-;23545:49;23574:1;23578:7;23587:6;23545:20;:49::i;:::-;23622:12;;:24;;23639:6;23622:16;:24::i;:::-;23607:12;:39;-1:-1:-1;;;;;23678:18:0;;:9;:18;;;;;;;;;;;:30;;23701:6;23678:22;:30::i;:::-;-1:-1:-1;;;;;23657:18:0;;:9;:18;;;;;;;;;;;:51;;;;23724:37;;23657:18;;:9;23724:37;;;;23754:6;;23724:37;:::i;32752:158::-;32826:7;32877:22;32881:3;32893:5;32877:3;:22::i;32038:167::-;32118:4;32142:55;32152:3;-1:-1:-1;;;;;32172:23:0;;32142:9;:55::i;32291:117::-;32354:7;32381:19;32389:3;32381:7;:19::i;28120:414::-;28183:4;28205:21;28215:3;28220:5;28205:9;:21::i;:::-;28200:327;;-1:-1:-1;28243:23:0;;;;;;;;:11;:23;;;;;;;;;;;;;28426:18;;28404:19;;;:12;;;:19;;;;;;:40;;;;28459:11;;28200:327;-1:-1:-1;28510:5:0;28503:12;;47174:410;47284:7;45395:100;;;;;;;;;;;;;;;;;45375:127;;;;;;;47438:12;;47473:11;;;;47517:24;;;;;47507:35;;;;;;47357:204;;;;;;:::i;:::-;;;;;;;;;;;;;47329:247;;;;;;47309:267;;47174:410;;;:::o;44889:258::-;44988:7;45090:20;:18;:20::i;:::-;45112:11;45061:63;;;;;;;;;:::i;5191:136::-;5249:7;5276:43;5280:1;5283;5276:43;;;;;;;;;;;;;;;;;:3;:43::i;31794:158::-;31867:4;31891:53;31899:3;-1:-1:-1;;;;;31919:23:0;;31891:7;:53::i;31008:204::-;31103:18;;31075:7;;31103:26;-1:-1:-1;31095:73:0;;;;-1:-1:-1;;;31095:73:0;;;;;;;:::i;:::-;31186:3;:11;;31198:5;31186:18;;;;;;-1:-1:-1;;;31186:18:0;;;;;;;;;;;;;;;;;31179:25;;31008:204;;;;:::o;30340:129::-;30413:4;30437:19;;;:12;;;;;:19;;;;;;:24;;;30340:129::o;30555:109::-;30638:18;;30555:109::o;28710:1544::-;28776:4;28915:19;;;:12;;;:19;;;;;;28951:15;;28947:1300;;29313:21;29337:14;29350:1;29337:10;:14;:::i;:::-;29386:18;;29313:38;;-1:-1:-1;29366:17:0;;29386:22;;29407:1;;29386:22;:::i;:::-;29366:42;;29653:17;29673:3;:11;;29685:9;29673:22;;;;;;-1:-1:-1;;;29673:22:0;;;;;;;;;;;;;;;;;29653:42;;29819:9;29790:3;:11;;29802:13;29790:26;;;;;;-1:-1:-1;;;29790:26:0;;;;;;;;;;;;;;;;;;:38;29922:17;:13;29938:1;29922:17;:::i;:::-;29896:23;;;;:12;;;:23;;;;;:43;30048:17;;29896:3;;30048:17;;;-1:-1:-1;;;30048:17:0;;;;;;;;;;;;;;;;;;;;;;;;;;30143:3;:12;;:19;30156:5;30143:19;;;;;;;;;;;30136:26;;;30186:4;30179:11;;;;;;;;28947:1300;30230:5;30223:12;;;;;14:175:1;84:20;;-1:-1:-1;;;;;133:31:1;;123:42;;113:2;;179:1;176;169:12;194:158;262:20;;322:4;311:16;;301:27;;291:2;;342:1;339;332:12;357:198;;469:2;457:9;448:7;444:23;440:32;437:2;;;490:6;482;475:22;437:2;518:31;539:9;518:31;:::i;560:274::-;;;689:2;677:9;668:7;664:23;660:32;657:2;;;710:6;702;695:22;657:2;738:31;759:9;738:31;:::i;:::-;728:41;;788:40;824:2;813:9;809:18;788:40;:::i;:::-;778:50;;647:187;;;;;:::o;839:342::-;;;;985:2;973:9;964:7;960:23;956:32;953:2;;;1006:6;998;991:22;953:2;1034:31;1055:9;1034:31;:::i;:::-;1024:41;;1084:40;1120:2;1109:9;1105:18;1084:40;:::i;:::-;1074:50;;1171:2;1160:9;1156:18;1143:32;1133:42;;943:238;;;;;:::o;1186:717::-;;;;1334:2;1322:9;1313:7;1309:23;1305:32;1302:2;;;1355:6;1347;1340:22;1302:2;1383:31;1404:9;1383:31;:::i;:::-;1373:41;;1465:2;1454:9;1450:18;1437:32;1488:18;1529:2;1521:6;1518:14;1515:2;;;1550:6;1542;1535:22;1515:2;1593:6;1582:9;1578:22;1568:32;;1638:7;1631:4;1627:2;1623:13;1619:27;1609:2;;1665:6;1657;1650:22;1609:2;1710;1697:16;1736:2;1728:6;1725:14;1722:2;;;1757:6;1749;1742:22;1722:2;1807:7;1802:2;1793:6;1789:2;1785:15;1781:24;1778:37;1775:2;;;1833:6;1825;1818:22;1775:2;1869;1865;1861:11;1851:21;;1891:6;1881:16;;;;;1292:611;;;;;:::o;1908:1243::-;;;;;;2095:3;2083:9;2074:7;2070:23;2066:33;2063:2;;;2117:6;2109;2102:22;2063:2;2145:31;2166:9;2145:31;:::i;:::-;2135:41;;2195:2;2248;2237:9;2233:18;2220:32;2271:18;2312:2;2304:6;2301:14;2298:2;;;2333:6;2325;2318:22;2298:2;2376:6;2365:9;2361:22;2351:32;;2421:7;2414:4;2410:2;2406:13;2402:27;2392:2;;2448:6;2440;2433:22;2392:2;2489;2476:16;2511:2;2507;2504:10;2501:2;;;2517:18;;:::i;:::-;2566:2;2560:9;2635:2;2616:13;;-1:-1:-1;;2612:27:1;2600:40;;2596:49;;2660:18;;;2680:22;;;2657:46;2654:2;;;2706:18;;:::i;:::-;2742:2;2735:22;2766:18;;;2803:11;;;2799:20;;2796:33;-1:-1:-1;2793:2:1;;;2847:6;2839;2832:22;2793:2;2908;2903;2899;2895:11;2890:2;2882:6;2878:15;2865:46;2931:15;;;2927:24;;;2920:40;;;-1:-1:-1;2935:6:1;;-1:-1:-1;;3032:2:1;3017:18;;3004:32;;-1:-1:-1;3083:2:1;3068:18;;3055:32;;-1:-1:-1;3106:39:1;3140:3;3125:19;;3106:39;:::i;:::-;3096:49;;2053:1098;;;;;;;;:::o;3156:266::-;;;3285:2;3273:9;3264:7;3260:23;3256:32;3253:2;;;3306:6;3298;3291:22;3253:2;3334:31;3355:9;3334:31;:::i;:::-;3324:41;3412:2;3397:18;;;;3384:32;;-1:-1:-1;;;3243:179:1:o;3427:190::-;;3539:2;3527:9;3518:7;3514:23;3510:32;3507:2;;;3560:6;3552;3545:22;3507:2;-1:-1:-1;3588:23:1;;3497:120;-1:-1:-1;3497:120:1:o;3622:266::-;;;3751:2;3739:9;3730:7;3726:23;3722:32;3719:2;;;3772:6;3764;3757:22;3719:2;3813:9;3800:23;3790:33;;3842:40;3878:2;3867:9;3863:18;3842:40;:::i;3893:258::-;;;4022:2;4010:9;4001:7;3997:23;3993:32;3990:2;;;4043:6;4035;4028:22;3990:2;-1:-1:-1;;4071:23:1;;;4141:2;4126:18;;;4113:32;;-1:-1:-1;3980:171:1:o;4351:259::-;;4432:5;4426:12;4459:6;4454:3;4447:19;4475:63;4531:6;4524:4;4519:3;4515:14;4508:4;4501:5;4497:16;4475:63;:::i;:::-;4592:2;4571:15;-1:-1:-1;;4567:29:1;4558:39;;;;4599:4;4554:50;;4402:208;-1:-1:-1;;4402:208:1:o;4615:274::-;;4782:6;4776:13;4798:53;4844:6;4839:3;4832:4;4824:6;4820:17;4798:53;:::i;:::-;4867:16;;;;;4752:137;-1:-1:-1;;4752:137:1:o;4894:415::-;;5089:6;5083:13;5105:53;5151:6;5146:3;5139:4;5131:6;5127:17;5105:53;:::i;:::-;5227:2;5223:15;;;;-1:-1:-1;;5219:53:1;5180:16;;;;5205:68;;;5300:2;5289:14;;5059:250;-1:-1:-1;;5059:250:1:o;5314:392::-;-1:-1:-1;;;5572:27:1;;5624:1;5615:11;;5608:27;;;;5660:2;5651:12;;5644:28;5697:2;5688:12;;5562:144::o;5711:203::-;-1:-1:-1;;;;;5875:32:1;;;;5857:51;;5845:2;5830:18;;5812:102::o;5919:417::-;-1:-1:-1;;;;;6160:15:1;;;6142:34;;6212:15;;6207:2;6192:18;;6185:43;6264:2;6259;6244:18;;6237:30;;;5919:417;;6284:46;;6311:18;;6303:6;6284:46;:::i;6341:187::-;6506:14;;6499:22;6481:41;;6469:2;6454:18;;6436:92::o;6533:177::-;6679:25;;;6667:2;6652:18;;6634:76::o;6715:417::-;6946:25;;;7002:2;6987:18;;6980:34;;;;-1:-1:-1;;;;;7050:32:1;7045:2;7030:18;;7023:60;7114:2;7099:18;;7092:34;6933:3;6918:19;;6900:232::o;7137:398::-;7364:25;;;7437:4;7425:17;;;;7420:2;7405:18;;7398:45;7474:2;7459:18;;7452:34;7517:2;7502:18;;7495:34;7351:3;7336:19;;7318:217::o;7540:219::-;;7687:2;7676:9;7669:21;7707:46;7749:2;7738:9;7734:18;7726:6;7707:46;:::i;7990:1197::-;;8128:2;8157;8146:9;8139:21;8180:4;8216:6;8210:13;8246:4;8284:1;8273:9;8269:17;8259:27;;8305:1;8356:2;8345:9;8341:18;8378;8368:2;;8422:4;8414:6;8410:17;8400:27;;8368:2;8475;8467:6;8464:14;8444:18;8441:38;8438:2;;;-1:-1:-1;;;8502:34:1;;8559:4;8556:1;8549:15;8590:4;8509;8577:18;8438:2;8625:64;8682:6;8677:2;8666:9;8662:18;8625:64;:::i;:::-;8705:18;8732:100;;;;8846:1;8841:320;;;;8698:463;;8732:100;-1:-1:-1;;8765:24:1;;8753:37;;8810:12;;;;-1:-1:-1;8732:100:1;;8841:320;8877:39;8909:6;8877:39;:::i;:::-;8938:4;8955:165;8969:6;8966:1;8963:13;8955:165;;;9047:14;;9034:11;;;9027:35;9090:16;;;;8984:10;;8955:165;;;9140:11;;;-1:-1:-1;;8698:463:1;-1:-1:-1;9178:3:1;;8108:1079;-1:-1:-1;;;;;;;;;8108:1079:1:o;9192:398::-;9394:2;9376:21;;;9433:2;9413:18;;;9406:30;9472:34;9467:2;9452:18;;9445:62;-1:-1:-1;;;9538:2:1;9523:18;;9516:32;9580:3;9565:19;;9366:224::o;9595:399::-;9797:2;9779:21;;;9836:2;9816:18;;;9809:30;9875:34;9870:2;9855:18;;9848:62;-1:-1:-1;;;9941:2:1;9926:18;;9919:33;9984:3;9969:19;;9769:225::o;9999:411::-;10201:2;10183:21;;;10240:2;10220:18;;;10213:30;10279:34;10274:2;10259:18;;10252:62;-1:-1:-1;;;10345:2:1;10330:18;;10323:45;10400:3;10385:19;;10173:237::o;10415:398::-;10617:2;10599:21;;;10656:2;10636:18;;;10629:30;10695:34;10690:2;10675:18;;10668:62;-1:-1:-1;;;10761:2:1;10746:18;;10739:32;10803:3;10788:19;;10589:224::o;10818:352::-;11020:2;11002:21;;;11059:2;11039:18;;;11032:30;11098;11093:2;11078:18;;11071:58;11161:2;11146:18;;10992:178::o;11175:351::-;11377:2;11359:21;;;11416:2;11396:18;;;11389:30;11455:29;11450:2;11435:18;;11428:57;11517:2;11502:18;;11349:177::o;11531:412::-;11733:2;11715:21;;;11772:2;11752:18;;;11745:30;11811:34;11806:2;11791:18;;11784:62;-1:-1:-1;;;11877:2:1;11862:18;;11855:46;11933:3;11918:19;;11705:238::o;11948:401::-;12150:2;12132:21;;;12189:2;12169:18;;;12162:30;12228:34;12223:2;12208:18;;12201:62;-1:-1:-1;;;12294:2:1;12279:18;;12272:35;12339:3;12324:19;;12122:227::o;12354:397::-;12556:2;12538:21;;;12595:2;12575:18;;;12568:30;12634:34;12629:2;12614:18;;12607:62;-1:-1:-1;;;12700:2:1;12685:18;;12678:31;12741:3;12726:19;;12528:223::o;12756:397::-;12958:2;12940:21;;;12997:2;12977:18;;;12970:30;13036:34;13031:2;13016:18;;13009:62;-1:-1:-1;;;13102:2:1;13087:18;;13080:31;13143:3;13128:19;;12930:223::o;13158:401::-;13360:2;13342:21;;;13399:2;13379:18;;;13372:30;13438:34;13433:2;13418:18;;13411:62;-1:-1:-1;;;13504:2:1;13489:18;;13482:35;13549:3;13534:19;;13332:227::o;13564:400::-;13766:2;13748:21;;;13805:2;13785:18;;;13778:30;13844:34;13839:2;13824:18;;13817:62;-1:-1:-1;;;13910:2:1;13895:18;;13888:34;13954:3;13939:19;;13738:226::o;13969:411::-;14171:2;14153:21;;;14210:2;14190:18;;;14183:30;14249:34;14244:2;14229:18;;14222:62;-1:-1:-1;;;14315:2:1;14300:18;;14293:45;14370:3;14355:19;;14143:237::o;14385:355::-;14587:2;14569:21;;;14626:2;14606:18;;;14599:30;14665:33;14660:2;14645:18;;14638:61;14731:2;14716:18;;14559:181::o;14927:184::-;15099:4;15087:17;;;;15069:36;;15057:2;15042:18;;15024:87::o;15116:129::-;;15184:17;;;15234:4;15218:21;;;15174:71::o;15406:128::-;;15477:1;15473:6;15470:1;15467:13;15464:2;;;15483:18;;:::i;:::-;-1:-1:-1;15519:9:1;;15454:80::o;15539:125::-;;15607:1;15604;15601:8;15598:2;;;15612:18;;:::i;:::-;-1:-1:-1;15649:9:1;;15588:76::o;15669:258::-;15741:1;15751:113;15765:6;15762:1;15759:13;15751:113;;;15841:11;;;15835:18;15822:11;;;15815:39;15787:2;15780:10;15751:113;;;15882:6;15879:1;15876:13;15873:2;;;15917:1;15908:6;15903:3;15899:16;15892:27;15873:2;;15722:205;;;:::o;15932:380::-;16017:1;16007:12;;16064:1;16054:12;;;16075:2;;16129:4;16121:6;16117:17;16107:27;;16075:2;16182;16174:6;16171:14;16151:18;16148:38;16145:2;;;16228:10;16223:3;16219:20;16216:1;16209:31;16263:4;16260:1;16253:15;16291:4;16288:1;16281:15;16145:2;;15987:325;;;:::o;16317:135::-;;-1:-1:-1;;16377:17:1;;16374:2;;;16397:18;;:::i;:::-;-1:-1:-1;16444:1:1;16433:13;;16364:88::o;16457:127::-;16518:10;16513:3;16509:20;16506:1;16499:31;16549:4;16546:1;16539:15;16573:4;16570:1;16563:15;16589:127;16650:10;16645:3;16641:20;16638:1;16631:31;16681:4;16678:1;16671:15;16705:4;16702:1;16695:15
Swarm Source
ipfs://31ed9e0440e31f3befe572f157ad8ced28bc13e72fb1e9e06154da9a6265d376
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.