More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 26 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Send To AMO | 4135606 | 7 days ago | IN | 0 S | 0.00650529 | ||||
Mint | 3902544 | 8 days ago | IN | 0 S | 0.00374481 | ||||
Mint | 3879401 | 9 days ago | IN | 0 S | 0.00057232 | ||||
Mint | 3870340 | 9 days ago | IN | 0 S | 0.00057225 | ||||
Send To AMO | 3766791 | 10 days ago | IN | 0 S | 0.00041931 | ||||
Mint | 3764180 | 10 days ago | IN | 0 S | 0.00054156 | ||||
Mint | 3763965 | 10 days ago | IN | 0 S | 0.00054156 | ||||
Mint | 3763677 | 10 days ago | IN | 0 S | 0.00054143 | ||||
Mint | 3763497 | 10 days ago | IN | 0 S | 0.00056783 | ||||
Send To AMO | 3301811 | 12 days ago | IN | 0 S | 0.00035153 | ||||
Mint | 3166326 | 13 days ago | IN | 0 S | 0.00062514 | ||||
Mint | 3144671 | 14 days ago | IN | 0 S | 0.00155908 | ||||
Mint | 3107854 | 14 days ago | IN | 0 S | 0.00054156 | ||||
Send To AMO | 3014066 | 15 days ago | IN | 0 S | 0.00032506 | ||||
Mint | 3013656 | 15 days ago | IN | 0 S | 0.00054143 | ||||
Mint | 3013254 | 15 days ago | IN | 0 S | 0.00063548 | ||||
Send To AMO | 3010415 | 15 days ago | IN | 0 S | 0.00032513 | ||||
Mint | 3000765 | 15 days ago | IN | 0 S | 0.00050308 | ||||
Mint | 2732583 | 17 days ago | IN | 0 S | 0.0001497 | ||||
Mint | 2522883 | 18 days ago | IN | 0 S | 0.00012058 | ||||
Mint | 2381658 | 20 days ago | IN | 0 S | 0.00008796 | ||||
Mint | 2374125 | 20 days ago | IN | 0 S | 0.00013237 | ||||
Transfer Ownersh... | 2036204 | 23 days ago | IN | 0 S | 0.00009273 | ||||
Config Address | 2036057 | 23 days ago | IN | 0 S | 0.00017447 | ||||
Config Security | 2036053 | 23 days ago | IN | 0 S | 0.00007285 |
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
PsmAMO
Compiler Version
v0.8.27+commit.40a35a09
Contract Source Code (Solidity)
/** *Submitted for verification at SonicScan.org on 2024-12-30 */ // SPDX-License-Identifier: BUSL-1.1 pragma solidity ^0.8.20 ^0.8.26; // lib/openzeppelin-contracts/contracts/interfaces/draft-IERC6093.sol // OpenZeppelin Contracts (last updated v5.0.0) (interfaces/draft-IERC6093.sol) /** * @dev Standard ERC20 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC20 tokens. */ interface IERC20Errors { /** * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. * @param balance Current balance for the interacting account. * @param needed Minimum amount required to perform a transfer. */ error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC20InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC20InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers. * @param spender Address that may be allowed to operate on tokens without being their owner. * @param allowance Amount of tokens a `spender` is allowed to operate with. * @param needed Minimum amount required to perform a transfer. */ error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC20InvalidApprover(address approver); /** * @dev Indicates a failure with the `spender` to be approved. Used in approvals. * @param spender Address that may be allowed to operate on tokens without being their owner. */ error ERC20InvalidSpender(address spender); } /** * @dev Standard ERC721 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC721 tokens. */ interface IERC721Errors { /** * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in EIP-20. * Used in balance queries. * @param owner Address of the current owner of a token. */ error ERC721InvalidOwner(address owner); /** * @dev Indicates a `tokenId` whose `owner` is the zero address. * @param tokenId Identifier number of a token. */ error ERC721NonexistentToken(uint256 tokenId); /** * @dev Indicates an error related to the ownership over a particular token. Used in transfers. * @param sender Address whose tokens are being transferred. * @param tokenId Identifier number of a token. * @param owner Address of the current owner of a token. */ error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC721InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC721InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `operator`’s approval. Used in transfers. * @param operator Address that may be allowed to operate on tokens without being their owner. * @param tokenId Identifier number of a token. */ error ERC721InsufficientApproval(address operator, uint256 tokenId); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC721InvalidApprover(address approver); /** * @dev Indicates a failure with the `operator` to be approved. Used in approvals. * @param operator Address that may be allowed to operate on tokens without being their owner. */ error ERC721InvalidOperator(address operator); } /** * @dev Standard ERC1155 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC1155 tokens. */ interface IERC1155Errors { /** * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. * @param balance Current balance for the interacting account. * @param needed Minimum amount required to perform a transfer. * @param tokenId Identifier number of a token. */ error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC1155InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC1155InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `operator`’s approval. Used in transfers. * @param operator Address that may be allowed to operate on tokens without being their owner. * @param owner Address of the current owner of a token. */ error ERC1155MissingApprovalForAll(address operator, address owner); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC1155InvalidApprover(address approver); /** * @dev Indicates a failure with the `operator` to be approved. Used in approvals. * @param operator Address that may be allowed to operate on tokens without being their owner. */ error ERC1155InvalidOperator(address operator); /** * @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation. * Used in batch transfers. * @param idsLength Length of the array of token identifiers * @param valuesLength Length of the array of token amounts */ error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength); } // lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol) /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the value of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the value of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves a `value` amount of tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 value) 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 a `value` amount of tokens 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 value) external returns (bool); /** * @dev Moves a `value` amount of tokens from `from` to `to` using the * allowance mechanism. `value` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 value) external returns (bool); } // lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Permit.sol // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Permit.sol) /** * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612]. * * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't * need to send a transaction, and thus is not required to hold Ether at all. * * ==== Security Considerations * * There are two important considerations concerning the use of `permit`. The first is that a valid permit signature * expresses an allowance, and it should not be assumed to convey additional meaning. In particular, it should not be * considered as an intention to spend the allowance in any specific way. The second is that because permits have * built-in replay protection and can be submitted by anyone, they can be frontrun. A protocol that uses permits should * take this into consideration and allow a `permit` call to fail. Combining these two aspects, a pattern that may be * generally recommended is: * * ```solidity * function doThingWithPermit(..., uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) public { * try token.permit(msg.sender, address(this), value, deadline, v, r, s) {} catch {} * doThing(..., value); * } * * function doThing(..., uint256 value) public { * token.safeTransferFrom(msg.sender, address(this), value); * ... * } * ``` * * Observe that: 1) `msg.sender` is used as the owner, leaving no ambiguity as to the signer intent, and 2) the use of * `try/catch` allows the permit to fail and makes the code tolerant to frontrunning. (See also * {SafeERC20-safeTransferFrom}). * * Additionally, note that smart contract wallets (such as Argent or Safe) are not able to produce permit signatures, so * contracts should have entry points that don't rely on permit. */ interface IERC20Permit { /** * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens, * given ``owner``'s signed approval. * * IMPORTANT: The same issues {IERC20-approve} has related to transaction * ordering also apply here. * * Emits an {Approval} event. * * Requirements: * * - `spender` cannot be the zero address. * - `deadline` must be a timestamp in the future. * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner` * over the EIP712-formatted function arguments. * - the signature must use ``owner``'s current nonce (see {nonces}). * * For more information on the signature format, see the * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP * section]. * * CAUTION: See Security Considerations above. */ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; /** * @dev Returns the current nonce for `owner`. This value must be * included whenever a signature is generated for {permit}. * * Every successful call to {permit} increases ``owner``'s nonce by one. This * prevents a signature from being used multiple times. */ function nonces(address owner) external view returns (uint256); /** * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}. */ // solhint-disable-next-line func-name-mixedcase function DOMAIN_SEPARATOR() external view returns (bytes32); } // lib/openzeppelin-contracts/contracts/utils/Address.sol // OpenZeppelin Contracts (last updated v5.0.0) (utils/Address.sol) /** * @dev Collection of functions related to the address type */ library Address { /** * @dev The ETH balance of the account is not enough to perform the operation. */ error AddressInsufficientBalance(address account); /** * @dev There's no code at `target` (it is not a contract). */ error AddressEmptyCode(address target); /** * @dev A call to an address target failed. The target may have reverted. */ error FailedInnerCall(); /** * @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://consensys.net/diligence/blog/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.8.20/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { if (address(this).balance < amount) { revert AddressInsufficientBalance(address(this)); } (bool success, ) = recipient.call{value: amount}(""); if (!success) { revert FailedInnerCall(); } } /** * @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 or custom error, it is bubbled * up by this function (like regular Solidity function calls). However, if * the call reverted with no returned reason, this function reverts with a * {FailedInnerCall} error. * * 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. */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCallWithValue(target, data, 0); } /** * @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`. */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { if (address(this).balance < value) { revert AddressInsufficientBalance(address(this)); } (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, success, returndata); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, success, returndata); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and reverts if the target * was not a contract or bubbling up the revert reason (falling back to {FailedInnerCall}) in case of an * unsuccessful call. */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata ) internal view returns (bytes memory) { if (!success) { _revert(returndata); } else { // only check if target is a contract if the call was successful and the return data is empty // otherwise we already know that it was a contract if (returndata.length == 0 && target.code.length == 0) { revert AddressEmptyCode(target); } return returndata; } } /** * @dev Tool to verify that a low level call was successful, and reverts if it wasn't, either by bubbling the * revert reason or with a default {FailedInnerCall} error. */ function verifyCallResult(bool success, bytes memory returndata) internal pure returns (bytes memory) { if (!success) { _revert(returndata); } else { return returndata; } } /** * @dev Reverts with returndata if present. Otherwise reverts with {FailedInnerCall}. */ function _revert(bytes memory returndata) private pure { // 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 /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert FailedInnerCall(); } } } // lib/openzeppelin-contracts/contracts/utils/Context.sol // OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol) /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } function _contextSuffixLength() internal view virtual returns (uint256) { return 0; } } // lib/openzeppelin-contracts/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol) /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * The initial owner is set to the address provided by the deployer. This can * later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; /** * @dev The caller account is not authorized to perform an operation. */ error OwnableUnauthorizedAccount(address account); /** * @dev The owner is not a valid owner account. (eg. `address(0)`) */ error OwnableInvalidOwner(address owner); event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the address provided by the deployer as the initial owner. */ constructor(address initialOwner) { if (initialOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(initialOwner); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { if (owner() != _msgSender()) { revert OwnableUnauthorizedAccount(_msgSender()); } } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { if (newOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Metadata.sol) /** * @dev Interface for the optional metadata functions from the ERC20 standard. */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); } // lib/openzeppelin-contracts/contracts/access/Ownable2Step.sol // OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable2Step.sol) /** * @dev Contract module which provides access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * The initial owner is specified at deployment time in the constructor for `Ownable`. This * can later be changed with {transferOwnership} and {acceptOwnership}. * * This module is used through inheritance. It will make available all functions * from parent (Ownable). */ abstract contract Ownable2Step is Ownable { address private _pendingOwner; event OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner); /** * @dev Returns the address of the pending owner. */ function pendingOwner() public view virtual returns (address) { return _pendingOwner; } /** * @dev Starts the ownership transfer of the contract to a new account. Replaces the pending transfer if there is one. * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual override onlyOwner { _pendingOwner = newOwner; emit OwnershipTransferStarted(owner(), newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`) and deletes any pending owner. * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual override { delete _pendingOwner; super._transferOwnership(newOwner); } /** * @dev The new owner accepts the ownership transfer. */ function acceptOwnership() public virtual { address sender = _msgSender(); if (pendingOwner() != sender) { revert OwnableUnauthorizedAccount(sender); } _transferOwnership(sender); } } // lib/openzeppelin-contracts/contracts/token/ERC20/utils/SafeERC20.sol // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/utils/SafeERC20.sol) /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using Address for address; /** * @dev An operation with an ERC20 token failed. */ error SafeERC20FailedOperation(address token); /** * @dev Indicates a failed `decreaseAllowance` request. */ error SafeERC20FailedDecreaseAllowance(address spender, uint256 currentAllowance, uint256 requestedDecrease); /** * @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value, * non-reverting calls are assumed to be successful. */ function safeTransfer(IERC20 token, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeCall(token.transfer, (to, value))); } /** * @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the * calling contract. If `token` returns no value, non-reverting calls are assumed to be successful. */ function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeCall(token.transferFrom, (from, to, value))); } /** * @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value, * non-reverting calls are assumed to be successful. */ function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 oldAllowance = token.allowance(address(this), spender); forceApprove(token, spender, oldAllowance + value); } /** * @dev Decrease the calling contract's allowance toward `spender` by `requestedDecrease`. If `token` returns no * value, non-reverting calls are assumed to be successful. */ function safeDecreaseAllowance(IERC20 token, address spender, uint256 requestedDecrease) internal { unchecked { uint256 currentAllowance = token.allowance(address(this), spender); if (currentAllowance < requestedDecrease) { revert SafeERC20FailedDecreaseAllowance(spender, currentAllowance, requestedDecrease); } forceApprove(token, spender, currentAllowance - requestedDecrease); } } /** * @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value, * non-reverting calls are assumed to be successful. Meant to be used with tokens that require the approval * to be set to zero before setting it to a non-zero value, such as USDT. */ function forceApprove(IERC20 token, address spender, uint256 value) internal { bytes memory approvalCall = abi.encodeCall(token.approve, (spender, value)); if (!_callOptionalReturnBool(token, approvalCall)) { _callOptionalReturn(token, abi.encodeCall(token.approve, (spender, 0))); _callOptionalReturn(token, approvalCall); } } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data); if (returndata.length != 0 && !abi.decode(returndata, (bool))) { revert SafeERC20FailedOperation(address(token)); } } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). * * This is a variant of {_callOptionalReturn} that silents catches all reverts and returns a bool instead. */ function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We cannot use {Address-functionCall} here since this should return false // and not revert is the subcall reverts. (bool success, bytes memory returndata) = address(token).call(data); return success && (returndata.length == 0 || abi.decode(returndata, (bool))) && address(token).code.length > 0; } } // lib/openzeppelin-contracts/contracts/token/ERC20/ERC20.sol // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/ERC20.sol) /** * @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}. * * TIP: For a detailed writeup see our guide * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * The default value of {decimals} is 18. To change this, you should override * this function so it returns a different value. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. */ abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors { mapping(address account => uint256) private _balances; mapping(address account => mapping(address spender => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual 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 default value returned by this function, unless * it's overridden. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `value`. */ function transfer(address to, uint256 value) public virtual returns (bool) { address owner = _msgSender(); _transfer(owner, to, value); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `value` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 value) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, value); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `value`. * - the caller must have allowance for ``from``'s tokens of at least * `value`. */ function transferFrom(address from, address to, uint256 value) public virtual returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, value); _transfer(from, to, value); return true; } /** * @dev Moves a `value` amount of tokens from `from` to `to`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * NOTE: This function is not virtual, {_update} should be overridden instead. */ function _transfer(address from, address to, uint256 value) internal { if (from == address(0)) { revert ERC20InvalidSender(address(0)); } if (to == address(0)) { revert ERC20InvalidReceiver(address(0)); } _update(from, to, value); } /** * @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from` * (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding * this function. * * Emits a {Transfer} event. */ function _update(address from, address to, uint256 value) internal virtual { if (from == address(0)) { // Overflow check required: The rest of the code assumes that totalSupply never overflows _totalSupply += value; } else { uint256 fromBalance = _balances[from]; if (fromBalance < value) { revert ERC20InsufficientBalance(from, fromBalance, value); } unchecked { // Overflow not possible: value <= fromBalance <= totalSupply. _balances[from] = fromBalance - value; } } if (to == address(0)) { unchecked { // Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply. _totalSupply -= value; } } else { unchecked { // Overflow not possible: balance + value is at most totalSupply, which we know fits into a uint256. _balances[to] += value; } } emit Transfer(from, to, value); } /** * @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0). * Relies on the `_update` mechanism * * Emits a {Transfer} event with `from` set to the zero address. * * NOTE: This function is not virtual, {_update} should be overridden instead. */ function _mint(address account, uint256 value) internal { if (account == address(0)) { revert ERC20InvalidReceiver(address(0)); } _update(address(0), account, value); } /** * @dev Destroys a `value` amount of tokens from `account`, lowering the total supply. * Relies on the `_update` mechanism. * * Emits a {Transfer} event with `to` set to the zero address. * * NOTE: This function is not virtual, {_update} should be overridden instead */ function _burn(address account, uint256 value) internal { if (account == address(0)) { revert ERC20InvalidSender(address(0)); } _update(account, address(0), value); } /** * @dev Sets `value` 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. * * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument. */ function _approve(address owner, address spender, uint256 value) internal { _approve(owner, spender, value, true); } /** * @dev Variant of {_approve} with an optional flag to enable or disable the {Approval} event. * * By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by * `_spendAllowance` during the `transferFrom` operation set the flag to false. This saves gas by not emitting any * `Approval` event during `transferFrom` operations. * * Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to * true using the following override: * ``` * function _approve(address owner, address spender, uint256 value, bool) internal virtual override { * super._approve(owner, spender, value, true); * } * ``` * * Requirements are the same as {_approve}. */ function _approve(address owner, address spender, uint256 value, bool emitEvent) internal virtual { if (owner == address(0)) { revert ERC20InvalidApprover(address(0)); } if (spender == address(0)) { revert ERC20InvalidSpender(address(0)); } _allowances[owner][spender] = value; if (emitEvent) { emit Approval(owner, spender, value); } } /** * @dev Updates `owner` s allowance for `spender` based on spent `value`. * * Does not update the allowance value in case of infinite allowance. * Revert if not enough allowance is available. * * Does not emit an {Approval} event. */ function _spendAllowance(address owner, address spender, uint256 value) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { if (currentAllowance < value) { revert ERC20InsufficientAllowance(spender, currentAllowance, value); } unchecked { _approve(owner, spender, currentAllowance - value, false); } } } } // src/PsmAMO.sol contract PsmAMO is Ownable2Step { // === SECURITY === using SafeERC20 for IERC20; address public manager; address public securityManager; uint256 public paused; // 0 for not paused, 1 for paused constructor() Ownable(msg.sender) { paused = 0; } modifier onlyManager { require(msg.sender == manager || msg.sender == owner(), "PSM: Not Manager"); _; } modifier onlySecurityManager { require(msg.sender == securityManager || msg.sender == manager || msg.sender == owner(), "PSM: Not Security Manager"); _; } modifier whenNotPaused { require(paused == 0, "PSM: Paused"); _; } function configSecurity(address _manager, address _securityManager) external onlyManager { manager = _manager; securityManager = _securityManager; emit SecurityConfigured(_manager, _securityManager); } function pause() external onlySecurityManager { paused = 1; emit Paused(); } function unpause() external onlyOwner { paused = 0; emit Unpaused(); } // === EVENTS === event Paused(); event Unpaused(); event SecurityConfigured(address manager, address securityManager); event Deposited(uint256 amountIn, uint256 amountOut); event TransferedToReceipt(address receipt, uint256 amountStable); event AddressConfigured(address peg, address stable, address[] AMO, uint256 fee); // === TOKEN === address public pegCoin; address public stableCoin; address[] public receipts; uint256 public fee = 2e14; // 0.02% uint256 constant ONE_HUNDRED_PERCENT = 1e18; uint256 decimalsRate; // @audit: one-shot address configuration bool _addressConfiged; function configAddress(address _peg, address _stable, address[] memory _AMO, uint256 _fee) external onlyOwner { // @audit: one-shot address configuration require(!_addressConfiged, "Address already configured"); _addressConfiged = true; pegCoin = _peg; stableCoin = _stable; decimalsRate = 10 ** (18 - ERC20(stableCoin).decimals()); receipts = new address[](_AMO.length); for(uint256 i = 0; i < _AMO.length; i++) { receipts[i] = _AMO[i]; } fee = _fee; emit AddressConfigured(_peg, _stable, _AMO, _fee); } function setFee(uint256 _fee) external onlyOwner { fee = _fee; } function setReceipts(address[] memory _receipts) external onlyOwner { receipts = _receipts; } // === CONVERTIONS & TRANSFERS === function mint(uint256 amount, address to) external whenNotPaused { IERC20 pegERC20 = IERC20(pegCoin); // cache storage reads IERC20 stableERC20 = IERC20(stableCoin); uint256 balBefore = stableERC20.balanceOf(address(this)); IERC20(stableCoin).safeTransferFrom(msg.sender, address(this), amount); uint256 balChange = stableERC20.balanceOf(address(this)) - balBefore;// double check balance require(balChange == amount, "mint amount failed"); // we transfer pegCoin to `to`. // This has roundings issues. All rounding errors are in the favor of the protocol uint256 outAmount = decimalsRate * amount * (ONE_HUNDRED_PERCENT - fee) / ONE_HUNDRED_PERCENT; require(pegERC20.balanceOf(address(this)) >= outAmount, "No enough pegCoin"); pegERC20.safeTransfer(to, outAmount); emit Deposited(amount, outAmount); } function sendToAMO(uint256 amount, uint256 amoIdx) external onlyManager { require(amoIdx < receipts.length, "Invalid AMO index"); address receipt = receipts[amoIdx]; IERC20 stableERC20 = IERC20(stableCoin); require(stableERC20.balanceOf(address(this)) >= amount, "No enough stableCoin"); stableERC20.safeTransfer(receipt, amount); emit TransferedToReceipt(receipt, amount); } // === GOVERNANCE & EMERGENCY === function RescueTokenToOwner(address token) external onlyOwner { _transferTokenToOwner(token); } function _transferTokenToOwner(address token) internal { uint bal = IERC20(token).balanceOf(address(this)); if (bal > 0) { IERC20(token).safeTransfer(owner(), bal); } } function withdrawStableCoins() external onlyManager { _transferTokenToOwner(stableCoin); } function withdrawPegCoins() external onlyManager { _transferTokenToOwner(pegCoin); } // This function can only be called by the multi sig owner in emergency. // It is to avoid using proxy contract and in case any assets are stuck in the contract. function rescue(address target, uint256 value, bytes calldata data) external onlyOwner { (bool success, ) = target.call{value: value}(data); require(success, "Rescue: Call failed"); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"target","type":"address"}],"name":"AddressEmptyCode","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"AddressInsufficientBalance","type":"error"},{"inputs":[],"name":"FailedInnerCall","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"SafeERC20FailedOperation","type":"error"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"peg","type":"address"},{"indexed":false,"internalType":"address","name":"stable","type":"address"},{"indexed":false,"internalType":"address[]","name":"AMO","type":"address[]"},{"indexed":false,"internalType":"uint256","name":"fee","type":"uint256"}],"name":"AddressConfigured","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amountIn","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amountOut","type":"uint256"}],"name":"Deposited","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferStarted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"manager","type":"address"},{"indexed":false,"internalType":"address","name":"securityManager","type":"address"}],"name":"SecurityConfigured","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"receipt","type":"address"},{"indexed":false,"internalType":"uint256","name":"amountStable","type":"uint256"}],"name":"TransferedToReceipt","type":"event"},{"anonymous":false,"inputs":[],"name":"Unpaused","type":"event"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"RescueTokenToOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"acceptOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_peg","type":"address"},{"internalType":"address","name":"_stable","type":"address"},{"internalType":"address[]","name":"_AMO","type":"address[]"},{"internalType":"uint256","name":"_fee","type":"uint256"}],"name":"configAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_manager","type":"address"},{"internalType":"address","name":"_securityManager","type":"address"}],"name":"configSecurity","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"fee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"manager","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"to","type":"address"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pegCoin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pendingOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"receipts","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"target","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"rescue","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"securityManager","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"amoIdx","type":"uint256"}],"name":"sendToAMO","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_fee","type":"uint256"}],"name":"setFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_receipts","type":"address[]"}],"name":"setReceipts","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stableCoin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawPegCoins","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawStableCoins","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405265b5e620f480006008553480156018575f5ffd5b503380603d57604051631e4fbdf760e01b81525f600482015260240160405180910390fd5b604481604d565b505f60045560b6565b600180546001600160a01b03191690556064816067565b50565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b61185e806100c35f395ff3fe608060405234801561000f575f5ffd5b506004361061018f575f3560e01c80638456cb59116100dd578063ddca3f4311610088578063e30c397811610063578063e30c3978146102f6578063ef29656014610307578063f2fde38b1461031a575f5ffd5b8063ddca3f43146102c7578063de675a6d146102d0578063de7f9602146102e3575f5ffd5b8063992642e5116100b8578063992642e514610299578063b8dd9985146102ac578063c1b4bf9a146102b4575f5ffd5b80638456cb591461026e5780638da5cb5b1461027657806394bf804d14610286575f5ffd5b80635c8432e41161013d57806369fe0e2d1161011857806369fe0e2d1461024b578063715018a61461025e57806379ba509714610266575f5ffd5b80635c8432e41461020e5780635c975abb146102215780635fa6c0b914610238575f5ffd5b806331722a161161016d57806331722a16146101e05780633f4ba83a146101f3578063481c6a75146101fb575f5ffd5b8063050e4615146101935780630f7ee1ec146101a85780631297508b146101d8575b5f5ffd5b6101a66101a136600461132d565b61032d565b005b6101bb6101b6366004611346565b610341565b6040516001600160a01b0390911681526020015b60405180910390f35b6101a6610369565b6101a66101ee36600461135d565b6103e6565b6101a66105d4565b6002546101bb906001600160a01b031681565b6101a661021c36600461137d565b61060b565b61022a60045481565b6040519081526020016101cf565b6101a66102463660046113ae565b6106da565b6101a6610259366004611346565b610795565b6101a66107a2565b6101a66107b3565b6101a66107f4565b5f546001600160a01b03166101bb565b6101a6610294366004611431565b6108a6565b6006546101bb906001600160a01b031681565b6101a6610b9c565b6101a66102c2366004611509565b610c12565b61022a60085481565b6003546101bb906001600160a01b031681565b6005546101bb906001600160a01b031681565b6001546001600160a01b03166101bb565b6101a6610315366004611543565b610c31565b6101a661032836600461132d565b610e53565b610335610ec3565b61033e81610eef565b50565b60078181548110610350575f80fd5b5f918252602090912001546001600160a01b0316905081565b6002546001600160a01b031633148061038b57505f546001600160a01b031633145b6103cf5760405162461bcd60e51b815260206004820152601060248201526f2829a69d102737ba1026b0b730b3b2b960811b60448201526064015b60405180910390fd5b6006546103e4906001600160a01b0316610eef565b565b6002546001600160a01b031633148061040857505f546001600160a01b031633145b6104475760405162461bcd60e51b815260206004820152601060248201526f2829a69d102737ba1026b0b730b3b2b960811b60448201526064016103c6565b60075481106104985760405162461bcd60e51b815260206004820152601160248201527f496e76616c696420414d4f20696e64657800000000000000000000000000000060448201526064016103c6565b5f600782815481106104ac576104ac6115a5565b5f918252602090912001546006546040516370a0823160e01b81523060048201526001600160a01b039283169350911690849082906370a0823190602401602060405180830381865afa158015610505573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061052991906115b9565b10156105775760405162461bcd60e51b815260206004820152601460248201527f4e6f20656e6f75676820737461626c65436f696e00000000000000000000000060448201526064016103c6565b61058b6001600160a01b0382168386610f80565b604080516001600160a01b0384168152602081018690527f7e822429b477f25421fdaa1b062b7a8fa0a935d8ce40b4b1eaf7e97513d5613c91015b60405180910390a150505050565b6105dc610ec3565b5f60048190556040517fa45f47fdea8a1efdd9029a5691c7f759c32b7c698632b563573e155625d169339190a1565b6002546001600160a01b031633148061062d57505f546001600160a01b031633145b61066c5760405162461bcd60e51b815260206004820152601060248201526f2829a69d102737ba1026b0b730b3b2b960811b60448201526064016103c6565b600280546001600160a01b038481166001600160a01b03199283168117909355600380549185169190921681179091556040805192835260208301919091527f6ad225d6bb8f4e0cb348cef78580e728f356682a9ba5f555a3e1194bab512588910160405180910390a15050565b6106e2610ec3565b5f846001600160a01b03168484846040516106fe9291906115d0565b5f6040518083038185875af1925050503d805f8114610738576040519150601f19603f3d011682016040523d82523d5f602084013e61073d565b606091505b505090508061078e5760405162461bcd60e51b815260206004820152601360248201527f5265736375653a2043616c6c206661696c65640000000000000000000000000060448201526064016103c6565b5050505050565b61079d610ec3565b600855565b6107aa610ec3565b6103e45f610ff9565b60015433906001600160a01b031681146107eb5760405163118cdaa760e01b81526001600160a01b03821660048201526024016103c6565b61033e81610ff9565b6003546001600160a01b031633148061081757506002546001600160a01b031633145b8061082b57505f546001600160a01b031633145b6108775760405162461bcd60e51b815260206004820152601960248201527f50534d3a204e6f74205365637572697479204d616e616765720000000000000060448201526064016103c6565b60016004556040517f9e87fac88ff661f02d44f95383c817fece4bce600a3dab7a54406878b965e752905f90a1565b600454156108f65760405162461bcd60e51b815260206004820152600b60248201527f50534d3a2050617573656400000000000000000000000000000000000000000060448201526064016103c6565b6005546006546040516370a0823160e01b81523060048201526001600160a01b0392831692909116905f9082906370a0823190602401602060405180830381865afa158015610947573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061096b91906115b9565b600654909150610986906001600160a01b0316333088611012565b6040516370a0823160e01b81523060048201525f9082906001600160a01b038516906370a0823190602401602060405180830381865afa1580156109cc573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109f091906115b9565b6109fa91906115f3565b9050858114610a4b5760405162461bcd60e51b815260206004820152601260248201527f6d696e7420616d6f756e74206661696c6564000000000000000000000000000060448201526064016103c6565b5f670de0b6b3a7640000600854670de0b6b3a7640000610a6b91906115f3565b88600954610a799190611606565b610a839190611606565b610a8d919061161d565b6040516370a0823160e01b815230600482015290915081906001600160a01b038716906370a0823190602401602060405180830381865afa158015610ad4573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610af891906115b9565b1015610b465760405162461bcd60e51b815260206004820152601160248201527f4e6f20656e6f75676820706567436f696e00000000000000000000000000000060448201526064016103c6565b610b5a6001600160a01b0386168783610f80565b60408051888152602081018390527f06da3309189fa49284f335d2c2bcb4cb0b8ad2a59ad92a9bdebeeb8f1ceba511910160405180910390a150505050505050565b6002546001600160a01b0316331480610bbe57505f546001600160a01b031633145b610bfd5760405162461bcd60e51b815260206004820152601060248201526f2829a69d102737ba1026b0b730b3b2b960811b60448201526064016103c6565b6005546103e4906001600160a01b0316610eef565b610c1a610ec3565b8051610c2d90600790602084019061129b565b5050565b610c39610ec3565b600a5460ff1615610c8c5760405162461bcd60e51b815260206004820152601a60248201527f4164647265737320616c726561647920636f6e6669677572656400000000000060448201526064016103c6565b600a805460ff19166001179055600580546001600160a01b038087166001600160a01b031992831617909255600680549286169290911682179055604080517f313ce567000000000000000000000000000000000000000000000000000000008152905163313ce567916004818101926020929091908290030181865afa158015610d19573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d3d919061163c565b610d4890601261165c565b610d5390600a611758565b600955815167ffffffffffffffff811115610d7057610d70611452565b604051908082528060200260200182016040528015610d99578160200160208202803683370190505b508051610dae9160079160209091019061129b565b505f5b8251811015610e1757828181518110610dcc57610dcc6115a5565b602002602001015160078281548110610de757610de76115a5565b5f91825260209091200180546001600160a01b0319166001600160a01b0392909216919091179055600101610db1565b5060088190556040517f88cfebc682e7040745031f7b51a82a275cc1439b99da5b009ca76d51b3dc257f906105c6908690869086908690611766565b610e5b610ec3565b600180546001600160a01b0383166001600160a01b03199091168117909155610e8b5f546001600160a01b031690565b6001600160a01b03167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b5f546001600160a01b031633146103e45760405163118cdaa760e01b81523360048201526024016103c6565b6040516370a0823160e01b81523060048201525f906001600160a01b038316906370a0823190602401602060405180830381865afa158015610f33573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f5791906115b9565b90508015610c2d57610c2d610f735f546001600160a01b031690565b6001600160a01b03841690835b6040516001600160a01b03838116602483015260448201839052610ff491859182169063a9059cbb906064015b604051602081830303815290604052915060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611051565b505050565b600180546001600160a01b031916905561033e816110cb565b6040516001600160a01b03848116602483015283811660448301526064820183905261104b9186918216906323b872dd90608401610fad565b50505050565b5f6110656001600160a01b0384168361111a565b905080515f1415801561108957508080602001905181019061108791906117dd565b155b15610ff4576040517f5274afe70000000000000000000000000000000000000000000000000000000081526001600160a01b03841660048201526024016103c6565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b606061112783835f611130565b90505b92915050565b60608147101561116e576040517fcd7860590000000000000000000000000000000000000000000000000000000081523060048201526024016103c6565b5f5f856001600160a01b0316848660405161118991906117fc565b5f6040518083038185875af1925050503d805f81146111c3576040519150601f19603f3d011682016040523d82523d5f602084013e6111c8565b606091505b50915091506111d88683836111e4565b925050505b9392505050565b6060826111f9576111f482611259565b6111dd565b815115801561121057506001600160a01b0384163b155b15611252576040517f9996b3150000000000000000000000000000000000000000000000000000000081526001600160a01b03851660048201526024016103c6565b50806111dd565b8051156112695780518082602001fd5b6040517f1425ea4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b828054828255905f5260205f209081019282156112ee579160200282015b828111156112ee57825182546001600160a01b0319166001600160a01b039091161782556020909201916001909101906112b9565b506112fa9291506112fe565b5090565b5b808211156112fa575f81556001016112ff565b80356001600160a01b0381168114611328575f5ffd5b919050565b5f6020828403121561133d575f5ffd5b61112782611312565b5f60208284031215611356575f5ffd5b5035919050565b5f5f6040838503121561136e575f5ffd5b50508035926020909101359150565b5f5f6040838503121561138e575f5ffd5b61139783611312565b91506113a560208401611312565b90509250929050565b5f5f5f5f606085870312156113c1575f5ffd5b6113ca85611312565b935060208501359250604085013567ffffffffffffffff8111156113ec575f5ffd5b8501601f810187136113fc575f5ffd5b803567ffffffffffffffff811115611412575f5ffd5b876020828401011115611423575f5ffd5b949793965060200194505050565b5f5f60408385031215611442575f5ffd5b823591506113a560208401611312565b634e487b7160e01b5f52604160045260245ffd5b5f82601f830112611475575f5ffd5b813567ffffffffffffffff81111561148f5761148f611452565b8060051b604051601f19603f830116810181811067ffffffffffffffff821117156114bc576114bc611452565b6040529182526020818501810192908101868411156114d9575f5ffd5b6020860192505b838310156114ff576114f183611312565b8152602092830192016114e0565b5095945050505050565b5f60208284031215611519575f5ffd5b813567ffffffffffffffff81111561152f575f5ffd5b61153b84828501611466565b949350505050565b5f5f5f5f60808587031215611556575f5ffd5b61155f85611312565b935061156d60208601611312565b9250604085013567ffffffffffffffff811115611588575f5ffd5b61159487828801611466565b949793965093946060013593505050565b634e487b7160e01b5f52603260045260245ffd5b5f602082840312156115c9575f5ffd5b5051919050565b818382375f9101908152919050565b634e487b7160e01b5f52601160045260245ffd5b8181038181111561112a5761112a6115df565b808202811582820484141761112a5761112a6115df565b5f8261163757634e487b7160e01b5f52601260045260245ffd5b500490565b5f6020828403121561164c575f5ffd5b815160ff811681146111dd575f5ffd5b60ff828116828216039081111561112a5761112a6115df565b6001815b60018411156116b057808504811115611694576116946115df565b60018416156116a257908102905b60019390931c928002611679565b935093915050565b5f826116c65750600161112a565b816116d257505f61112a565b81600181146116e857600281146116f25761170e565b600191505061112a565b60ff841115611703576117036115df565b50506001821b61112a565b5060208310610133831016604e8410600b8410161715611731575081810a61112a565b61173d5f198484611675565b805f1904821115611750576117506115df565b029392505050565b5f61112760ff8416836116b8565b5f608082016001600160a01b03871683526001600160a01b03861660208401526080604084015280855180835260a0850191506020870192505f5b818110156117c85783516001600160a01b03168352602093840193909201916001016117a1565b50506060939093019390935250949350505050565b5f602082840312156117ed575f5ffd5b815180151581146111dd575f5ffd5b5f82515f5b8181101561181b5760208186018101518583015201611801565b505f92019182525091905056fea26469706673582212202c57bb3a439e80028180933445fef4eb8e042d04516042d87b708247141ef5d564736f6c634300081b0033
Deployed Bytecode
0x608060405234801561000f575f5ffd5b506004361061018f575f3560e01c80638456cb59116100dd578063ddca3f4311610088578063e30c397811610063578063e30c3978146102f6578063ef29656014610307578063f2fde38b1461031a575f5ffd5b8063ddca3f43146102c7578063de675a6d146102d0578063de7f9602146102e3575f5ffd5b8063992642e5116100b8578063992642e514610299578063b8dd9985146102ac578063c1b4bf9a146102b4575f5ffd5b80638456cb591461026e5780638da5cb5b1461027657806394bf804d14610286575f5ffd5b80635c8432e41161013d57806369fe0e2d1161011857806369fe0e2d1461024b578063715018a61461025e57806379ba509714610266575f5ffd5b80635c8432e41461020e5780635c975abb146102215780635fa6c0b914610238575f5ffd5b806331722a161161016d57806331722a16146101e05780633f4ba83a146101f3578063481c6a75146101fb575f5ffd5b8063050e4615146101935780630f7ee1ec146101a85780631297508b146101d8575b5f5ffd5b6101a66101a136600461132d565b61032d565b005b6101bb6101b6366004611346565b610341565b6040516001600160a01b0390911681526020015b60405180910390f35b6101a6610369565b6101a66101ee36600461135d565b6103e6565b6101a66105d4565b6002546101bb906001600160a01b031681565b6101a661021c36600461137d565b61060b565b61022a60045481565b6040519081526020016101cf565b6101a66102463660046113ae565b6106da565b6101a6610259366004611346565b610795565b6101a66107a2565b6101a66107b3565b6101a66107f4565b5f546001600160a01b03166101bb565b6101a6610294366004611431565b6108a6565b6006546101bb906001600160a01b031681565b6101a6610b9c565b6101a66102c2366004611509565b610c12565b61022a60085481565b6003546101bb906001600160a01b031681565b6005546101bb906001600160a01b031681565b6001546001600160a01b03166101bb565b6101a6610315366004611543565b610c31565b6101a661032836600461132d565b610e53565b610335610ec3565b61033e81610eef565b50565b60078181548110610350575f80fd5b5f918252602090912001546001600160a01b0316905081565b6002546001600160a01b031633148061038b57505f546001600160a01b031633145b6103cf5760405162461bcd60e51b815260206004820152601060248201526f2829a69d102737ba1026b0b730b3b2b960811b60448201526064015b60405180910390fd5b6006546103e4906001600160a01b0316610eef565b565b6002546001600160a01b031633148061040857505f546001600160a01b031633145b6104475760405162461bcd60e51b815260206004820152601060248201526f2829a69d102737ba1026b0b730b3b2b960811b60448201526064016103c6565b60075481106104985760405162461bcd60e51b815260206004820152601160248201527f496e76616c696420414d4f20696e64657800000000000000000000000000000060448201526064016103c6565b5f600782815481106104ac576104ac6115a5565b5f918252602090912001546006546040516370a0823160e01b81523060048201526001600160a01b039283169350911690849082906370a0823190602401602060405180830381865afa158015610505573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061052991906115b9565b10156105775760405162461bcd60e51b815260206004820152601460248201527f4e6f20656e6f75676820737461626c65436f696e00000000000000000000000060448201526064016103c6565b61058b6001600160a01b0382168386610f80565b604080516001600160a01b0384168152602081018690527f7e822429b477f25421fdaa1b062b7a8fa0a935d8ce40b4b1eaf7e97513d5613c91015b60405180910390a150505050565b6105dc610ec3565b5f60048190556040517fa45f47fdea8a1efdd9029a5691c7f759c32b7c698632b563573e155625d169339190a1565b6002546001600160a01b031633148061062d57505f546001600160a01b031633145b61066c5760405162461bcd60e51b815260206004820152601060248201526f2829a69d102737ba1026b0b730b3b2b960811b60448201526064016103c6565b600280546001600160a01b038481166001600160a01b03199283168117909355600380549185169190921681179091556040805192835260208301919091527f6ad225d6bb8f4e0cb348cef78580e728f356682a9ba5f555a3e1194bab512588910160405180910390a15050565b6106e2610ec3565b5f846001600160a01b03168484846040516106fe9291906115d0565b5f6040518083038185875af1925050503d805f8114610738576040519150601f19603f3d011682016040523d82523d5f602084013e61073d565b606091505b505090508061078e5760405162461bcd60e51b815260206004820152601360248201527f5265736375653a2043616c6c206661696c65640000000000000000000000000060448201526064016103c6565b5050505050565b61079d610ec3565b600855565b6107aa610ec3565b6103e45f610ff9565b60015433906001600160a01b031681146107eb5760405163118cdaa760e01b81526001600160a01b03821660048201526024016103c6565b61033e81610ff9565b6003546001600160a01b031633148061081757506002546001600160a01b031633145b8061082b57505f546001600160a01b031633145b6108775760405162461bcd60e51b815260206004820152601960248201527f50534d3a204e6f74205365637572697479204d616e616765720000000000000060448201526064016103c6565b60016004556040517f9e87fac88ff661f02d44f95383c817fece4bce600a3dab7a54406878b965e752905f90a1565b600454156108f65760405162461bcd60e51b815260206004820152600b60248201527f50534d3a2050617573656400000000000000000000000000000000000000000060448201526064016103c6565b6005546006546040516370a0823160e01b81523060048201526001600160a01b0392831692909116905f9082906370a0823190602401602060405180830381865afa158015610947573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061096b91906115b9565b600654909150610986906001600160a01b0316333088611012565b6040516370a0823160e01b81523060048201525f9082906001600160a01b038516906370a0823190602401602060405180830381865afa1580156109cc573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109f091906115b9565b6109fa91906115f3565b9050858114610a4b5760405162461bcd60e51b815260206004820152601260248201527f6d696e7420616d6f756e74206661696c6564000000000000000000000000000060448201526064016103c6565b5f670de0b6b3a7640000600854670de0b6b3a7640000610a6b91906115f3565b88600954610a799190611606565b610a839190611606565b610a8d919061161d565b6040516370a0823160e01b815230600482015290915081906001600160a01b038716906370a0823190602401602060405180830381865afa158015610ad4573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610af891906115b9565b1015610b465760405162461bcd60e51b815260206004820152601160248201527f4e6f20656e6f75676820706567436f696e00000000000000000000000000000060448201526064016103c6565b610b5a6001600160a01b0386168783610f80565b60408051888152602081018390527f06da3309189fa49284f335d2c2bcb4cb0b8ad2a59ad92a9bdebeeb8f1ceba511910160405180910390a150505050505050565b6002546001600160a01b0316331480610bbe57505f546001600160a01b031633145b610bfd5760405162461bcd60e51b815260206004820152601060248201526f2829a69d102737ba1026b0b730b3b2b960811b60448201526064016103c6565b6005546103e4906001600160a01b0316610eef565b610c1a610ec3565b8051610c2d90600790602084019061129b565b5050565b610c39610ec3565b600a5460ff1615610c8c5760405162461bcd60e51b815260206004820152601a60248201527f4164647265737320616c726561647920636f6e6669677572656400000000000060448201526064016103c6565b600a805460ff19166001179055600580546001600160a01b038087166001600160a01b031992831617909255600680549286169290911682179055604080517f313ce567000000000000000000000000000000000000000000000000000000008152905163313ce567916004818101926020929091908290030181865afa158015610d19573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d3d919061163c565b610d4890601261165c565b610d5390600a611758565b600955815167ffffffffffffffff811115610d7057610d70611452565b604051908082528060200260200182016040528015610d99578160200160208202803683370190505b508051610dae9160079160209091019061129b565b505f5b8251811015610e1757828181518110610dcc57610dcc6115a5565b602002602001015160078281548110610de757610de76115a5565b5f91825260209091200180546001600160a01b0319166001600160a01b0392909216919091179055600101610db1565b5060088190556040517f88cfebc682e7040745031f7b51a82a275cc1439b99da5b009ca76d51b3dc257f906105c6908690869086908690611766565b610e5b610ec3565b600180546001600160a01b0383166001600160a01b03199091168117909155610e8b5f546001600160a01b031690565b6001600160a01b03167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b5f546001600160a01b031633146103e45760405163118cdaa760e01b81523360048201526024016103c6565b6040516370a0823160e01b81523060048201525f906001600160a01b038316906370a0823190602401602060405180830381865afa158015610f33573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f5791906115b9565b90508015610c2d57610c2d610f735f546001600160a01b031690565b6001600160a01b03841690835b6040516001600160a01b03838116602483015260448201839052610ff491859182169063a9059cbb906064015b604051602081830303815290604052915060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611051565b505050565b600180546001600160a01b031916905561033e816110cb565b6040516001600160a01b03848116602483015283811660448301526064820183905261104b9186918216906323b872dd90608401610fad565b50505050565b5f6110656001600160a01b0384168361111a565b905080515f1415801561108957508080602001905181019061108791906117dd565b155b15610ff4576040517f5274afe70000000000000000000000000000000000000000000000000000000081526001600160a01b03841660048201526024016103c6565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b606061112783835f611130565b90505b92915050565b60608147101561116e576040517fcd7860590000000000000000000000000000000000000000000000000000000081523060048201526024016103c6565b5f5f856001600160a01b0316848660405161118991906117fc565b5f6040518083038185875af1925050503d805f81146111c3576040519150601f19603f3d011682016040523d82523d5f602084013e6111c8565b606091505b50915091506111d88683836111e4565b925050505b9392505050565b6060826111f9576111f482611259565b6111dd565b815115801561121057506001600160a01b0384163b155b15611252576040517f9996b3150000000000000000000000000000000000000000000000000000000081526001600160a01b03851660048201526024016103c6565b50806111dd565b8051156112695780518082602001fd5b6040517f1425ea4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b828054828255905f5260205f209081019282156112ee579160200282015b828111156112ee57825182546001600160a01b0319166001600160a01b039091161782556020909201916001909101906112b9565b506112fa9291506112fe565b5090565b5b808211156112fa575f81556001016112ff565b80356001600160a01b0381168114611328575f5ffd5b919050565b5f6020828403121561133d575f5ffd5b61112782611312565b5f60208284031215611356575f5ffd5b5035919050565b5f5f6040838503121561136e575f5ffd5b50508035926020909101359150565b5f5f6040838503121561138e575f5ffd5b61139783611312565b91506113a560208401611312565b90509250929050565b5f5f5f5f606085870312156113c1575f5ffd5b6113ca85611312565b935060208501359250604085013567ffffffffffffffff8111156113ec575f5ffd5b8501601f810187136113fc575f5ffd5b803567ffffffffffffffff811115611412575f5ffd5b876020828401011115611423575f5ffd5b949793965060200194505050565b5f5f60408385031215611442575f5ffd5b823591506113a560208401611312565b634e487b7160e01b5f52604160045260245ffd5b5f82601f830112611475575f5ffd5b813567ffffffffffffffff81111561148f5761148f611452565b8060051b604051601f19603f830116810181811067ffffffffffffffff821117156114bc576114bc611452565b6040529182526020818501810192908101868411156114d9575f5ffd5b6020860192505b838310156114ff576114f183611312565b8152602092830192016114e0565b5095945050505050565b5f60208284031215611519575f5ffd5b813567ffffffffffffffff81111561152f575f5ffd5b61153b84828501611466565b949350505050565b5f5f5f5f60808587031215611556575f5ffd5b61155f85611312565b935061156d60208601611312565b9250604085013567ffffffffffffffff811115611588575f5ffd5b61159487828801611466565b949793965093946060013593505050565b634e487b7160e01b5f52603260045260245ffd5b5f602082840312156115c9575f5ffd5b5051919050565b818382375f9101908152919050565b634e487b7160e01b5f52601160045260245ffd5b8181038181111561112a5761112a6115df565b808202811582820484141761112a5761112a6115df565b5f8261163757634e487b7160e01b5f52601260045260245ffd5b500490565b5f6020828403121561164c575f5ffd5b815160ff811681146111dd575f5ffd5b60ff828116828216039081111561112a5761112a6115df565b6001815b60018411156116b057808504811115611694576116946115df565b60018416156116a257908102905b60019390931c928002611679565b935093915050565b5f826116c65750600161112a565b816116d257505f61112a565b81600181146116e857600281146116f25761170e565b600191505061112a565b60ff841115611703576117036115df565b50506001821b61112a565b5060208310610133831016604e8410600b8410161715611731575081810a61112a565b61173d5f198484611675565b805f1904821115611750576117506115df565b029392505050565b5f61112760ff8416836116b8565b5f608082016001600160a01b03871683526001600160a01b03861660208401526080604084015280855180835260a0850191506020870192505f5b818110156117c85783516001600160a01b03168352602093840193909201916001016117a1565b50506060939093019390935250949350505050565b5f602082840312156117ed575f5ffd5b815180151581146111dd575f5ffd5b5f82515f5b8181101561181b5760208186018101518583015201611801565b505f92019182525091905056fea26469706673582212202c57bb3a439e80028180933445fef4eb8e042d04516042d87b708247141ef5d564736f6c634300081b0033
Deployed Bytecode Sourcemap
43861:5047:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47971:109;;;;;;:::i;:::-;;:::i;:::-;;45466:25;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;801:55:1;;;783:74;;771:2;756:18;45466:25:0;;;;;;;;48309:104;;;:::i;47488:434::-;;;;;;:::i;:::-;;:::i;44924:93::-;;;:::i;43958:22::-;;;;;-1:-1:-1;;;;;43958:22:0;;;44576:233;;;;;;:::i;:::-;;:::i;44024:21::-;;;;;;;;;1630:25:1;;;1618:2;1603:18;44024:21:0;1484:177:1;48699:206:0;;;;;;:::i;:::-;;:::i;46322:78::-;;;;;;:::i;:::-;;:::i;23301:103::-;;;:::i;26607:235::-;;;:::i;44817:99::-;;;:::i;22626:87::-;22672:7;22699:6;-1:-1:-1;;;;;22699:6:0;22626:87;;46563:917;;;;;;:::i;:::-;;:::i;45434:25::-;;;;;-1:-1:-1;;;;;45434:25:0;;;48421:98;;;:::i;46408:107::-;;;;;;:::i;:::-;;:::i;45498:25::-;;;;;;43987:30;;;;;-1:-1:-1;;;;;43987:30:0;;;45405:22;;;;;-1:-1:-1;;;;;45405:22:0;;;25695:101;25775:13;;-1:-1:-1;;;;;25775:13:0;25695:101;;45693:621;;;;;;:::i;:::-;;:::i;25995:181::-;;;;;;:::i;:::-;;:::i;47971:109::-;22512:13;:11;:13::i;:::-;48044:28:::1;48066:5;48044:21;:28::i;:::-;47971:109:::0;:::o;45466:25::-;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;45466:25:0;;-1:-1:-1;45466:25:0;:::o;48309:104::-;44213:7;;-1:-1:-1;;;;;44213:7:0;44199:10;:21;;:46;;-1:-1:-1;22672:7:0;22699:6;-1:-1:-1;;;;;22699:6:0;44224:10;:21;44199:46;44191:75;;;;-1:-1:-1;;;44191:75:0;;5021:2:1;44191:75:0;;;5003:21:1;5060:2;5040:18;;;5033:30;-1:-1:-1;;;5079:18:1;;;5072:46;5135:18;;44191:75:0;;;;;;;;;48394:10:::1;::::0;48372:33:::1;::::0;-1:-1:-1;;;;;48394:10:0::1;48372:21;:33::i;:::-;48309:104::o:0;47488:434::-;44213:7;;-1:-1:-1;;;;;44213:7:0;44199:10;:21;;:46;;-1:-1:-1;22672:7:0;22699:6;-1:-1:-1;;;;;22699:6:0;44224:10;:21;44199:46;44191:75;;;;-1:-1:-1;;;44191:75:0;;5021:2:1;44191:75:0;;;5003:21:1;5060:2;5040:18;;;5033:30;-1:-1:-1;;;5079:18:1;;;5072:46;5135:18;;44191:75:0;4819:340:1;44191:75:0;47588:8:::1;:15:::0;47579:24;::::1;47571:54;;;::::0;-1:-1:-1;;;47571:54:0;;5366:2:1;47571:54:0::1;::::0;::::1;5348:21:1::0;5405:2;5385:18;;;5378:30;5444:19;5424:18;;;5417:47;5481:18;;47571:54:0::1;5164:341:1::0;47571:54:0::1;47636:15;47654:8;47663:6;47654:16;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;::::1;::::0;47709:10:::1;::::0;47739:36:::1;::::0;-1:-1:-1;;;47739:36:0;;47769:4:::1;47739:36;::::0;::::1;783:74:1::0;-1:-1:-1;;;;;47654:16:0;;::::1;::::0;-1:-1:-1;47709:10:0;::::1;::::0;47779:6;;47709:10;;47739:21:::1;::::0;756:18:1;;47739:36:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:46;;47731:79;;;::::0;-1:-1:-1;;;47731:79:0;;6090:2:1;47731:79:0::1;::::0;::::1;6072:21:1::0;6129:2;6109:18;;;6102:30;6168:22;6148:18;;;6141:50;6208:18;;47731:79:0::1;5888:344:1::0;47731:79:0::1;47821:41;-1:-1:-1::0;;;;;47821:24:0;::::1;47846:7:::0;47855:6;47821:24:::1;:41::i;:::-;47878:36;::::0;;-1:-1:-1;;;;;6429:55:1;;6411:74;;6516:2;6501:18;;6494:34;;;47878:36:0::1;::::0;6384:18:1;47878:36:0::1;;;;;;;;47560:362;;47488:434:::0;;:::o;44924:93::-;22512:13;:11;:13::i;:::-;44982:1:::1;44973:6;:10:::0;;;44999::::1;::::0;::::1;::::0;44982:1;44999:10:::1;44924:93::o:0;44576:233::-;44213:7;;-1:-1:-1;;;;;44213:7:0;44199:10;:21;;:46;;-1:-1:-1;22672:7:0;22699:6;-1:-1:-1;;;;;22699:6:0;44224:10;:21;44199:46;44191:75;;;;-1:-1:-1;;;44191:75:0;;5021:2:1;44191:75:0;;;5003:21:1;5060:2;5040:18;;;5033:30;-1:-1:-1;;;5079:18:1;;;5072:46;5135:18;;44191:75:0;4819:340:1;44191:75:0;44676:7:::1;:18:::0;;-1:-1:-1;;;;;44676:18:0;;::::1;-1:-1:-1::0;;;;;;44676:18:0;;::::1;::::0;::::1;::::0;;;44705:15:::1;:34:::0;;;;::::1;::::0;;;::::1;::::0;::::1;::::0;;;44755:46:::1;::::0;;6713:74:1;;;6818:2;6803:18;;6796:83;;;;44755:46:0::1;::::0;6686:18:1;44755:46:0::1;;;;;;;44576:233:::0;;:::o;48699:206::-;22512:13;:11;:13::i;:::-;48798:12:::1;48816:6;-1:-1:-1::0;;;;;48816:11:0::1;48835:5;48842:4;;48816:31;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48797:50;;;48866:7;48858:39;;;::::0;-1:-1:-1;;;48858:39:0;;7368:2:1;48858:39:0::1;::::0;::::1;7350:21:1::0;7407:2;7387:18;;;7380:30;7446:21;7426:18;;;7419:49;7485:18;;48858:39:0::1;7166:343:1::0;48858:39:0::1;48786:119;48699:206:::0;;;;:::o;46322:78::-;22512:13;:11;:13::i;:::-;46382:3:::1;:10:::0;46322:78::o;23301:103::-;22512:13;:11;:13::i;:::-;23366:30:::1;23393:1;23366:18;:30::i;26607:235::-:0;25775:13;;20740:10;;-1:-1:-1;;;;;25775:13:0;26704:24;;26700:98;;26752:34;;-1:-1:-1;;;26752:34:0;;-1:-1:-1;;;;;801:55:1;;26752:34:0;;;783:74:1;756:18;;26752:34:0;637:226:1;26700:98:0;26808:26;26827:6;26808:18;:26::i;44817:99::-;44356:15;;-1:-1:-1;;;;;44356:15:0;44342:10;:29;;:54;;-1:-1:-1;44389:7:0;;-1:-1:-1;;;;;44389:7:0;44375:10;:21;44342:54;:79;;;-1:-1:-1;22672:7:0;22699:6;-1:-1:-1;;;;;22699:6:0;44400:10;:21;44342:79;44334:117;;;;-1:-1:-1;;;44334:117:0;;7716:2:1;44334:117:0;;;7698:21:1;7755:2;7735:18;;;7728:30;7794:27;7774:18;;;7767:55;7839:18;;44334:117:0;7514:349:1;44334:117:0;44883:1:::1;44874:6;:10:::0;44900:8:::1;::::0;::::1;::::0;;;::::1;44817:99::o:0;46563:917::-;44521:6;;:11;44513:35;;;;-1:-1:-1;;;44513:35:0;;8070:2:1;44513:35:0;;;8052:21:1;8109:2;8089:18;;;8082:30;8148:13;8128:18;;;8121:41;8179:18;;44513:35:0;7868:335:1;44513:35:0;46664:7:::1;::::0;46734:10:::1;::::0;46776:36:::1;::::0;-1:-1:-1;;;46776:36:0;;46806:4:::1;46776:36;::::0;::::1;783:74:1::0;-1:-1:-1;;;;;46664:7:0;;::::1;::::0;46734:10;;::::1;::::0;46639:15:::1;::::0;46734:10;;46776:21:::1;::::0;756:18:1;;46776:36:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;46830:10;::::0;46756:56;;-1:-1:-1;46823:70:0::1;::::0;-1:-1:-1;;;;;46830:10:0::1;46859;46879:4;46886:6:::0;46823:35:::1;:70::i;:::-;46924:36;::::0;-1:-1:-1;;;46924:36:0;;46954:4:::1;46924:36;::::0;::::1;783:74:1::0;46904:17:0::1;::::0;46963:9;;-1:-1:-1;;;;;46924:21:0;::::1;::::0;::::1;::::0;756:18:1;;46924:36:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:48;;;;:::i;:::-;46904:68;;47027:6;47014:9;:19;47006:50;;;::::0;-1:-1:-1;;;47006:50:0;;8732:2:1;47006:50:0::1;::::0;::::1;8714:21:1::0;8771:2;8751:18;;;8744:30;8810:20;8790:18;;;8783:48;8848:18;;47006:50:0::1;8530:342:1::0;47006:50:0::1;47201:17;45578:4;47268:3;;45578:4;47246:25;;;;:::i;:::-;47236:6;47221:12;;:21;;;;:::i;:::-;:51;;;;:::i;:::-;:73;;;;:::i;:::-;47313:33;::::0;-1:-1:-1;;;47313:33:0;;47340:4:::1;47313:33;::::0;::::1;783:74:1::0;47201:93:0;;-1:-1:-1;47201:93:0;;-1:-1:-1;;;;;47313:18:0;::::1;::::0;::::1;::::0;756::1;;47313:33:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:46;;47305:76;;;::::0;-1:-1:-1;;;47305:76:0;;9531:2:1;47305:76:0::1;::::0;::::1;9513:21:1::0;9570:2;9550:18;;;9543:30;9609:19;9589:18;;;9582:47;9646:18;;47305:76:0::1;9329:341:1::0;47305:76:0::1;47392:36;-1:-1:-1::0;;;;;47392:21:0;::::1;47414:2:::0;47418:9;47392:21:::1;:36::i;:::-;47444:28;::::0;;9849:25:1;;;9905:2;9890:18;;9883:34;;;47444:28:0::1;::::0;9822:18:1;47444:28:0::1;;;;;;;46628:852;;;;;46563:917:::0;;:::o;48421:98::-;44213:7;;-1:-1:-1;;;;;44213:7:0;44199:10;:21;;:46;;-1:-1:-1;22672:7:0;22699:6;-1:-1:-1;;;;;22699:6:0;44224:10;:21;44199:46;44191:75;;;;-1:-1:-1;;;44191:75:0;;5021:2:1;44191:75:0;;;5003:21:1;5060:2;5040:18;;;5033:30;-1:-1:-1;;;5079:18:1;;;5072:46;5135:18;;44191:75:0;4819:340:1;44191:75:0;48503:7:::1;::::0;48481:30:::1;::::0;-1:-1:-1;;;;;48503:7:0::1;48481:21;:30::i;46408:107::-:0;22512:13;:11;:13::i;:::-;46487:20;;::::1;::::0;:8:::1;::::0;:20:::1;::::0;::::1;::::0;::::1;:::i;:::-;;46408:107:::0;:::o;45693:621::-;22512:13;:11;:13::i;:::-;45874:16:::1;::::0;::::1;;45873:17;45865:56;;;::::0;-1:-1:-1;;;45865:56:0;;10130:2:1;45865:56:0::1;::::0;::::1;10112:21:1::0;10169:2;10149:18;;;10142:30;10208:28;10188:18;;;10181:56;10254:18;;45865:56:0::1;9928:350:1::0;45865:56:0::1;45932:16;:23:::0;;-1:-1:-1;;45932:23:0::1;45951:4;45932:23;::::0;;45966:7:::1;:14:::0;;-1:-1:-1;;;;;45966:14:0;;::::1;-1:-1:-1::0;;;;;;45966:14:0;;::::1;;::::0;;;45991:10:::1;:20:::0;;;;::::1;::::0;;;::::1;::::0;::::1;::::0;;46049:28:::1;::::0;;;;;;;:26:::1;::::0;-1:-1:-1;46049:28:0;;::::1;::::0;::::1;::::0;;;;;;;;;45991:20;46049:28:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;46044:33;::::0;:2:::1;:33;:::i;:::-;46037:41;::::0;:2:::1;:41;:::i;:::-;46022:12;:56:::0;46114:11;;46100:26:::1;::::0;::::1;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;-1:-1:-1;46100:26:0::1;-1:-1:-1::0;46089:37:0;;::::1;::::0;:8:::1;::::0;:37:::1;::::0;;::::1;::::0;::::1;:::i;:::-;-1:-1:-1::0;46141:9:0::1;46137:89;46160:4;:11;46156:1;:15;46137:89;;;46207:4;46212:1;46207:7;;;;;;;;:::i;:::-;;;;;;;46193:8;46202:1;46193:11;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;::::1;:21:::0;;-1:-1:-1;;;;;;46193:21:0::1;-1:-1:-1::0;;;;;46193:21:0;;;::::1;::::0;;;::::1;::::0;;-1:-1:-1;46173:3:0::1;46137:89;;;-1:-1:-1::0;46236:3:0::1;:10:::0;;;46262:44:::1;::::0;::::1;::::0;::::1;::::0;46280:4;;46286:7;;46295:4;;46242;;46262:44:::1;:::i;25995:181::-:0;22512:13;:11;:13::i;:::-;26085::::1;:24:::0;;-1:-1:-1;;;;;26085:24:0;::::1;-1:-1:-1::0;;;;;;26085:24:0;;::::1;::::0;::::1;::::0;;;26150:7:::1;22672::::0;22699:6;-1:-1:-1;;;;;22699:6:0;;22626:87;26150:7:::1;-1:-1:-1::0;;;;;26125:43:0::1;;;;;;;;;;;25995:181:::0;:::o;22791:166::-;22672:7;22699:6;-1:-1:-1;;;;;22699:6:0;20740:10;22851:23;22847:103;;22898:40;;-1:-1:-1;;;22898:40:0;;20740:10;22898:40;;;783:74:1;756:18;;22898:40:0;637:226:1;48088:213:0;48165:38;;-1:-1:-1;;;48165:38:0;;48197:4;48165:38;;;783:74:1;48154:8:0;;-1:-1:-1;;;;;48165:23:0;;;;;756:18:1;;48165:38:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;48154:49;-1:-1:-1;48218:7:0;;48214:80;;48242:40;48269:7;22672;22699:6;-1:-1:-1;;;;;22699:6:0;;22626:87;48269:7;-1:-1:-1;;;;;48242:26:0;;;48278:3;28045:162;28155:43;;-1:-1:-1;;;;;6429:55:1;;;28155:43:0;;;6411:74:1;6501:18;;;6494:34;;;28128:71:0;;28148:5;;28170:14;;;;;6384:18:1;;28155:43:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28128:19;:71::i;:::-;28045:162;;;:::o;26366:156::-;26456:13;26449:20;;-1:-1:-1;;;;;;26449:20:0;;;26480:34;26505:8;26480:24;:34::i;28452:190::-;28580:53;;-1:-1:-1;;;;;13348:55:1;;;28580:53:0;;;13330:74:1;13440:55;;;13420:18;;;13413:83;13512:18;;;13505:34;;;28553:81:0;;28573:5;;28595:18;;;;;13303::1;;28580:53:0;13128:417:1;28553:81:0;28452:190;;;;:::o;30856:638::-;31280:23;31306:33;-1:-1:-1;;;;;31306:27:0;;31334:4;31306:27;:33::i;:::-;31280:59;;31354:10;:17;31375:1;31354:22;;:57;;;;;31392:10;31381:30;;;;;;;;;;;;:::i;:::-;31380:31;31354:57;31350:137;;;31435:40;;;;;-1:-1:-1;;;;;801:55:1;;31435:40:0;;;783:74:1;756:18;;31435:40:0;637:226:1;23939:191:0;24013:16;24032:6;;-1:-1:-1;;;;;24049:17:0;;;-1:-1:-1;;;;;;24049:17:0;;;;;;24082:40;;24032:6;;;;;;;24082:40;;24013:16;24082:40;24002:128;23939:191;:::o;16339:153::-;16414:12;16446:38;16468:6;16476:4;16482:1;16446:21;:38::i;:::-;16439:45;;16339:153;;;;;:::o;16827:398::-;16926:12;16979:5;16955:21;:29;16951:110;;;17008:41;;;;;17043:4;17008:41;;;783:74:1;756:18;;17008:41:0;637:226:1;16951:110:0;17072:12;17086:23;17113:6;-1:-1:-1;;;;;17113:11:0;17132:5;17139:4;17113:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17071:73;;;;17162:55;17189:6;17197:7;17206:10;17162:26;:55::i;:::-;17155:62;;;;16827:398;;;;;;:::o;18303:597::-;18451:12;18481:7;18476:417;;18505:19;18513:10;18505:7;:19::i;:::-;18476:417;;;18733:17;;:22;:49;;;;-1:-1:-1;;;;;;18759:18:0;;;:23;18733:49;18729:121;;;18810:24;;;;;-1:-1:-1;;;;;801:55:1;;18810:24:0;;;783:74:1;756:18;;18810:24:0;637:226:1;18729:121:0;-1:-1:-1;18871:10:0;18864:17;;19453:528;19586:17;;:21;19582:392;;19818:10;19812:17;19875:15;19862:10;19858:2;19854:19;19847:44;19582:392;19945:17;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:196:1;82:20;;-1:-1:-1;;;;;131:54:1;;121:65;;111:93;;200:1;197;190:12;111:93;14:196;;;:::o;215:186::-;274:6;327:2;315:9;306:7;302:23;298:32;295:52;;;343:1;340;333:12;295:52;366:29;385:9;366:29;:::i;406:226::-;465:6;518:2;506:9;497:7;493:23;489:32;486:52;;;534:1;531;524:12;486:52;-1:-1:-1;579:23:1;;406:226;-1:-1:-1;406:226:1:o;868:346::-;936:6;944;997:2;985:9;976:7;972:23;968:32;965:52;;;1013:1;1010;1003:12;965:52;-1:-1:-1;;1058:23:1;;;1178:2;1163:18;;;1150:32;;-1:-1:-1;868:346:1:o;1219:260::-;1287:6;1295;1348:2;1336:9;1327:7;1323:23;1319:32;1316:52;;;1364:1;1361;1354:12;1316:52;1387:29;1406:9;1387:29;:::i;:::-;1377:39;;1435:38;1469:2;1458:9;1454:18;1435:38;:::i;:::-;1425:48;;1219:260;;;;;:::o;1666:774::-;1754:6;1762;1770;1778;1831:2;1819:9;1810:7;1806:23;1802:32;1799:52;;;1847:1;1844;1837:12;1799:52;1870:29;1889:9;1870:29;:::i;:::-;1860:39;-1:-1:-1;1968:2:1;1953:18;;1940:32;;-1:-1:-1;2047:2:1;2032:18;;2019:32;2074:18;2063:30;;2060:50;;;2106:1;2103;2096:12;2060:50;2129:22;;2182:4;2174:13;;2170:27;-1:-1:-1;2160:55:1;;2211:1;2208;2201:12;2160:55;2251:2;2238:16;2277:18;2269:6;2266:30;2263:50;;;2309:1;2306;2299:12;2263:50;2354:7;2349:2;2340:6;2336:2;2332:15;2328:24;2325:37;2322:57;;;2375:1;2372;2365:12;2322:57;1666:774;;;;-1:-1:-1;2406:2:1;2398:11;;-1:-1:-1;;;1666:774:1:o;2445:300::-;2513:6;2521;2574:2;2562:9;2553:7;2549:23;2545:32;2542:52;;;2590:1;2587;2580:12;2542:52;2635:23;;;-1:-1:-1;2701:38:1;2735:2;2720:18;;2701:38;:::i;2750:184::-;-1:-1:-1;;;2799:1:1;2792:88;2899:4;2896:1;2889:15;2923:4;2920:1;2913:15;2939:906;2993:5;3046:3;3039:4;3031:6;3027:17;3023:27;3013:55;;3064:1;3061;3054:12;3013:55;3104:6;3091:20;3134:18;3126:6;3123:30;3120:56;;;3156:18;;:::i;:::-;3202:6;3199:1;3195:14;3238:2;3232:9;3301:2;3297:7;3292:2;3288;3284:11;3280:25;3272:6;3268:38;3372:6;3360:10;3357:22;3336:18;3324:10;3321:34;3318:62;3315:88;;;3383:18;;:::i;:::-;3419:2;3412:22;3469;;;3519:4;3551:15;;;3547:26;;;3469:22;3507:17;;3585:15;;;3582:35;;;3613:1;3610;3603:12;3582:35;3649:4;3641:6;3637:17;3626:28;;3663:152;3679:6;3674:3;3671:15;3663:152;;;3747:23;3766:3;3747:23;:::i;:::-;3735:36;;3800:4;3696:14;;;;3791;3663:152;;;-1:-1:-1;3833:6:1;2939:906;-1:-1:-1;;;;;2939:906:1:o;3850:348::-;3934:6;3987:2;3975:9;3966:7;3962:23;3958:32;3955:52;;;4003:1;4000;3993:12;3955:52;4043:9;4030:23;4076:18;4068:6;4065:30;4062:50;;;4108:1;4105;4098:12;4062:50;4131:61;4184:7;4175:6;4164:9;4160:22;4131:61;:::i;:::-;4121:71;3850:348;-1:-1:-1;;;;3850:348:1:o;4203:611::-;4314:6;4322;4330;4338;4391:3;4379:9;4370:7;4366:23;4362:33;4359:53;;;4408:1;4405;4398:12;4359:53;4431:29;4450:9;4431:29;:::i;:::-;4421:39;;4479:38;4513:2;4502:9;4498:18;4479:38;:::i;:::-;4469:48;;4568:2;4557:9;4553:18;4540:32;4595:18;4587:6;4584:30;4581:50;;;4627:1;4624;4617:12;4581:50;4650:61;4703:7;4694:6;4683:9;4679:22;4650:61;:::i;:::-;4203:611;;;;-1:-1:-1;4640:71:1;;4780:2;4765:18;4752:32;;-1:-1:-1;;;4203:611:1:o;5510:184::-;-1:-1:-1;;;5559:1:1;5552:88;5659:4;5656:1;5649:15;5683:4;5680:1;5673:15;5699:184;5769:6;5822:2;5810:9;5801:7;5797:23;5793:32;5790:52;;;5838:1;5835;5828:12;5790:52;-1:-1:-1;5861:16:1;;5699:184;-1:-1:-1;5699:184:1:o;6890:271::-;7073:6;7065;7060:3;7047:33;7029:3;7099:16;;7124:13;;;7099:16;6890:271;-1:-1:-1;6890:271:1:o;8208:184::-;-1:-1:-1;;;8257:1:1;8250:88;8357:4;8354:1;8347:15;8381:4;8378:1;8371:15;8397:128;8464:9;;;8485:11;;;8482:37;;;8499:18;;:::i;8877:168::-;8950:9;;;8981;;8998:15;;;8992:22;;8978:37;8968:71;;9019:18;;:::i;9050:274::-;9090:1;9116;9106:189;;-1:-1:-1;;;9148:1:1;9141:88;9252:4;9249:1;9242:15;9280:4;9277:1;9270:15;9106:189;-1:-1:-1;9309:9:1;;9050:274::o;10283:273::-;10351:6;10404:2;10392:9;10383:7;10379:23;10375:32;10372:52;;;10420:1;10417;10410:12;10372:52;10452:9;10446:16;10502:4;10495:5;10491:16;10484:5;10481:27;10471:55;;10522:1;10519;10512:12;10561:151;10651:4;10644:12;;;10630;;;10626:31;;10669:14;;10666:40;;;10686:18;;:::i;10717:375::-;10805:1;10823:5;10837:249;10858:1;10848:8;10845:15;10837:249;;;10908:4;10903:3;10899:14;10893:4;10890:24;10887:50;;;10917:18;;:::i;:::-;10967:1;10957:8;10953:16;10950:49;;;10981:16;;;;10950:49;11064:1;11060:16;;;;;11020:15;;10837:249;;;10717:375;;;;;;:::o;11097:902::-;11146:5;11176:8;11166:80;;-1:-1:-1;11217:1:1;11231:5;;11166:80;11265:4;11255:76;;-1:-1:-1;11302:1:1;11316:5;;11255:76;11347:4;11365:1;11360:59;;;;11433:1;11428:174;;;;11340:262;;11360:59;11390:1;11381:10;;11404:5;;;11428:174;11465:3;11455:8;11452:17;11449:43;;;11472:18;;:::i;:::-;-1:-1:-1;;11528:1:1;11514:16;;11587:5;;11340:262;;11686:2;11676:8;11673:16;11667:3;11661:4;11658:13;11654:36;11648:2;11638:8;11635:16;11630:2;11624:4;11621:12;11617:35;11614:77;11611:203;;;-1:-1:-1;11723:19:1;;;11799:5;;11611:203;11846:42;-1:-1:-1;;11871:8:1;11865:4;11846:42;:::i;:::-;11924:6;11920:1;11916:6;11912:19;11903:7;11900:32;11897:58;;;11935:18;;:::i;:::-;11973:20;;11097:902;-1:-1:-1;;;11097:902:1:o;12004:140::-;12062:5;12091:47;12132:4;12122:8;12118:19;12112:4;12091:47;:::i;12149:974::-;12375:4;12423:3;12412:9;12408:19;-1:-1:-1;;;;;12458:6:1;12454:55;12443:9;12436:74;-1:-1:-1;;;;;12550:6:1;12546:55;12541:2;12530:9;12526:18;12519:83;12638:3;12633:2;12622:9;12618:18;12611:31;12662:6;12697;12691:13;12728:6;12720;12713:22;12766:3;12755:9;12751:19;12744:26;;12805:2;12797:6;12793:15;12779:29;;12826:1;12836:218;12850:6;12847:1;12844:13;12836:218;;;12915:13;;-1:-1:-1;;;;;12911:62:1;12899:75;;13003:2;13029:15;;;;12994:12;;;;12872:1;12865:9;12836:218;;;-1:-1:-1;;13105:2:1;13090:18;;;;13083:34;;;;-1:-1:-1;13071:3:1;12149:974;-1:-1:-1;;;;12149:974:1:o;13550:277::-;13617:6;13670:2;13658:9;13649:7;13645:23;13641:32;13638:52;;;13686:1;13683;13676:12;13638:52;13718:9;13712:16;13771:5;13764:13;13757:21;13750:5;13747:32;13737:60;;13793:1;13790;13783:12;13832:412;13961:3;13999:6;13993:13;14024:1;14034:129;14048:6;14045:1;14042:13;14034:129;;;14146:4;14130:14;;;14126:25;;14120:32;14107:11;;;14100:53;14063:12;14034:129;;;-1:-1:-1;14218:1:1;14182:16;;14207:13;;;-1:-1:-1;14182:16:1;13832:412;-1:-1:-1;13832:412:1:o
Swarm Source
ipfs://2c57bb3a439e80028180933445fef4eb8e042d04516042d87b708247141ef5d5
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
[ 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.