Source Code
Overview
ETH Balance
0 ETH
Eth Value
$0.00Latest 5 from a total of 5 transactions
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
OracleConfigurator
Compiler Version
v0.8.26+commit.8a97fa7a
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 "../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 InvalidAsset(); error InsufficientBalance(); error InvalidOracle(); error InvalidPrice(); error InvalidArrayLength(); error DepositCapped(); error DepositPaused(); error ZeroShares(); error NoRequestingShares(); error NoClaimableRedeem(); error ZeroAddress(); error InvalidRequest(); error InvalidRequestToken(); error CannotRemove(); error InvalidDecimals(); error InvalidFeeRate(); error NoFeeRecipient();
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.1.0) (access/IAccessControl.sol) pragma solidity ^0.8.20; /** * @dev External interface of AccessControl declared to support ERC-165 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. This account bears the admin role (for the granted role). * Expected in cases where the role was granted using the internal {AccessControl-_grantRole}. */ 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.1.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 ERC-165 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.1.0) (utils/introspection/IERC165.sol) pragma solidity ^0.8.20; /** * @dev Interface of the ERC-165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[ERC]. * * 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[ERC 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/", "@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/", "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/", "halmos-cheatcodes/=lib/openzeppelin-contracts/lib/halmos-cheatcodes/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", "abi" ] } }, "evmVersion": "shanghai", "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
6080604052348015600e575f80fd5b5060175f33601c565b5060c2565b5f828152602081815260408083206001600160a01b038516845290915281205460ff1660b9575f838152602081815260408083206001600160a01b03861684529091529020805460ff1916600117905560723390565b6001600160a01b0316826001600160a01b0316847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a450600160bc565b505f5b92915050565b6106d0806100cf5f395ff3fe608060405234801561000f575f80fd5b50600436106100a6575f3560e01c806383d998ae1161006e57806383d998ae1461013d57806391d1485414610150578063a217fddf14610163578063addd50991461016a578063bfc69e1c146101aa578063d547741f146101d1575f80fd5b806301ffc9a7146100aa578063248a9ca3146100d25780632f2ff15d1461010257806336568abe1461011757806341976e091461012a575b5f80fd5b6100bd6100b83660046105bf565b6101e4565b60405190151581526020015b60405180910390f35b6100f46100e03660046105e6565b5f9081526020819052604090206001015490565b6040519081526020016100c9565b610115610110366004610618565b61021a565b005b610115610125366004610618565b610244565b6100f4610138366004610642565b61027c565b61011561014b36600461065b565b610331565b6100bd61015e366004610618565b61042d565b6100f45f81565b610192610178366004610642565b60016020525f90815260409020546001600160a01b031681565b6040516001600160a01b0390911681526020016100c9565b6100f47fced6982f480260bdd8ad5cb18ff2854f0306d78d904ad6cc107e8f3a0f526c1881565b6101156101df366004610618565b610455565b5f6001600160e01b03198216637965db0b60e01b148061021457506301ffc9a760e01b6001600160e01b03198316145b92915050565b5f8281526020819052604090206001015461023481610479565b61023e8383610486565b50505050565b6001600160a01b038116331461026d5760405163334bd91960e11b815260040160405180910390fd5b6102778282610515565b505050565b6001600160a01b038082165f818152600160205260408120549092169015806102ac57506001600160a01b038116155b156102ca5760405163c1ab6dc160e01b815260040160405180910390fd5b806001600160a01b03166398d5fdca6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610306573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061032a9190610683565b9392505050565b7fced6982f480260bdd8ad5cb18ff2854f0306d78d904ad6cc107e8f3a0f526c1861035b81610479565b6001600160a01b0383166103825760405163c1ab6dc160e01b815260040160405180910390fd5b6001600160a01b0382166103a957604051639589a27d60e01b815260040160405180910390fd5b6001600160a01b038381165f908152600160209081526040918290205482519084168152928516908301527f078c3b417dadf69374a59793b829c52001247130433427049317bde56607b1b7910160405180910390a1506001600160a01b039182165f90815260016020526040902080546001600160a01b03191691909216179055565b5f918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b5f8281526020819052604090206001015461046f81610479565b61023e8383610515565b610483813361057e565b50565b5f610491838361042d565b61050e575f838152602081815260408083206001600160a01b03861684529091529020805460ff191660011790556104c63390565b6001600160a01b0316826001600160a01b0316847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a4506001610214565b505f610214565b5f610520838361042d565b1561050e575f838152602081815260408083206001600160a01b0386168085529252808320805460ff1916905551339286917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a4506001610214565b610588828261042d565b6105bb5760405163e2517d3f60e01b81526001600160a01b03821660048201526024810183905260440160405180910390fd5b5050565b5f602082840312156105cf575f80fd5b81356001600160e01b03198116811461032a575f80fd5b5f602082840312156105f6575f80fd5b5035919050565b80356001600160a01b0381168114610613575f80fd5b919050565b5f8060408385031215610629575f80fd5b82359150610639602084016105fd565b90509250929050565b5f60208284031215610652575f80fd5b61032a826105fd565b5f806040838503121561066c575f80fd5b610675836105fd565b9150610639602084016105fd565b5f60208284031215610693575f80fd5b505191905056fea264697066735822122034789522c1c4f1c30be39138b63a4abf7e90b3e69e75342923e4bd56ac7d6fe064736f6c634300081a0033
Deployed Bytecode
0x608060405234801561000f575f80fd5b50600436106100a6575f3560e01c806383d998ae1161006e57806383d998ae1461013d57806391d1485414610150578063a217fddf14610163578063addd50991461016a578063bfc69e1c146101aa578063d547741f146101d1575f80fd5b806301ffc9a7146100aa578063248a9ca3146100d25780632f2ff15d1461010257806336568abe1461011757806341976e091461012a575b5f80fd5b6100bd6100b83660046105bf565b6101e4565b60405190151581526020015b60405180910390f35b6100f46100e03660046105e6565b5f9081526020819052604090206001015490565b6040519081526020016100c9565b610115610110366004610618565b61021a565b005b610115610125366004610618565b610244565b6100f4610138366004610642565b61027c565b61011561014b36600461065b565b610331565b6100bd61015e366004610618565b61042d565b6100f45f81565b610192610178366004610642565b60016020525f90815260409020546001600160a01b031681565b6040516001600160a01b0390911681526020016100c9565b6100f47fced6982f480260bdd8ad5cb18ff2854f0306d78d904ad6cc107e8f3a0f526c1881565b6101156101df366004610618565b610455565b5f6001600160e01b03198216637965db0b60e01b148061021457506301ffc9a760e01b6001600160e01b03198316145b92915050565b5f8281526020819052604090206001015461023481610479565b61023e8383610486565b50505050565b6001600160a01b038116331461026d5760405163334bd91960e11b815260040160405180910390fd5b6102778282610515565b505050565b6001600160a01b038082165f818152600160205260408120549092169015806102ac57506001600160a01b038116155b156102ca5760405163c1ab6dc160e01b815260040160405180910390fd5b806001600160a01b03166398d5fdca6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610306573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061032a9190610683565b9392505050565b7fced6982f480260bdd8ad5cb18ff2854f0306d78d904ad6cc107e8f3a0f526c1861035b81610479565b6001600160a01b0383166103825760405163c1ab6dc160e01b815260040160405180910390fd5b6001600160a01b0382166103a957604051639589a27d60e01b815260040160405180910390fd5b6001600160a01b038381165f908152600160209081526040918290205482519084168152928516908301527f078c3b417dadf69374a59793b829c52001247130433427049317bde56607b1b7910160405180910390a1506001600160a01b039182165f90815260016020526040902080546001600160a01b03191691909216179055565b5f918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b5f8281526020819052604090206001015461046f81610479565b61023e8383610515565b610483813361057e565b50565b5f610491838361042d565b61050e575f838152602081815260408083206001600160a01b03861684529091529020805460ff191660011790556104c63390565b6001600160a01b0316826001600160a01b0316847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a4506001610214565b505f610214565b5f610520838361042d565b1561050e575f838152602081815260408083206001600160a01b0386168085529252808320805460ff1916905551339286917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a4506001610214565b610588828261042d565b6105bb5760405163e2517d3f60e01b81526001600160a01b03821660048201526024810183905260440160405180910390fd5b5050565b5f602082840312156105cf575f80fd5b81356001600160e01b03198116811461032a575f80fd5b5f602082840312156105f6575f80fd5b5035919050565b80356001600160a01b0381168114610613575f80fd5b919050565b5f8060408385031215610629575f80fd5b82359150610639602084016105fd565b90509250929050565b5f60208284031215610652575f80fd5b61032a826105fd565b5f806040838503121561066c575f80fd5b610675836105fd565b9150610639602084016105fd565b5f60208284031215610693575f80fd5b505191905056fea264697066735822122034789522c1c4f1c30be39138b63a4abf7e90b3e69e75342923e4bd56ac7d6fe064736f6c634300081a0033
Deployed Bytecode Sourcemap
205:921:7:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2565:202:0;;;;;;:::i;:::-;;:::i;:::-;;;470:14:8;;463:22;445:41;;433:2;418:18;2565:202:0;;;;;;;;3810:120;;;;;;:::i;:::-;3875:7;3901:12;;;;;;;;;;:22;;;;3810:120;;;;874:25:8;;;862:2;847:18;3810:120:0;728:177:8;4226:136:0;;;;;;:::i;:::-;;:::i;:::-;;5328:245;;;;;;:::i;:::-;;:::i;877:247:7:-;;;;;;:::i;:::-;;:::i;541:330::-;;;;;;:::i;:::-;;:::i;2854:136:0:-;;;;;;:::i;:::-;;:::i;2187:49::-;;2232:4;2187:49;;349:42:7;;;;;;:::i;:::-;;;;;;;;;;;;-1:-1:-1;;;;;349:42:7;;;;;;-1:-1:-1;;;;;2195:32:8;;;2177:51;;2165:2;2150:18;349:42:7;2031:203:8;256:86:7;;310:32;256:86;;4642:138:0;;;;;;:::i;:::-;;:::i;2565:202::-;2650:4;-1:-1:-1;;;;;;2673:47:0;;-1:-1:-1;;;2673:47:0;;:87;;-1:-1:-1;;;;;;;;;;862:40:3;;;2724:36:0;2666:94;2565:202;-1:-1:-1;;2565:202:0:o;4226:136::-;3875:7;3901:12;;;;;;;;;;:22;;;2464:16;2475:4;2464:10;:16::i;:::-;4330:25:::1;4341:4;4347:7;4330:10;:25::i;:::-;;4226:136:::0;;;:::o;5328:245::-;-1:-1:-1;;;;;5421:34:0;;735:10:2;5421:34:0;5417:102;;5478:30;;-1:-1:-1;;;5478:30:0;;;;;;;;;;;5417:102;5529:37;5541:4;5547:18;5529:11;:37::i;:::-;;5328:245;;:::o;877:247:7:-;-1:-1:-1;;;;;976:15:7;;;934:13;976:15;;;:7;:15;;;;;;934:13;;976:15;;1006:20;;:44;;-1:-1:-1;;;;;;1030:20:7;;;1006:44;1002:71;;;1059:14;;-1:-1:-1;;;1059:14:7;;;;;;;;;;;1002:71;1099:6;-1:-1:-1;;;;;1092:23:7;;:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1084:33;877:247;-1:-1:-1;;;877:247:7:o;541:330::-;310:32;2464:16:0;2475:4;2464:10;:16::i;:::-;-1:-1:-1;;;;;671:20:7;::::1;667:47;;700:14;;-1:-1:-1::0;;;700:14:7::1;;;;;;;;;;;667:47;-1:-1:-1::0;;;;;728:21:7;::::1;724:49;;758:15;;-1:-1:-1::0;;;758:15:7::1;;;;;;;;;;;724:49;-1:-1:-1::0;;;;;803:15:7;;::::1;;::::0;;;:7:::1;:15;::::0;;;;;;;;;789:39;;803:15;;::::1;2602:51:8::0;;2689:32;;;2669:18;;;2662:60;789:39:7::1;::::0;2575:18:8;789:39:7::1;;;;;;;-1:-1:-1::0;;;;;;839:15:7;;::::1;;::::0;;;:7:::1;:15;::::0;;;;:25;;-1:-1:-1;;;;;;839:25:7::1;::::0;;;::::1;;::::0;;541:330::o;2854:136:0:-;2931:4;2954:12;;;;;;;;;;;-1:-1:-1;;;;;2954:29:0;;;;;;;;;;;;;;;2854:136::o;4642:138::-;3875:7;3901:12;;;;;;;;;;:22;;;2464:16;2475:4;2464:10;:16::i;:::-;4747:26:::1;4759:4;4765:7;4747:11;:26::i;3199:103::-:0;3265:30;3276:4;735:10:2;3265::0;:30::i;:::-;3199:103;:::o;6179:316::-;6256:4;6277:22;6285:4;6291:7;6277;:22::i;:::-;6272:217;;6315:6;:12;;;;;;;;;;;-1:-1:-1;;;;;6315:29:0;;;;;;;;;:36;;-1:-1:-1;;6315:36:0;6347:4;6315:36;;;6397:12;735:10:2;;656:96;6397:12:0;-1:-1:-1;;;;;6370:40:0;6388:7;-1:-1:-1;;;;;6370:40:0;6382:4;6370:40;;;;;;;;;;-1:-1:-1;6431:4:0;6424:11;;6272:217;-1:-1:-1;6473:5:0;6466:12;;6730:317;6808:4;6828:22;6836:4;6842:7;6828;:22::i;:::-;6824:217;;;6898:5;6866:12;;;;;;;;;;;-1:-1:-1;;;;;6866:29:0;;;;;;;;;;:37;;-1:-1:-1;;6866:37:0;;;6922:40;735:10:2;;6866:12:0;;6922:40;;6898:5;6922:40;-1:-1:-1;6983:4:0;6976:11;;3432:197;3520:22;3528:4;3534:7;3520;:22::i;:::-;3515:108;;3565:47;;-1:-1:-1;;;3565:47:0;;-1:-1:-1;;;;;2925:32:8;;3565:47:0;;;2907:51:8;2974:18;;;2967:34;;;2880:18;;3565:47:0;;;;;;;3515:108;3432:197;;:::o;14:286:8:-;72:6;125:2;113:9;104:7;100:23;96:32;93:52;;;141:1;138;131:12;93:52;167:23;;-1:-1:-1;;;;;;219:32:8;;209:43;;199:71;;266:1;263;256:12;497:226;556:6;609:2;597:9;588:7;584:23;580:32;577:52;;;625:1;622;615:12;577:52;-1:-1:-1;670:23:8;;497:226;-1:-1:-1;497:226:8:o;910:173::-;978:20;;-1:-1:-1;;;;;1027:31:8;;1017:42;;1007:70;;1073:1;1070;1063:12;1007:70;910:173;;;:::o;1088:300::-;1156:6;1164;1217:2;1205:9;1196:7;1192:23;1188:32;1185:52;;;1233:1;1230;1223:12;1185:52;1278:23;;;-1:-1:-1;1344:38:8;1378:2;1363:18;;1344:38;:::i;:::-;1334:48;;1088:300;;;;;:::o;1393:186::-;1452:6;1505:2;1493:9;1484:7;1480:23;1476:32;1473:52;;;1521:1;1518;1511:12;1473:52;1544:29;1563:9;1544:29;:::i;1766:260::-;1834:6;1842;1895:2;1883:9;1874:7;1870:23;1866:32;1863:52;;;1911:1;1908;1901:12;1863:52;1934:29;1953:9;1934:29;:::i;:::-;1924:39;;1982:38;2016:2;2005:9;2001:18;1982:38;:::i;2239:184::-;2309:6;2362:2;2350:9;2341:7;2337:23;2333:32;2330:52;;;2378:1;2375;2368:12;2330:52;-1:-1:-1;2401:16:8;;2239:184;-1:-1:-1;2239:184:8:o
Swarm Source
ipfs://34789522c1c4f1c30be39138b63a4abf7e90b3e69e75342923e4bd56ac7d6fe0
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 34 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.