Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 1 from a total of 1 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
0x60806040 | 12341655 | 1303 days ago | IN | 0 ETH | 0.07611139 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
XKI
Compiler Version
v0.8.3+commit.8d00100c
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2021-04-30 */ // File: @openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library AddressUpgradeable { /** * @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) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(account) } return size > 0; } /** * @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"); require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{ value: value }(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.staticcall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) { 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-upgradeable/proxy/utils/Initializable.sol // solhint-disable-next-line compiler-version pragma solidity ^0.8.0; /** * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed * behind a proxy. Since a proxied contract can't have a constructor, it's common to move constructor logic to an * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect. * * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as * possible by providing the encoded function call as the `_data` argument to {UpgradeableProxy-constructor}. * * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity. */ abstract contract Initializable { /** * @dev Indicates that the contract has been initialized. */ bool private _initialized; /** * @dev Indicates that the contract is in the process of being initialized. */ bool private _initializing; /** * @dev Modifier to protect an initializer function from being invoked twice. */ modifier initializer() { require(_initializing || !_initialized, "Initializable: contract is already initialized"); bool isTopLevelCall = !_initializing; if (isTopLevelCall) { _initializing = true; _initialized = true; } _; if (isTopLevelCall) { _initializing = false; } } } // File: @openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol pragma solidity ^0.8.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract ContextUpgradeable is Initializable { function __Context_init() internal initializer { __Context_init_unchained(); } function __Context_init_unchained() internal initializer { } function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } uint256[50] private __gap; } // File: @openzeppelin/contracts-upgradeable/utils/introspection/IERC165Upgradeable.sol pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165Upgradeable { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // File: @openzeppelin/contracts-upgradeable/utils/introspection/ERC165Upgradeable.sol pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165Upgradeable is Initializable, IERC165Upgradeable { function __ERC165_init() internal initializer { __ERC165_init_unchained(); } function __ERC165_init_unchained() internal initializer { } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165Upgradeable).interfaceId; } uint256[50] private __gap; } // File: @openzeppelin/contracts-upgradeable/access/AccessControlUpgradeable.sol pragma solidity ^0.8.0; /** * @dev External interface of AccessControl declared to support ERC165 detection. */ interface IAccessControlUpgradeable { function hasRole(bytes32 role, address account) external view returns (bool); function getRoleAdmin(bytes32 role) external view returns (bytes32); function grantRole(bytes32 role, address account) external; function revokeRole(bytes32 role, address account) external; function renounceRole(bytes32 role, address account) external; } /** * @dev Contract module that allows children to implement role-based access * control mechanisms. This is a lightweight version that doesn't allow enumerating role * members except through off-chain means by accessing the contract event logs. Some * applications may benefit from on-chain enumerability, for those cases see * {AccessControlEnumerable}. * * 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 AccessControlUpgradeable is Initializable, ContextUpgradeable, IAccessControlUpgradeable, ERC165Upgradeable { function __AccessControl_init() internal initializer { __Context_init_unchained(); __ERC165_init_unchained(); __AccessControl_init_unchained(); } function __AccessControl_init_unchained() internal initializer { } struct RoleData { mapping (address => bool) 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 See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IAccessControlUpgradeable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) public view override returns (bool) { return _roles[role].members[account]; } /** * @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 override 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 override { require(hasRole(getRoleAdmin(role), _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 override { require(hasRole(getRoleAdmin(role), _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 override { 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, getRoleAdmin(role), adminRole); _roles[role].adminRole = adminRole; } function _grantRole(bytes32 role, address account) private { if (!hasRole(role, account)) { _roles[role].members[account] = true; emit RoleGranted(role, account, _msgSender()); } } function _revokeRole(bytes32 role, address account) private { if (hasRole(role, account)) { _roles[role].members[account] = false; emit RoleRevoked(role, account, _msgSender()); } } uint256[49] private __gap; } // File: @openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20Upgradeable { /** * @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-upgradeable/token/ERC20/ERC20Upgradeable.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 ERC20Upgradeable is Initializable, ContextUpgradeable, IERC20Upgradeable { mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The defaut value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All three of these values are immutable: they can only be set once during * construction. */ function __ERC20_init(string memory name_, string memory symbol_) internal initializer { __Context_init_unchained(); __ERC20_init_unchained(name_, symbol_); } function __ERC20_init_unchained(string memory name_, string memory symbol_) internal initializer { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual 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 this function is * overloaded; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `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); uint256 currentAllowance = _allowances[sender][_msgSender()]; require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance"); _approve(sender, _msgSender(), currentAllowance - amount); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { uint256 currentAllowance = _allowances[_msgSender()][spender]; require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); _approve(_msgSender(), spender, currentAllowance - subtractedValue); 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); uint256 senderBalance = _balances[sender]; require(senderBalance >= amount, "ERC20: transfer amount exceeds balance"); _balances[sender] = senderBalance - amount; _balances[recipient] += 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 += amount; _balances[account] += 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); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); _balances[account] = accountBalance - amount; _totalSupply -= amount; emit Transfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve(address owner, address spender, uint256 amount) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev 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 { } uint256[45] private __gap; } // File: @openzeppelin/contracts-upgradeable/token/ERC20/extensions/ERC20BurnableUpgradeable.sol pragma solidity ^0.8.0; /** * @dev Extension of {ERC20} that allows token holders to destroy both their own * tokens and those that they have an allowance for, in a way that can be * recognized off-chain (via event analysis). */ abstract contract ERC20BurnableUpgradeable is Initializable, ContextUpgradeable, ERC20Upgradeable { function __ERC20Burnable_init() internal initializer { __Context_init_unchained(); __ERC20Burnable_init_unchained(); } function __ERC20Burnable_init_unchained() internal initializer { } /** * @dev Destroys `amount` tokens from the caller. * * See {ERC20-_burn}. */ function burn(uint256 amount) public virtual { _burn(_msgSender(), amount); } /** * @dev Destroys `amount` tokens from `account`, deducting from the caller's * allowance. * * See {ERC20-_burn} and {ERC20-allowance}. * * Requirements: * * - the caller must have allowance for ``accounts``'s tokens of at least * `amount`. */ function burnFrom(address account, uint256 amount) public virtual { uint256 currentAllowance = allowance(account, _msgSender()); require(currentAllowance >= amount, "ERC20: burn amount exceeds allowance"); _approve(account, _msgSender(), currentAllowance - amount); _burn(account, amount); } uint256[50] private __gap; } // File: @openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol pragma solidity ^0.8.0; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract PausableUpgradeable is Initializable, ContextUpgradeable { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ function __Pausable_init() internal initializer { __Context_init_unchained(); __Pausable_init_unchained(); } function __Pausable_init_unchained() internal initializer { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(paused(), "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } uint256[49] private __gap; } // File: contracts/IXKI.sol // contracts/IXKI.sol pragma solidity >=0.8.2; interface IXKI { event SwapToNativeXKI(address indexed ethAddress, string xkiAddress, uint256 amount); event SwapToERC20XKI(address indexed ethAddress, string xkiAddress, uint256 amount); function swapToNativeXKI(string memory xkiAddress, uint256 amountXKI) external; function swapToErc20XKI(address ethAddress, string memory xkiAddress, uint256 amountXKI) external; function addBridgeOwner(address newOwner) external; function hasBridgeOwnerRole(address account) external returns(bool); function grantWatcherRole(address watcherAddress) external; function revokeWatcherRole(address watcherAddress) external; function renounceBridgeOwnership() external; function pause() external; function unpause() external; function version() external returns(string memory); function isValidKiAddress(string memory kiAddress) external returns(bool); struct slice { uint _len; uint _ptr; } } // File: contracts/XKI.sol // contracts/XKI.sol pragma solidity >=0.8.2; //import "@openzeppelin/contracts-upgradeable/utils/math/SafeMathUpgradeable.sol"; /** * @dev Implementation of the {IERC20} interface for XKI ERC20 token. * * This contract acts as a bridge between the native XKI on KiChain and the XKI-ERC20 on Ethereum. */ contract XKI is IXKI, ERC20BurnableUpgradeable, AccessControlUpgradeable, PausableUpgradeable { bytes32 public constant BRIDGE_OWNER_ROLE = keccak256("BRIDGE_OWNER_ROLE"); bytes32 public constant BRIDGE_WATCHER_ROLE = keccak256("BRIDGE_WATCHER_ROLE"); uint8 private constant _DECIMALS = 6; string private constant _VERSION = "1.0.0"; uint private constant KI_ADDRESS_LEN = uint(41); constructor() {} /** * @dev Initializes the contract using proxy pattern. * Requirements: * * - `initialBridgeOwner` and `bridgeWatcher` cannot be the zero address. * * NOTE: This function can be called only once. */ function initialize(address initialBridgeOwner, address bridgeWatcher) public initializer { require(initialBridgeOwner != address(0) && bridgeWatcher != address(0), "XKI: initialize with zero address"); __Context_init_unchained(); __ERC20_init_unchained("Ki", "XKI"); __ERC20Burnable_init_unchained(); _setupRole(BRIDGE_OWNER_ROLE, initialBridgeOwner); _setupRole(BRIDGE_WATCHER_ROLE, bridgeWatcher); _setRoleAdmin(BRIDGE_WATCHER_ROLE, BRIDGE_OWNER_ROLE); } /** * @dev Burns XKI-ERC20 and emits {SwapToNativeXKI} event. * * NOTE: {SwapToNativeXKI} event is read by an external service and triggers the native XKI transfer. */ function swapToNativeXKI(string memory xkiAddress, uint256 amountXKI) whenNotPaused public override{ _burn(msg.sender, amountXKI); emit SwapToNativeXKI(msg.sender, xkiAddress, amountXKI); } /** * @dev Mints `amountXKI` to `ethAddress` account. * * NOTE: This function is called by an external service with an account that has the `BRIDGE_WATCHER_ROLE` role. */ function swapToErc20XKI(address ethAddress, string memory xkiAddress, uint256 amountXKI) whenNotPaused onlyBridgeWatcher public override{ require(isValidKiAddress(xkiAddress), "XKI:swapToErc20XKI: invalid XKI address"); _mint(ethAddress, amountXKI); emit SwapToERC20XKI(ethAddress, xkiAddress, amountXKI); } /** * @dev Grants `BRIDGE_OWNER_ROLE` to `newOwner` account. */ function addBridgeOwner(address newOwner) onlyBridgeOwner public override{ require(newOwner != address(0), "XKI:addBridgeOwner: zero address"); require(!hasRole(BRIDGE_OWNER_ROLE, newOwner), "Account is already a brigde owner"); _setupRole(BRIDGE_OWNER_ROLE, newOwner); } /** * @dev Returns whether or not `account` has the `BRIDGE_OWNER_ROLE` role. */ function hasBridgeOwnerRole(address account) onlyBridgeOwner public view override returns(bool){ return hasRole(BRIDGE_OWNER_ROLE, account); } /** * @dev Grants `BRIDGE_WATCHER_ROLE` to `watcherAddress` account. */ function grantWatcherRole(address watcherAddress) onlyBridgeOwner public override{ require(watcherAddress != address(0), "XKI:grantWatcherRole: zero address"); require(!hasRole(BRIDGE_WATCHER_ROLE, watcherAddress), "Account is already a brigde watcher"); grantRole(BRIDGE_WATCHER_ROLE, watcherAddress); } /** * @dev Revokes `BRIDGE_WATCHER_ROLE` from `watcherAddress` account. */ function revokeWatcherRole(address watcherAddress) onlyBridgeOwner public override{ require(watcherAddress != address(0), "XKI:revokeWatcherRole: zero address"); require(hasRole(BRIDGE_WATCHER_ROLE, watcherAddress), "Account is not a brigde watcher"); revokeRole(BRIDGE_WATCHER_ROLE, watcherAddress); } /** * @dev Renounces `BRIDGE_OWNER_ROLE` role. */ function renounceBridgeOwnership() onlyBridgeOwner public override{ renounceRole(BRIDGE_OWNER_ROLE, msg.sender); } /** * @dev Disables `swapToNativeXKI` and `swapToErc20XKI` functions. * * NOTE: Can be used during maintenance of an external service. */ function pause() onlyBridgeOwner public override{ _pause(); } /** * @dev Re-enables `swapToNativeXKI` and `swapToErc20XKI` functions. */ function unpause() onlyBridgeOwner public override{ _unpause(); } modifier onlyBridgeOwner(){ require(hasRole(BRIDGE_OWNER_ROLE, msg.sender), "Caller is not a brigde owner"); _; } modifier onlyBridgeWatcher(){ require(hasRole(BRIDGE_WATCHER_ROLE, msg.sender), "Caller is not a brigde watcher"); _; } /** * @dev Returns the number of decimals used to get its user representation. */ function decimals() public view virtual override returns (uint8) { return _DECIMALS; } /** * @dev Returns version of the implementation. */ function version() public view virtual override returns (string memory){ return _VERSION; } /** * @dev Checks if `kiAddress` is a valid KiChain address. */ function isValidKiAddress(string memory kiAddress) public override pure returns(bool){ if(strlen(kiAddress) != KI_ADDRESS_LEN){ return false; } slice memory kiAddressSlice = toSlice(kiAddress); return startsWith(kiAddressSlice, toSlice("ki")); } // String manipulation functions inspired by Arachnid's implementation - Apache-2.0 license // https://github.com/Arachnid/solidity-stringutils/blob/master/src/strings.sol /* * @dev Returns a slice containing the entire string. * @param self The string to make a slice from. * @return A newly allocated slice containing the entire string. */ function toSlice(string memory self) internal pure returns (slice memory) { uint ptr; assembly { ptr := add(self, 0x20) } return slice(bytes(self).length, ptr); } /* * @dev Copies a slice to a new string. * @param self The slice to copy. * @return A newly allocated string containing the slice's text. */ function toString(slice memory self) internal pure returns (string memory) { string memory ret = new string(self._len); uint retptr; assembly { retptr := add(ret, 32) } memcpy(retptr, self._ptr, self._len); return ret; } function strlen(string memory str) internal pure returns(uint) { return bytes(str).length; } /* * @dev Returns true if `self` starts with `needle`. * @param self The slice to operate on. * @param needle The slice to search for. * @return True if the slice starts with the provided text, false otherwise. */ function startsWith(slice memory self, slice memory needle) internal pure returns (bool) { if (self._len < needle._len) { return false; } if (self._ptr == needle._ptr) { return true; } bool equal; assembly { let length := mload(needle) let selfptr := mload(add(self, 0x20)) let needleptr := mload(add(needle, 0x20)) equal := eq(keccak256(selfptr, length), keccak256(needleptr, length)) } return equal; } function memcpy(uint dest, uint src, uint len) private pure { // Copy word-length chunks while possible for(; len >= 32; len -= 32) { assembly { mstore(dest, mload(src)) } dest += 32; src += 32; } // Copy remaining bytes uint mask = 256 ** (32 - len) - 1; assembly { let srcpart := and(mload(src), not(mask)) let destpart := and(mload(dest), mask) mstore(dest, or(destpart, srcpart)) } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","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":"ethAddress","type":"address"},{"indexed":false,"internalType":"string","name":"xkiAddress","type":"string"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"SwapToERC20XKI","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"ethAddress","type":"address"},{"indexed":false,"internalType":"string","name":"xkiAddress","type":"string"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"SwapToNativeXKI","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"BRIDGE_OWNER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"BRIDGE_WATCHER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"addBridgeOwner","outputs":[],"stateMutability":"nonpayable","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":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","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":"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":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"watcherAddress","type":"address"}],"name":"grantWatcherRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"hasBridgeOwnerRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"initialBridgeOwner","type":"address"},{"internalType":"address","name":"bridgeWatcher","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"kiAddress","type":"string"}],"name":"isValidKiAddress","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceBridgeOwnership","outputs":[],"stateMutability":"nonpayable","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":[{"internalType":"address","name":"watcherAddress","type":"address"}],"name":"revokeWatcherRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"ethAddress","type":"address"},{"internalType":"string","name":"xkiAddress","type":"string"},{"internalType":"uint256","name":"amountXKI","type":"uint256"}],"name":"swapToErc20XKI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"xkiAddress","type":"string"},{"internalType":"uint256","name":"amountXKI","type":"uint256"}],"name":"swapToNativeXKI","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":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
608060405234801561001057600080fd5b50611fce806100206000396000f3fe608060405234801561001057600080fd5b50600436106102115760003560e01c806354fd4d501161012557806395d89b41116100ad578063a9059cbb1161007c578063a9059cbb14610468578063aca73ff81461047b578063d547741f14610483578063d751ec7214610496578063dd62ed3e146104a957610211565b806395d89b4114610432578063a217fddf1461043a578063a457c2d714610442578063a565daca1461045557610211565b806379cc6790116100f457806379cc6790146103de5780638456cb59146103f157806385c96e71146103f957806391d148541461040c57806391d5fa4e1461041f57610211565b806354fd4d50146103745780635c975abb1461039557806370a08231146103a05780637269c8ea146103c957610211565b8063271270e0116101a8578063395093511161017757806339509351146103205780633f4ba83a1461033357806342966c681461033b578063462402751461034e578063485cc9551461036157610211565b8063271270e0146102d65780632f2ff15d146102eb578063313ce567146102fe57806336568abe1461030d57610211565b806318160ddd116101e457806318160ddd146102795780631bb4e0e01461028b57806323b872dd146102a0578063248a9ca3146102b357610211565b806301ffc9a71461021657806306fdde031461023e578063095ea7b3146102535780630d41701814610266575b600080fd5b610229610224366004611ced565b6104e2565b60405190151581526020015b60405180910390f35b61024661051b565b6040516102359190611dde565b610229610261366004611c8a565b6105ad565b610229610274366004611bae565b6105c4565b6035545b604051908152602001610235565b61029e610299366004611bae565b61061b565b005b6102296102ae366004611bfa565b61073c565b61027d6102c1366004611cb3565b600090815260c9602052604090206001015490565b61027d600080516020611f5983398151915281565b61029e6102f9366004611ccb565b6107ed565b60405160068152602001610235565b61029e61031b366004611ccb565b61087c565b61022961032e366004611c8a565b6108f6565b61029e61092d565b61029e610349366004611cb3565b61096b565b61029e61035c366004611d50565b610975565b61029e61036f366004611bc8565b6109e9565b6040805180820190915260058152640312e302e360dc1b6020820152610246565b60fb5460ff16610229565b61027d6103ae366004611bae565b6001600160a01b031660009081526033602052604090205490565b61027d600080516020611f7983398151915281565b61029e6103ec366004611c8a565b610b72565b61029e610bf5565b61029e610407366004611bae565b610c31565b61022961041a366004611ccb565b610d42565b61029e61042d366004611bae565b610d6d565b610246610e7f565b61027d600081565b610229610450366004611c8a565b610e8e565b610229610463366004611d15565b610f29565b610229610476366004611c8a565b610fc5565b61029e610fd2565b61029e610491366004611ccb565b61101e565b61029e6104a4366004611c35565b61109e565b61027d6104b7366004611bc8565b6001600160a01b03918216600090815260346020908152604080832093909416825291909152205490565b60006001600160e01b03198216637965db0b60e01b148061051357506301ffc9a760e01b6001600160e01b03198316145b90505b919050565b60606036805461052a90611ef1565b80601f016020809104026020016040519081016040528092919081815260200182805461055690611ef1565b80156105a35780601f10610578576101008083540402835291602001916105a3565b820191906000526020600020905b81548152906001019060200180831161058657829003601f168201915b5050505050905090565b60006105ba3384846111dc565b5060015b92915050565b60006105de600080516020611f5983398151915233610d42565b6106035760405162461bcd60e51b81526004016105fa90611e8b565b60405180910390fd5b610513600080516020611f5983398151915283610d42565b610633600080516020611f5983398151915233610d42565b61064f5760405162461bcd60e51b81526004016105fa90611e8b565b6001600160a01b0381166106b05760405162461bcd60e51b815260206004820152602260248201527f584b493a6772616e7457617463686572526f6c653a207a65726f206164647265604482015261737360f01b60648201526084016105fa565b6106c8600080516020611f7983398151915282610d42565b156107215760405162461bcd60e51b815260206004820152602360248201527f4163636f756e7420697320616c726561647920612062726967646520776174636044820152623432b960e91b60648201526084016105fa565b610739600080516020611f79833981519152826107ed565b50565b6000610749848484611301565b6001600160a01b0384166000908152603460209081526040808320338452909152902054828110156107ce5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084016105fa565b6107e285336107dd8685611eda565b6111dc565b506001949350505050565b600082815260c9602052604090206001015461080a905b3361041a565b61086e5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60448201526e0818591b5a5b881d1bc819dc985b9d608a1b60648201526084016105fa565b61087882826114d9565b5050565b6001600160a01b03811633146108ec5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084016105fa565b610878828261155f565b3360008181526034602090815260408083206001600160a01b038716845290915281205490916105ba9185906107dd908690611ec2565b610945600080516020611f5983398151915233610d42565b6109615760405162461bcd60e51b81526004016105fa90611e8b565b6109696115c6565b565b6107393382611659565b60fb5460ff16156109985760405162461bcd60e51b81526004016105fa90611e13565b6109a23382611659565b336001600160a01b03167f41e12edd103c1658574a5d9c78467aad6c5e635c97299ffdd7f9883fb11cedce83836040516109dd929190611df1565b60405180910390a25050565b600054610100900460ff1680610a02575060005460ff16155b610a1e5760405162461bcd60e51b81526004016105fa90611e3d565b600054610100900460ff16158015610a40576000805461ffff19166101011790555b6001600160a01b03831615801590610a6057506001600160a01b03821615155b610ab65760405162461bcd60e51b815260206004820152602160248201527f584b493a20696e697469616c697a652077697468207a65726f206164647265736044820152607360f81b60648201526084016105fa565b610abe6117a8565b610afd604051806040016040528060028152602001614b6960f01b81525060405180604001604052806003815260200162584b4960e81b815250611813565b610b056117a8565b610b1d600080516020611f598339815191528461086e565b610b35600080516020611f798339815191528361086e565b610b5b600080516020611f79833981519152600080516020611f598339815191526118a8565b8015610b6d576000805461ff00191690555b505050565b6000610b7e83336104b7565b905081811015610bdc5760405162461bcd60e51b8152602060048201526024808201527f45524332303a206275726e20616d6f756e74206578636565647320616c6c6f77604482015263616e636560e01b60648201526084016105fa565b610beb83336107dd8585611eda565b610b6d8383611659565b610c0d600080516020611f5983398151915233610d42565b610c295760405162461bcd60e51b81526004016105fa90611e8b565b6109696118fc565b610c49600080516020611f5983398151915233610d42565b610c655760405162461bcd60e51b81526004016105fa90611e8b565b6001600160a01b038116610cbb5760405162461bcd60e51b815260206004820181905260248201527f584b493a6164644272696467654f776e65723a207a65726f206164647265737360448201526064016105fa565b610cd3600080516020611f5983398151915282610d42565b15610d2a5760405162461bcd60e51b815260206004820152602160248201527f4163636f756e7420697320616c7265616479206120627269676465206f776e656044820152603960f91b60648201526084016105fa565b610739600080516020611f598339815191528261086e565b600091825260c9602090815260408084206001600160a01b0393909316845291905290205460ff1690565b610d85600080516020611f5983398151915233610d42565b610da15760405162461bcd60e51b81526004016105fa90611e8b565b6001600160a01b038116610e035760405162461bcd60e51b815260206004820152602360248201527f584b493a7265766f6b6557617463686572526f6c653a207a65726f206164647260448201526265737360e81b60648201526084016105fa565b610e1b600080516020611f7983398151915282610d42565b610e675760405162461bcd60e51b815260206004820152601f60248201527f4163636f756e74206973206e6f7420612062726967646520776174636865720060448201526064016105fa565b610739600080516020611f798339815191528261101e565b60606037805461052a90611ef1565b3360009081526034602090815260408083206001600160a01b038616845290915281205482811015610f105760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016105fa565b610f1f33856107dd8685611eda565b5060019392505050565b60006029610f35835190565b14610f4257506000610516565b6000610f758360408051808201825260008082526020918201528151808301909252825182529182019181019190915290565b60408051808201825260028152616b6960f01b60208083019182528351808501855260008082529082015283518085019094529151835290820152909150610fbe908290611954565b9392505050565b60006105ba338484611301565b610fea600080516020611f5983398151915233610d42565b6110065760405162461bcd60e51b81526004016105fa90611e8b565b610969600080516020611f598339815191523361087c565b600082815260c9602052604090206001015461103990610804565b6108ec5760405162461bcd60e51b815260206004820152603060248201527f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60448201526f2061646d696e20746f207265766f6b6560801b60648201526084016105fa565b60fb5460ff16156110c15760405162461bcd60e51b81526004016105fa90611e13565b6110d9600080516020611f7983398151915233610d42565b6111255760405162461bcd60e51b815260206004820152601e60248201527f43616c6c6572206973206e6f742061206272696764652077617463686572000060448201526064016105fa565b61112e82610f29565b61118a5760405162461bcd60e51b815260206004820152602760248201527f584b493a73776170546f4572633230584b493a20696e76616c696420584b49206044820152666164647265737360c81b60648201526084016105fa565b6111948382611998565b826001600160a01b03167fc956e2ca913d77cd166f0b3893948441bcd9e5bd676ea7361a7f75d4be89ee3e83836040516111cf929190611df1565b60405180910390a2505050565b6001600160a01b03831661123e5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016105fa565b6001600160a01b03821661129f5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016105fa565b6001600160a01b0383811660008181526034602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b0383166113655760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016105fa565b6001600160a01b0382166113c75760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016105fa565b6001600160a01b0383166000908152603360205260409020548181101561143f5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016105fa565b6114498282611eda565b6001600160a01b03808616600090815260336020526040808220939093559085168152908120805484929061147f908490611ec2565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516114cb91815260200190565b60405180910390a350505050565b6114e38282610d42565b61087857600082815260c9602090815260408083206001600160a01b03851684529091529020805460ff1916600117905561151b3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6115698282610d42565b1561087857600082815260c9602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b60fb5460ff1661160f5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016105fa565b60fb805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6001600160a01b0382166116b95760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016105fa565b6001600160a01b0382166000908152603360205260409020548181101561172d5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016105fa565b6117378282611eda565b6001600160a01b03841660009081526033602052604081209190915560358054849290611765908490611eda565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906020016112f4565b600054610100900460ff16806117c1575060005460ff16155b6117dd5760405162461bcd60e51b81526004016105fa90611e3d565b600054610100900460ff161580156117ff576000805461ffff19166101011790555b8015610739576000805461ff001916905550565b600054610100900460ff168061182c575060005460ff16155b6118485760405162461bcd60e51b81526004016105fa90611e3d565b600054610100900460ff1615801561186a576000805461ffff19166101011790555b825161187d906036906020860190611a77565b508151611891906037906020850190611a77565b508015610b6d576000805461ff0019169055505050565b600082815260c96020526040902060010154819060405184907fbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff90600090a4600091825260c9602052604090912060010155565b60fb5460ff161561191f5760405162461bcd60e51b81526004016105fa90611e13565b60fb805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861163c3390565b805182516000911115611969575060006105be565b816020015183602001511415611981575060016105be565b508051602092830151929091015181902091201490565b6001600160a01b0382166119ee5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016105fa565b8060356000828254611a009190611ec2565b90915550506001600160a01b03821660009081526033602052604081208054839290611a2d908490611ec2565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b828054611a8390611ef1565b90600052602060002090601f016020900481019282611aa55760008555611aeb565b82601f10611abe57805160ff1916838001178555611aeb565b82800160010185558215611aeb579182015b82811115611aeb578251825591602001919060010190611ad0565b50611af7929150611afb565b5090565b5b80821115611af75760008155600101611afc565b80356001600160a01b038116811461051657600080fd5b600082601f830112611b37578081fd5b813567ffffffffffffffff80821115611b5257611b52611f42565b604051601f8301601f19908116603f01168101908282118183101715611b7a57611b7a611f42565b81604052838152866020858801011115611b92578485fd5b8360208701602083013792830160200193909352509392505050565b600060208284031215611bbf578081fd5b610fbe82611b10565b60008060408385031215611bda578081fd5b611be383611b10565b9150611bf160208401611b10565b90509250929050565b600080600060608486031215611c0e578081fd5b611c1784611b10565b9250611c2560208501611b10565b9150604084013590509250925092565b600080600060608486031215611c49578283fd5b611c5284611b10565b9250602084013567ffffffffffffffff811115611c6d578283fd5b611c7986828701611b27565b925050604084013590509250925092565b60008060408385031215611c9c578182fd5b611ca583611b10565b946020939093013593505050565b600060208284031215611cc4578081fd5b5035919050565b60008060408385031215611cdd578182fd5b82359150611bf160208401611b10565b600060208284031215611cfe578081fd5b81356001600160e01b031981168114610fbe578182fd5b600060208284031215611d26578081fd5b813567ffffffffffffffff811115611d3c578182fd5b611d4884828501611b27565b949350505050565b60008060408385031215611d62578182fd5b823567ffffffffffffffff811115611d78578283fd5b611d8485828601611b27565b95602094909401359450505050565b60008151808452815b81811015611db857602081850181015186830182015201611d9c565b81811115611dc95782602083870101525b50601f01601f19169290920160200192915050565b600060208252610fbe6020830184611d93565b600060408252611e046040830185611d93565b90508260208301529392505050565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b6020808252602e908201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160408201526d191e481a5b9a5d1a585b1a5e995960921b606082015260800190565b6020808252601c908201527f43616c6c6572206973206e6f74206120627269676465206f776e657200000000604082015260600190565b60008219821115611ed557611ed5611f2c565b500190565b600082821015611eec57611eec611f2c565b500390565b600181811c90821680611f0557607f821691505b60208210811415611f2657634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fdfeca93eeebffcc91aeddd69986d2392810138feb62c9e4efc6996600ed00e90b6d492d9fc9657070185f0d6f90f3e14794ecfa87784781f37ef6a01d92d9290847a2646970667358221220dbaed04626dd860f29a9d575e0b8662516b04c1cb6bc5e47964c6c4ddb4f504664736f6c63430008030033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102115760003560e01c806354fd4d501161012557806395d89b41116100ad578063a9059cbb1161007c578063a9059cbb14610468578063aca73ff81461047b578063d547741f14610483578063d751ec7214610496578063dd62ed3e146104a957610211565b806395d89b4114610432578063a217fddf1461043a578063a457c2d714610442578063a565daca1461045557610211565b806379cc6790116100f457806379cc6790146103de5780638456cb59146103f157806385c96e71146103f957806391d148541461040c57806391d5fa4e1461041f57610211565b806354fd4d50146103745780635c975abb1461039557806370a08231146103a05780637269c8ea146103c957610211565b8063271270e0116101a8578063395093511161017757806339509351146103205780633f4ba83a1461033357806342966c681461033b578063462402751461034e578063485cc9551461036157610211565b8063271270e0146102d65780632f2ff15d146102eb578063313ce567146102fe57806336568abe1461030d57610211565b806318160ddd116101e457806318160ddd146102795780631bb4e0e01461028b57806323b872dd146102a0578063248a9ca3146102b357610211565b806301ffc9a71461021657806306fdde031461023e578063095ea7b3146102535780630d41701814610266575b600080fd5b610229610224366004611ced565b6104e2565b60405190151581526020015b60405180910390f35b61024661051b565b6040516102359190611dde565b610229610261366004611c8a565b6105ad565b610229610274366004611bae565b6105c4565b6035545b604051908152602001610235565b61029e610299366004611bae565b61061b565b005b6102296102ae366004611bfa565b61073c565b61027d6102c1366004611cb3565b600090815260c9602052604090206001015490565b61027d600080516020611f5983398151915281565b61029e6102f9366004611ccb565b6107ed565b60405160068152602001610235565b61029e61031b366004611ccb565b61087c565b61022961032e366004611c8a565b6108f6565b61029e61092d565b61029e610349366004611cb3565b61096b565b61029e61035c366004611d50565b610975565b61029e61036f366004611bc8565b6109e9565b6040805180820190915260058152640312e302e360dc1b6020820152610246565b60fb5460ff16610229565b61027d6103ae366004611bae565b6001600160a01b031660009081526033602052604090205490565b61027d600080516020611f7983398151915281565b61029e6103ec366004611c8a565b610b72565b61029e610bf5565b61029e610407366004611bae565b610c31565b61022961041a366004611ccb565b610d42565b61029e61042d366004611bae565b610d6d565b610246610e7f565b61027d600081565b610229610450366004611c8a565b610e8e565b610229610463366004611d15565b610f29565b610229610476366004611c8a565b610fc5565b61029e610fd2565b61029e610491366004611ccb565b61101e565b61029e6104a4366004611c35565b61109e565b61027d6104b7366004611bc8565b6001600160a01b03918216600090815260346020908152604080832093909416825291909152205490565b60006001600160e01b03198216637965db0b60e01b148061051357506301ffc9a760e01b6001600160e01b03198316145b90505b919050565b60606036805461052a90611ef1565b80601f016020809104026020016040519081016040528092919081815260200182805461055690611ef1565b80156105a35780601f10610578576101008083540402835291602001916105a3565b820191906000526020600020905b81548152906001019060200180831161058657829003601f168201915b5050505050905090565b60006105ba3384846111dc565b5060015b92915050565b60006105de600080516020611f5983398151915233610d42565b6106035760405162461bcd60e51b81526004016105fa90611e8b565b60405180910390fd5b610513600080516020611f5983398151915283610d42565b610633600080516020611f5983398151915233610d42565b61064f5760405162461bcd60e51b81526004016105fa90611e8b565b6001600160a01b0381166106b05760405162461bcd60e51b815260206004820152602260248201527f584b493a6772616e7457617463686572526f6c653a207a65726f206164647265604482015261737360f01b60648201526084016105fa565b6106c8600080516020611f7983398151915282610d42565b156107215760405162461bcd60e51b815260206004820152602360248201527f4163636f756e7420697320616c726561647920612062726967646520776174636044820152623432b960e91b60648201526084016105fa565b610739600080516020611f79833981519152826107ed565b50565b6000610749848484611301565b6001600160a01b0384166000908152603460209081526040808320338452909152902054828110156107ce5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084016105fa565b6107e285336107dd8685611eda565b6111dc565b506001949350505050565b600082815260c9602052604090206001015461080a905b3361041a565b61086e5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60448201526e0818591b5a5b881d1bc819dc985b9d608a1b60648201526084016105fa565b61087882826114d9565b5050565b6001600160a01b03811633146108ec5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084016105fa565b610878828261155f565b3360008181526034602090815260408083206001600160a01b038716845290915281205490916105ba9185906107dd908690611ec2565b610945600080516020611f5983398151915233610d42565b6109615760405162461bcd60e51b81526004016105fa90611e8b565b6109696115c6565b565b6107393382611659565b60fb5460ff16156109985760405162461bcd60e51b81526004016105fa90611e13565b6109a23382611659565b336001600160a01b03167f41e12edd103c1658574a5d9c78467aad6c5e635c97299ffdd7f9883fb11cedce83836040516109dd929190611df1565b60405180910390a25050565b600054610100900460ff1680610a02575060005460ff16155b610a1e5760405162461bcd60e51b81526004016105fa90611e3d565b600054610100900460ff16158015610a40576000805461ffff19166101011790555b6001600160a01b03831615801590610a6057506001600160a01b03821615155b610ab65760405162461bcd60e51b815260206004820152602160248201527f584b493a20696e697469616c697a652077697468207a65726f206164647265736044820152607360f81b60648201526084016105fa565b610abe6117a8565b610afd604051806040016040528060028152602001614b6960f01b81525060405180604001604052806003815260200162584b4960e81b815250611813565b610b056117a8565b610b1d600080516020611f598339815191528461086e565b610b35600080516020611f798339815191528361086e565b610b5b600080516020611f79833981519152600080516020611f598339815191526118a8565b8015610b6d576000805461ff00191690555b505050565b6000610b7e83336104b7565b905081811015610bdc5760405162461bcd60e51b8152602060048201526024808201527f45524332303a206275726e20616d6f756e74206578636565647320616c6c6f77604482015263616e636560e01b60648201526084016105fa565b610beb83336107dd8585611eda565b610b6d8383611659565b610c0d600080516020611f5983398151915233610d42565b610c295760405162461bcd60e51b81526004016105fa90611e8b565b6109696118fc565b610c49600080516020611f5983398151915233610d42565b610c655760405162461bcd60e51b81526004016105fa90611e8b565b6001600160a01b038116610cbb5760405162461bcd60e51b815260206004820181905260248201527f584b493a6164644272696467654f776e65723a207a65726f206164647265737360448201526064016105fa565b610cd3600080516020611f5983398151915282610d42565b15610d2a5760405162461bcd60e51b815260206004820152602160248201527f4163636f756e7420697320616c7265616479206120627269676465206f776e656044820152603960f91b60648201526084016105fa565b610739600080516020611f598339815191528261086e565b600091825260c9602090815260408084206001600160a01b0393909316845291905290205460ff1690565b610d85600080516020611f5983398151915233610d42565b610da15760405162461bcd60e51b81526004016105fa90611e8b565b6001600160a01b038116610e035760405162461bcd60e51b815260206004820152602360248201527f584b493a7265766f6b6557617463686572526f6c653a207a65726f206164647260448201526265737360e81b60648201526084016105fa565b610e1b600080516020611f7983398151915282610d42565b610e675760405162461bcd60e51b815260206004820152601f60248201527f4163636f756e74206973206e6f7420612062726967646520776174636865720060448201526064016105fa565b610739600080516020611f798339815191528261101e565b60606037805461052a90611ef1565b3360009081526034602090815260408083206001600160a01b038616845290915281205482811015610f105760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016105fa565b610f1f33856107dd8685611eda565b5060019392505050565b60006029610f35835190565b14610f4257506000610516565b6000610f758360408051808201825260008082526020918201528151808301909252825182529182019181019190915290565b60408051808201825260028152616b6960f01b60208083019182528351808501855260008082529082015283518085019094529151835290820152909150610fbe908290611954565b9392505050565b60006105ba338484611301565b610fea600080516020611f5983398151915233610d42565b6110065760405162461bcd60e51b81526004016105fa90611e8b565b610969600080516020611f598339815191523361087c565b600082815260c9602052604090206001015461103990610804565b6108ec5760405162461bcd60e51b815260206004820152603060248201527f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60448201526f2061646d696e20746f207265766f6b6560801b60648201526084016105fa565b60fb5460ff16156110c15760405162461bcd60e51b81526004016105fa90611e13565b6110d9600080516020611f7983398151915233610d42565b6111255760405162461bcd60e51b815260206004820152601e60248201527f43616c6c6572206973206e6f742061206272696764652077617463686572000060448201526064016105fa565b61112e82610f29565b61118a5760405162461bcd60e51b815260206004820152602760248201527f584b493a73776170546f4572633230584b493a20696e76616c696420584b49206044820152666164647265737360c81b60648201526084016105fa565b6111948382611998565b826001600160a01b03167fc956e2ca913d77cd166f0b3893948441bcd9e5bd676ea7361a7f75d4be89ee3e83836040516111cf929190611df1565b60405180910390a2505050565b6001600160a01b03831661123e5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016105fa565b6001600160a01b03821661129f5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016105fa565b6001600160a01b0383811660008181526034602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b0383166113655760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016105fa565b6001600160a01b0382166113c75760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016105fa565b6001600160a01b0383166000908152603360205260409020548181101561143f5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016105fa565b6114498282611eda565b6001600160a01b03808616600090815260336020526040808220939093559085168152908120805484929061147f908490611ec2565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516114cb91815260200190565b60405180910390a350505050565b6114e38282610d42565b61087857600082815260c9602090815260408083206001600160a01b03851684529091529020805460ff1916600117905561151b3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6115698282610d42565b1561087857600082815260c9602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b60fb5460ff1661160f5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016105fa565b60fb805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6001600160a01b0382166116b95760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016105fa565b6001600160a01b0382166000908152603360205260409020548181101561172d5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016105fa565b6117378282611eda565b6001600160a01b03841660009081526033602052604081209190915560358054849290611765908490611eda565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906020016112f4565b600054610100900460ff16806117c1575060005460ff16155b6117dd5760405162461bcd60e51b81526004016105fa90611e3d565b600054610100900460ff161580156117ff576000805461ffff19166101011790555b8015610739576000805461ff001916905550565b600054610100900460ff168061182c575060005460ff16155b6118485760405162461bcd60e51b81526004016105fa90611e3d565b600054610100900460ff1615801561186a576000805461ffff19166101011790555b825161187d906036906020860190611a77565b508151611891906037906020850190611a77565b508015610b6d576000805461ff0019169055505050565b600082815260c96020526040902060010154819060405184907fbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff90600090a4600091825260c9602052604090912060010155565b60fb5460ff161561191f5760405162461bcd60e51b81526004016105fa90611e13565b60fb805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861163c3390565b805182516000911115611969575060006105be565b816020015183602001511415611981575060016105be565b508051602092830151929091015181902091201490565b6001600160a01b0382166119ee5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016105fa565b8060356000828254611a009190611ec2565b90915550506001600160a01b03821660009081526033602052604081208054839290611a2d908490611ec2565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b828054611a8390611ef1565b90600052602060002090601f016020900481019282611aa55760008555611aeb565b82601f10611abe57805160ff1916838001178555611aeb565b82800160010185558215611aeb579182015b82811115611aeb578251825591602001919060010190611ad0565b50611af7929150611afb565b5090565b5b80821115611af75760008155600101611afc565b80356001600160a01b038116811461051657600080fd5b600082601f830112611b37578081fd5b813567ffffffffffffffff80821115611b5257611b52611f42565b604051601f8301601f19908116603f01168101908282118183101715611b7a57611b7a611f42565b81604052838152866020858801011115611b92578485fd5b8360208701602083013792830160200193909352509392505050565b600060208284031215611bbf578081fd5b610fbe82611b10565b60008060408385031215611bda578081fd5b611be383611b10565b9150611bf160208401611b10565b90509250929050565b600080600060608486031215611c0e578081fd5b611c1784611b10565b9250611c2560208501611b10565b9150604084013590509250925092565b600080600060608486031215611c49578283fd5b611c5284611b10565b9250602084013567ffffffffffffffff811115611c6d578283fd5b611c7986828701611b27565b925050604084013590509250925092565b60008060408385031215611c9c578182fd5b611ca583611b10565b946020939093013593505050565b600060208284031215611cc4578081fd5b5035919050565b60008060408385031215611cdd578182fd5b82359150611bf160208401611b10565b600060208284031215611cfe578081fd5b81356001600160e01b031981168114610fbe578182fd5b600060208284031215611d26578081fd5b813567ffffffffffffffff811115611d3c578182fd5b611d4884828501611b27565b949350505050565b60008060408385031215611d62578182fd5b823567ffffffffffffffff811115611d78578283fd5b611d8485828601611b27565b95602094909401359450505050565b60008151808452815b81811015611db857602081850181015186830182015201611d9c565b81811115611dc95782602083870101525b50601f01601f19169290920160200192915050565b600060208252610fbe6020830184611d93565b600060408252611e046040830185611d93565b90508260208301529392505050565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b6020808252602e908201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160408201526d191e481a5b9a5d1a585b1a5e995960921b606082015260800190565b6020808252601c908201527f43616c6c6572206973206e6f74206120627269676465206f776e657200000000604082015260600190565b60008219821115611ed557611ed5611f2c565b500190565b600082821015611eec57611eec611f2c565b500390565b600181811c90821680611f0557607f821691505b60208210811415611f2657634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fdfeca93eeebffcc91aeddd69986d2392810138feb62c9e4efc6996600ed00e90b6d492d9fc9657070185f0d6f90f3e14794ecfa87784781f37ef6a01d92d9290847a2646970667358221220dbaed04626dd860f29a9d575e0b8662516b04c1cb6bc5e47964c6c4ddb4f504664736f6c63430008030033
Deployed Bytecode Sourcemap
39785:7862:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16267:228;;;;;;:::i;:::-;;:::i;:::-;;;5099:14:1;;5092:22;5074:41;;5062:2;5047:18;16267:228:0;;;;;;;;25461:91;;;:::i;:::-;;;;;;;:::i;27601:169::-;;;;;;:::i;:::-;;:::i;42415:154::-;;;;;;:::i;:::-;;:::i;26554:108::-;26642:12;;26554:108;;;5272:25:1;;;5260:2;5245:18;26554:108:0;5227:76:1;42664:330:0;;;;;;:::i;:::-;;:::i;:::-;;28252:422;;;;;;:::i;:::-;;:::i;16915:123::-;;;;;;:::i;:::-;16981:7;17008:12;;;:6;:12;;;;;:22;;;;16915:123;39888:74;;-1:-1:-1;;;;;;;;;;;39888:74:0;;17300:232;;;;;;:::i;:::-;;:::i;44429:98::-;;;40089:1;16781:36:1;;16769:2;16754:18;44429:98:0;16736:87:1;18519:218:0;;;;;;:::i;:::-;;:::i;29083:215::-;;;;;;:::i;:::-;;:::i;43961:77::-;;;:::i;35027:91::-;;;;;;:::i;:::-;;:::i;41180:208::-;;;;;;:::i;:::-;;:::i;40467:512::-;;;;;;:::i;:::-;;:::i;44603:103::-;44690:8;;;;;;;;;;;;-1:-1:-1;;;44690:8:0;;;;44603:103;;37127:86;37198:7;;;;37127:86;;26725:127;;;;;;:::i;:::-;-1:-1:-1;;;;;26826:18:0;26799:7;26826:18;;;:9;:18;;;;;;;26725:127;39969:78;;-1:-1:-1;;;;;;;;;;;39969:78:0;;35437:332;;;;;;:::i;:::-;;:::i;43790:73::-;;;:::i;42014:297::-;;;;;;:::i;:::-;;:::i;16587:139::-;;;;;;:::i;:::-;;:::i;43092:328::-;;;;;;:::i;:::-;;:::i;25671:95::-;;;:::i;15032:49::-;;15077:4;15032:49;;29801:377;;;;;;:::i;:::-;;:::i;44793:287::-;;;;;;:::i;:::-;;:::i;27065:175::-;;;;;;:::i;:::-;;:::i;43493:126::-;;;:::i;17777:235::-;;;;;;:::i;:::-;;:::i;41594:333::-;;;;;;:::i;:::-;;:::i;27303:151::-;;;;;;:::i;:::-;-1:-1:-1;;;;;27419:18:0;;;27392:7;27419:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;27303:151;16267:228;16352:4;-1:-1:-1;;;;;;16376:58:0;;-1:-1:-1;;;16376:58:0;;:111;;-1:-1:-1;;;;;;;;;;12195:51:0;;;16451:36;16369:118;;16267:228;;;;:::o;25461:91::-;25506:13;25539:5;25532:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25461:91;:::o;27601:169::-;27684:4;27701:39;9875:10;27724:7;27733:6;27701:8;:39::i;:::-;-1:-1:-1;27758:4:0;27601:169;;;;;:::o;42415:154::-;42505:4;44089:38;-1:-1:-1;;;;;;;;;;;44116:10:0;44089:7;:38::i;:::-;44081:79;;;;-1:-1:-1;;;44081:79:0;;;;;;;:::i;:::-;;;;;;;;;42526:35:::1;-1:-1:-1::0;;;;;;;;;;;42553:7:0::1;42526;:35::i;42664:330::-:0;44089:38;-1:-1:-1;;;;;;;;;;;44116:10:0;44089:7;:38::i;:::-;44081:79;;;;-1:-1:-1;;;44081:79:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;42762:28:0;::::1;42754:75;;;::::0;-1:-1:-1;;;42754:75:0;;11525:2:1;42754:75:0::1;::::0;::::1;11507:21:1::0;11564:2;11544:18;;;11537:30;11603:34;11583:18;;;11576:62;-1:-1:-1;;;11654:18:1;;;11647:32;11696:19;;42754:75:0::1;11497:224:1::0;42754:75:0::1;42847:44;-1:-1:-1::0;;;;;;;;;;;42876:14:0::1;42847:7;:44::i;:::-;42846:45;42838:93;;;::::0;-1:-1:-1;;;42838:93:0;;8773:2:1;42838:93:0::1;::::0;::::1;8755:21:1::0;8812:2;8792:18;;;8785:30;8851:34;8831:18;;;8824:62;-1:-1:-1;;;8902:18:1;;;8895:33;8945:19;;42838:93:0::1;8745:225:1::0;42838:93:0::1;42940:46;-1:-1:-1::0;;;;;;;;;;;42971:14:0::1;42940:9;:46::i;:::-;42664:330:::0;:::o;28252:422::-;28358:4;28375:36;28385:6;28393:9;28404:6;28375:9;:36::i;:::-;-1:-1:-1;;;;;28451:19:0;;28424:24;28451:19;;;:11;:19;;;;;;;;9875:10;28451:33;;;;;;;;28503:26;;;;28495:79;;;;-1:-1:-1;;;28495:79:0;;11928:2:1;28495:79:0;;;11910:21:1;11967:2;11947:18;;;11940:30;12006:34;11986:18;;;11979:62;-1:-1:-1;;;12057:18:1;;;12050:38;12105:19;;28495:79:0;11900:230:1;28495:79:0;28585:57;28594:6;9875:10;28616:25;28635:6;28616:16;:25;:::i;:::-;28585:8;:57::i;:::-;-1:-1:-1;28662:4:0;;28252:422;-1:-1:-1;;;;28252:422:0:o;17300:232::-;16981:7;17008:12;;;:6;:12;;;;;:22;;;17393:41;;17401:18;9875:10;17421:12;9795:98;17393:41;17385:101;;;;-1:-1:-1;;;17385:101:0;;6435:2:1;17385:101:0;;;6417:21:1;6474:2;6454:18;;;6447:30;6513:34;6493:18;;;6486:62;-1:-1:-1;;;6564:18:1;;;6557:45;6619:19;;17385:101:0;6407:237:1;17385:101:0;17499:25;17510:4;17516:7;17499:10;:25::i;:::-;17300:232;;:::o;18519:218::-;-1:-1:-1;;;;;18615:23:0;;9875:10;18615:23;18607:83;;;;-1:-1:-1;;;18607:83:0;;15883:2:1;18607:83:0;;;15865:21:1;15922:2;15902:18;;;15895:30;15961:34;15941:18;;;15934:62;-1:-1:-1;;;16012:18:1;;;16005:45;16067:19;;18607:83:0;15855:237:1;18607:83:0;18703:26;18715:4;18721:7;18703:11;:26::i;29083:215::-;9875:10;29171:4;29220:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;29220:34:0;;;;;;;;;;29171:4;;29188:80;;29211:7;;29220:47;;29257:10;;29220:47;:::i;43961:77::-;44089:38;-1:-1:-1;;;;;;;;;;;44116:10:0;44089:7;:38::i;:::-;44081:79;;;;-1:-1:-1;;;44081:79:0;;;;;;;:::i;:::-;44020:10:::1;:8;:10::i;:::-;43961:77::o:0;35027:91::-;35083:27;9875:10;35103:6;35083:5;:27::i;41180:208::-;37198:7;;;;37452:9;37444:38;;;;-1:-1:-1;;;37444:38:0;;;;;;;:::i;:::-;41288:28:::1;41294:10;41306:9;41288:5;:28::i;:::-;41346:10;-1:-1:-1::0;;;;;41330:50:0::1;;41358:10;41370:9;41330:50;;;;;;;:::i;:::-;;;;;;;;41180:208:::0;;:::o;40467:512::-;8597:13;;;;;;;;:30;;-1:-1:-1;8615:12:0;;;;8614:13;8597:30;8589:89;;;;-1:-1:-1;;;8589:89:0;;;;;;;:::i;:::-;8691:19;8714:13;;;;;;8713:14;8738:101;;;;8773:13;:20;;-1:-1:-1;;8808:19:0;;;;;8738:101;-1:-1:-1;;;;;40575:32:0;::::1;::::0;;::::1;::::0;:63:::1;;-1:-1:-1::0;;;;;;40611:27:0;::::1;::::0;::::1;40575:63;40567:109;;;::::0;-1:-1:-1;;;40567:109:0;;13955:2:1;40567:109:0::1;::::0;::::1;13937:21:1::0;13994:2;13974:18;;;13967:30;14033:34;14013:18;;;14006:62;-1:-1:-1;;;14084:18:1;;;14077:31;14125:19;;40567:109:0::1;13927:223:1::0;40567:109:0::1;40685:26;:24;:26::i;:::-;40720:35;;;;;;;;;;;;;;-1:-1:-1::0;;;40720:35:0::1;;::::0;::::1;;;;;;;;;;;;;-1:-1:-1::0;;;40720:35:0::1;;::::0;:22:::1;:35::i;:::-;40764:32;:30;:32::i;:::-;40805:49;-1:-1:-1::0;;;;;;;;;;;40835:18:0::1;40805:10;:49::i;:::-;40863:46;-1:-1:-1::0;;;;;;;;;;;40895:13:0::1;40863:10;:46::i;:::-;40918:53;-1:-1:-1::0;;;;;;;;;;;;;;;;;;;;;;40918:13:0::1;:53::i;:::-;8869:14:::0;8865:68;;;8916:5;8900:21;;-1:-1:-1;;8900:21:0;;;8865:68;40467:512;;;:::o;35437:332::-;35514:24;35541:32;35551:7;9875:10;35560:12;9795:98;35541:32;35514:59;;35612:6;35592:16;:26;;35584:75;;;;-1:-1:-1;;;35584:75:0;;12337:2:1;35584:75:0;;;12319:21:1;12376:2;12356:18;;;12349:30;12415:34;12395:18;;;12388:62;-1:-1:-1;;;12466:18:1;;;12459:34;12510:19;;35584:75:0;12309:226:1;35584:75:0;35670:58;35679:7;9875:10;35702:25;35721:6;35702:16;:25;:::i;35670:58::-;35739:22;35745:7;35754:6;35739:5;:22::i;43790:73::-;44089:38;-1:-1:-1;;;;;;;;;;;44116:10:0;44089:7;:38::i;:::-;44081:79;;;;-1:-1:-1;;;44081:79:0;;;;;;;:::i;:::-;43847:8:::1;:6;:8::i;42014:297::-:0;44089:38;-1:-1:-1;;;;;;;;;;;44116:10:0;44089:7;:38::i;:::-;44081:79;;;;-1:-1:-1;;;44081:79:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;42104:22:0;::::1;42096:67;;;::::0;-1:-1:-1;;;42096:67:0;;14357:2:1;42096:67:0::1;::::0;::::1;14339:21:1::0;;;14376:18;;;14369:30;14435:34;14415:18;;;14408:62;14487:18;;42096:67:0::1;14329:182:1::0;42096:67:0::1;42181:36;-1:-1:-1::0;;;;;;;;;;;42208:8:0::1;42181:7;:36::i;:::-;42180:37;42172:83;;;::::0;-1:-1:-1;;;42172:83:0;;14718:2:1;42172:83:0::1;::::0;::::1;14700:21:1::0;14757:2;14737:18;;;14730:30;14796:34;14776:18;;;14769:62;-1:-1:-1;;;14847:18:1;;;14840:31;14888:19;;42172:83:0::1;14690:223:1::0;42172:83:0::1;42264:39;-1:-1:-1::0;;;;;;;;;;;42294:8:0::1;42264:10;:39::i;16587:139::-:0;16665:4;16689:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;16689:29:0;;;;;;;;;;;;;;;16587:139::o;43092:328::-;44089:38;-1:-1:-1;;;;;;;;;;;44116:10:0;44089:7;:38::i;:::-;44081:79;;;;-1:-1:-1;;;44081:79:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;43191:28:0;::::1;43183:76;;;::::0;-1:-1:-1;;;43183:76:0;;9584:2:1;43183:76:0::1;::::0;::::1;9566:21:1::0;9623:2;9603:18;;;9596:30;9662:34;9642:18;;;9635:62;-1:-1:-1;;;9713:18:1;;;9706:33;9756:19;;43183:76:0::1;9556:225:1::0;43183:76:0::1;43276:44;-1:-1:-1::0;;;;;;;;;;;43305:14:0::1;43276:7;:44::i;:::-;43268:88;;;::::0;-1:-1:-1;;;43268:88:0;;9988:2:1;43268:88:0::1;::::0;::::1;9970:21:1::0;10027:2;10007:18;;;10000:30;10066:33;10046:18;;;10039:61;10117:18;;43268:88:0::1;9960:181:1::0;43268:88:0::1;43365:47;-1:-1:-1::0;;;;;;;;;;;43397:14:0::1;43365:10;:47::i;25671:95::-:0;25718:13;25751:7;25744:14;;;;;:::i;29801:377::-;9875:10;29894:4;29938:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;29938:34:0;;;;;;;;;;29991:35;;;;29983:85;;;;-1:-1:-1;;;29983:85:0;;15120:2:1;29983:85:0;;;15102:21:1;15159:2;15139:18;;;15132:30;15198:34;15178:18;;;15171:62;-1:-1:-1;;;15249:18:1;;;15242:35;15294:19;;29983:85:0;15092:227:1;29983:85:0;30079:67;9875:10;30102:7;30111:34;30130:15;30111:16;:34;:::i;30079:67::-;-1:-1:-1;30166:4:0;;29801:377;-1:-1:-1;;;29801:377:0:o;44793:287::-;44873:4;40190:2;44890:17;44897:9;46227:17;;46146:106;44890:17;:35;44887:72;;-1:-1:-1;44944:5:0;44937:12;;44887:72;44967:27;44997:18;45005:9;-1:-1:-1;;;;;;;;;;;;;;;;;45649:30:0;;;;;;;;45655:18;;45649:30;;45606:15;;;45649:30;;;;;;;;45471:216;44997:18;45058:13;;;;;;;;;;;-1:-1:-1;;;45058:13:0;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;45649:30:0;;;;;;;;45655:18;;45649:30;;;;;;44967:48;;-1:-1:-1;45031:41:0;;44967:48;;45031:10;:41::i;:::-;45024:48;44793:287;-1:-1:-1;;;44793:287:0:o;27065:175::-;27151:4;27168:42;9875:10;27192:9;27203:6;27168:9;:42::i;43493:126::-;44089:38;-1:-1:-1;;;;;;;;;;;44116:10:0;44089:7;:38::i;:::-;44081:79;;;;-1:-1:-1;;;44081:79:0;;;;;;;:::i;:::-;43568:43:::1;-1:-1:-1::0;;;;;;;;;;;43600:10:0::1;43568:12;:43::i;17777:235::-:0;16981:7;17008:12;;;:6;:12;;;;;:22;;;17871:41;;17879:18;16915:123;17871:41;17863:102;;;;-1:-1:-1;;;17863:102:0;;10348:2:1;17863:102:0;;;10330:21:1;10387:2;10367:18;;;10360:30;10426:34;10406:18;;;10399:62;-1:-1:-1;;;10477:18:1;;;10470:46;10533:19;;17863:102:0;10320:238:1;41594:333:0;37198:7;;;;37452:9;37444:38;;;;-1:-1:-1;;;37444:38:0;;;;;;;:::i;:::-;44231:40:::1;-1:-1:-1::0;;;;;;;;;;;44260:10:0::1;44231:7;:40::i;:::-;44223:83;;;::::0;-1:-1:-1;;;44223:83:0;;8414:2:1;44223:83:0::1;::::0;::::1;8396:21:1::0;8453:2;8433:18;;;8426:30;8492:32;8472:18;;;8465:60;8542:18;;44223:83:0::1;8386:180:1::0;44223:83:0::1;41747:28:::2;41764:10;41747:16;:28::i;:::-;41739:80;;;::::0;-1:-1:-1;;;41739:80:0;;8006:2:1;41739:80:0::2;::::0;::::2;7988:21:1::0;8045:2;8025:18;;;8018:30;8084:34;8064:18;;;8057:62;-1:-1:-1;;;8135:18:1;;;8128:37;8182:19;;41739:80:0::2;7978:229:1::0;41739:80:0::2;41828:28;41834:10;41846:9;41828:5;:28::i;:::-;41885:10;-1:-1:-1::0;;;;;41870:49:0::2;;41897:10;41909:9;41870:49;;;;;;;:::i;:::-;;;;;;;;41594:333:::0;;;:::o;33157:346::-;-1:-1:-1;;;;;33259:19:0;;33251:68;;;;-1:-1:-1;;;33251:68:0;;13550:2:1;33251:68:0;;;13532:21:1;13589:2;13569:18;;;13562:30;13628:34;13608:18;;;13601:62;-1:-1:-1;;;13679:18:1;;;13672:34;13723:19;;33251:68:0;13522:226:1;33251:68:0;-1:-1:-1;;;;;33338:21:0;;33330:68;;;;-1:-1:-1;;;33330:68:0;;7603:2:1;33330:68:0;;;7585:21:1;7642:2;7622:18;;;7615:30;7681:34;7661:18;;;7654:62;-1:-1:-1;;;7732:18:1;;;7725:32;7774:19;;33330:68:0;7575:224:1;33330:68:0;-1:-1:-1;;;;;33411:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;33463:32;;5272:25:1;;;33463:32:0;;5245:18:1;33463:32:0;;;;;;;;33157:346;;;:::o;30668:604::-;-1:-1:-1;;;;;30774:20:0;;30766:70;;;;-1:-1:-1;;;30766:70:0;;13144:2:1;30766:70:0;;;13126:21:1;13183:2;13163:18;;;13156:30;13222:34;13202:18;;;13195:62;-1:-1:-1;;;13273:18:1;;;13266:35;13318:19;;30766:70:0;13116:227:1;30766:70:0;-1:-1:-1;;;;;30855:23:0;;30847:71;;;;-1:-1:-1;;;30847:71:0;;6031:2:1;30847:71:0;;;6013:21:1;6070:2;6050:18;;;6043:30;6109:34;6089:18;;;6082:62;-1:-1:-1;;;6160:18:1;;;6153:33;6203:19;;30847:71:0;6003:225:1;30847:71:0;-1:-1:-1;;;;;31015:17:0;;30991:21;31015:17;;;:9;:17;;;;;;31051:23;;;;31043:74;;;;-1:-1:-1;;;31043:74:0;;9177:2:1;31043:74:0;;;9159:21:1;9216:2;9196:18;;;9189:30;9255:34;9235:18;;;9228:62;-1:-1:-1;;;9306:18:1;;;9299:36;9352:19;;31043:74:0;9149:228:1;31043:74:0;31148:22;31164:6;31148:13;:22;:::i;:::-;-1:-1:-1;;;;;31128:17:0;;;;;;;:9;:17;;;;;;:42;;;;31181:20;;;;;;;;:30;;31205:6;;31128:17;31181:30;;31205:6;;31181:30;:::i;:::-;;;;;;;;31246:9;-1:-1:-1;;;;;31229:35:0;31238:6;-1:-1:-1;;;;;31229:35:0;;31257:6;31229:35;;;;5272:25:1;;5260:2;5245:18;;5227:76;31229:35:0;;;;;;;;30668:604;;;;:::o;19767:229::-;19842:22;19850:4;19856:7;19842;:22::i;:::-;19837:152;;19881:12;;;;:6;:12;;;;;;;;-1:-1:-1;;;;;19881:29:0;;;;;;;;;:36;;-1:-1:-1;;19881:36:0;19913:4;19881:36;;;19964:12;9875:10;9795:98;;19964:12;-1:-1:-1;;;;;19937:40:0;19955:7;-1:-1:-1;;;;;19937:40:0;19949:4;19937:40;;;;;;;;;;19767:229;;:::o;20004:230::-;20079:22;20087:4;20093:7;20079;:22::i;:::-;20075:152;;;20150:5;20118:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;20118:29:0;;;;;;;;;;:37;;-1:-1:-1;;20118:37:0;;;20175:40;9875:10;;20118:12;;20175:40;;20150:5;20175:40;20004:230;;:::o;38186:120::-;37198:7;;;;37722:41;;;;-1:-1:-1;;;37722:41:0;;6851:2:1;37722:41:0;;;6833:21:1;6890:2;6870:18;;;6863:30;-1:-1:-1;;;6909:18:1;;;6902:50;6969:18;;37722:41:0;6823:170:1;37722:41:0;38245:7:::1;:15:::0;;-1:-1:-1;;38245:15:0::1;::::0;;38276:22:::1;9875:10:::0;38285:12:::1;38276:22;::::0;-1:-1:-1;;;;;4890:32:1;;;4872:51;;4860:2;4845:18;38276:22:0::1;;;;;;;38186:120::o:0;32225:494::-;-1:-1:-1;;;;;32309:21:0;;32301:67;;;;-1:-1:-1;;;32301:67:0;;12742:2:1;32301:67:0;;;12724:21:1;12781:2;12761:18;;;12754:30;12820:34;12800:18;;;12793:62;-1:-1:-1;;;12871:18:1;;;12864:31;12912:19;;32301:67:0;12714:223:1;32301:67:0;-1:-1:-1;;;;;32468:18:0;;32443:22;32468:18;;;:9;:18;;;;;;32505:24;;;;32497:71;;;;-1:-1:-1;;;32497:71:0;;7200:2:1;32497:71:0;;;7182:21:1;7239:2;7219:18;;;7212:30;7278:34;7258:18;;;7251:62;-1:-1:-1;;;7329:18:1;;;7322:32;7371:19;;32497:71:0;7172:224:1;32497:71:0;32600:23;32617:6;32600:14;:23;:::i;:::-;-1:-1:-1;;;;;32579:18:0;;;;;;:9;:18;;;;;:44;;;;32634:12;:22;;32650:6;;32579:18;32634:22;;32650:6;;32634:22;:::i;:::-;;;;-1:-1:-1;;32674:37:0;;5272:25:1;;;32700:1:0;;-1:-1:-1;;;;;32674:37:0;;;;;5260:2:1;5245:18;32674:37:0;5227:76:1;9724:65:0;8597:13;;;;;;;;:30;;-1:-1:-1;8615:12:0;;;;8614:13;8597:30;8589:89;;;;-1:-1:-1;;;8589:89:0;;;;;;;:::i;:::-;8691:19;8714:13;;;;;;8713:14;8738:101;;;;8773:13;:20;;-1:-1:-1;;8808:19:0;;;;;8738:101;8869:14;8865:68;;;8916:5;8900:21;;-1:-1:-1;;8900:21:0;;;9724:65;:::o;25234:157::-;8597:13;;;;;;;;:30;;-1:-1:-1;8615:12:0;;;;8614:13;8597:30;8589:89;;;;-1:-1:-1;;;8589:89:0;;;;;;;:::i;:::-;8691:19;8714:13;;;;;;8713:14;8738:101;;;;8773:13;:20;;-1:-1:-1;;8808:19:0;;;;;8738:101;25342:13;;::::1;::::0;:5:::1;::::0;:13:::1;::::0;::::1;::::0;::::1;:::i;:::-;-1:-1:-1::0;25366:17:0;;::::1;::::0;:7:::1;::::0;:17:::1;::::0;::::1;::::0;::::1;:::i;:::-;;8869:14:::0;8865:68;;;8916:5;8900:21;;-1:-1:-1;;8900:21:0;;;25234:157;;;:::o;19564:195::-;16981:7;17008:12;;;:6;:12;;;;;:22;;;19696:9;;19653:53;;19670:4;;19653:53;;;;;19717:12;;;;:6;:12;;;;;;:22;;:34;19564:195::o;37927:118::-;37198:7;;;;37452:9;37444:38;;;;-1:-1:-1;;;37444:38:0;;;;;;;:::i;:::-;37987:7:::1;:14:::0;;-1:-1:-1;;37987:14:0::1;37997:4;37987:14;::::0;;38017:20:::1;38024:12;9875:10:::0;9795:98;;46509:562;46625:11;;46613:9;;46592:4;;-1:-1:-1;46609:68:0;;;-1:-1:-1;46660:5:0;46653:12;;46609:68;46706:6;:11;;;46693:4;:9;;;:24;46689:68;;;-1:-1:-1;46741:4:0;46734:11;;46689:68;-1:-1:-1;46828:13:0;;46886:4;46876:15;;;46870:22;46929:17;;;;46923:24;47001:28;;;46973:26;;46970:60;;46509:562::o;31554:338::-;-1:-1:-1;;;;;31638:21:0;;31630:65;;;;-1:-1:-1;;;31630:65:0;;16299:2:1;31630:65:0;;;16281:21:1;16338:2;16318:18;;;16311:30;16377:33;16357:18;;;16350:61;16428:18;;31630:65:0;16271:181:1;31630:65:0;31786:6;31770:12;;:22;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;31803:18:0;;;;;;:9;:18;;;;;:28;;31825:6;;31803:18;:28;;31825:6;;31803:28;:::i;:::-;;;;-1:-1:-1;;31847:37:0;;5272:25:1;;;-1:-1:-1;;;;;31847:37:0;;;31864:1;;31847:37;;5260:2:1;5245:18;31847:37:0;;;;;;;31554:338;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:173:1;82:20;;-1:-1:-1;;;;;131:31:1;;121:42;;111:2;;177:1;174;167:12;192:739;;288:3;281:4;273:6;269:17;265:27;255:2;;310:5;303;296:20;255:2;350:6;337:20;376:18;413:2;409;406:10;403:2;;;419:18;;:::i;:::-;494:2;488:9;462:2;548:13;;-1:-1:-1;;544:22:1;;;568:2;540:31;536:40;524:53;;;592:18;;;612:22;;;589:46;586:2;;;638:18;;:::i;:::-;678:10;674:2;667:22;713:2;705:6;698:18;759:3;752:4;747:2;739:6;735:15;731:26;728:35;725:2;;;780:5;773;766:20;725:2;848;841:4;833:6;829:17;822:4;814:6;810:17;797:54;871:15;;;888:4;867:26;860:41;;;;-1:-1:-1;875:6:1;245:686;-1:-1:-1;;;245:686:1:o;936:196::-;;1048:2;1036:9;1027:7;1023:23;1019:32;1016:2;;;1069:6;1061;1054:22;1016:2;1097:29;1116:9;1097:29;:::i;1137:270::-;;;1266:2;1254:9;1245:7;1241:23;1237:32;1234:2;;;1287:6;1279;1272:22;1234:2;1315:29;1334:9;1315:29;:::i;:::-;1305:39;;1363:38;1397:2;1386:9;1382:18;1363:38;:::i;:::-;1353:48;;1224:183;;;;;:::o;1412:338::-;;;;1558:2;1546:9;1537:7;1533:23;1529:32;1526:2;;;1579:6;1571;1564:22;1526:2;1607:29;1626:9;1607:29;:::i;:::-;1597:39;;1655:38;1689:2;1678:9;1674:18;1655:38;:::i;:::-;1645:48;;1740:2;1729:9;1725:18;1712:32;1702:42;;1516:234;;;;;:::o;1755:484::-;;;;1911:2;1899:9;1890:7;1886:23;1882:32;1879:2;;;1932:6;1924;1917:22;1879:2;1960:29;1979:9;1960:29;:::i;:::-;1950:39;;2040:2;2029:9;2025:18;2012:32;2067:18;2059:6;2056:30;2053:2;;;2104:6;2096;2089:22;2053:2;2132:50;2174:7;2165:6;2154:9;2150:22;2132:50;:::i;:::-;2122:60;;;2229:2;2218:9;2214:18;2201:32;2191:42;;1869:370;;;;;:::o;2244:264::-;;;2373:2;2361:9;2352:7;2348:23;2344:32;2341:2;;;2394:6;2386;2379:22;2341:2;2422:29;2441:9;2422:29;:::i;:::-;2412:39;2498:2;2483:18;;;;2470:32;;-1:-1:-1;;;2331:177:1:o;2513:190::-;;2625:2;2613:9;2604:7;2600:23;2596:32;2593:2;;;2646:6;2638;2631:22;2593:2;-1:-1:-1;2674:23:1;;2583:120;-1:-1:-1;2583:120:1:o;2708:264::-;;;2837:2;2825:9;2816:7;2812:23;2808:32;2805:2;;;2858:6;2850;2843:22;2805:2;2899:9;2886:23;2876:33;;2928:38;2962:2;2951:9;2947:18;2928:38;:::i;2977:306::-;;3088:2;3076:9;3067:7;3063:23;3059:32;3056:2;;;3109:6;3101;3094:22;3056:2;3140:23;;-1:-1:-1;;;;;;3192:32:1;;3182:43;;3172:2;;3244:6;3236;3229:22;3288:342;;3410:2;3398:9;3389:7;3385:23;3381:32;3378:2;;;3431:6;3423;3416:22;3378:2;3476:9;3463:23;3509:18;3501:6;3498:30;3495:2;;;3546:6;3538;3531:22;3495:2;3574:50;3616:7;3607:6;3596:9;3592:22;3574:50;:::i;:::-;3564:60;3368:262;-1:-1:-1;;;;3368:262:1:o;3635:410::-;;;3774:2;3762:9;3753:7;3749:23;3745:32;3742:2;;;3795:6;3787;3780:22;3742:2;3840:9;3827:23;3873:18;3865:6;3862:30;3859:2;;;3910:6;3902;3895:22;3859:2;3938:50;3980:7;3971:6;3960:9;3956:22;3938:50;:::i;:::-;3928:60;4035:2;4020:18;;;;4007:32;;-1:-1:-1;;;;3732:313:1:o;4245:476::-;;4325:5;4319:12;4352:6;4347:3;4340:19;4377:3;4389:162;4403:6;4400:1;4397:13;4389:162;;;4465:4;4521:13;;;4517:22;;4511:29;4493:11;;;4489:20;;4482:59;4418:12;4389:162;;;4569:6;4566:1;4563:13;4560:2;;;4635:3;4628:4;4619:6;4614:3;4610:16;4606:27;4599:40;4560:2;-1:-1:-1;4703:2:1;4682:15;-1:-1:-1;;4678:29:1;4669:39;;;;4710:4;4665:50;;4295:426;-1:-1:-1;;4295:426:1:o;5308:220::-;;5457:2;5446:9;5439:21;5477:45;5518:2;5507:9;5503:18;5495:6;5477:45;:::i;5533:291::-;;5710:2;5699:9;5692:21;5730:45;5771:2;5760:9;5756:18;5748:6;5730:45;:::i;:::-;5722:53;;5811:6;5806:2;5795:9;5791:18;5784:34;5682:142;;;;;:::o;10563:340::-;10765:2;10747:21;;;10804:2;10784:18;;;10777:30;-1:-1:-1;;;10838:2:1;10823:18;;10816:46;10894:2;10879:18;;10737:166::o;10908:410::-;11110:2;11092:21;;;11149:2;11129:18;;;11122:30;11188:34;11183:2;11168:18;;11161:62;-1:-1:-1;;;11254:2:1;11239:18;;11232:44;11308:3;11293:19;;11082:236::o;15324:352::-;15526:2;15508:21;;;15565:2;15545:18;;;15538:30;15604;15599:2;15584:18;;15577:58;15667:2;15652:18;;15498:178::o;16828:128::-;;16899:1;16895:6;16892:1;16889:13;16886:2;;;16905:18;;:::i;:::-;-1:-1:-1;16941:9:1;;16876:80::o;16961:125::-;;17029:1;17026;17023:8;17020:2;;;17034:18;;:::i;:::-;-1:-1:-1;17071:9:1;;17010:76::o;17091:380::-;17170:1;17166:12;;;;17213;;;17234:2;;17288:4;17280:6;17276:17;17266:27;;17234:2;17341;17333:6;17330:14;17310:18;17307:38;17304:2;;;17387:10;17382:3;17378:20;17375:1;17368:31;17422:4;17419:1;17412:15;17450:4;17447:1;17440:15;17304:2;;17146:325;;;:::o;17476:127::-;17537:10;17532:3;17528:20;17525:1;17518:31;17568:4;17565:1;17558:15;17592:4;17589:1;17582:15;17608:127;17669:10;17664:3;17660:20;17657:1;17650:31;17700:4;17697:1;17690:15;17724:4;17721:1;17714:15
Swarm Source
ipfs://dbaed04626dd860f29a9d575e0b8662516b04c1cb6bc5e47964c6c4ddb4f5046
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
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.