Source Code
| Transaction Hash |
|
Block
|
From
|
To
|
|||||
|---|---|---|---|---|---|---|---|---|---|
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Cross-Chain Transactions
Loading...
Loading
Contract Name:
Timely
Compiler Version
v0.8.24+commit.e11b9ed9
Optimization Enabled:
Yes with 1000 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT
pragma solidity <=0.8.24;
import {Hash} from "./libraries/Hash.sol";
import {Data} from "./libraries/Data.sol";
import {ITimely} from "./interfaces/ITimely.sol";
import {IFeeManager} from "./interfaces/IFeeManager.sol";
import {ITimelyReceiver} from "./interfaces/ITimelyReceiver.sol";
import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import {AccessControl} from "@openzeppelin/contracts/access/AccessControl.sol";
import {SafeERC20} from "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import {Pausable} from "@openzeppelin/contracts/utils/Pausable.sol";
contract Timely is Pausable, ITimely, AccessControl {
using SafeERC20 for IERC20;
event Executed(bytes32 identifier, uint64 index);
bytes32 public constant WITHDRAWER_ROLE = keccak256("WITHDRAWER_ROLE");
bytes32 public constant EXECUTOR_ROLE = keccak256("EXECUTOR_ROLE");
IERC20 private _timelyToken;
IFeeManager private _feeManager;
// Maps identifier indexes to whether is has been executed or not.
mapping(bytes32 => mapping(uint64 => bool)) private _executedIndexes;
// Maps dapps with their timely balances.
mapping(address => uint256) private _balances;
// Maps identifier with their dapps.
mapping(bytes32 => address) private _identifierOwners;
mapping(bytes32 => bool) private _cancelledIdentifiers;
uint64 private _nonce;
constructor(address feeManager, address timelyToken) {
_grantRole(EXECUTOR_ROLE, _msgSender());
_grantRole(WITHDRAWER_ROLE, _msgSender());
_grantRole(DEFAULT_ADMIN_ROLE, _msgSender());
_timelyToken = IERC20(timelyToken);
_feeManager = IFeeManager(feeManager);
}
function publish(
Data.TimePayload calldata timePayload
) external override whenNotPaused returns (bytes32) {
address sender = _msgSender();
bytes32 identifier = Hash.newIdentifier(_nonce, sender, timePayload);
_identifierOwners[identifier] = sender;
emit Published(
_nonce,
identifier,
sender,
timePayload.delay,
timePayload.iSchedule,
timePayload.iMinutes,
timePayload.iHours,
timePayload.middleware
);
_nonce++;
return identifier;
}
function cancel(bytes32 identifier) external override whenNotPaused {
address sender = _msgSender();
if (_identifierOwners[identifier] != sender) {
revert UnAuthorize();
}
_cancelledIdentifiers[identifier] = true;
emit Cancelled(identifier);
}
function deposit(uint256 amount) external override whenNotPaused {
address sender = _msgSender();
_timelyToken.safeTransferFrom(sender, address(this), amount);
_balances[sender] += amount;
emit Deposited(sender, amount);
}
function withdraw(uint256 amount) external override whenNotPaused {
address sender = _msgSender();
uint256 balance = _balances[sender];
if (balance < amount) {
revert InsufficientAmount(balance);
}
_timelyToken.safeTransfer(sender, amount);
_balances[sender] -= amount;
emit Withdrawn(sender, amount);
}
function balanceOf(
address sender
) external view override returns (uint256) {
return _balances[sender];
}
function getTimelyToken() external view returns (address) {
return address(_timelyToken);
}
function claimTokens(address tokenId, uint256 amount) external override {
require(
hasRole(WITHDRAWER_ROLE, _msgSender()),
"Caller is not a withdrawer"
);
IERC20 token = IERC20(tokenId);
token.safeTransfer(_msgSender(), amount);
emit ClaimedTokens(tokenId, amount);
}
function estimateFee(
uint256 count
) external view override returns (uint256) {
return _feeManager.estimateFee(count);
}
function postTimelyCallback(
address receiver,
Data.TimePayloadIn memory timePayload
) external {
require(
hasRole(EXECUTOR_ROLE, _msgSender()),
"Caller is not a executor"
);
// Check if identifier was cancelled.
if (_cancelledIdentifiers[timePayload.identifier]) {
revert IdentifierAlreadyCancelled();
}
// Check if this message was executed before.
if (_executedIndexes[timePayload.identifier][timePayload.index]) {
revert IndexAlreadyExecuted(
timePayload.identifier,
timePayload.index
);
}
// Get dapp balance.
uint256 balance = _balances[receiver];
// Get fee for single delivery.
uint256 SINGLE = 1;
uint256 fee = _feeManager.estimateFee(SINGLE);
if (balance < fee) {
revert InsufficientFee();
}
// Deduct fee from dapp balance.
_balances[receiver] -= fee;
// Create the receiver contract from interface.
ITimelyReceiver timelyReceiver = ITimelyReceiver(receiver);
// This function may revert, depending on the underlying implementation.
timelyReceiver.timelyCallback(timePayload);
// Mark message as executed can not be re-executed ever.
_executedIndexes[timePayload.identifier][timePayload.index] = true;
emit Executed(timePayload.identifier, timePayload.index);
}
function readTimelyMiddleware(
address receiver,
bytes32 identifier
) external view returns (bool) {
return ITimelyReceiver(receiver).timelyMiddleware(identifier);
}
function pause() external {
require(
hasRole(EXECUTOR_ROLE, _msgSender()),
"Caller is not a executor"
);
_pause();
}
function unPause() external {
require(
hasRole(EXECUTOR_ROLE, _msgSender()),
"Caller is not a executor"
);
_unpause();
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/AccessControl.sol)
pragma solidity ^0.8.20;
import {IAccessControl} from "./IAccessControl.sol";
import {Context} from "../utils/Context.sol";
import {ERC165} from "../utils/introspection/ERC165.sol";
/**
* @dev Contract module that allows children to implement role-based access
* control mechanisms. This is a lightweight version that doesn't allow enumerating role
* members except through off-chain means by accessing the contract event logs. Some
* applications may benefit from on-chain enumerability, for those cases see
* {AccessControlEnumerable}.
*
* Roles are referred to by their `bytes32` identifier. These should be exposed
* in the external API and be unique. The best way to achieve this is by
* using `public constant` hash digests:
*
* ```solidity
* bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
* ```
*
* Roles can be used to represent a set of permissions. To restrict access to a
* function call, use {hasRole}:
*
* ```solidity
* function foo() public {
* require(hasRole(MY_ROLE, msg.sender));
* ...
* }
* ```
*
* Roles can be granted and revoked dynamically via the {grantRole} and
* {revokeRole} functions. Each role has an associated admin role, and only
* accounts that have a role's admin role can call {grantRole} and {revokeRole}.
*
* By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
* that only accounts with this role will be able to grant or revoke other
* roles. More complex role relationships can be created by using
* {_setRoleAdmin}.
*
* WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
* grant and revoke this role. Extra precautions should be taken to secure
* accounts that have been granted it. We recommend using {AccessControlDefaultAdminRules}
* to enforce additional security measures for this role.
*/
abstract contract AccessControl is Context, IAccessControl, ERC165 {
struct RoleData {
mapping(address account => bool) hasRole;
bytes32 adminRole;
}
mapping(bytes32 role => RoleData) private _roles;
bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;
/**
* @dev Modifier that checks that an account has a specific role. Reverts
* with an {AccessControlUnauthorizedAccount} error including the required role.
*/
modifier onlyRole(bytes32 role) {
_checkRole(role);
_;
}
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId);
}
/**
* @dev Returns `true` if `account` has been granted `role`.
*/
function hasRole(bytes32 role, address account) public view virtual returns (bool) {
return _roles[role].hasRole[account];
}
/**
* @dev Reverts with an {AccessControlUnauthorizedAccount} error if `_msgSender()`
* is missing `role`. Overriding this function changes the behavior of the {onlyRole} modifier.
*/
function _checkRole(bytes32 role) internal view virtual {
_checkRole(role, _msgSender());
}
/**
* @dev Reverts with an {AccessControlUnauthorizedAccount} error if `account`
* is missing `role`.
*/
function _checkRole(bytes32 role, address account) internal view virtual {
if (!hasRole(role, account)) {
revert AccessControlUnauthorizedAccount(account, role);
}
}
/**
* @dev Returns the admin role that controls `role`. See {grantRole} and
* {revokeRole}.
*
* To change a role's admin, use {_setRoleAdmin}.
*/
function getRoleAdmin(bytes32 role) public view virtual returns (bytes32) {
return _roles[role].adminRole;
}
/**
* @dev Grants `role` to `account`.
*
* If `account` had not been already granted `role`, emits a {RoleGranted}
* event.
*
* Requirements:
*
* - the caller must have ``role``'s admin role.
*
* May emit a {RoleGranted} event.
*/
function grantRole(bytes32 role, address account) public virtual onlyRole(getRoleAdmin(role)) {
_grantRole(role, account);
}
/**
* @dev Revokes `role` from `account`.
*
* If `account` had been granted `role`, emits a {RoleRevoked} event.
*
* Requirements:
*
* - the caller must have ``role``'s admin role.
*
* May emit a {RoleRevoked} event.
*/
function revokeRole(bytes32 role, address account) public virtual onlyRole(getRoleAdmin(role)) {
_revokeRole(role, account);
}
/**
* @dev Revokes `role` from the calling account.
*
* Roles are often managed via {grantRole} and {revokeRole}: this function's
* purpose is to provide a mechanism for accounts to lose their privileges
* if they are compromised (such as when a trusted device is misplaced).
*
* If the calling account had been revoked `role`, emits a {RoleRevoked}
* event.
*
* Requirements:
*
* - the caller must be `callerConfirmation`.
*
* May emit a {RoleRevoked} event.
*/
function renounceRole(bytes32 role, address callerConfirmation) public virtual {
if (callerConfirmation != _msgSender()) {
revert AccessControlBadConfirmation();
}
_revokeRole(role, callerConfirmation);
}
/**
* @dev Sets `adminRole` as ``role``'s admin role.
*
* Emits a {RoleAdminChanged} event.
*/
function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
bytes32 previousAdminRole = getRoleAdmin(role);
_roles[role].adminRole = adminRole;
emit RoleAdminChanged(role, previousAdminRole, adminRole);
}
/**
* @dev Attempts to grant `role` to `account` and returns a boolean indicating if `role` was granted.
*
* Internal function without access restriction.
*
* May emit a {RoleGranted} event.
*/
function _grantRole(bytes32 role, address account) internal virtual returns (bool) {
if (!hasRole(role, account)) {
_roles[role].hasRole[account] = true;
emit RoleGranted(role, account, _msgSender());
return true;
} else {
return false;
}
}
/**
* @dev Attempts to revoke `role` to `account` and returns a boolean indicating if `role` was revoked.
*
* Internal function without access restriction.
*
* May emit a {RoleRevoked} event.
*/
function _revokeRole(bytes32 role, address account) internal virtual returns (bool) {
if (hasRole(role, account)) {
_roles[role].hasRole[account] = false;
emit RoleRevoked(role, account, _msgSender());
return true;
} else {
return false;
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/IAccessControl.sol)
pragma solidity ^0.8.20;
/**
* @dev External interface of AccessControl declared to support ERC165 detection.
*/
interface IAccessControl {
/**
* @dev The `account` is missing a role.
*/
error AccessControlUnauthorizedAccount(address account, bytes32 neededRole);
/**
* @dev The caller of a function is not the expected one.
*
* NOTE: Don't confuse with {AccessControlUnauthorizedAccount}.
*/
error AccessControlBadConfirmation();
/**
* @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
*
* `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
* {RoleAdminChanged} not being emitted signaling this.
*/
event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);
/**
* @dev Emitted when `account` is granted `role`.
*
* `sender` is the account that originated the contract call, an admin role
* bearer except when using {AccessControl-_setupRole}.
*/
event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);
/**
* @dev Emitted when `account` is revoked `role`.
*
* `sender` is the account that originated the contract call:
* - if using `revokeRole`, it is the admin role bearer
* - if using `renounceRole`, it is the role bearer (i.e. `account`)
*/
event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);
/**
* @dev Returns `true` if `account` has been granted `role`.
*/
function hasRole(bytes32 role, address account) external view returns (bool);
/**
* @dev Returns the admin role that controls `role`. See {grantRole} and
* {revokeRole}.
*
* To change a role's admin, use {AccessControl-_setRoleAdmin}.
*/
function getRoleAdmin(bytes32 role) external view returns (bytes32);
/**
* @dev Grants `role` to `account`.
*
* If `account` had not been already granted `role`, emits a {RoleGranted}
* event.
*
* Requirements:
*
* - the caller must have ``role``'s admin role.
*/
function grantRole(bytes32 role, address account) external;
/**
* @dev Revokes `role` from `account`.
*
* If `account` had been granted `role`, emits a {RoleRevoked} event.
*
* Requirements:
*
* - the caller must have ``role``'s admin role.
*/
function revokeRole(bytes32 role, address account) external;
/**
* @dev Revokes `role` from the calling account.
*
* Roles are often managed via {grantRole} and {revokeRole}: this function's
* purpose is to provide a mechanism for accounts to lose their privileges
* if they are compromised (such as when a trusted device is misplaced).
*
* If the calling account had been granted `role`, emits a {RoleRevoked}
* event.
*
* Requirements:
*
* - the caller must be `callerConfirmation`.
*/
function renounceRole(bytes32 role, address callerConfirmation) external;
}// 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
// OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/ERC165.sol)
pragma solidity ^0.8.20;
import {IERC165} from "./IERC165.sol";
/**
* @dev Implementation of the {IERC165} interface.
*
* Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
* for the additional interface id that will be supported. For example:
*
* ```solidity
* function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
* return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
* }
* ```
*/
abstract contract ERC165 is IERC165 {
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) {
return interfaceId == type(IERC165).interfaceId;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/IERC165.sol)
pragma solidity ^0.8.20;
/**
* @dev Interface of the ERC165 standard, as defined in the
* https://eips.ethereum.org/EIPS/eip-165[EIP].
*
* Implementers can declare support of contract interfaces, which can then be
* queried by others ({ERC165Checker}).
*
* For an implementation, see {ERC165}.
*/
interface IERC165 {
/**
* @dev Returns true if this contract implements the interface defined by
* `interfaceId`. See the corresponding
* https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
* to learn more about how these ids are created.
*
* This function call must use less than 30 000 gas.
*/
function supportsInterface(bytes4 interfaceId) external view returns (bool);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/Pausable.sol)
pragma solidity ^0.8.20;
import {Context} from "../utils/Context.sol";
/**
* @dev Contract module which allows children to implement an emergency stop
* mechanism that can be triggered by an authorized account.
*
* This module is used through inheritance. It will make available the
* modifiers `whenNotPaused` and `whenPaused`, which can be applied to
* the functions of your contract. Note that they will not be pausable by
* simply including this module, only once the modifiers are put in place.
*/
abstract contract Pausable is Context {
bool private _paused;
/**
* @dev Emitted when the pause is triggered by `account`.
*/
event Paused(address account);
/**
* @dev Emitted when the pause is lifted by `account`.
*/
event Unpaused(address account);
/**
* @dev The operation failed because the contract is paused.
*/
error EnforcedPause();
/**
* @dev The operation failed because the contract is not paused.
*/
error ExpectedPause();
/**
* @dev Initializes the contract in unpaused state.
*/
constructor() {
_paused = false;
}
/**
* @dev Modifier to make a function callable only when the contract is not paused.
*
* Requirements:
*
* - The contract must not be paused.
*/
modifier whenNotPaused() {
_requireNotPaused();
_;
}
/**
* @dev Modifier to make a function callable only when the contract is paused.
*
* Requirements:
*
* - The contract must be paused.
*/
modifier whenPaused() {
_requirePaused();
_;
}
/**
* @dev Returns true if the contract is paused, and false otherwise.
*/
function paused() public view virtual returns (bool) {
return _paused;
}
/**
* @dev Throws if the contract is paused.
*/
function _requireNotPaused() internal view virtual {
if (paused()) {
revert EnforcedPause();
}
}
/**
* @dev Throws if the contract is not paused.
*/
function _requirePaused() internal view virtual {
if (!paused()) {
revert ExpectedPause();
}
}
/**
* @dev Triggers stopped state.
*
* Requirements:
*
* - The contract must not be paused.
*/
function _pause() internal virtual whenNotPaused {
_paused = true;
emit Paused(_msgSender());
}
/**
* @dev Returns to normal state.
*
* Requirements:
*
* - The contract must be paused.
*/
function _unpause() internal virtual whenPaused {
_paused = false;
emit Unpaused(_msgSender());
}
}// SPDX-License-Identifier: MIT
pragma solidity <=0.8.24;
import {Data} from "../libraries/Data.sol";
interface IFeeManager {
event UpdatedBaseFee(uint256 newBaseFee);
function estimateFee(uint256 count) external view returns (uint256);
function updateBaseFee(uint256 newBaseFee) external;
}// SPDX-License-Identifier: MIT
pragma solidity <=0.8.24;
import {Data} from "../libraries/Data.sol";
interface ITimely {
error IndexAlreadyExecuted(bytes32 identifier, uint64 index);
error InsufficientFee();
error InsufficientAmount(uint256 amount);
error UnAuthorize();
error IdentifierAlreadyCancelled();
event Published(
uint64 nonce,
bytes32 identifier,
address sender,
uint64 delay,
Data.Schedule iSchedule,
Data.Minutes iMinutes,
Data.Hours iHours,
Data.Middleware middleware
);
event Deposited(address sender, uint256 amount);
event Withdrawn(address sender, uint256 amount);
event Cancelled(bytes32 identifier);
event ClaimedTokens(address tokenId, uint256 amount);
function publish(
Data.TimePayload calldata timePayload
) external returns (bytes32);
function cancel(bytes32 identifier) external;
function deposit(uint256 amount) external;
function withdraw(uint256 amount) external;
function balanceOf(address sender) external view returns (uint256);
function getTimelyToken() external view returns (address);
function claimTokens(address tokenId, uint256 amount) external;
function estimateFee(uint256 count) external view returns (uint256);
}// SPDX-License-Identifier: MIT
pragma solidity <=0.8.24;
import {Data} from "../libraries/Data.sol";
interface ITimelyReceiver {
function timelyCallback(Data.TimePayloadIn calldata timePayload) external;
function timelyMiddleware(bytes32 identifier) external view returns (bool);
function getTimely() external view returns (address);
}// SPDX-License-Identifier: MIT
pragma solidity <=0.8.24;
library Data {
enum Minutes {
ONE_MINUTES,
TWO_MINUTES,
FIVE_MINUTES,
TEN_MINUTES,
FIFTEEN_MINUTES,
TWENTY_MINUTES,
TWENTY_FIVE_MINUTES,
THIRTY_MINUTES,
THIRTY_FIVE_MINUTES,
FORTY_MINUTES,
FORTY_FIVE_MINUTES,
FIFTY_MINUTES,
FIFTY_FIVE_MINUTES,
SIXTY_MINUTES,
INGORE
}
enum Hours {
ZERO_HOUR,
ONE_HOUR,
TWO_HOUR,
THREE_HOUR,
FOUR_HOUR,
FIVE_HOUR,
SIX_HOUR,
SEVEN_HOUR,
EIGHT_HOUR,
NINE_HOUR,
TEN_HOUR,
ELEVEN_HOUR,
TWELVE_HOUR,
THIRTEEN_HOUR,
FOURTEEN_HOUR,
FIFTEEN_HOUR,
SIXTEEN_HOUR,
SEVENTEEN_HOUR,
EIGHTEEN_HOUR,
NINETEEN_HOUR,
TWENTY_HOUR,
TWENTY_ONE_HOUR,
TWENTY_TWO_HOUR,
TWENTY_THREE_HOUR,
INGORE
}
enum Schedule {
ONCE,
REPEAT
}
enum Middleware {
EXISTS,
INGORE
}
struct TimePayload {
uint64 delay;
Schedule iSchedule;
Minutes iMinutes;
Hours iHours;
Middleware middleware;
}
struct TimePayloadIn {
bytes32 identifier;
uint64 index;
}
}// SPDX-License-Identifier: MIT
pragma solidity <=0.8.24;
import {Data} from "./Data.sol";
library Hash {
bytes32 internal constant LEAF_DOMAIN_SEPARATOR =
0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE000000000000000000000000;
function newIdentifier(
uint64 nonce,
address sender,
Data.TimePayload memory timePayload
) internal pure returns (bytes32) {
return
keccak256(
abi.encode(
nonce,
sender,
LEAF_DOMAIN_SEPARATOR,
timePayload.iSchedule,
timePayload.iMinutes,
timePayload.iHours
)
);
}
}{
"optimizer": {
"enabled": true,
"runs": 1000
},
"viaIR": true,
"evmVersion": "paris",
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"feeManager","type":"address"},{"internalType":"address","name":"timelyToken","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AccessControlBadConfirmation","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bytes32","name":"neededRole","type":"bytes32"}],"name":"AccessControlUnauthorizedAccount","type":"error"},{"inputs":[{"internalType":"address","name":"target","type":"address"}],"name":"AddressEmptyCode","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"AddressInsufficientBalance","type":"error"},{"inputs":[],"name":"EnforcedPause","type":"error"},{"inputs":[],"name":"ExpectedPause","type":"error"},{"inputs":[],"name":"FailedInnerCall","type":"error"},{"inputs":[],"name":"IdentifierAlreadyCancelled","type":"error"},{"inputs":[{"internalType":"bytes32","name":"identifier","type":"bytes32"},{"internalType":"uint64","name":"index","type":"uint64"}],"name":"IndexAlreadyExecuted","type":"error"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"InsufficientAmount","type":"error"},{"inputs":[],"name":"InsufficientFee","type":"error"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"SafeERC20FailedOperation","type":"error"},{"inputs":[],"name":"UnAuthorize","type":"error"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes32","name":"identifier","type":"bytes32"}],"name":"Cancelled","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"tokenId","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ClaimedTokens","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposited","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes32","name":"identifier","type":"bytes32"},{"indexed":false,"internalType":"uint64","name":"index","type":"uint64"}],"name":"Executed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint64","name":"nonce","type":"uint64"},{"indexed":false,"internalType":"bytes32","name":"identifier","type":"bytes32"},{"indexed":false,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint64","name":"delay","type":"uint64"},{"indexed":false,"internalType":"enum Data.Schedule","name":"iSchedule","type":"uint8"},{"indexed":false,"internalType":"enum Data.Minutes","name":"iMinutes","type":"uint8"},{"indexed":false,"internalType":"enum Data.Hours","name":"iHours","type":"uint8"},{"indexed":false,"internalType":"enum Data.Middleware","name":"middleware","type":"uint8"}],"name":"Published","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdrawn","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"EXECUTOR_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WITHDRAWER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"identifier","type":"bytes32"}],"name":"cancel","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenId","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"claimTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"count","type":"uint256"}],"name":"estimateFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTimelyToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"components":[{"internalType":"bytes32","name":"identifier","type":"bytes32"},{"internalType":"uint64","name":"index","type":"uint64"}],"internalType":"struct Data.TimePayloadIn","name":"timePayload","type":"tuple"}],"name":"postTimelyCallback","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"uint64","name":"delay","type":"uint64"},{"internalType":"enum Data.Schedule","name":"iSchedule","type":"uint8"},{"internalType":"enum Data.Minutes","name":"iMinutes","type":"uint8"},{"internalType":"enum Data.Hours","name":"iHours","type":"uint8"},{"internalType":"enum Data.Middleware","name":"middleware","type":"uint8"}],"internalType":"struct Data.TimePayload","name":"timePayload","type":"tuple"}],"name":"publish","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"bytes32","name":"identifier","type":"bytes32"}],"name":"readTimelyMiddleware","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"callerConfirmation","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unPause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
608034620000c557601f6200170438819003918201601f19168301916001600160401b03831184841017620000ca578084926040948552833981010312620000c5576200005a60206200005283620000e0565b9201620000e0565b9060ff19600054166000556200007033620000f5565b506200007c3362000198565b50620000883362000236565b50600280546001600160a01b039384166001600160a01b0319918216179091556003805492909316911617905560405161142c9081620002b88239f35b600080fd5b634e487b7160e01b600052604160045260246000fd5b51906001600160a01b0382168203620000c557565b6001600160a01b031660008181527fc9ee83ecf8e561e5df8e9e3a8d108a689296832fb5d541ca3c450b10eaabf8e160205260408120549091907fd8aa0f3194971a2a116679f7c2090f6939c8d4e01a2a8d7e41d55e5351469e639060ff16620001935780835260016020526040832082845260205260408320600160ff19825416179055600080516020620016e4833981519152339380a4600190565b505090565b6001600160a01b031660008181527f55183b8ac4a82f4a7e1e58b6f4191216f6e4ec65d5c848685f0148e75403eba060205260408120549091907f10dac8c06a04bec0b551627dad28bc00d6516b0caacd1c7b345fcdb5211334e49060ff16620001935780835260016020526040832082845260205260408320600160ff19825416179055600080516020620016e4833981519152339380a4600190565b6001600160a01b031660008181527fa6eef7e35abe7026729641147f7915573c7e97b47efa546f5f6e3230263bcb49602052604081205490919060ff16620002b35781805260016020526040822081835260205260408220600160ff198254161790553391600080516020620016e48339815191528180a4600190565b509056fe608060409080825260048036101561001657600080fd5b600091823560e01c90816301ffc9a714610ed35750806302fd39dc14610c7657806307bd026514610c3b578063127e8e4d14610ba85780631790b6f014610898578063248a9ca31461086d5780632e1a7d4d146107a45780632f2ff15d1461077b57806336568abe1461071c5780635c975abb146106fa57806370a08231146106c35780638456cb591461063257806385f438c1146105f75780638bc048ac146105cf57806391d1485414610587578063a217fddf1461056c578063a5827b6a146104bf578063b6b55f25146103ba578063c4d252f514610317578063d547741f146102d9578063f7b188a5146102195763fe417fa51461011657600080fd5b3461021557826003193601126102155761012e610f72565b602435917f10dac8c06a04bec0b551627dad28bc00d6516b0caacd1c7b345fcdb5211334e4845260016020528484203360005260205260ff856000205416156101d257506101cc7fe9aa550fd75d0d28e07fa9dd67d3ae705678776f6c4a75abd09534f93e7d790793946101ac84336001600160a01b0386166110d1565b5192839283602090939291936001600160a01b0360408201951681520152565b0390a180f35b606490602086519162461bcd60e51b8352820152601a60248201527f43616c6c6572206973206e6f74206120776974686472617765720000000000006044820152fd5b5080fd5b508290346102d557826003193601126102d5577fd8aa0f3194971a2a116679f7c2090f6939c8d4e01a2a8d7e41d55e5351469e63835260016020528183203360005260205261026e60ff836000205416611015565b82549060ff8216156102ae575060ff19168255513381527f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa90602090a180f35b82517f8dfc202b000000000000000000000000000000000000000000000000000000008152fd5b8280fd5b5082346102d557806003193601126102d557610313913561030e60016102fd610f8d565b93838752816020528620015461112d565b61120b565b5080f35b5082346102d55760203660031901126102d55781359161033561109b565b8284526006602052336001600160a01b038386205416036103935750816020917fbaa1eb22f2a492ba1a5fea61b8df4d27c6c8b5f3971e63bb58fa14ff72eedb7093855260078352808520600160ff1982541617905551908152a180f35b90517f5a519520000000000000000000000000000000000000000000000000000000008152fd5b509134610215576020366003190112610215578235906103d861109b565b6001600160a01b03600254168151907f23b872dd0000000000000000000000000000000000000000000000000000000060208301523360248301523060448301528360648301526064825260a0820182811067ffffffffffffffff8211176104aa5783526104469190611283565b338352600560205280832080549083820180921161049757555133815260208101919091527f2da466a7b24304f47e87fa2e1e5a81b9831ce54fec19055ce277ca2f39ba42c49080604081016101cc565b602485601188634e487b7160e01b835252fd5b604187634e487b7160e01b6000525260246000fd5b5082346102d557806003193601126102d55760206001600160a01b039260246104e6610f72565b91845195869384927f3076315a000000000000000000000000000000000000000000000000000000008452843590840152165afa9182156105625760209392610533575b50519015158152f35b610554919250833d851161055b575b61054c8183610fa3565b810190611083565b908361052a565b503d610542565b81513d85823e3d90fd5b82843461021557816003193601126102155751908152602090f35b508290346102d557816003193601126102d5576001600160a01b03826020946105ae610f8d565b9335815260018652209116600052825260ff81600020541690519015158152f35b8284346102155781600319360112610215576020906001600160a01b03600254169051908152f35b828434610215578160031936011261021557602090517f10dac8c06a04bec0b551627dad28bc00d6516b0caacd1c7b345fcdb5211334e48152f35b82843461021557816003193601126102155760207f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258917fd8aa0f3194971a2a116679f7c2090f6939c8d4e01a2a8d7e41d55e5351469e638452600182528084203360005282526106a860ff826000205416611015565b6106b061109b565b835460ff1916600117845551338152a180f35b82843461021557602036600319011261021557806020926001600160a01b036106ea610f72565b1681526005845220549051908152f35b82843461021557816003193601126102155760ff602092541690519015158152f35b509134610215578060031936011261021557610736610f8d565b90336001600160a01b03831603610753575061031391923561120b565b8390517f6697b232000000000000000000000000000000000000000000000000000000008152fd5b5082346102d557806003193601126102d557610313913561079f60016102fd610f8d565b61118a565b5082346102d55760203660031901126102d5578135916107c261109b565b33845260056020528184205483811061084057847f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d56101cc868661081282336001600160a01b03600254166110d1565b3385526005602052808520610828838254611060565b90555133815260208101919091529081906040820190565b60249251917f77b8dde3000000000000000000000000000000000000000000000000000000008352820152fd5b508290346102d55760203660031901126102d557816020936001923581528285522001549051908152f35b5082346102d55760603660031901126102d5576108b3610f72565b81602319360112610ba457815167ffffffffffffffff9080840182811182821017610b915784526024358152604435928284168403610b8d576020908183019485527fd8aa0f3194971a2a116679f7c2090f6939c8d4e01a2a8d7e41d55e5351469e63885260018252858820338952825261093360ff878a205416611015565b825188526007825260ff8689205416610b655782518852868252858820848651168952825260ff8689205416610b19576001600160a01b03809116908189526005835286892054906003541683600160248b8b51948593849263127e8e4d60e01b84528301525afa908115610b0f578a91610ade575b50809110610ab657908891818352600584526109c9888420918254611060565b9055803b1561021557819060448851809481937f308d6c9600000000000000000000000000000000000000000000000000000000835288518d840152898b511660248401525af18015610aac57610a88575b5081518752948552838620835183166000908152955293839020805460ff1916600117905592519051915190815267ffffffffffffffff919092161660208201527f35d18cd21af9042cd9cbf41cdb1ae42a964160fdb9890df6d10fd6c3cff433459080604081016101cc565b838111610a995785526101cc610a1b565b602488604189634e487b7160e01b835252fd5b86513d8a823e3d90fd5b8787517f025dbdd4000000000000000000000000000000000000000000000000000000008152fd5b90508381813d8311610b08575b610af58183610fa3565b81010312610b0457518a6109a9565b8980fd5b503d610aeb565b88513d8c823e3d90fd5b505051915192517fee9bb42200000000000000000000000000000000000000000000000000000000815293840191825290911667ffffffffffffffff1660208201528190036040019150fd5b8686517f0a9933e4000000000000000000000000000000000000000000000000000000008152fd5b8680fd5b602487604188634e487b7160e01b835252fd5b8380fd5b50913461021557602092836003193601126102d557836001600160a01b036003541691602484518094819363127e8e4d60e01b83528035908301525afa928315610c30578093610bfb575b505051908152f35b909192508382813d8311610c29575b610c148183610fa3565b81010312610c26575051903880610bf3565b80fd5b503d610c0a565b8251903d90823e3d90fd5b828434610215578160031936011261021557602090517fd8aa0f3194971a2a116679f7c2090f6939c8d4e01a2a8d7e41d55e5351469e638152f35b5091346102155760a036600319011261021557610c9161109b565b67ffffffffffffffff9182600854169282519360a0850185811083821117610ec0578452853592828416938481036102155786526024359160028310156102155782602088015260443594600f8610156102d557868801978689526064359860198a1015610ebc5760608201908a8252608435926002841015610b8d57608084910152610d1d87610fdb565b5190600f821015610ea957516019811015610ea957610d9190610d878b519360208501978852338d8601527feeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000006060860152610d778a610fdb565b89608086015260a0850190610ffb565b60c0830190611008565b60c0815260e081019381851088861117610e9657848a5281519020998a865260066020528986203381547fffffffffffffffffffffffff00000000000000000000000000000000000000001617905560085498888a1697888752610100958d8786015233610120860152610140850152610e0a81610fdb565b6101608401526101808301610e1e91610ffb565b6101a08201610e2c91611008565b610e3582610fdb565b6101c001527f52162eb9e96e101651e01ef0d83e67cb88409e86ad473743bacd1ff4f2ed680c91a1828214610e83575060209550600101169067ffffffffffffffff19161760085551908152f35b80601188634e487b7160e01b6024945252fd5b60248660418e634e487b7160e01b835252fd5b60248660218e634e487b7160e01b835252fd5b8480fd5b602484604189634e487b7160e01b835252fd5b919050346102d55760203660031901126102d557357fffffffff0000000000000000000000000000000000000000000000000000000081168091036102d557602092507f7965db0b000000000000000000000000000000000000000000000000000000008114908115610f48575b5015158152f35b7f01ffc9a70000000000000000000000000000000000000000000000000000000091501483610f41565b600435906001600160a01b0382168203610f8857565b600080fd5b602435906001600160a01b0382168203610f8857565b90601f8019910116810190811067ffffffffffffffff821117610fc557604052565b634e487b7160e01b600052604160045260246000fd5b60021115610fe557565b634e487b7160e01b600052602160045260246000fd5b90600f821015610fe55752565b906019821015610fe55752565b1561101c57565b606460405162461bcd60e51b815260206004820152601860248201527f43616c6c6572206973206e6f742061206578656375746f7200000000000000006044820152fd5b9190820391821161106d57565b634e487b7160e01b600052601160045260246000fd5b90816020910312610f8857518015158103610f885790565b60ff600054166110a757565b60046040517fd93c0665000000000000000000000000000000000000000000000000000000008152fd5b6040517fa9059cbb0000000000000000000000000000000000000000000000000000000060208201526001600160a01b0392909216602483015260448083019390935291815261112b91611126606483610fa3565b611283565b565b80600052600160205260406000203360005260205260ff60406000205416156111535750565b604490604051907fe2517d3f0000000000000000000000000000000000000000000000000000000082523360048301526024820152fd5b9060009180835260016020526001600160a01b036040842092169182845260205260ff604084205416156000146112065780835260016020526040832082845260205260408320600160ff198254161790557f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d339380a4600190565b505090565b9060009180835260016020526001600160a01b036040842092169182845260205260ff604084205416600014611206578083526001602052604083208284526020526040832060ff1981541690557ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b339380a4600190565b6001600160a01b031690600080826020829451910182865af13d15611356573d67ffffffffffffffff8111611342576040516112e09392916112cf601f8201601f191660200183610fa3565b8152809260203d92013e5b83611363565b8051908115159182611327575b50506112f65750565b602490604051907f5274afe70000000000000000000000000000000000000000000000000000000082526004820152fd5b61133a9250602080918301019101611083565b1538806112ed565b602483634e487b7160e01b81526041600452fd5b6112e091506060906112da565b906113a2575080511561137857805190602001fd5b60046040517f1425ea42000000000000000000000000000000000000000000000000000000008152fd5b815115806113ed575b6113b3575090565b6024906001600160a01b03604051917f9996b315000000000000000000000000000000000000000000000000000000008352166004820152fd5b50803b156113ab56fea2646970667358221220910ff57fdf69de5a01304ae5a5a656400f5b152ef17daa7f39cd140f8d688c1864736f6c634300081800332f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d000000000000000000000000c59215cfd4455899274e515fcb48fd4e9706d7cb000000000000000000000000545546aecb255100224d0b399b448ca06f6a819e
Deployed Bytecode
0x608060409080825260048036101561001657600080fd5b600091823560e01c90816301ffc9a714610ed35750806302fd39dc14610c7657806307bd026514610c3b578063127e8e4d14610ba85780631790b6f014610898578063248a9ca31461086d5780632e1a7d4d146107a45780632f2ff15d1461077b57806336568abe1461071c5780635c975abb146106fa57806370a08231146106c35780638456cb591461063257806385f438c1146105f75780638bc048ac146105cf57806391d1485414610587578063a217fddf1461056c578063a5827b6a146104bf578063b6b55f25146103ba578063c4d252f514610317578063d547741f146102d9578063f7b188a5146102195763fe417fa51461011657600080fd5b3461021557826003193601126102155761012e610f72565b602435917f10dac8c06a04bec0b551627dad28bc00d6516b0caacd1c7b345fcdb5211334e4845260016020528484203360005260205260ff856000205416156101d257506101cc7fe9aa550fd75d0d28e07fa9dd67d3ae705678776f6c4a75abd09534f93e7d790793946101ac84336001600160a01b0386166110d1565b5192839283602090939291936001600160a01b0360408201951681520152565b0390a180f35b606490602086519162461bcd60e51b8352820152601a60248201527f43616c6c6572206973206e6f74206120776974686472617765720000000000006044820152fd5b5080fd5b508290346102d557826003193601126102d5577fd8aa0f3194971a2a116679f7c2090f6939c8d4e01a2a8d7e41d55e5351469e63835260016020528183203360005260205261026e60ff836000205416611015565b82549060ff8216156102ae575060ff19168255513381527f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa90602090a180f35b82517f8dfc202b000000000000000000000000000000000000000000000000000000008152fd5b8280fd5b5082346102d557806003193601126102d557610313913561030e60016102fd610f8d565b93838752816020528620015461112d565b61120b565b5080f35b5082346102d55760203660031901126102d55781359161033561109b565b8284526006602052336001600160a01b038386205416036103935750816020917fbaa1eb22f2a492ba1a5fea61b8df4d27c6c8b5f3971e63bb58fa14ff72eedb7093855260078352808520600160ff1982541617905551908152a180f35b90517f5a519520000000000000000000000000000000000000000000000000000000008152fd5b509134610215576020366003190112610215578235906103d861109b565b6001600160a01b03600254168151907f23b872dd0000000000000000000000000000000000000000000000000000000060208301523360248301523060448301528360648301526064825260a0820182811067ffffffffffffffff8211176104aa5783526104469190611283565b338352600560205280832080549083820180921161049757555133815260208101919091527f2da466a7b24304f47e87fa2e1e5a81b9831ce54fec19055ce277ca2f39ba42c49080604081016101cc565b602485601188634e487b7160e01b835252fd5b604187634e487b7160e01b6000525260246000fd5b5082346102d557806003193601126102d55760206001600160a01b039260246104e6610f72565b91845195869384927f3076315a000000000000000000000000000000000000000000000000000000008452843590840152165afa9182156105625760209392610533575b50519015158152f35b610554919250833d851161055b575b61054c8183610fa3565b810190611083565b908361052a565b503d610542565b81513d85823e3d90fd5b82843461021557816003193601126102155751908152602090f35b508290346102d557816003193601126102d5576001600160a01b03826020946105ae610f8d565b9335815260018652209116600052825260ff81600020541690519015158152f35b8284346102155781600319360112610215576020906001600160a01b03600254169051908152f35b828434610215578160031936011261021557602090517f10dac8c06a04bec0b551627dad28bc00d6516b0caacd1c7b345fcdb5211334e48152f35b82843461021557816003193601126102155760207f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258917fd8aa0f3194971a2a116679f7c2090f6939c8d4e01a2a8d7e41d55e5351469e638452600182528084203360005282526106a860ff826000205416611015565b6106b061109b565b835460ff1916600117845551338152a180f35b82843461021557602036600319011261021557806020926001600160a01b036106ea610f72565b1681526005845220549051908152f35b82843461021557816003193601126102155760ff602092541690519015158152f35b509134610215578060031936011261021557610736610f8d565b90336001600160a01b03831603610753575061031391923561120b565b8390517f6697b232000000000000000000000000000000000000000000000000000000008152fd5b5082346102d557806003193601126102d557610313913561079f60016102fd610f8d565b61118a565b5082346102d55760203660031901126102d5578135916107c261109b565b33845260056020528184205483811061084057847f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d56101cc868661081282336001600160a01b03600254166110d1565b3385526005602052808520610828838254611060565b90555133815260208101919091529081906040820190565b60249251917f77b8dde3000000000000000000000000000000000000000000000000000000008352820152fd5b508290346102d55760203660031901126102d557816020936001923581528285522001549051908152f35b5082346102d55760603660031901126102d5576108b3610f72565b81602319360112610ba457815167ffffffffffffffff9080840182811182821017610b915784526024358152604435928284168403610b8d576020908183019485527fd8aa0f3194971a2a116679f7c2090f6939c8d4e01a2a8d7e41d55e5351469e63885260018252858820338952825261093360ff878a205416611015565b825188526007825260ff8689205416610b655782518852868252858820848651168952825260ff8689205416610b19576001600160a01b03809116908189526005835286892054906003541683600160248b8b51948593849263127e8e4d60e01b84528301525afa908115610b0f578a91610ade575b50809110610ab657908891818352600584526109c9888420918254611060565b9055803b1561021557819060448851809481937f308d6c9600000000000000000000000000000000000000000000000000000000835288518d840152898b511660248401525af18015610aac57610a88575b5081518752948552838620835183166000908152955293839020805460ff1916600117905592519051915190815267ffffffffffffffff919092161660208201527f35d18cd21af9042cd9cbf41cdb1ae42a964160fdb9890df6d10fd6c3cff433459080604081016101cc565b838111610a995785526101cc610a1b565b602488604189634e487b7160e01b835252fd5b86513d8a823e3d90fd5b8787517f025dbdd4000000000000000000000000000000000000000000000000000000008152fd5b90508381813d8311610b08575b610af58183610fa3565b81010312610b0457518a6109a9565b8980fd5b503d610aeb565b88513d8c823e3d90fd5b505051915192517fee9bb42200000000000000000000000000000000000000000000000000000000815293840191825290911667ffffffffffffffff1660208201528190036040019150fd5b8686517f0a9933e4000000000000000000000000000000000000000000000000000000008152fd5b8680fd5b602487604188634e487b7160e01b835252fd5b8380fd5b50913461021557602092836003193601126102d557836001600160a01b036003541691602484518094819363127e8e4d60e01b83528035908301525afa928315610c30578093610bfb575b505051908152f35b909192508382813d8311610c29575b610c148183610fa3565b81010312610c26575051903880610bf3565b80fd5b503d610c0a565b8251903d90823e3d90fd5b828434610215578160031936011261021557602090517fd8aa0f3194971a2a116679f7c2090f6939c8d4e01a2a8d7e41d55e5351469e638152f35b5091346102155760a036600319011261021557610c9161109b565b67ffffffffffffffff9182600854169282519360a0850185811083821117610ec0578452853592828416938481036102155786526024359160028310156102155782602088015260443594600f8610156102d557868801978689526064359860198a1015610ebc5760608201908a8252608435926002841015610b8d57608084910152610d1d87610fdb565b5190600f821015610ea957516019811015610ea957610d9190610d878b519360208501978852338d8601527feeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000006060860152610d778a610fdb565b89608086015260a0850190610ffb565b60c0830190611008565b60c0815260e081019381851088861117610e9657848a5281519020998a865260066020528986203381547fffffffffffffffffffffffff00000000000000000000000000000000000000001617905560085498888a1697888752610100958d8786015233610120860152610140850152610e0a81610fdb565b6101608401526101808301610e1e91610ffb565b6101a08201610e2c91611008565b610e3582610fdb565b6101c001527f52162eb9e96e101651e01ef0d83e67cb88409e86ad473743bacd1ff4f2ed680c91a1828214610e83575060209550600101169067ffffffffffffffff19161760085551908152f35b80601188634e487b7160e01b6024945252fd5b60248660418e634e487b7160e01b835252fd5b60248660218e634e487b7160e01b835252fd5b8480fd5b602484604189634e487b7160e01b835252fd5b919050346102d55760203660031901126102d557357fffffffff0000000000000000000000000000000000000000000000000000000081168091036102d557602092507f7965db0b000000000000000000000000000000000000000000000000000000008114908115610f48575b5015158152f35b7f01ffc9a70000000000000000000000000000000000000000000000000000000091501483610f41565b600435906001600160a01b0382168203610f8857565b600080fd5b602435906001600160a01b0382168203610f8857565b90601f8019910116810190811067ffffffffffffffff821117610fc557604052565b634e487b7160e01b600052604160045260246000fd5b60021115610fe557565b634e487b7160e01b600052602160045260246000fd5b90600f821015610fe55752565b906019821015610fe55752565b1561101c57565b606460405162461bcd60e51b815260206004820152601860248201527f43616c6c6572206973206e6f742061206578656375746f7200000000000000006044820152fd5b9190820391821161106d57565b634e487b7160e01b600052601160045260246000fd5b90816020910312610f8857518015158103610f885790565b60ff600054166110a757565b60046040517fd93c0665000000000000000000000000000000000000000000000000000000008152fd5b6040517fa9059cbb0000000000000000000000000000000000000000000000000000000060208201526001600160a01b0392909216602483015260448083019390935291815261112b91611126606483610fa3565b611283565b565b80600052600160205260406000203360005260205260ff60406000205416156111535750565b604490604051907fe2517d3f0000000000000000000000000000000000000000000000000000000082523360048301526024820152fd5b9060009180835260016020526001600160a01b036040842092169182845260205260ff604084205416156000146112065780835260016020526040832082845260205260408320600160ff198254161790557f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d339380a4600190565b505090565b9060009180835260016020526001600160a01b036040842092169182845260205260ff604084205416600014611206578083526001602052604083208284526020526040832060ff1981541690557ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b339380a4600190565b6001600160a01b031690600080826020829451910182865af13d15611356573d67ffffffffffffffff8111611342576040516112e09392916112cf601f8201601f191660200183610fa3565b8152809260203d92013e5b83611363565b8051908115159182611327575b50506112f65750565b602490604051907f5274afe70000000000000000000000000000000000000000000000000000000082526004820152fd5b61133a9250602080918301019101611083565b1538806112ed565b602483634e487b7160e01b81526041600452fd5b6112e091506060906112da565b906113a2575080511561137857805190602001fd5b60046040517f1425ea42000000000000000000000000000000000000000000000000000000008152fd5b815115806113ed575b6113b3575090565b6024906001600160a01b03604051917f9996b315000000000000000000000000000000000000000000000000000000008352166004820152fd5b50803b156113ab56fea2646970667358221220910ff57fdf69de5a01304ae5a5a656400f5b152ef17daa7f39cd140f8d688c1864736f6c63430008180033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000c59215cfd4455899274e515fcb48fd4e9706d7cb000000000000000000000000545546aecb255100224d0b399b448ca06f6a819e
-----Decoded View---------------
Arg [0] : feeManager (address): 0xc59215CfD4455899274e515fCb48fd4e9706D7cb
Arg [1] : timelyToken (address): 0x545546Aecb255100224d0b399B448Ca06f6A819e
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000c59215cfd4455899274e515fcb48fd4e9706d7cb
Arg [1] : 000000000000000000000000545546aecb255100224d0b399b448ca06f6a819e
Loading...
Loading
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in FRAX
0
Multichain Portfolio | 35 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
Loading...
Loading
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.