Overview
ETH Balance
0 ETH
ETH Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 15 from a total of 15 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Transfer Ownersh... | 46955156 | 778 days ago | IN | 0 ETH | 0.000052643616 | ||||
Set Feature | 46954927 | 778 days ago | IN | 0 ETH | 0.000062379754 | ||||
Set Feature | 46954861 | 778 days ago | IN | 0 ETH | 0.000062379754 | ||||
Set Feature | 46952462 | 778 days ago | IN | 0 ETH | 0.000058138759 | ||||
Set Feature | 46952422 | 778 days ago | IN | 0 ETH | 0.000058138759 | ||||
Transfer Ownersh... | 44585345 | 784 days ago | IN | 0 ETH | 0.000043612918 | ||||
Unpause | 44580232 | 784 days ago | IN | 0 ETH | 0.000037788219 | ||||
Pause | 44579240 | 784 days ago | IN | 0 ETH | 0.000037788249 | ||||
Set Operator | 44567768 | 784 days ago | IN | 0 ETH | 0.000050311876 | ||||
Set Approve Targ... | 44563805 | 784 days ago | IN | 0 ETH | 0.000048377206 | ||||
Set Call Target | 44563721 | 784 days ago | IN | 0 ETH | 0.000048377227 | ||||
Set Approve Targ... | 44438920 | 785 days ago | IN | 0 ETH | 0.000080976072 | ||||
Set Call Target | 44438823 | 785 days ago | IN | 0 ETH | 0.000051199046 | ||||
Set Call Target | 44437490 | 785 days ago | IN | 0 ETH | 0.000075823119 | ||||
Set Feature | 43800128 | 786 days ago | IN | 0 ETH | 0.000051873995 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
107558349 | 544 days ago | 0 ETH | ||||
107558349 | 544 days ago | 0 ETH | ||||
107558349 | 544 days ago | 0 ETH | ||||
107558123 | 544 days ago | 0 ETH | ||||
107558123 | 544 days ago | 0 ETH | ||||
107558123 | 544 days ago | 0 ETH | ||||
107557980 | 544 days ago | 0 ETH | ||||
107557980 | 544 days ago | 0 ETH | ||||
107557980 | 544 days ago | 0 ETH | ||||
107557459 | 544 days ago | 0 ETH | ||||
107557459 | 544 days ago | 0 ETH | ||||
107557459 | 544 days ago | 0 ETH | ||||
107556989 | 544 days ago | 0 ETH | ||||
107556989 | 544 days ago | 0 ETH | ||||
107556989 | 544 days ago | 0 ETH | ||||
107554755 | 544 days ago | 0 ETH | ||||
107554755 | 544 days ago | 0 ETH | ||||
107554755 | 544 days ago | 0 ETH | ||||
107554416 | 544 days ago | 0 ETH | ||||
107554416 | 544 days ago | 0 ETH | ||||
107554416 | 544 days ago | 0 ETH | ||||
107553976 | 544 days ago | 0 ETH | ||||
107553976 | 544 days ago | 0 ETH | ||||
107553976 | 544 days ago | 0 ETH | ||||
107552960 | 544 days ago | 0 ETH |
Loading...
Loading
Contract Name:
BKRegistry
Compiler Version
v0.8.17+commit.8df45f5f
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: BUSL-1.1 pragma solidity ^0.8.17; import "./BKCommon.sol"; contract BKRegistry is BKCommon { struct Feature { address proxy; bool isLib; bool isActive; } mapping(bytes4 => Feature) private features; mapping(bytes4 => mapping(address => bool)) private isCallTargets; mapping(bytes4 => mapping(address => bool)) private isApproveTargets; event SetFeature(address operator, bytes4 methodId, address proxy, bool isLib, bool isActive); event SetCallTarget(address operator, bytes4 methodId, address target, bool isEnable); event SetApproveTarget(address operator, bytes4 methodId, address target, bool isEnable); constructor(address _owner) { _transferOwnership(_owner); } function setFeature( bytes4 _methodId, address _proxy, bool _isLib, bool _isActive ) external onlyOwner whenNotPaused { Feature memory feat = Feature({ proxy : _proxy, isLib : _isLib, isActive : _isActive }); features[_methodId] = feat; emit SetFeature(msg.sender, _methodId, _proxy, _isLib, _isActive); } function getFeature(bytes4 _methodId) external view returns (address proxy, bool isLib) { Feature memory feat = features[_methodId]; _checkFeatureStatus(feat); proxy = feat.proxy; isLib = feat.isLib; } function setCallTarget( bytes4 _methodId, address [] calldata _targets, bool _isEnable ) external onlyOwner whenNotPaused { Feature memory feat = features[_methodId]; _checkFeatureStatus(feat); for (uint256 i = 0; i < _targets.length; i++) { isCallTargets[_methodId][_targets[i]] = _isEnable; emit SetCallTarget(msg.sender, _methodId, _targets[i], _isEnable); } } function isCallTarget(bytes4 _methodId, address _target) external view returns (bool) { Feature memory feat = features[_methodId]; _checkFeatureStatus(feat); return isCallTargets[_methodId][_target]; } function setApproveTarget( bytes4 _methodId, address [] calldata _targets, bool _isEnable ) external onlyOwner whenNotPaused { Feature memory feat = features[_methodId]; _checkFeatureStatus(feat); for (uint256 i = 0; i < _targets.length; i++) { isApproveTargets[_methodId][_targets[i]] = _isEnable; emit SetApproveTarget(msg.sender, _methodId, _targets[i], _isEnable); } } function isApproveTarget(bytes4 _methodId, address _target) external view returns (bool) { Feature memory feat = features[_methodId]; _checkFeatureStatus(feat); return isApproveTargets[_methodId][_target]; } function _checkFeatureStatus(Feature memory _feat) internal pure { if (_feat.proxy == address(0)) { revert FeatureNotExist(); } if (!_feat.isActive) { revert FeatureInActive(); } } }
// SPDX-License-Identifier: BUSL-1.1 pragma solidity ^0.8.17; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "./interfaces/IBKErrors.sol"; contract BKCommon is IBKErrors, Ownable, Pausable, ReentrancyGuard { using SafeERC20 for IERC20; mapping(address => bool) isOperator; event RescueETH(address indexed recipient, uint256 amount); event RescueERC20(address indexed asset, address recipient); event SetOperator(address operator, bool isOperator); modifier onlyOperator() { require(isOperator[_msgSender()], "Operator: caller is not the operator"); _; } function setOperator(address[] calldata _operators, bool _isOperator) external onlyOwner { for(uint i = 0; i < _operators.length; i++) { isOperator[_operators[i]] = _isOperator; emit SetOperator(_operators[i], _isOperator); } } function pause() external onlyOperator { _pause(); } function unpause() external onlyOperator { _unpause(); } function rescueERC20(address asset, address recipient) external onlyOperator { IERC20(asset).safeTransfer( recipient, IERC20(asset).balanceOf(address(this)) ); emit RescueERC20(asset, recipient); } function rescueETH(address recipient) external onlyOperator { _transferEth(recipient, address(this).balance); } function _transferEth(address _to, uint256 _amount) internal { bool callStatus; assembly { // Transfer the ETH and store if it succeeded or not. callStatus := call(gas(), _to, _amount, 0, 0, 0, 0) } require(callStatus, "_transferEth: Eth transfer failed"); emit RescueETH(_to, _amount); } /// @dev Revert with arbitrary bytes. /// @param data Revert data. function _revertWithData(bytes memory data) internal pure { assembly { revert(add(data, 32), mload(data)) } } receive() external payable {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.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. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { _requireNotPaused(); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { _requirePaused(); _; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Throws if the contract is paused. */ function _requireNotPaused() internal view virtual { require(!paused(), "Pausable: paused"); } /** * @dev Throws if the contract is not paused. */ function _requirePaused() internal view virtual { require(paused(), "Pausable: not paused"); } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; import "../extensions/draft-IERC20Permit.sol"; import "../../../utils/Address.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; function safeTransfer( IERC20 token, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom( IERC20 token, address from, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove( IERC20 token, address spender, uint256 value ) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' require( (value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance( IERC20 token, address spender, uint256 value ) internal { uint256 newAllowance = token.allowance(address(this), spender) + value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance( IERC20 token, address spender, uint256 value ) internal { unchecked { uint256 oldAllowance = token.allowance(address(this), spender); require(oldAllowance >= value, "SafeERC20: decreased allowance below zero"); uint256 newAllowance = oldAllowance - value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } } function safePermit( IERC20Permit token, address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) internal { uint256 nonceBefore = token.nonces(owner); token.permit(owner, spender, value, deadline, v, r, s); uint256 nonceAfter = token.nonces(owner); require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed"); } /** * @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, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: BUSL-1.1 pragma solidity ^0.8.17; interface IBKErrors { error InvalidMsgSig(); error InsufficientEtherSupplied(); error FeatureNotExist(); error FeatureInActive(); error InvalidCaller(); error InvalidSigner(); error InvalidNonce(bytes32 signMsg); error InvalidZeroAddress(); error InvalidFeeRate(uint256 feeRate); error SwapEthBalanceNotEnough(); error SwapTokenBalanceNotEnough(); error SwapTokenApproveNotEnough(); error SwapInsuffenceOutPut(); error SwapTypeNotAvailable(); error BurnToMuch(); error IllegalCallTarget(); error IllegalApproveTarget(); error InvalidSwapAddress(address); error CallException(address); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol) pragma solidity ^0.8.0; /** * @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. */ 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]. */ 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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"BurnToMuch","type":"error"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"CallException","type":"error"},{"inputs":[],"name":"FeatureInActive","type":"error"},{"inputs":[],"name":"FeatureNotExist","type":"error"},{"inputs":[],"name":"IllegalApproveTarget","type":"error"},{"inputs":[],"name":"IllegalCallTarget","type":"error"},{"inputs":[],"name":"InsufficientEtherSupplied","type":"error"},{"inputs":[],"name":"InvalidCaller","type":"error"},{"inputs":[{"internalType":"uint256","name":"feeRate","type":"uint256"}],"name":"InvalidFeeRate","type":"error"},{"inputs":[],"name":"InvalidMsgSig","type":"error"},{"inputs":[{"internalType":"bytes32","name":"signMsg","type":"bytes32"}],"name":"InvalidNonce","type":"error"},{"inputs":[],"name":"InvalidSigner","type":"error"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"InvalidSwapAddress","type":"error"},{"inputs":[],"name":"InvalidZeroAddress","type":"error"},{"inputs":[],"name":"SwapEthBalanceNotEnough","type":"error"},{"inputs":[],"name":"SwapInsuffenceOutPut","type":"error"},{"inputs":[],"name":"SwapTokenApproveNotEnough","type":"error"},{"inputs":[],"name":"SwapTokenBalanceNotEnough","type":"error"},{"inputs":[],"name":"SwapTypeNotAvailable","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"asset","type":"address"},{"indexed":false,"internalType":"address","name":"recipient","type":"address"}],"name":"RescueERC20","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"RescueETH","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bytes4","name":"methodId","type":"bytes4"},{"indexed":false,"internalType":"address","name":"target","type":"address"},{"indexed":false,"internalType":"bool","name":"isEnable","type":"bool"}],"name":"SetApproveTarget","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bytes4","name":"methodId","type":"bytes4"},{"indexed":false,"internalType":"address","name":"target","type":"address"},{"indexed":false,"internalType":"bool","name":"isEnable","type":"bool"}],"name":"SetCallTarget","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bytes4","name":"methodId","type":"bytes4"},{"indexed":false,"internalType":"address","name":"proxy","type":"address"},{"indexed":false,"internalType":"bool","name":"isLib","type":"bool"},{"indexed":false,"internalType":"bool","name":"isActive","type":"bool"}],"name":"SetFeature","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"isOperator","type":"bool"}],"name":"SetOperator","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[{"internalType":"bytes4","name":"_methodId","type":"bytes4"}],"name":"getFeature","outputs":[{"internalType":"address","name":"proxy","type":"address"},{"internalType":"bool","name":"isLib","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"_methodId","type":"bytes4"},{"internalType":"address","name":"_target","type":"address"}],"name":"isApproveTarget","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"_methodId","type":"bytes4"},{"internalType":"address","name":"_target","type":"address"}],"name":"isCallTarget","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"asset","type":"address"},{"internalType":"address","name":"recipient","type":"address"}],"name":"rescueERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"}],"name":"rescueETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"_methodId","type":"bytes4"},{"internalType":"address[]","name":"_targets","type":"address[]"},{"internalType":"bool","name":"_isEnable","type":"bool"}],"name":"setApproveTarget","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"_methodId","type":"bytes4"},{"internalType":"address[]","name":"_targets","type":"address[]"},{"internalType":"bool","name":"_isEnable","type":"bool"}],"name":"setCallTarget","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"_methodId","type":"bytes4"},{"internalType":"address","name":"_proxy","type":"address"},{"internalType":"bool","name":"_isLib","type":"bool"},{"internalType":"bool","name":"_isActive","type":"bool"}],"name":"setFeature","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_operators","type":"address[]"},{"internalType":"bool","name":"_isOperator","type":"bool"}],"name":"setOperator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040523480156200001157600080fd5b5060405162002815380380620028158339818101604052810190620000379190620001c6565b620000576200004b6200009060201b60201c565b6200009860201b60201c565b60008060146101000a81548160ff0219169083151502179055506001808190555062000089816200009860201b60201c565b50620001f8565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200018e8262000161565b9050919050565b620001a08162000181565b8114620001ac57600080fd5b50565b600081519050620001c08162000195565b92915050565b600060208284031215620001df57620001de6200015c565b5b6000620001ef84828501620001af565b91505092915050565b61260d80620002086000396000f3fe6080604052600436106100ec5760003560e01c80636c8128d31161008a578063af2d9d8111610059578063af2d9d811461029e578063b6fb85bd146102db578063f090fa8d14610304578063f2fde38b14610341576100f3565b80636c8128d31461021c578063715018a6146102455780638456cb591461025c5780638da5cb5b14610273576100f3565b80633659871e116100c65780633659871e146101735780633f4ba83a146101b15780635c975abb146101c85780635d799f87146101f3576100f3565b806304824e70146100f85780631ed6144e14610121578063230d369c1461014a576100f3565b366100f357005b600080fd5b34801561010457600080fd5b5061011f600480360381019061011a9190611a71565b61036a565b005b34801561012d57600080fd5b5061014860048036038101906101439190611b3b565b61040a565b005b34801561015657600080fd5b50610171600480360381019061016c9190611bf3565b610517565b005b34801561017f57600080fd5b5061019a60048036038101906101959190611c5a565b610682565b6040516101a8929190611ca5565b60405180910390f35b3480156101bd57600080fd5b506101c661078e565b005b3480156101d457600080fd5b506101dd61082b565b6040516101ea9190611cce565b60405180910390f35b3480156101ff57600080fd5b5061021a60048036038101906102159190611ce9565b610841565b005b34801561022857600080fd5b50610243600480360381019061023e9190611d29565b6109ca565b005b34801561025157600080fd5b5061025a610c29565b005b34801561026857600080fd5b50610271610c3d565b005b34801561027f57600080fd5b50610288610cda565b6040516102959190611d9d565b60405180910390f35b3480156102aa57600080fd5b506102c560048036038101906102c09190611db8565b610d03565b6040516102d29190611cce565b60405180910390f35b3480156102e757600080fd5b5061030260048036038101906102fd9190611d29565b610e9e565b005b34801561031057600080fd5b5061032b60048036038101906103269190611db8565b6110fd565b6040516103389190611cce565b60405180910390f35b34801561034d57600080fd5b5061036860048036038101906103639190611a71565b611298565b005b6002600061037661131b565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166103fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103f490611e7b565b60405180910390fd5b6104078147611323565b50565b6104126113c4565b60005b8383905081101561051157816002600086868581811061043857610437611e9b565b5b905060200201602081019061044d9190611a71565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055507f1618a22a3b00b9ac70fd5a82f1f5cdd8cb272bd0f1b740ddf7c26ab05881dd5b8484838181106104d2576104d1611e9b565b5b90506020020160208101906104e79190611a71565b836040516104f6929190611ca5565b60405180910390a1808061050990611f03565b915050610415565b50505050565b61051f6113c4565b610527611442565b600060405180606001604052808573ffffffffffffffffffffffffffffffffffffffff168152602001841515815260200183151581525090508060036000877bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548160ff02191690831515021790555060408201518160000160156101000a81548160ff0219169083151502179055509050507f13c362cbb099f11868136f24457bf912ab9bb21109158dd05b265e6b1a08b9503386868686604051610673959493929190611f5a565b60405180910390a15050505050565b600080600060036000857bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191681526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900460ff161515151581526020016000820160159054906101000a900460ff161515151581525050905061077a8161148c565b806000015192508060200151915050915091565b6002600061079a61131b565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610821576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161081890611e7b565b60405180910390fd5b610829611534565b565b60008060149054906101000a900460ff16905090565b6002600061084d61131b565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166108d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108cb90611e7b565b60405180910390fd5b610978818373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016109119190611d9d565b602060405180830381865afa15801561092e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109529190611fd9565b8473ffffffffffffffffffffffffffffffffffffffff166115969092919063ffffffff16565b8173ffffffffffffffffffffffffffffffffffffffff167f8c4e91db779d40eb9afbcebd8cf9aa9195b7b057611e32ad5dc9e4025f56ada0826040516109be9190611d9d565b60405180910390a25050565b6109d26113c4565b6109da611442565b600060036000867bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191681526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900460ff161515151581526020016000820160159054906101000a900460ff1615151515815250509050610acf8161148c565b60005b84849050811015610c21578260056000887bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191681526020019081526020016000206000878785818110610b4457610b43611e9b565b5b9050602002016020810190610b599190611a71565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055507f08f0fbeb8677fc4d909acd84d1382eff7544aafc119c2a414a7ffaaa647124b73387878785818110610be057610bdf611e9b565b5b9050602002016020810190610bf59190611a71565b86604051610c069493929190612006565b60405180910390a18080610c1990611f03565b915050610ad2565b505050505050565b610c316113c4565b610c3b600061161c565b565b60026000610c4961131b565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610cd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cc790611e7b565b60405180910390fd5b610cd86116e0565b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60008060036000857bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191681526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900460ff161515151581526020016000820160159054906101000a900460ff1615151515815250509050610df98161148c565b60056000857bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1691505092915050565b610ea66113c4565b610eae611442565b600060036000867bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191681526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900460ff161515151581526020016000820160159054906101000a900460ff1615151515815250509050610fa38161148c565b60005b848490508110156110f5578260046000887bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168152602001908152602001600020600087878581811061101857611017611e9b565b5b905060200201602081019061102d9190611a71565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055507fa7b1056211995d95ed6743563c6383be37d0f9ac5feda3d8a62d31f9dcd53c0033878787858181106110b4576110b3611e9b565b5b90506020020160208101906110c99190611a71565b866040516110da9493929190612006565b60405180910390a180806110ed90611f03565b915050610fa6565b505050505050565b60008060036000857bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191681526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900460ff161515151581526020016000820160159054906101000a900460ff16151515158152505090506111f38161148c565b60046000857bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1691505092915050565b6112a06113c4565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361130f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611306906120bd565b60405180910390fd5b6113188161161c565b50565b600033905090565b600080600080600085875af1905080611371576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113689061214f565b60405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff167f77f67778e9529a2fd2147ffb2b10ca2e0d1efd8cb925e1f1d5702e39c5fa8da6836040516113b7919061217e565b60405180910390a2505050565b6113cc61131b565b73ffffffffffffffffffffffffffffffffffffffff166113ea610cda565b73ffffffffffffffffffffffffffffffffffffffff1614611440576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611437906121e5565b60405180910390fd5b565b61144a61082b565b1561148a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148190612251565b60405180910390fd5b565b600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16036114f6576040517f8e4ed60d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060400151611531576040517f627b257900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50565b61153c611743565b60008060146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa61157f61131b565b60405161158c9190611d9d565b60405180910390a1565b6116178363a9059cbb60e01b84846040516024016115b5929190612271565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505061178c565b505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6116e8611442565b6001600060146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861172c61131b565b6040516117399190611d9d565b60405180910390a1565b61174b61082b565b61178a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611781906122e6565b60405180910390fd5b565b60006117ee826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166118539092919063ffffffff16565b905060008151111561184e578080602001905181019061180e919061231b565b61184d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611844906123ba565b60405180910390fd5b5b505050565b6060611862848460008561186b565b90509392505050565b6060824710156118b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118a79061244c565b60405180910390fd5b6118b98561197f565b6118f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118ef906124b8565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516119219190612549565b60006040518083038185875af1925050503d806000811461195e576040519150601f19603f3d011682016040523d82523d6000602084013e611963565b606091505b50915091506119738282866119a2565b92505050949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b606083156119b257829050611a02565b6000835111156119c55782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119f991906125b5565b60405180910390fd5b9392505050565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611a3e82611a13565b9050919050565b611a4e81611a33565b8114611a5957600080fd5b50565b600081359050611a6b81611a45565b92915050565b600060208284031215611a8757611a86611a09565b5b6000611a9584828501611a5c565b91505092915050565b600080fd5b600080fd5b600080fd5b60008083601f840112611ac357611ac2611a9e565b5b8235905067ffffffffffffffff811115611ae057611adf611aa3565b5b602083019150836020820283011115611afc57611afb611aa8565b5b9250929050565b60008115159050919050565b611b1881611b03565b8114611b2357600080fd5b50565b600081359050611b3581611b0f565b92915050565b600080600060408486031215611b5457611b53611a09565b5b600084013567ffffffffffffffff811115611b7257611b71611a0e565b5b611b7e86828701611aad565b93509350506020611b9186828701611b26565b9150509250925092565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b611bd081611b9b565b8114611bdb57600080fd5b50565b600081359050611bed81611bc7565b92915050565b60008060008060808587031215611c0d57611c0c611a09565b5b6000611c1b87828801611bde565b9450506020611c2c87828801611a5c565b9350506040611c3d87828801611b26565b9250506060611c4e87828801611b26565b91505092959194509250565b600060208284031215611c7057611c6f611a09565b5b6000611c7e84828501611bde565b91505092915050565b611c9081611a33565b82525050565b611c9f81611b03565b82525050565b6000604082019050611cba6000830185611c87565b611cc76020830184611c96565b9392505050565b6000602082019050611ce36000830184611c96565b92915050565b60008060408385031215611d0057611cff611a09565b5b6000611d0e85828601611a5c565b9250506020611d1f85828601611a5c565b9150509250929050565b60008060008060608587031215611d4357611d42611a09565b5b6000611d5187828801611bde565b945050602085013567ffffffffffffffff811115611d7257611d71611a0e565b5b611d7e87828801611aad565b93509350506040611d9187828801611b26565b91505092959194509250565b6000602082019050611db26000830184611c87565b92915050565b60008060408385031215611dcf57611dce611a09565b5b6000611ddd85828601611bde565b9250506020611dee85828601611a5c565b9150509250929050565b600082825260208201905092915050565b7f4f70657261746f723a2063616c6c6572206973206e6f7420746865206f70657260008201527f61746f7200000000000000000000000000000000000000000000000000000000602082015250565b6000611e65602483611df8565b9150611e7082611e09565b604082019050919050565b60006020820190508181036000830152611e9481611e58565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000819050919050565b6000611f0e82611ef9565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203611f4057611f3f611eca565b5b600182019050919050565b611f5481611b9b565b82525050565b600060a082019050611f6f6000830188611c87565b611f7c6020830187611f4b565b611f896040830186611c87565b611f966060830185611c96565b611fa36080830184611c96565b9695505050505050565b611fb681611ef9565b8114611fc157600080fd5b50565b600081519050611fd381611fad565b92915050565b600060208284031215611fef57611fee611a09565b5b6000611ffd84828501611fc4565b91505092915050565b600060808201905061201b6000830187611c87565b6120286020830186611f4b565b6120356040830185611c87565b6120426060830184611c96565b95945050505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006120a7602683611df8565b91506120b28261204b565b604082019050919050565b600060208201905081810360008301526120d68161209a565b9050919050565b7f5f7472616e736665724574683a20457468207472616e73666572206661696c6560008201527f6400000000000000000000000000000000000000000000000000000000000000602082015250565b6000612139602183611df8565b9150612144826120dd565b604082019050919050565b600060208201905081810360008301526121688161212c565b9050919050565b61217881611ef9565b82525050565b6000602082019050612193600083018461216f565b92915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006121cf602083611df8565b91506121da82612199565b602082019050919050565b600060208201905081810360008301526121fe816121c2565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b600061223b601083611df8565b915061224682612205565b602082019050919050565b6000602082019050818103600083015261226a8161222e565b9050919050565b60006040820190506122866000830185611c87565b612293602083018461216f565b9392505050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b60006122d0601483611df8565b91506122db8261229a565b602082019050919050565b600060208201905081810360008301526122ff816122c3565b9050919050565b60008151905061231581611b0f565b92915050565b60006020828403121561233157612330611a09565b5b600061233f84828501612306565b91505092915050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b60006123a4602a83611df8565b91506123af82612348565b604082019050919050565b600060208201905081810360008301526123d381612397565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b6000612436602683611df8565b9150612441826123da565b604082019050919050565b6000602082019050818103600083015261246581612429565b9050919050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b60006124a2601d83611df8565b91506124ad8261246c565b602082019050919050565b600060208201905081810360008301526124d181612495565b9050919050565b600081519050919050565b600081905092915050565b60005b8381101561250c5780820151818401526020810190506124f1565b60008484015250505050565b6000612523826124d8565b61252d81856124e3565b935061253d8185602086016124ee565b80840191505092915050565b60006125558284612518565b915081905092915050565b600081519050919050565b6000601f19601f8301169050919050565b600061258782612560565b6125918185611df8565b93506125a18185602086016124ee565b6125aa8161256b565b840191505092915050565b600060208201905081810360008301526125cf818461257c565b90509291505056fea264697066735822122019c7fc0895624deb96c16379607aee9340665abf2b4b96a30662647997e4912864736f6c634300081100330000000000000000000000005defa9c83085c7f606ceb3b5f75fc107945ed7de
Deployed Bytecode
0x6080604052600436106100ec5760003560e01c80636c8128d31161008a578063af2d9d8111610059578063af2d9d811461029e578063b6fb85bd146102db578063f090fa8d14610304578063f2fde38b14610341576100f3565b80636c8128d31461021c578063715018a6146102455780638456cb591461025c5780638da5cb5b14610273576100f3565b80633659871e116100c65780633659871e146101735780633f4ba83a146101b15780635c975abb146101c85780635d799f87146101f3576100f3565b806304824e70146100f85780631ed6144e14610121578063230d369c1461014a576100f3565b366100f357005b600080fd5b34801561010457600080fd5b5061011f600480360381019061011a9190611a71565b61036a565b005b34801561012d57600080fd5b5061014860048036038101906101439190611b3b565b61040a565b005b34801561015657600080fd5b50610171600480360381019061016c9190611bf3565b610517565b005b34801561017f57600080fd5b5061019a60048036038101906101959190611c5a565b610682565b6040516101a8929190611ca5565b60405180910390f35b3480156101bd57600080fd5b506101c661078e565b005b3480156101d457600080fd5b506101dd61082b565b6040516101ea9190611cce565b60405180910390f35b3480156101ff57600080fd5b5061021a60048036038101906102159190611ce9565b610841565b005b34801561022857600080fd5b50610243600480360381019061023e9190611d29565b6109ca565b005b34801561025157600080fd5b5061025a610c29565b005b34801561026857600080fd5b50610271610c3d565b005b34801561027f57600080fd5b50610288610cda565b6040516102959190611d9d565b60405180910390f35b3480156102aa57600080fd5b506102c560048036038101906102c09190611db8565b610d03565b6040516102d29190611cce565b60405180910390f35b3480156102e757600080fd5b5061030260048036038101906102fd9190611d29565b610e9e565b005b34801561031057600080fd5b5061032b60048036038101906103269190611db8565b6110fd565b6040516103389190611cce565b60405180910390f35b34801561034d57600080fd5b5061036860048036038101906103639190611a71565b611298565b005b6002600061037661131b565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166103fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103f490611e7b565b60405180910390fd5b6104078147611323565b50565b6104126113c4565b60005b8383905081101561051157816002600086868581811061043857610437611e9b565b5b905060200201602081019061044d9190611a71565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055507f1618a22a3b00b9ac70fd5a82f1f5cdd8cb272bd0f1b740ddf7c26ab05881dd5b8484838181106104d2576104d1611e9b565b5b90506020020160208101906104e79190611a71565b836040516104f6929190611ca5565b60405180910390a1808061050990611f03565b915050610415565b50505050565b61051f6113c4565b610527611442565b600060405180606001604052808573ffffffffffffffffffffffffffffffffffffffff168152602001841515815260200183151581525090508060036000877bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548160ff02191690831515021790555060408201518160000160156101000a81548160ff0219169083151502179055509050507f13c362cbb099f11868136f24457bf912ab9bb21109158dd05b265e6b1a08b9503386868686604051610673959493929190611f5a565b60405180910390a15050505050565b600080600060036000857bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191681526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900460ff161515151581526020016000820160159054906101000a900460ff161515151581525050905061077a8161148c565b806000015192508060200151915050915091565b6002600061079a61131b565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610821576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161081890611e7b565b60405180910390fd5b610829611534565b565b60008060149054906101000a900460ff16905090565b6002600061084d61131b565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166108d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108cb90611e7b565b60405180910390fd5b610978818373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016109119190611d9d565b602060405180830381865afa15801561092e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109529190611fd9565b8473ffffffffffffffffffffffffffffffffffffffff166115969092919063ffffffff16565b8173ffffffffffffffffffffffffffffffffffffffff167f8c4e91db779d40eb9afbcebd8cf9aa9195b7b057611e32ad5dc9e4025f56ada0826040516109be9190611d9d565b60405180910390a25050565b6109d26113c4565b6109da611442565b600060036000867bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191681526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900460ff161515151581526020016000820160159054906101000a900460ff1615151515815250509050610acf8161148c565b60005b84849050811015610c21578260056000887bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191681526020019081526020016000206000878785818110610b4457610b43611e9b565b5b9050602002016020810190610b599190611a71565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055507f08f0fbeb8677fc4d909acd84d1382eff7544aafc119c2a414a7ffaaa647124b73387878785818110610be057610bdf611e9b565b5b9050602002016020810190610bf59190611a71565b86604051610c069493929190612006565b60405180910390a18080610c1990611f03565b915050610ad2565b505050505050565b610c316113c4565b610c3b600061161c565b565b60026000610c4961131b565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610cd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cc790611e7b565b60405180910390fd5b610cd86116e0565b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60008060036000857bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191681526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900460ff161515151581526020016000820160159054906101000a900460ff1615151515815250509050610df98161148c565b60056000857bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1691505092915050565b610ea66113c4565b610eae611442565b600060036000867bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191681526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900460ff161515151581526020016000820160159054906101000a900460ff1615151515815250509050610fa38161148c565b60005b848490508110156110f5578260046000887bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168152602001908152602001600020600087878581811061101857611017611e9b565b5b905060200201602081019061102d9190611a71565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055507fa7b1056211995d95ed6743563c6383be37d0f9ac5feda3d8a62d31f9dcd53c0033878787858181106110b4576110b3611e9b565b5b90506020020160208101906110c99190611a71565b866040516110da9493929190612006565b60405180910390a180806110ed90611f03565b915050610fa6565b505050505050565b60008060036000857bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191681526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900460ff161515151581526020016000820160159054906101000a900460ff16151515158152505090506111f38161148c565b60046000857bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1691505092915050565b6112a06113c4565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361130f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611306906120bd565b60405180910390fd5b6113188161161c565b50565b600033905090565b600080600080600085875af1905080611371576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113689061214f565b60405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff167f77f67778e9529a2fd2147ffb2b10ca2e0d1efd8cb925e1f1d5702e39c5fa8da6836040516113b7919061217e565b60405180910390a2505050565b6113cc61131b565b73ffffffffffffffffffffffffffffffffffffffff166113ea610cda565b73ffffffffffffffffffffffffffffffffffffffff1614611440576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611437906121e5565b60405180910390fd5b565b61144a61082b565b1561148a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148190612251565b60405180910390fd5b565b600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16036114f6576040517f8e4ed60d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060400151611531576040517f627b257900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50565b61153c611743565b60008060146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa61157f61131b565b60405161158c9190611d9d565b60405180910390a1565b6116178363a9059cbb60e01b84846040516024016115b5929190612271565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505061178c565b505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6116e8611442565b6001600060146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861172c61131b565b6040516117399190611d9d565b60405180910390a1565b61174b61082b565b61178a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611781906122e6565b60405180910390fd5b565b60006117ee826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166118539092919063ffffffff16565b905060008151111561184e578080602001905181019061180e919061231b565b61184d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611844906123ba565b60405180910390fd5b5b505050565b6060611862848460008561186b565b90509392505050565b6060824710156118b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118a79061244c565b60405180910390fd5b6118b98561197f565b6118f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118ef906124b8565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516119219190612549565b60006040518083038185875af1925050503d806000811461195e576040519150601f19603f3d011682016040523d82523d6000602084013e611963565b606091505b50915091506119738282866119a2565b92505050949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b606083156119b257829050611a02565b6000835111156119c55782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119f991906125b5565b60405180910390fd5b9392505050565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611a3e82611a13565b9050919050565b611a4e81611a33565b8114611a5957600080fd5b50565b600081359050611a6b81611a45565b92915050565b600060208284031215611a8757611a86611a09565b5b6000611a9584828501611a5c565b91505092915050565b600080fd5b600080fd5b600080fd5b60008083601f840112611ac357611ac2611a9e565b5b8235905067ffffffffffffffff811115611ae057611adf611aa3565b5b602083019150836020820283011115611afc57611afb611aa8565b5b9250929050565b60008115159050919050565b611b1881611b03565b8114611b2357600080fd5b50565b600081359050611b3581611b0f565b92915050565b600080600060408486031215611b5457611b53611a09565b5b600084013567ffffffffffffffff811115611b7257611b71611a0e565b5b611b7e86828701611aad565b93509350506020611b9186828701611b26565b9150509250925092565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b611bd081611b9b565b8114611bdb57600080fd5b50565b600081359050611bed81611bc7565b92915050565b60008060008060808587031215611c0d57611c0c611a09565b5b6000611c1b87828801611bde565b9450506020611c2c87828801611a5c565b9350506040611c3d87828801611b26565b9250506060611c4e87828801611b26565b91505092959194509250565b600060208284031215611c7057611c6f611a09565b5b6000611c7e84828501611bde565b91505092915050565b611c9081611a33565b82525050565b611c9f81611b03565b82525050565b6000604082019050611cba6000830185611c87565b611cc76020830184611c96565b9392505050565b6000602082019050611ce36000830184611c96565b92915050565b60008060408385031215611d0057611cff611a09565b5b6000611d0e85828601611a5c565b9250506020611d1f85828601611a5c565b9150509250929050565b60008060008060608587031215611d4357611d42611a09565b5b6000611d5187828801611bde565b945050602085013567ffffffffffffffff811115611d7257611d71611a0e565b5b611d7e87828801611aad565b93509350506040611d9187828801611b26565b91505092959194509250565b6000602082019050611db26000830184611c87565b92915050565b60008060408385031215611dcf57611dce611a09565b5b6000611ddd85828601611bde565b9250506020611dee85828601611a5c565b9150509250929050565b600082825260208201905092915050565b7f4f70657261746f723a2063616c6c6572206973206e6f7420746865206f70657260008201527f61746f7200000000000000000000000000000000000000000000000000000000602082015250565b6000611e65602483611df8565b9150611e7082611e09565b604082019050919050565b60006020820190508181036000830152611e9481611e58565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000819050919050565b6000611f0e82611ef9565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203611f4057611f3f611eca565b5b600182019050919050565b611f5481611b9b565b82525050565b600060a082019050611f6f6000830188611c87565b611f7c6020830187611f4b565b611f896040830186611c87565b611f966060830185611c96565b611fa36080830184611c96565b9695505050505050565b611fb681611ef9565b8114611fc157600080fd5b50565b600081519050611fd381611fad565b92915050565b600060208284031215611fef57611fee611a09565b5b6000611ffd84828501611fc4565b91505092915050565b600060808201905061201b6000830187611c87565b6120286020830186611f4b565b6120356040830185611c87565b6120426060830184611c96565b95945050505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006120a7602683611df8565b91506120b28261204b565b604082019050919050565b600060208201905081810360008301526120d68161209a565b9050919050565b7f5f7472616e736665724574683a20457468207472616e73666572206661696c6560008201527f6400000000000000000000000000000000000000000000000000000000000000602082015250565b6000612139602183611df8565b9150612144826120dd565b604082019050919050565b600060208201905081810360008301526121688161212c565b9050919050565b61217881611ef9565b82525050565b6000602082019050612193600083018461216f565b92915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006121cf602083611df8565b91506121da82612199565b602082019050919050565b600060208201905081810360008301526121fe816121c2565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b600061223b601083611df8565b915061224682612205565b602082019050919050565b6000602082019050818103600083015261226a8161222e565b9050919050565b60006040820190506122866000830185611c87565b612293602083018461216f565b9392505050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b60006122d0601483611df8565b91506122db8261229a565b602082019050919050565b600060208201905081810360008301526122ff816122c3565b9050919050565b60008151905061231581611b0f565b92915050565b60006020828403121561233157612330611a09565b5b600061233f84828501612306565b91505092915050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b60006123a4602a83611df8565b91506123af82612348565b604082019050919050565b600060208201905081810360008301526123d381612397565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b6000612436602683611df8565b9150612441826123da565b604082019050919050565b6000602082019050818103600083015261246581612429565b9050919050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b60006124a2601d83611df8565b91506124ad8261246c565b602082019050919050565b600060208201905081810360008301526124d181612495565b9050919050565b600081519050919050565b600081905092915050565b60005b8381101561250c5780820151818401526020810190506124f1565b60008484015250505050565b6000612523826124d8565b61252d81856124e3565b935061253d8185602086016124ee565b80840191505092915050565b60006125558284612518565b915081905092915050565b600081519050919050565b6000601f19601f8301169050919050565b600061258782612560565b6125918185611df8565b93506125a18185602086016124ee565b6125aa8161256b565b840191505092915050565b600060208201905081810360008301526125cf818461257c565b90509291505056fea264697066735822122019c7fc0895624deb96c16379607aee9340665abf2b4b96a30662647997e4912864736f6c63430008110033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000005defa9c83085c7f606ceb3b5f75fc107945ed7de
-----Decoded View---------------
Arg [0] : _owner (address): 0x5DEFa9C83085c7F606CEB3B5f75Fc107945ed7de
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000005defa9c83085c7f606ceb3b5f75fc107945ed7de
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.