Source Code
Overview
S Balance
0 S
Token Holdings
More Info
ContractCreator
Latest 23 from a total of 23 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Withdraw | 4507114 | 4 days ago | IN | 0 S | 0.00102692 | ||||
Withdraw | 4507007 | 4 days ago | IN | 0 S | 0.00063191 | ||||
Add Token | 4494193 | 4 days ago | IN | 0 S | 0.00008868 | ||||
Add Token | 4494169 | 4 days ago | IN | 0 S | 0.00008868 | ||||
Add Token | 4494151 | 4 days ago | IN | 0 S | 0.00008868 | ||||
Add Token | 4494130 | 4 days ago | IN | 0 S | 0.00008868 | ||||
Add Token | 4494107 | 4 days ago | IN | 0 S | 0.00008866 | ||||
Add Token | 4494088 | 4 days ago | IN | 0 S | 0.00008868 | ||||
Add Token | 4494068 | 4 days ago | IN | 0 S | 0.00008868 | ||||
Add Token | 4494046 | 4 days ago | IN | 0 S | 0.00008866 | ||||
Add Token | 4494027 | 4 days ago | IN | 0 S | 0.00008868 | ||||
Add Token | 4494012 | 4 days ago | IN | 0 S | 0.00008868 | ||||
Add Token | 4493996 | 4 days ago | IN | 0 S | 0.00008868 | ||||
Add Token | 4493978 | 4 days ago | IN | 0 S | 0.00008868 | ||||
Add Token | 4493959 | 4 days ago | IN | 0 S | 0.00008868 | ||||
Add Token | 4493935 | 4 days ago | IN | 0 S | 0.00008868 | ||||
Add Token | 4493914 | 4 days ago | IN | 0 S | 0.00008868 | ||||
Add Token | 4493893 | 4 days ago | IN | 0 S | 0.00008868 | ||||
Add Token | 4493873 | 4 days ago | IN | 0 S | 0.00008868 | ||||
Add Token | 4493851 | 4 days ago | IN | 0 S | 0.00008868 | ||||
Add Token | 4493829 | 4 days ago | IN | 0 S | 0.00008868 | ||||
Add Token | 4493807 | 4 days ago | IN | 0 S | 0.00008868 | ||||
Add Token | 4493787 | 4 days ago | IN | 0 S | 0.00010747 |
Latest 25 internal transactions (View All)
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
4507114 | 4 days ago | 0 S | ||||
4507114 | 4 days ago | 0 S | ||||
4507114 | 4 days ago | 0 S | ||||
4507114 | 4 days ago | 0 S | ||||
4507114 | 4 days ago | 0 S | ||||
4507114 | 4 days ago | 0 S | ||||
4507114 | 4 days ago | 0 S | ||||
4507114 | 4 days ago | 0 S | ||||
4507114 | 4 days ago | 0 S | ||||
4507114 | 4 days ago | 0 S | ||||
4507114 | 4 days ago | 0 S | ||||
4507114 | 4 days ago | 0 S | ||||
4507114 | 4 days ago | 0 S | ||||
4507114 | 4 days ago | 0 S | ||||
4507114 | 4 days ago | 0 S | ||||
4507114 | 4 days ago | 0 S | ||||
4507114 | 4 days ago | 0 S | ||||
4507114 | 4 days ago | 0 S | ||||
4507114 | 4 days ago | 0 S | ||||
4507114 | 4 days ago | 0 S | ||||
4507114 | 4 days ago | 0 S | ||||
4507114 | 4 days ago | 0 S | ||||
4507114 | 4 days ago | 0 S | ||||
4507114 | 4 days ago | 0 S | ||||
4507114 | 4 days ago | 0 S |
Loading...
Loading
Contract Name:
Faucet
Compiler Version
v0.8.12+commit.f00d7308
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol"; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract Faucet is Ownable { using SafeERC20 for IERC20Metadata; mapping(address => uint256) public withdrawAuth; uint256 public period = 8400; IERC20Metadata[] public tokens; mapping(address => uint256) public tokensInfo; function withdraw() public { require(msg.sender == tx.origin, "do not withdraw from contract"); uint256 start = withdrawAuth[msg.sender]; require(start + period < block.number, "Please wait"); for (uint256 i = 0; i < tokens.length; i++) { uint256 per = tokensInfo[address(tokens[i])]; if (per > 0) { if (tokens[i].balanceOf(address(this)) >= per) { IERC20Metadata token = tokens[i]; token.safeTransfer(msg.sender, per); emit Withdraw(msg.sender, address(token), tokensInfo[address(tokens[i])]); } } } withdrawAuth[msg.sender] = block.number; } function setPer(address _token, uint256 _per) public onlyOwner { require(tokensInfo[_token] > 0, "Not exist"); tokensInfo[_token] = _per * 10 ** _per; } function addToken(IERC20Metadata _token, uint256 _per) public onlyOwner { require(tokensInfo[address(_token)] == 0, "Token exists"); require(_per > 0, "per > 0"); uint per = _per * 10 ** _token.decimals(); tokens.push(_token); tokensInfo[address(_token)] = per; emit AddToken(address(_token), per); } function setPeriod(uint256 _period) public onlyOwner { period = _period; emit SetPeriod(_period); } function removeToken(IERC20Metadata _token) public onlyOwner { IERC20Metadata[] memory _tokens = tokens; for (uint256 i = 0; i < _tokens.length; i++) { if (address(_tokens[i]) == address(_token)) { tokens[i] = tokens[_tokens.length - 1]; delete tokens[_tokens.length - 1]; delete tokensInfo[address(_token)]; uint256 balance = _token.balanceOf(address(this)); if (balance > 0) { _token.safeTransfer(owner(), _token.balanceOf(address(this))); } emit RemoveToken(address(_token)); break; } } } function tokensLength() public view returns (uint256) { return tokens.length; } event AddToken(address _token, uint256 _per); event SetPer(address _token, uint256 _per); event Withdraw(address withdrawer, address token, uint256 amount); event RemoveToken(address _token); event SetPeriod(uint256 _period); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.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. 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 { 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 v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.4) (token/ERC20/extensions/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. * * ==== 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 v4.9.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 (last updated v4.9.3) (token/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; import "../extensions/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; /** * @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.encodeWithSelector(token.transfer.selector, 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.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)); } /** * @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); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance + value)); } /** * @dev Decrease the calling contract's allowance toward `spender` by `value`. If `token` returns no value, * non-reverting calls are assumed to be successful. */ 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"); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance - value)); } } /** * @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.encodeWithSelector(token.approve.selector, spender, value); if (!_callOptionalReturnBool(token, approvalCall)) { _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, 0)); _callOptionalReturn(token, approvalCall); } } /** * @dev Use a ERC-2612 signature to set the `owner` approval toward `spender` on `token`. * Revert on invalid signature. */ 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"); require(returndata.length == 0 || abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation 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). * * 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.isContract(address(token)); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.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 * * Furthermore, `isContract` will also return true if the target contract within * the same transaction is already scheduled for destruction by `SELFDESTRUCT`, * which only has an effect at the end of a transaction. * ==== * * [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://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.0/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 functionCallWithValue(target, data, 0, "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"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, 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) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, 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) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or 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 { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) 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(errorMessage); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.4) (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; } function _contextSuffixLength() internal view virtual returns (uint256) { return 0; } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
[{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_token","type":"address"},{"indexed":false,"internalType":"uint256","name":"_per","type":"uint256"}],"name":"AddToken","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_token","type":"address"}],"name":"RemoveToken","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_token","type":"address"},{"indexed":false,"internalType":"uint256","name":"_per","type":"uint256"}],"name":"SetPer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_period","type":"uint256"}],"name":"SetPeriod","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"withdrawer","type":"address"},{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[{"internalType":"contract IERC20Metadata","name":"_token","type":"address"},{"internalType":"uint256","name":"_per","type":"uint256"}],"name":"addToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"period","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20Metadata","name":"_token","type":"address"}],"name":"removeToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_per","type":"uint256"}],"name":"setPer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_period","type":"uint256"}],"name":"setPeriod","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokens","outputs":[{"internalType":"contract IERC20Metadata","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"tokensInfo","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"withdrawAuth","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60806040526120d060025534801561001657600080fd5b5061002033610025565b610075565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6110d8806100846000396000f3fe608060405234801561001057600080fd5b50600436106100cf5760003560e01c8063ad2bc2721161008c578063ba8dbea211610066578063ba8dbea2146101a1578063d92fc67b146101c1578063ef78d4fd146101c9578063f2fde38b146101d257600080fd5b8063ad2bc2721461014d578063af81c5b914610160578063b77b2e141461017357600080fd5b80630f3a9f65146100d45780633ccfd60b146100e95780634f64b2be146100f15780635fa7b58414610121578063715018a6146101345780638da5cb5b1461013c575b600080fd5b6100e76100e2366004610db1565b6101e5565b005b6100e7610228565b6101046100ff366004610db1565b61049f565b6040516001600160a01b0390911681526020015b60405180910390f35b6100e761012f366004610ddf565b6104c9565b6100e761078d565b6000546001600160a01b0316610104565b6100e761015b366004610e03565b6107a1565b6100e761016e366004610e03565b61082f565b610193610181366004610ddf565b60016020526000908152604090205481565b604051908152602001610118565b6101936101af366004610ddf565b60046020526000908152604090205481565b600354610193565b61019360025481565b6100e76101e0366004610ddf565b6109da565b6101ed610a53565b60028190556040518181527f1445a8659aa0e3feb1c4a3ea8344a4e720c388d7ce59ab4824248fbc3bd1ef949060200160405180910390a150565b33321461027c5760405162461bcd60e51b815260206004820152601d60248201527f646f206e6f742077697468647261772066726f6d20636f6e747261637400000060448201526064015b60405180910390fd5b33600090815260016020526040902054600254439061029b9083610e45565b106102d65760405162461bcd60e51b815260206004820152600b60248201526a141b19585cd9481dd85a5d60aa1b6044820152606401610273565b60005b60035481101561048957600060046000600384815481106102fc576102fc610e5d565b60009182526020808320909101546001600160a01b031683528201929092526040019020549050801561047657806003838154811061033d5761033d610e5d565b6000918252602090912001546040516370a0823160e01b81523060048201526001600160a01b03909116906370a0823190602401602060405180830381865afa15801561038e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103b29190610e73565b10610476576000600383815481106103cc576103cc610e5d565b6000918252602090912001546001600160a01b031690506103ee813384610aad565b7f9b1bfa7fa9ee420a16e124f794c35ac9f90472acc99140eb2f6447c714cad8eb3382600460006003888154811061042857610428610e5d565b6000918252602080832091909101546001600160a01b0390811684528382019490945260409283019091205482519584168652939092169184019190915282015260600160405180910390a1505b508061048181610e8c565b9150506102d9565b5050336000908152600160205260409020439055565b600381815481106104af57600080fd5b6000918252602090912001546001600160a01b0316905081565b6104d1610a53565b6000600380548060200260200160405190810160405280929190818152602001828054801561052957602002820191906000526020600020905b81546001600160a01b0316815260019091019060200180831161050b575b5050505050905060005b815181101561078857826001600160a01b031682828151811061055857610558610e5d565b60200260200101516001600160a01b031614156107765760036001835161057f9190610ea7565b8154811061058f5761058f610e5d565b600091825260209091200154600380546001600160a01b0390921691839081106105bb576105bb610e5d565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b031602179055506003600183516105f99190610ea7565b8154811061060957610609610e5d565b600091825260208083209190910180546001600160a01b03191690556001600160a01b0385168083526004918290526040808420849055516370a0823160e01b81523092810192909252906370a0823190602401602060405180830381865afa15801561067a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061069e9190610e73565b90508015610734576107346106bb6000546001600160a01b031690565b6040516370a0823160e01b81523060048201526001600160a01b038716906370a0823190602401602060405180830381865afa1580156106ff573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107239190610e73565b6001600160a01b0387169190610aad565b6040516001600160a01b03851681527f4eb129c82dcd3eedb52df2b0e6fb4cfa41ac64ee9d63ff081acbb1877e85d79b9060200160405180910390a150505050565b8061078081610e8c565b915050610533565b505050565b610795610a53565b61079f6000610aff565b565b6107a9610a53565b6001600160a01b0382166000908152600460205260409020546107fa5760405162461bcd60e51b8152602060048201526009602482015268139bdd08195e1a5cdd60ba1b6044820152606401610273565b61080581600a610fa4565b61080f9082610fb0565b6001600160a01b0390921660009081526004602052604090209190915550565b610837610a53565b6001600160a01b0382166000908152600460205260409020541561088c5760405162461bcd60e51b815260206004820152600c60248201526b546f6b656e2065786973747360a01b6044820152606401610273565b600081116108c65760405162461bcd60e51b81526020600482015260076024820152660706572203e20360cc1b6044820152606401610273565b6000826001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015610906573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061092a9190610fcf565b61093590600a610ff2565b61093f9083610fb0565b60038054600181019091557fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b0180546001600160a01b0319166001600160a01b038616908117909155600081815260046020908152604091829020849055815192835282018390529192507fe1bea1af9b1d1aede8b7fa043080de8690470a8ae61449360b3d0c0bf8104b46910160405180910390a1505050565b6109e2610a53565b6001600160a01b038116610a475760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610273565b610a5081610aff565b50565b6000546001600160a01b0316331461079f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610273565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610788908490610b4f565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000610ba4826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610c249092919063ffffffff16565b9050805160001480610bc5575080806020019051810190610bc59190611001565b6107885760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610273565b6060610c338484600085610c3b565b949350505050565b606082471015610c9c5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610273565b600080866001600160a01b03168587604051610cb89190611053565b60006040518083038185875af1925050503d8060008114610cf5576040519150601f19603f3d011682016040523d82523d6000602084013e610cfa565b606091505b5091509150610d0b87838387610d16565b979650505050505050565b60608315610d82578251610d7b576001600160a01b0385163b610d7b5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610273565b5081610c33565b610c338383815115610d975781518083602001fd5b8060405162461bcd60e51b8152600401610273919061106f565b600060208284031215610dc357600080fd5b5035919050565b6001600160a01b0381168114610a5057600080fd5b600060208284031215610df157600080fd5b8135610dfc81610dca565b9392505050565b60008060408385031215610e1657600080fd5b8235610e2181610dca565b946020939093013593505050565b634e487b7160e01b600052601160045260246000fd5b60008219821115610e5857610e58610e2f565b500190565b634e487b7160e01b600052603260045260246000fd5b600060208284031215610e8557600080fd5b5051919050565b6000600019821415610ea057610ea0610e2f565b5060010190565b600082821015610eb957610eb9610e2f565b500390565b600181815b80851115610ef9578160001904821115610edf57610edf610e2f565b80851615610eec57918102915b93841c9390800290610ec3565b509250929050565b600082610f1057506001610f9e565b81610f1d57506000610f9e565b8160018114610f335760028114610f3d57610f59565b6001915050610f9e565b60ff841115610f4e57610f4e610e2f565b50506001821b610f9e565b5060208310610133831016604e8410600b8410161715610f7c575081810a610f9e565b610f868383610ebe565b8060001904821115610f9a57610f9a610e2f565b0290505b92915050565b6000610dfc8383610f01565b6000816000190483118215151615610fca57610fca610e2f565b500290565b600060208284031215610fe157600080fd5b815160ff81168114610dfc57600080fd5b6000610dfc60ff841683610f01565b60006020828403121561101357600080fd5b81518015158114610dfc57600080fd5b60005b8381101561103e578181015183820152602001611026565b8381111561104d576000848401525b50505050565b60008251611065818460208701611023565b9190910192915050565b602081526000825180602084015261108e816040850160208701611023565b601f01601f1916919091016040019291505056fea2646970667358221220be95bde29772b346d066dfebbb3f6a8eed279a322bf0ea12171990af576a381664736f6c634300080c0033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100cf5760003560e01c8063ad2bc2721161008c578063ba8dbea211610066578063ba8dbea2146101a1578063d92fc67b146101c1578063ef78d4fd146101c9578063f2fde38b146101d257600080fd5b8063ad2bc2721461014d578063af81c5b914610160578063b77b2e141461017357600080fd5b80630f3a9f65146100d45780633ccfd60b146100e95780634f64b2be146100f15780635fa7b58414610121578063715018a6146101345780638da5cb5b1461013c575b600080fd5b6100e76100e2366004610db1565b6101e5565b005b6100e7610228565b6101046100ff366004610db1565b61049f565b6040516001600160a01b0390911681526020015b60405180910390f35b6100e761012f366004610ddf565b6104c9565b6100e761078d565b6000546001600160a01b0316610104565b6100e761015b366004610e03565b6107a1565b6100e761016e366004610e03565b61082f565b610193610181366004610ddf565b60016020526000908152604090205481565b604051908152602001610118565b6101936101af366004610ddf565b60046020526000908152604090205481565b600354610193565b61019360025481565b6100e76101e0366004610ddf565b6109da565b6101ed610a53565b60028190556040518181527f1445a8659aa0e3feb1c4a3ea8344a4e720c388d7ce59ab4824248fbc3bd1ef949060200160405180910390a150565b33321461027c5760405162461bcd60e51b815260206004820152601d60248201527f646f206e6f742077697468647261772066726f6d20636f6e747261637400000060448201526064015b60405180910390fd5b33600090815260016020526040902054600254439061029b9083610e45565b106102d65760405162461bcd60e51b815260206004820152600b60248201526a141b19585cd9481dd85a5d60aa1b6044820152606401610273565b60005b60035481101561048957600060046000600384815481106102fc576102fc610e5d565b60009182526020808320909101546001600160a01b031683528201929092526040019020549050801561047657806003838154811061033d5761033d610e5d565b6000918252602090912001546040516370a0823160e01b81523060048201526001600160a01b03909116906370a0823190602401602060405180830381865afa15801561038e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103b29190610e73565b10610476576000600383815481106103cc576103cc610e5d565b6000918252602090912001546001600160a01b031690506103ee813384610aad565b7f9b1bfa7fa9ee420a16e124f794c35ac9f90472acc99140eb2f6447c714cad8eb3382600460006003888154811061042857610428610e5d565b6000918252602080832091909101546001600160a01b0390811684528382019490945260409283019091205482519584168652939092169184019190915282015260600160405180910390a1505b508061048181610e8c565b9150506102d9565b5050336000908152600160205260409020439055565b600381815481106104af57600080fd5b6000918252602090912001546001600160a01b0316905081565b6104d1610a53565b6000600380548060200260200160405190810160405280929190818152602001828054801561052957602002820191906000526020600020905b81546001600160a01b0316815260019091019060200180831161050b575b5050505050905060005b815181101561078857826001600160a01b031682828151811061055857610558610e5d565b60200260200101516001600160a01b031614156107765760036001835161057f9190610ea7565b8154811061058f5761058f610e5d565b600091825260209091200154600380546001600160a01b0390921691839081106105bb576105bb610e5d565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b031602179055506003600183516105f99190610ea7565b8154811061060957610609610e5d565b600091825260208083209190910180546001600160a01b03191690556001600160a01b0385168083526004918290526040808420849055516370a0823160e01b81523092810192909252906370a0823190602401602060405180830381865afa15801561067a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061069e9190610e73565b90508015610734576107346106bb6000546001600160a01b031690565b6040516370a0823160e01b81523060048201526001600160a01b038716906370a0823190602401602060405180830381865afa1580156106ff573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107239190610e73565b6001600160a01b0387169190610aad565b6040516001600160a01b03851681527f4eb129c82dcd3eedb52df2b0e6fb4cfa41ac64ee9d63ff081acbb1877e85d79b9060200160405180910390a150505050565b8061078081610e8c565b915050610533565b505050565b610795610a53565b61079f6000610aff565b565b6107a9610a53565b6001600160a01b0382166000908152600460205260409020546107fa5760405162461bcd60e51b8152602060048201526009602482015268139bdd08195e1a5cdd60ba1b6044820152606401610273565b61080581600a610fa4565b61080f9082610fb0565b6001600160a01b0390921660009081526004602052604090209190915550565b610837610a53565b6001600160a01b0382166000908152600460205260409020541561088c5760405162461bcd60e51b815260206004820152600c60248201526b546f6b656e2065786973747360a01b6044820152606401610273565b600081116108c65760405162461bcd60e51b81526020600482015260076024820152660706572203e20360cc1b6044820152606401610273565b6000826001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015610906573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061092a9190610fcf565b61093590600a610ff2565b61093f9083610fb0565b60038054600181019091557fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b0180546001600160a01b0319166001600160a01b038616908117909155600081815260046020908152604091829020849055815192835282018390529192507fe1bea1af9b1d1aede8b7fa043080de8690470a8ae61449360b3d0c0bf8104b46910160405180910390a1505050565b6109e2610a53565b6001600160a01b038116610a475760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610273565b610a5081610aff565b50565b6000546001600160a01b0316331461079f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610273565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610788908490610b4f565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000610ba4826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610c249092919063ffffffff16565b9050805160001480610bc5575080806020019051810190610bc59190611001565b6107885760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610273565b6060610c338484600085610c3b565b949350505050565b606082471015610c9c5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610273565b600080866001600160a01b03168587604051610cb89190611053565b60006040518083038185875af1925050503d8060008114610cf5576040519150601f19603f3d011682016040523d82523d6000602084013e610cfa565b606091505b5091509150610d0b87838387610d16565b979650505050505050565b60608315610d82578251610d7b576001600160a01b0385163b610d7b5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610273565b5081610c33565b610c338383815115610d975781518083602001fd5b8060405162461bcd60e51b8152600401610273919061106f565b600060208284031215610dc357600080fd5b5035919050565b6001600160a01b0381168114610a5057600080fd5b600060208284031215610df157600080fd5b8135610dfc81610dca565b9392505050565b60008060408385031215610e1657600080fd5b8235610e2181610dca565b946020939093013593505050565b634e487b7160e01b600052601160045260246000fd5b60008219821115610e5857610e58610e2f565b500190565b634e487b7160e01b600052603260045260246000fd5b600060208284031215610e8557600080fd5b5051919050565b6000600019821415610ea057610ea0610e2f565b5060010190565b600082821015610eb957610eb9610e2f565b500390565b600181815b80851115610ef9578160001904821115610edf57610edf610e2f565b80851615610eec57918102915b93841c9390800290610ec3565b509250929050565b600082610f1057506001610f9e565b81610f1d57506000610f9e565b8160018114610f335760028114610f3d57610f59565b6001915050610f9e565b60ff841115610f4e57610f4e610e2f565b50506001821b610f9e565b5060208310610133831016604e8410600b8410161715610f7c575081810a610f9e565b610f868383610ebe565b8060001904821115610f9a57610f9a610e2f565b0290505b92915050565b6000610dfc8383610f01565b6000816000190483118215151615610fca57610fca610e2f565b500290565b600060208284031215610fe157600080fd5b815160ff81168114610dfc57600080fd5b6000610dfc60ff841683610f01565b60006020828403121561101357600080fd5b81518015158114610dfc57600080fd5b60005b8381101561103e578181015183820152602001611026565b8381111561104d576000848401525b50505050565b60008251611065818460208701611023565b9190910192915050565b602081526000825180602084015261108e816040850160208701611023565b601f01601f1916919091016040019291505056fea2646970667358221220be95bde29772b346d066dfebbb3f6a8eed279a322bf0ea12171990af576a381664736f6c634300080c0033
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.