Source Code
Overview
ETH Balance
0 ETH
Eth Value
$0.00Advanced mode: Intended for advanced users or developers and will display all Internal Transactions including zero value transfers.
Latest 25 internal transactions (View All)
Advanced mode:
| Parent Transaction Hash | Method | Block |
From
|
|
To
|
|||
|---|---|---|---|---|---|---|---|---|
| Get Price | 23482908 | 155 days ago | 0 ETH | |||||
| Get Price | 23482908 | 155 days ago | 0 ETH | |||||
| Get Price | 23482908 | 155 days ago | 0 ETH | |||||
| Get Price | 23482908 | 155 days ago | 0 ETH | |||||
| Get Price | 23390351 | 168 days ago | 0 ETH | |||||
| Get Price | 23390351 | 168 days ago | 0 ETH | |||||
| Get Price | 23390351 | 168 days ago | 0 ETH | |||||
| Get Price | 23390351 | 168 days ago | 0 ETH | |||||
| Get Price | 23238116 | 189 days ago | 0 ETH | |||||
| Get Price | 23238116 | 189 days ago | 0 ETH | |||||
| Get Price | 23238116 | 189 days ago | 0 ETH | |||||
| Get Price | 23238116 | 189 days ago | 0 ETH | |||||
| Get Price | 23203521 | 194 days ago | 0 ETH | |||||
| Get Price | 23203521 | 194 days ago | 0 ETH | |||||
| Get Price | 23203521 | 194 days ago | 0 ETH | |||||
| Get Price | 23203521 | 194 days ago | 0 ETH | |||||
| Get Price | 22969163 | 227 days ago | 0 ETH | |||||
| Get Price | 22969163 | 227 days ago | 0 ETH | |||||
| Get Price | 22969163 | 227 days ago | 0 ETH | |||||
| Get Price | 22969163 | 227 days ago | 0 ETH | |||||
| Get Price | 22925509 | 233 days ago | 0 ETH | |||||
| Get Price | 22925509 | 233 days ago | 0 ETH | |||||
| Get Price | 22925509 | 233 days ago | 0 ETH | |||||
| Get Price | 22925509 | 233 days ago | 0 ETH | |||||
| Get Price | 22925509 | 233 days ago | 0 ETH |
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
OracleConfigurator
Compiler Version
v0.8.26+commit.8a97fa7a
Optimization Enabled:
Yes with 200 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: BUSL-1.1
pragma solidity 0.8.26;
import {AccessControl} from "@openzeppelin/contracts/access/AccessControl.sol";
import {Oracle} from "./Oracle.sol";
import "../utils/Errors.sol";
contract OracleConfigurator is AccessControl {
bytes32 public constant ORACLE_MANAGER_ROLE =
keccak256("ORACLE_MANAGER_ROLE");
mapping(address => address) public oracles;
event OracleUpdated(address oldOracle, address newOracle);
constructor() {
_grantRole(DEFAULT_ADMIN_ROLE, msg.sender);
}
function updateOracle(
address _token,
address _oracle
) external onlyRole(ORACLE_MANAGER_ROLE) {
if (_token == address(0)) revert InvalidToken();
if (_oracle == address(0)) revert InvalidOracle();
emit OracleUpdated(oracles[_token], _oracle);
oracles[_token] = _oracle;
}
function getPrice(address _token) external view returns (uint256 price) {
address oracle = oracles[_token];
if (_token == address(0) || oracle == address(0)) revert InvalidToken();
price = Oracle(oracle).getPrice();
}
}// 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: BUSL-1.1
pragma solidity 0.8.26;
abstract contract Oracle {
address public immutable token;
string public name;
constructor(address _token, string memory _name) {
token = _token;
name = _name;
}
function getPrice() external view virtual returns (uint256 price) {}
}// SPDX-License-Identifier: BUSL-1.1 pragma solidity 0.8.26; error InvalidToken(); error TokenAlreadyAdd(); error InvalidOracle(); error NonEmptySupportedToken(); error InvalidDecimals(); error Paused(); error NotWhitelisted(); error NoFeeRecipient(); error InvalidFeeRate(); error InsufficientOutputAmount(); error ZeroAmount(); error ZeroAddress(); error InvalidArrayLength(); error ArrayIndexOutOfBounds(); error WrongRequester(); error InsufficientFunds(); error InvalidAmount(); error InvalidRequester(); error InvalidReceipt(); error NotZeroAddress(); error InValidCaller(); error WithdrawalJustUpdated();
// 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.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);
}{
"remappings": [
"@uniswap/v3-periphery/contracts/=lib/v3-periphery/contracts/",
"@chainlink/contracts/src/=lib/chainlink/contracts/src/",
"@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",
"chainlink/=lib/chainlink/",
"ds-test/=lib/openzeppelin-contracts/lib/forge-std/lib/ds-test/src/",
"erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/",
"forge-std/=lib/forge-std/src/",
"openzeppelin-contracts/=lib/openzeppelin-contracts/",
"v3-periphery/=lib/v3-periphery/contracts/"
],
"optimizer": {
"enabled": true,
"runs": 200
},
"metadata": {
"useLiteralContent": false,
"bytecodeHash": "ipfs",
"appendCBOR": true
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
},
"evmVersion": "paris",
"viaIR": false,
"libraries": {}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[],"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":[],"name":"InvalidOracle","type":"error"},{"inputs":[],"name":"InvalidToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oldOracle","type":"address"},{"indexed":false,"internalType":"address","name":"newOracle","type":"address"}],"name":"OracleUpdated","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"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ORACLE_MANAGER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"getPrice","outputs":[{"internalType":"uint256","name":"price","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":[{"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":[{"internalType":"address","name":"","type":"address"}],"name":"oracles","outputs":[{"internalType":"address","name":"","type":"address"}],"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":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_oracle","type":"address"}],"name":"updateOracle","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
6080604052348015600f57600080fd5b506019600033601e565b5060c7565b6000828152602081815260408083206001600160a01b038516845290915281205460ff1660bd576000838152602081815260408083206001600160a01b03861684529091529020805460ff1916600117905560763390565b6001600160a01b0316826001600160a01b0316847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a450600160c1565b5060005b92915050565b6106f3806100d66000396000f3fe608060405234801561001057600080fd5b50600436106100a95760003560e01c806383d998ae1161007157806383d998ae1461014257806391d1485414610155578063a217fddf14610168578063addd509914610170578063bfc69e1c146101b1578063d547741f146101d857600080fd5b806301ffc9a7146100ae578063248a9ca3146100d65780632f2ff15d1461010757806336568abe1461011c57806341976e091461012f575b600080fd5b6100c16100bc3660046105d4565b6101eb565b60405190151581526020015b60405180910390f35b6100f96100e43660046105fe565b60009081526020819052604090206001015490565b6040519081526020016100cd565b61011a610115366004610633565b610222565b005b61011a61012a366004610633565b61024d565b6100f961013d36600461065f565b610285565b61011a61015036600461067a565b61033d565b6100c1610163366004610633565b61043b565b6100f9600081565b61019961017e36600461065f565b6001602052600090815260409020546001600160a01b031681565b6040516001600160a01b0390911681526020016100cd565b6100f97fced6982f480260bdd8ad5cb18ff2854f0306d78d904ad6cc107e8f3a0f526c1881565b61011a6101e6366004610633565b610464565b60006001600160e01b03198216637965db0b60e01b148061021c57506301ffc9a760e01b6001600160e01b03198316145b92915050565b60008281526020819052604090206001015461023d81610489565b6102478383610496565b50505050565b6001600160a01b03811633146102765760405163334bd91960e11b815260040160405180910390fd5b6102808282610528565b505050565b6001600160a01b038082166000818152600160205260408120549092169015806102b657506001600160a01b038116155b156102d45760405163c1ab6dc160e01b815260040160405180910390fd5b806001600160a01b03166398d5fdca6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610312573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061033691906106a4565b9392505050565b7fced6982f480260bdd8ad5cb18ff2854f0306d78d904ad6cc107e8f3a0f526c1861036781610489565b6001600160a01b03831661038e5760405163c1ab6dc160e01b815260040160405180910390fd5b6001600160a01b0382166103b557604051639589a27d60e01b815260040160405180910390fd5b6001600160a01b038381166000908152600160209081526040918290205482519084168152928516908301527f078c3b417dadf69374a59793b829c52001247130433427049317bde56607b1b7910160405180910390a1506001600160a01b03918216600090815260016020526040902080546001600160a01b03191691909216179055565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b60008281526020819052604090206001015461047f81610489565b6102478383610528565b6104938133610593565b50565b60006104a2838361043b565b610520576000838152602081815260408083206001600160a01b03861684529091529020805460ff191660011790556104d83390565b6001600160a01b0316826001600160a01b0316847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a450600161021c565b50600061021c565b6000610534838361043b565b15610520576000838152602081815260408083206001600160a01b0386168085529252808320805460ff1916905551339286917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a450600161021c565b61059d828261043b565b6105d05760405163e2517d3f60e01b81526001600160a01b03821660048201526024810183905260440160405180910390fd5b5050565b6000602082840312156105e657600080fd5b81356001600160e01b03198116811461033657600080fd5b60006020828403121561061057600080fd5b5035919050565b80356001600160a01b038116811461062e57600080fd5b919050565b6000806040838503121561064657600080fd5b8235915061065660208401610617565b90509250929050565b60006020828403121561067157600080fd5b61033682610617565b6000806040838503121561068d57600080fd5b61069683610617565b915061065660208401610617565b6000602082840312156106b657600080fd5b505191905056fea2646970667358221220583cdef11ae0aa3f0b9864c981a0a7685524953ac6e5ad12187b09301fa0615364736f6c634300081a0033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100a95760003560e01c806383d998ae1161007157806383d998ae1461014257806391d1485414610155578063a217fddf14610168578063addd509914610170578063bfc69e1c146101b1578063d547741f146101d857600080fd5b806301ffc9a7146100ae578063248a9ca3146100d65780632f2ff15d1461010757806336568abe1461011c57806341976e091461012f575b600080fd5b6100c16100bc3660046105d4565b6101eb565b60405190151581526020015b60405180910390f35b6100f96100e43660046105fe565b60009081526020819052604090206001015490565b6040519081526020016100cd565b61011a610115366004610633565b610222565b005b61011a61012a366004610633565b61024d565b6100f961013d36600461065f565b610285565b61011a61015036600461067a565b61033d565b6100c1610163366004610633565b61043b565b6100f9600081565b61019961017e36600461065f565b6001602052600090815260409020546001600160a01b031681565b6040516001600160a01b0390911681526020016100cd565b6100f97fced6982f480260bdd8ad5cb18ff2854f0306d78d904ad6cc107e8f3a0f526c1881565b61011a6101e6366004610633565b610464565b60006001600160e01b03198216637965db0b60e01b148061021c57506301ffc9a760e01b6001600160e01b03198316145b92915050565b60008281526020819052604090206001015461023d81610489565b6102478383610496565b50505050565b6001600160a01b03811633146102765760405163334bd91960e11b815260040160405180910390fd5b6102808282610528565b505050565b6001600160a01b038082166000818152600160205260408120549092169015806102b657506001600160a01b038116155b156102d45760405163c1ab6dc160e01b815260040160405180910390fd5b806001600160a01b03166398d5fdca6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610312573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061033691906106a4565b9392505050565b7fced6982f480260bdd8ad5cb18ff2854f0306d78d904ad6cc107e8f3a0f526c1861036781610489565b6001600160a01b03831661038e5760405163c1ab6dc160e01b815260040160405180910390fd5b6001600160a01b0382166103b557604051639589a27d60e01b815260040160405180910390fd5b6001600160a01b038381166000908152600160209081526040918290205482519084168152928516908301527f078c3b417dadf69374a59793b829c52001247130433427049317bde56607b1b7910160405180910390a1506001600160a01b03918216600090815260016020526040902080546001600160a01b03191691909216179055565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b60008281526020819052604090206001015461047f81610489565b6102478383610528565b6104938133610593565b50565b60006104a2838361043b565b610520576000838152602081815260408083206001600160a01b03861684529091529020805460ff191660011790556104d83390565b6001600160a01b0316826001600160a01b0316847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a450600161021c565b50600061021c565b6000610534838361043b565b15610520576000838152602081815260408083206001600160a01b0386168085529252808320805460ff1916905551339286917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a450600161021c565b61059d828261043b565b6105d05760405163e2517d3f60e01b81526001600160a01b03821660048201526024810183905260440160405180910390fd5b5050565b6000602082840312156105e657600080fd5b81356001600160e01b03198116811461033657600080fd5b60006020828403121561061057600080fd5b5035919050565b80356001600160a01b038116811461062e57600080fd5b919050565b6000806040838503121561064657600080fd5b8235915061065660208401610617565b90509250929050565b60006020828403121561067157600080fd5b61033682610617565b6000806040838503121561068d57600080fd5b61069683610617565b915061065660208401610617565b6000602082840312156106b657600080fd5b505191905056fea2646970667358221220583cdef11ae0aa3f0b9864c981a0a7685524953ac6e5ad12187b09301fa0615364736f6c634300081a0033
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 33 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.