More Info
Private Name Tags
ContractCreator
Latest 6 from a total of 6 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Claim Rewards | 19787684 | 139 days ago | IN | 0 ETH | 0.00015075 | ||||
Claim Rewards | 19787674 | 139 days ago | IN | 0 ETH | 0.0001611 | ||||
Claim Rewards | 19781270 | 140 days ago | IN | 0 ETH | 0.00022705 | ||||
Claim Rewards | 19781248 | 140 days ago | IN | 0 ETH | 0.00023636 | ||||
Add To Whitelist | 19769390 | 141 days ago | IN | 0 ETH | 0.00060113 | ||||
0x60806040 | 19732995 | 146 days ago | IN | 0 ETH | 0.01416126 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
Treasury
Compiler Version
v0.8.20+commit.a1b79de6
Optimization Enabled:
No with 200 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.20; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import "./interfaces/ITreasury.sol"; contract Treasury is ITreasury, Ownable { using SafeERC20 for IERC20; mapping(address => bool) public whiteslists; modifier isWhitelisted() { require(whiteslists[msg.sender], "Address is not whitelisted"); _; } constructor(address owner) Ownable(owner) {} function sendToken( address token, address to, uint256 amount ) external isWhitelisted { IERC20(token).safeTransfer(to, amount); } function sendNative(uint256 amount, address to) external isWhitelisted { _sendNative(to, amount); } function withdraw(address token, uint256 amount) external onlyOwner { IERC20(token).safeTransfer(msg.sender, amount); } function withdrawNative(uint256 amount) external onlyOwner { _sendNative(msg.sender, amount); } function _sendNative(address to, uint256 amount) private { (bool success, ) = to.call{value: amount}(""); require(success, "Transfer failed"); } function addToWhitelist(address pool) external onlyOwner { require(!whiteslists[pool], "Address is already whitelisted"); whiteslists[pool] = true; } function removeFromWhitelist( address pool ) external onlyOwner isWhitelisted { whiteslists[pool] = false; } receive() external payable {} fallback() external {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol) pragma solidity ^0.8.20; import {Context} from "../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. * * 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); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Permit.sol) pragma solidity ^0.8.20; /** * @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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.20; /** * @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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.20; import {IERC20} from "../IERC20.sol"; import {IERC20Permit} from "../extensions/IERC20Permit.sol"; import {Address} from "../../../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; /** * @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; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/Address.sol) pragma solidity ^0.8.20; /** * @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(); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol) pragma solidity ^0.8.20; /** * @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; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.20; interface ITreasury { function sendToken(address token, address to, uint256 amount) external; function sendNative(uint256 amount, address to) external; function whiteslists(address) external view returns (bool); function withdraw(address token, uint256 amount) external; function withdrawNative(uint256 amount) external; receive() external payable; fallback() external; }
{ "evmVersion": "paris", "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":[{"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":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"stateMutability":"nonpayable","type":"fallback"},{"inputs":[{"internalType":"address","name":"pool","type":"address"}],"name":"addToWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"pool","type":"address"}],"name":"removeFromWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"to","type":"address"}],"name":"sendNative","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"sendToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whiteslists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawNative","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040523480156200001157600080fd5b50604051620012e5380380620012e58339818101604052810190620000379190620001f4565b80600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603620000ad5760006040517f1e4fbdf7000000000000000000000000000000000000000000000000000000008152600401620000a4919062000237565b60405180910390fd5b620000be81620000c660201b60201c565b505062000254565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620001bc826200018f565b9050919050565b620001ce81620001af565b8114620001da57600080fd5b50565b600081519050620001ee81620001c3565b92915050565b6000602082840312156200020d576200020c6200018a565b5b60006200021d84828501620001dd565b91505092915050565b6200023181620001af565b82525050565b60006020820190506200024e600083018462000226565b92915050565b61108180620002646000396000f3fe6080604052600436106100955760003560e01c80638da5cb5b116100595780638da5cb5b14610165578063e43252d714610190578063f2fde38b146101b9578063f3fef3a3146101e2578063f812a3e81461020b5761009c565b806315a04095146100aa5780632fdcfbd2146100d3578063715018a6146100fc57806384276d81146101135780638ab1d6811461013c5761009c565b3661009c57005b3480156100a857600080fd5b005b3480156100b657600080fd5b506100d160048036038101906100cc9190610c15565b610248565b005b3480156100df57600080fd5b506100fa60048036038101906100f59190610c55565b6102e2565b005b34801561010857600080fd5b5061011161039e565b005b34801561011f57600080fd5b5061013a60048036038101906101359190610ca8565b6103b2565b005b34801561014857600080fd5b50610163600480360381019061015e9190610cd5565b6103c7565b005b34801561017157600080fd5b5061017a6104b6565b6040516101879190610d11565b60405180910390f35b34801561019c57600080fd5b506101b760048036038101906101b29190610cd5565b6104df565b005b3480156101c557600080fd5b506101e060048036038101906101db9190610cd5565b6105ce565b005b3480156101ee57600080fd5b5061020960048036038101906102049190610d2c565b610654565b005b34801561021757600080fd5b50610232600480360381019061022d9190610cd5565b61068b565b60405161023f9190610d87565b60405180910390f35b600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166102d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102cb90610dff565b60405180910390fd5b6102de81836106ab565b5050565b600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1661036e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161036590610dff565b60405180910390fd5b61039982828573ffffffffffffffffffffffffffffffffffffffff1661075c9092919063ffffffff16565b505050565b6103a66107db565b6103b06000610862565b565b6103ba6107db565b6103c433826106ab565b50565b6103cf6107db565b600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1661045b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161045290610dff565b60405180910390fd5b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6104e76107db565b600160008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615610574576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161056b90610e6b565b60405180910390fd5b60018060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b6105d66107db565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036106485760006040517f1e4fbdf700000000000000000000000000000000000000000000000000000000815260040161063f9190610d11565b60405180910390fd5b61065181610862565b50565b61065c6107db565b61068733828473ffffffffffffffffffffffffffffffffffffffff1661075c9092919063ffffffff16565b5050565b60016020528060005260406000206000915054906101000a900460ff1681565b60008273ffffffffffffffffffffffffffffffffffffffff16826040516106d190610ebc565b60006040518083038185875af1925050503d806000811461070e576040519150601f19603f3d011682016040523d82523d6000602084013e610713565b606091505b5050905080610757576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161074e90610f1d565b60405180910390fd5b505050565b6107d6838473ffffffffffffffffffffffffffffffffffffffff1663a9059cbb858560405160240161078f929190610f4c565b604051602081830303815290604052915060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050610926565b505050565b6107e36109bd565b73ffffffffffffffffffffffffffffffffffffffff166108016104b6565b73ffffffffffffffffffffffffffffffffffffffff1614610860576108246109bd565b6040517f118cdaa70000000000000000000000000000000000000000000000000000000081526004016108579190610d11565b60405180910390fd5b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000610951828473ffffffffffffffffffffffffffffffffffffffff166109c590919063ffffffff16565b905060008151141580156109765750808060200190518101906109749190610fa1565b155b156109b857826040517f5274afe70000000000000000000000000000000000000000000000000000000081526004016109af9190610d11565b60405180910390fd5b505050565b600033905090565b60606109d3838360006109db565b905092915050565b606081471015610a2257306040517fcd786059000000000000000000000000000000000000000000000000000000008152600401610a199190610d11565b60405180910390fd5b6000808573ffffffffffffffffffffffffffffffffffffffff168486604051610a4b9190611034565b60006040518083038185875af1925050503d8060008114610a88576040519150601f19603f3d011682016040523d82523d6000602084013e610a8d565b606091505b5091509150610a9d868383610aa8565b925050509392505050565b606082610abd57610ab882610b37565b610b2f565b60008251148015610ae5575060008473ffffffffffffffffffffffffffffffffffffffff163b145b15610b2757836040517f9996b315000000000000000000000000000000000000000000000000000000008152600401610b1e9190610d11565b60405180910390fd5b819050610b30565b5b9392505050565b600081511115610b4a5780518082602001fd5b6040517f1425ea4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080fd5b6000819050919050565b610b9481610b81565b8114610b9f57600080fd5b50565b600081359050610bb181610b8b565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610be282610bb7565b9050919050565b610bf281610bd7565b8114610bfd57600080fd5b50565b600081359050610c0f81610be9565b92915050565b60008060408385031215610c2c57610c2b610b7c565b5b6000610c3a85828601610ba2565b9250506020610c4b85828601610c00565b9150509250929050565b600080600060608486031215610c6e57610c6d610b7c565b5b6000610c7c86828701610c00565b9350506020610c8d86828701610c00565b9250506040610c9e86828701610ba2565b9150509250925092565b600060208284031215610cbe57610cbd610b7c565b5b6000610ccc84828501610ba2565b91505092915050565b600060208284031215610ceb57610cea610b7c565b5b6000610cf984828501610c00565b91505092915050565b610d0b81610bd7565b82525050565b6000602082019050610d266000830184610d02565b92915050565b60008060408385031215610d4357610d42610b7c565b5b6000610d5185828601610c00565b9250506020610d6285828601610ba2565b9150509250929050565b60008115159050919050565b610d8181610d6c565b82525050565b6000602082019050610d9c6000830184610d78565b92915050565b600082825260208201905092915050565b7f41646472657373206973206e6f742077686974656c6973746564000000000000600082015250565b6000610de9601a83610da2565b9150610df482610db3565b602082019050919050565b60006020820190508181036000830152610e1881610ddc565b9050919050565b7f4164647265737320697320616c72656164792077686974656c69737465640000600082015250565b6000610e55601e83610da2565b9150610e6082610e1f565b602082019050919050565b60006020820190508181036000830152610e8481610e48565b9050919050565b600081905092915050565b50565b6000610ea6600083610e8b565b9150610eb182610e96565b600082019050919050565b6000610ec782610e99565b9150819050919050565b7f5472616e73666572206661696c65640000000000000000000000000000000000600082015250565b6000610f07600f83610da2565b9150610f1282610ed1565b602082019050919050565b60006020820190508181036000830152610f3681610efa565b9050919050565b610f4681610b81565b82525050565b6000604082019050610f616000830185610d02565b610f6e6020830184610f3d565b9392505050565b610f7e81610d6c565b8114610f8957600080fd5b50565b600081519050610f9b81610f75565b92915050565b600060208284031215610fb757610fb6610b7c565b5b6000610fc584828501610f8c565b91505092915050565b600081519050919050565b60005b83811015610ff7578082015181840152602081019050610fdc565b60008484015250505050565b600061100e82610fce565b6110188185610e8b565b9350611028818560208601610fd9565b80840191505092915050565b60006110408284611003565b91508190509291505056fea26469706673582212202d250a665896bced113967b8c1298c507654f3fd6ce63aacbf081210eaac06af64736f6c634300081400330000000000000000000000005502121c88b667f1de13b37ac52bab114123e604
Deployed Bytecode
0x6080604052600436106100955760003560e01c80638da5cb5b116100595780638da5cb5b14610165578063e43252d714610190578063f2fde38b146101b9578063f3fef3a3146101e2578063f812a3e81461020b5761009c565b806315a04095146100aa5780632fdcfbd2146100d3578063715018a6146100fc57806384276d81146101135780638ab1d6811461013c5761009c565b3661009c57005b3480156100a857600080fd5b005b3480156100b657600080fd5b506100d160048036038101906100cc9190610c15565b610248565b005b3480156100df57600080fd5b506100fa60048036038101906100f59190610c55565b6102e2565b005b34801561010857600080fd5b5061011161039e565b005b34801561011f57600080fd5b5061013a60048036038101906101359190610ca8565b6103b2565b005b34801561014857600080fd5b50610163600480360381019061015e9190610cd5565b6103c7565b005b34801561017157600080fd5b5061017a6104b6565b6040516101879190610d11565b60405180910390f35b34801561019c57600080fd5b506101b760048036038101906101b29190610cd5565b6104df565b005b3480156101c557600080fd5b506101e060048036038101906101db9190610cd5565b6105ce565b005b3480156101ee57600080fd5b5061020960048036038101906102049190610d2c565b610654565b005b34801561021757600080fd5b50610232600480360381019061022d9190610cd5565b61068b565b60405161023f9190610d87565b60405180910390f35b600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166102d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102cb90610dff565b60405180910390fd5b6102de81836106ab565b5050565b600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1661036e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161036590610dff565b60405180910390fd5b61039982828573ffffffffffffffffffffffffffffffffffffffff1661075c9092919063ffffffff16565b505050565b6103a66107db565b6103b06000610862565b565b6103ba6107db565b6103c433826106ab565b50565b6103cf6107db565b600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1661045b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161045290610dff565b60405180910390fd5b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6104e76107db565b600160008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615610574576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161056b90610e6b565b60405180910390fd5b60018060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b6105d66107db565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036106485760006040517f1e4fbdf700000000000000000000000000000000000000000000000000000000815260040161063f9190610d11565b60405180910390fd5b61065181610862565b50565b61065c6107db565b61068733828473ffffffffffffffffffffffffffffffffffffffff1661075c9092919063ffffffff16565b5050565b60016020528060005260406000206000915054906101000a900460ff1681565b60008273ffffffffffffffffffffffffffffffffffffffff16826040516106d190610ebc565b60006040518083038185875af1925050503d806000811461070e576040519150601f19603f3d011682016040523d82523d6000602084013e610713565b606091505b5050905080610757576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161074e90610f1d565b60405180910390fd5b505050565b6107d6838473ffffffffffffffffffffffffffffffffffffffff1663a9059cbb858560405160240161078f929190610f4c565b604051602081830303815290604052915060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050610926565b505050565b6107e36109bd565b73ffffffffffffffffffffffffffffffffffffffff166108016104b6565b73ffffffffffffffffffffffffffffffffffffffff1614610860576108246109bd565b6040517f118cdaa70000000000000000000000000000000000000000000000000000000081526004016108579190610d11565b60405180910390fd5b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000610951828473ffffffffffffffffffffffffffffffffffffffff166109c590919063ffffffff16565b905060008151141580156109765750808060200190518101906109749190610fa1565b155b156109b857826040517f5274afe70000000000000000000000000000000000000000000000000000000081526004016109af9190610d11565b60405180910390fd5b505050565b600033905090565b60606109d3838360006109db565b905092915050565b606081471015610a2257306040517fcd786059000000000000000000000000000000000000000000000000000000008152600401610a199190610d11565b60405180910390fd5b6000808573ffffffffffffffffffffffffffffffffffffffff168486604051610a4b9190611034565b60006040518083038185875af1925050503d8060008114610a88576040519150601f19603f3d011682016040523d82523d6000602084013e610a8d565b606091505b5091509150610a9d868383610aa8565b925050509392505050565b606082610abd57610ab882610b37565b610b2f565b60008251148015610ae5575060008473ffffffffffffffffffffffffffffffffffffffff163b145b15610b2757836040517f9996b315000000000000000000000000000000000000000000000000000000008152600401610b1e9190610d11565b60405180910390fd5b819050610b30565b5b9392505050565b600081511115610b4a5780518082602001fd5b6040517f1425ea4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080fd5b6000819050919050565b610b9481610b81565b8114610b9f57600080fd5b50565b600081359050610bb181610b8b565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610be282610bb7565b9050919050565b610bf281610bd7565b8114610bfd57600080fd5b50565b600081359050610c0f81610be9565b92915050565b60008060408385031215610c2c57610c2b610b7c565b5b6000610c3a85828601610ba2565b9250506020610c4b85828601610c00565b9150509250929050565b600080600060608486031215610c6e57610c6d610b7c565b5b6000610c7c86828701610c00565b9350506020610c8d86828701610c00565b9250506040610c9e86828701610ba2565b9150509250925092565b600060208284031215610cbe57610cbd610b7c565b5b6000610ccc84828501610ba2565b91505092915050565b600060208284031215610ceb57610cea610b7c565b5b6000610cf984828501610c00565b91505092915050565b610d0b81610bd7565b82525050565b6000602082019050610d266000830184610d02565b92915050565b60008060408385031215610d4357610d42610b7c565b5b6000610d5185828601610c00565b9250506020610d6285828601610ba2565b9150509250929050565b60008115159050919050565b610d8181610d6c565b82525050565b6000602082019050610d9c6000830184610d78565b92915050565b600082825260208201905092915050565b7f41646472657373206973206e6f742077686974656c6973746564000000000000600082015250565b6000610de9601a83610da2565b9150610df482610db3565b602082019050919050565b60006020820190508181036000830152610e1881610ddc565b9050919050565b7f4164647265737320697320616c72656164792077686974656c69737465640000600082015250565b6000610e55601e83610da2565b9150610e6082610e1f565b602082019050919050565b60006020820190508181036000830152610e8481610e48565b9050919050565b600081905092915050565b50565b6000610ea6600083610e8b565b9150610eb182610e96565b600082019050919050565b6000610ec782610e99565b9150819050919050565b7f5472616e73666572206661696c65640000000000000000000000000000000000600082015250565b6000610f07600f83610da2565b9150610f1282610ed1565b602082019050919050565b60006020820190508181036000830152610f3681610efa565b9050919050565b610f4681610b81565b82525050565b6000604082019050610f616000830185610d02565b610f6e6020830184610f3d565b9392505050565b610f7e81610d6c565b8114610f8957600080fd5b50565b600081519050610f9b81610f75565b92915050565b600060208284031215610fb757610fb6610b7c565b5b6000610fc584828501610f8c565b91505092915050565b600081519050919050565b60005b83811015610ff7578082015181840152602081019050610fdc565b60008484015250505050565b600061100e82610fce565b6110188185610e8b565b9350611028818560208601610fd9565b80840191505092915050565b60006110408284611003565b91508190509291505056fea26469706673582212202d250a665896bced113967b8c1298c507654f3fd6ce63aacbf081210eaac06af64736f6c63430008140033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000005502121c88b667f1de13b37ac52bab114123e604
-----Decoded View---------------
Arg [0] : owner (address): 0x5502121c88b667f1de13B37Ac52baB114123E604
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000005502121c88b667f1de13b37ac52bab114123e604
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 27 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | 100.00% | $0.999846 | 88.98 | $88.97 |
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.