Overview
ETH Balance
0 ETH
Eth Value
$0.00Latest 9 from a total of 9 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Set Default Gas ... | 18726537 | 808 days ago | IN | 0 ETH | 0.00132025 | ||||
| Swap With Referr... | 17854162 | 931 days ago | IN | 0.001 ETH | 0.00033844 | ||||
| Set Default Gas ... | 17476533 | 984 days ago | IN | 0 ETH | 0.00044722 | ||||
| Renounce Role | 16346365 | 1142 days ago | IN | 0 ETH | 0.00036376 | ||||
| Grant Role | 16332498 | 1144 days ago | IN | 0 ETH | 0.00082061 | ||||
| Grant Role | 15185041 | 1311 days ago | IN | 0 ETH | 0.00082461 | ||||
| Set Chain Link G... | 13724673 | 1543 days ago | IN | 0 ETH | 0.00525487 | ||||
| Grant Role | 13719610 | 1544 days ago | IN | 0 ETH | 0.00612848 | ||||
| Set Default Gas ... | 13718993 | 1544 days ago | IN | 0 ETH | 0.00608971 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
GasPriceConsumer
Compiler Version
v0.8.2+commit.661d1103
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: BUSL-1.1
pragma solidity ^0.8.0;
import { AccessControl } from "AccessControl.sol";
import "AggregatorV3Interface.sol";
contract GasPriceConsumer is AccessControl {
// roles
bytes32 public constant ROLE_OWNER = keccak256("ROLE_OWNER");
bytes32 public constant ROLE_MANAGER = keccak256("ROLE_MANAGER");
address public gasPriceFeed;
int public defaultGasPrice;
/**e
* Network: Ethereum Mainnet
* Aggregator: ETH/USD
* Address: 0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419
*/
// Mainnet fast ags
// Address: 0x169E633A2D1E6c10dD91238Ba11c4A708dfEF37C
constructor(address owner, address manager) {
_setRoleAdmin(ROLE_OWNER, ROLE_OWNER);
_setRoleAdmin(ROLE_MANAGER, ROLE_OWNER);
_setupRole(ROLE_OWNER, owner);
_setupRole(ROLE_MANAGER, manager);
}
function setChainLinkGasPriceFeed(address _gasPriceFeed) external onlyRole(ROLE_MANAGER) {
gasPriceFeed = _gasPriceFeed;
}
function setDefaultGasPrice(int _gasPrice) external onlyRole(ROLE_MANAGER) {
defaultGasPrice = _gasPrice;
}
function getLatestGasPriceFromPriceFeed() internal view returns (int) {
( , int gasPrice, , , ) = AggregatorV3Interface(gasPriceFeed).latestRoundData();
return gasPrice;
}
function getDefaultGasPrice() internal view returns (int) {
return defaultGasPrice;
}
function getLatestGasPrice() public view returns (int) {
if (gasPriceFeed != address(0)) {
return getLatestGasPriceFromPriceFeed();
} else {
int gasPrice = getDefaultGasPrice();
require(gasPrice > 0, "ERR_DEFAULT_GAS_PRICE_NOT_SET");
return gasPrice;
}
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "IAccessControl.sol";
import "Context.sol";
import "Strings.sol";
import "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:
*
* ```
* 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}:
*
* ```
* 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.
*/
abstract contract AccessControl is Context, IAccessControl, ERC165 {
struct RoleData {
mapping(address => bool) members;
bytes32 adminRole;
}
mapping(bytes32 => RoleData) private _roles;
bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;
/**
* @dev Modifier that checks that an account has a specific role. Reverts
* with a standardized message including the required role.
*
* The format of the revert reason is given by the following regular expression:
*
* /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
*
* _Available since v4.1._
*/
modifier onlyRole(bytes32 role) {
_checkRole(role, _msgSender());
_;
}
/**
* @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 override returns (bool) {
return _roles[role].members[account];
}
/**
* @dev Revert with a standard message if `account` is missing `role`.
*
* The format of the revert reason is given by the following regular expression:
*
* /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
*/
function _checkRole(bytes32 role, address account) internal view {
if (!hasRole(role, account)) {
revert(
string(
abi.encodePacked(
"AccessControl: account ",
Strings.toHexString(uint160(account), 20),
" is missing role ",
Strings.toHexString(uint256(role), 32)
)
)
);
}
}
/**
* @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 override 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.
*/
function grantRole(bytes32 role, address account) public virtual override 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.
*/
function revokeRole(bytes32 role, address account) public virtual override 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 granted `role`, emits a {RoleRevoked}
* event.
*
* Requirements:
*
* - the caller must be `account`.
*/
function renounceRole(bytes32 role, address account) public virtual override {
require(account == _msgSender(), "AccessControl: can only renounce roles for self");
_revokeRole(role, account);
}
/**
* @dev Grants `role` to `account`.
*
* If `account` had not been already granted `role`, emits a {RoleGranted}
* event. Note that unlike {grantRole}, this function doesn't perform any
* checks on the calling account.
*
* [WARNING]
* ====
* This function should only be called from the constructor when setting
* up the initial roles for the system.
*
* Using this function in any other way is effectively circumventing the admin
* system imposed by {AccessControl}.
* ====
*/
function _setupRole(bytes32 role, address account) internal virtual {
_grantRole(role, account);
}
/**
* @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);
}
function _grantRole(bytes32 role, address account) private {
if (!hasRole(role, account)) {
_roles[role].members[account] = true;
emit RoleGranted(role, account, _msgSender());
}
}
function _revokeRole(bytes32 role, address account) private {
if (hasRole(role, account)) {
_roles[role].members[account] = false;
emit RoleRevoked(role, account, _msgSender());
}
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @dev External interface of AccessControl declared to support ERC165 detection.
*/
interface IAccessControl {
/**
* @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.
*
* _Available since v3.1._
*/
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 `account`.
*/
function renounceRole(bytes32 role, address account) external;
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with meta-transactions the account sending and
* paying for execution may not be the actual sender (as far as an application
* is concerned).
*
* This contract is only required for intermediate, library-like contracts.
*/
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
return msg.data;
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @dev String operations.
*/
library Strings {
bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";
/**
* @dev Converts a `uint256` to its ASCII `string` decimal representation.
*/
function toString(uint256 value) internal pure returns (string memory) {
// Inspired by OraclizeAPI's implementation - MIT licence
// https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol
if (value == 0) {
return "0";
}
uint256 temp = value;
uint256 digits;
while (temp != 0) {
digits++;
temp /= 10;
}
bytes memory buffer = new bytes(digits);
while (value != 0) {
digits -= 1;
buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
value /= 10;
}
return string(buffer);
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
*/
function toHexString(uint256 value) internal pure returns (string memory) {
if (value == 0) {
return "0x00";
}
uint256 temp = value;
uint256 length = 0;
while (temp != 0) {
length++;
temp >>= 8;
}
return toHexString(value, length);
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
*/
function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
bytes memory buffer = new bytes(2 * length + 2);
buffer[0] = "0";
buffer[1] = "x";
for (uint256 i = 2 * length + 1; i > 1; --i) {
buffer[i] = _HEX_SYMBOLS[value & 0xf];
value >>= 4;
}
require(value == 0, "Strings: hex length insufficient");
return string(buffer);
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "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);
* }
* ```
*
* Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
*/
abstract contract ERC165 is IERC165 {
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
return interfaceId == type(IERC165).interfaceId;
}
}// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @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
pragma solidity ^0.8.0;
interface AggregatorV3Interface {
function decimals()
external
view
returns (
uint8
);
function description()
external
view
returns (
string memory
);
function version()
external
view
returns (
uint256
);
// getRoundData and latestRoundData should both raise "No data present"
// if they do not have data to report, instead of returning unset values
// which could be misinterpreted as actual reported values.
function getRoundData(
uint80 _roundId
)
external
view
returns (
uint80 roundId,
int256 answer,
uint256 startedAt,
uint256 updatedAt,
uint80 answeredInRound
);
function latestRoundData()
external
view
returns (
uint80 roundId,
int256 answer,
uint256 startedAt,
uint256 updatedAt,
uint80 answeredInRound
);
}{
"evmVersion": "istanbul",
"optimizer": {
"enabled": true,
"runs": 200
},
"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":"owner","type":"address"},{"internalType":"address","name":"manager","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"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":"ROLE_MANAGER","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ROLE_OWNER","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"defaultGasPrice","outputs":[{"internalType":"int256","name":"","type":"int256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"gasPriceFeed","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getLatestGasPrice","outputs":[{"internalType":"int256","name":"","type":"int256"}],"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":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","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":"address","name":"_gasPriceFeed","type":"address"}],"name":"setChainLinkGasPriceFeed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"int256","name":"_gasPrice","type":"int256"}],"name":"setDefaultGasPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]Contract Creation Code
60806040523480156200001157600080fd5b5060405162000d3e38038062000d3e8339810160408190526200003491620001ec565b6200004f60008051602062000d1e83398151915280620000b7565b6200007960008051602062000cfe83398151915260008051602062000d1e833981519152620000b7565b6200009460008051602062000d1e833981519152836200010c565b620000af60008051602062000cfe833981519152826200010c565b505062000223565b6000620000c4836200011c565b600084815260208190526040808220600101859055519192508391839186917fbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff9190a4505050565b62000118828262000134565b5050565b6000818152602081905260409020600101545b919050565b6000828152602081815260408083206001600160a01b038516845290915290205460ff1662000118576000828152602081815260408083206001600160a01b03851684529091529020805460ff19166001179055620001903390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b80516001600160a01b03811681146200012f57600080fd5b60008060408385031215620001ff578182fd5b6200020a83620001d4565b91506200021a60208401620001d4565b90509250929050565b610acb80620002336000396000f3fe608060405234801561001057600080fd5b50600436106100ea5760003560e01c80638e20229c1161008c578063c912a8ee11610066578063c912a8ee146101f8578063d547741f1461020b578063e7b4294c1461021e578063f5b944eb14610227576100ea565b80638e20229c146101ca57806391d14854146101dd578063a217fddf146101f0576100ea565b80632f2ff15d116100c85780632f2ff15d1461017357806336568abe14610188578063565f93371461019b5780638ad682af146101a3576100ea565b806301ffc9a7146100ef5780631e6a948f14610117578063248a9ca314610142575b600080fd5b6101026100fd3660046108e2565b61024e565b60405190151581526020015b60405180910390f35b60015461012a906001600160a01b031681565b6040516001600160a01b03909116815260200161010e565b61016561015036600461089f565b60009081526020819052604090206001015490565b60405190815260200161010e565b6101866101813660046108b7565b610287565b005b6101866101963660046108b7565b6102b3565b610165610336565b6101657f9f4e1c871d5fdd0aee1cd182666698a4492b24c6832aac230d07b11046af5a8981565b6101866101d836600461089f565b6103bc565b6101026101eb3660046108b7565b6103ed565b610165600081565b610186610206366004610885565b610416565b6101866102193660046108b7565b610464565b61016560025481565b6101657ff206625bad3d9112d5609b8d356e6fbd514cd1f69980d4ce2b3e6e68e1789ace81565b60006001600160e01b03198216637965db0b60e01b148061027f57506301ffc9a760e01b6001600160e01b03198316145b90505b919050565b6000828152602081905260409020600101546102a481335b61048a565b6102ae83836104ee565b505050565b6001600160a01b03811633146103285760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b6103328282610572565b5050565b6001546000906001600160a01b031615610359576103526105d7565b90506103b9565b600061036460025490565b9050600081136103b65760405162461bcd60e51b815260206004820152601d60248201527f4552525f44454641554c545f4741535f50524943455f4e4f545f534554000000604482015260640161031f565b90505b90565b7ff206625bad3d9112d5609b8d356e6fbd514cd1f69980d4ce2b3e6e68e1789ace6103e7813361029f565b50600255565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b7ff206625bad3d9112d5609b8d356e6fbd514cd1f69980d4ce2b3e6e68e1789ace610441813361029f565b50600180546001600160a01b0319166001600160a01b0392909216919091179055565b600082815260208190526040902060010154610480813361029f565b6102ae8383610572565b61049482826103ed565b610332576104ac816001600160a01b0316601461066b565b6104b783602061066b565b6040516020016104c8929190610959565b60408051601f198184030181529082905262461bcd60e51b825261031f916004016109ce565b6104f882826103ed565b610332576000828152602081815260408083206001600160a01b03851684529091529020805460ff1916600117905561052e3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b61057c82826103ed565b15610332576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b600080600160009054906101000a90046001600160a01b03166001600160a01b031663feaf968c6040518163ffffffff1660e01b815260040160a06040518083038186803b15801561062857600080fd5b505afa15801561063c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610660919061090a565b509194505050505090565b6060600061067a836002610a19565b610685906002610a01565b67ffffffffffffffff8111156106ab57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156106d5576020820181803683370190505b509050600360fc1b816000815181106106fe57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061073b57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350600061075f846002610a19565b61076a906001610a01565b90505b60018111156107fe576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106107ac57634e487b7160e01b600052603260045260246000fd5b1a60f81b8282815181106107d057634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535060049490941c936107f781610a68565b905061076d565b50831561084d5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604482015260640161031f565b9392505050565b80356001600160a01b038116811461028257600080fd5b805169ffffffffffffffffffff8116811461028257600080fd5b600060208284031215610896578081fd5b61084d82610854565b6000602082840312156108b0578081fd5b5035919050565b600080604083850312156108c9578081fd5b823591506108d960208401610854565b90509250929050565b6000602082840312156108f3578081fd5b81356001600160e01b03198116811461084d578182fd5b600080600080600060a08688031215610921578081fd5b61092a8661086b565b945060208601519350604086015192506060860151915061094d6080870161086b565b90509295509295909350565b60007f416363657373436f6e74726f6c3a206163636f756e742000000000000000000082528351610991816017850160208801610a38565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516109c2816028840160208801610a38565b01602801949350505050565b60006020825282518060208401526109ed816040850160208701610a38565b601f01601f19169190910160400192915050565b60008219821115610a1457610a14610a7f565b500190565b6000816000190483118215151615610a3357610a33610a7f565b500290565b60005b83811015610a53578181015183820152602001610a3b565b83811115610a62576000848401525b50505050565b600081610a7757610a77610a7f565b506000190190565b634e487b7160e01b600052601160045260246000fdfea2646970667358221220d59e2914cd02a8ee82b5bf32364db0b7b050b7bf70160647b3a2f7432c39ceb064736f6c63430008020033f206625bad3d9112d5609b8d356e6fbd514cd1f69980d4ce2b3e6e68e1789ace9f4e1c871d5fdd0aee1cd182666698a4492b24c6832aac230d07b11046af5a890000000000000000000000000132613b3a1061816f4661ad301612910e3cce0b0000000000000000000000000132613b3a1061816f4661ad301612910e3cce0b
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100ea5760003560e01c80638e20229c1161008c578063c912a8ee11610066578063c912a8ee146101f8578063d547741f1461020b578063e7b4294c1461021e578063f5b944eb14610227576100ea565b80638e20229c146101ca57806391d14854146101dd578063a217fddf146101f0576100ea565b80632f2ff15d116100c85780632f2ff15d1461017357806336568abe14610188578063565f93371461019b5780638ad682af146101a3576100ea565b806301ffc9a7146100ef5780631e6a948f14610117578063248a9ca314610142575b600080fd5b6101026100fd3660046108e2565b61024e565b60405190151581526020015b60405180910390f35b60015461012a906001600160a01b031681565b6040516001600160a01b03909116815260200161010e565b61016561015036600461089f565b60009081526020819052604090206001015490565b60405190815260200161010e565b6101866101813660046108b7565b610287565b005b6101866101963660046108b7565b6102b3565b610165610336565b6101657f9f4e1c871d5fdd0aee1cd182666698a4492b24c6832aac230d07b11046af5a8981565b6101866101d836600461089f565b6103bc565b6101026101eb3660046108b7565b6103ed565b610165600081565b610186610206366004610885565b610416565b6101866102193660046108b7565b610464565b61016560025481565b6101657ff206625bad3d9112d5609b8d356e6fbd514cd1f69980d4ce2b3e6e68e1789ace81565b60006001600160e01b03198216637965db0b60e01b148061027f57506301ffc9a760e01b6001600160e01b03198316145b90505b919050565b6000828152602081905260409020600101546102a481335b61048a565b6102ae83836104ee565b505050565b6001600160a01b03811633146103285760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b6103328282610572565b5050565b6001546000906001600160a01b031615610359576103526105d7565b90506103b9565b600061036460025490565b9050600081136103b65760405162461bcd60e51b815260206004820152601d60248201527f4552525f44454641554c545f4741535f50524943455f4e4f545f534554000000604482015260640161031f565b90505b90565b7ff206625bad3d9112d5609b8d356e6fbd514cd1f69980d4ce2b3e6e68e1789ace6103e7813361029f565b50600255565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b7ff206625bad3d9112d5609b8d356e6fbd514cd1f69980d4ce2b3e6e68e1789ace610441813361029f565b50600180546001600160a01b0319166001600160a01b0392909216919091179055565b600082815260208190526040902060010154610480813361029f565b6102ae8383610572565b61049482826103ed565b610332576104ac816001600160a01b0316601461066b565b6104b783602061066b565b6040516020016104c8929190610959565b60408051601f198184030181529082905262461bcd60e51b825261031f916004016109ce565b6104f882826103ed565b610332576000828152602081815260408083206001600160a01b03851684529091529020805460ff1916600117905561052e3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b61057c82826103ed565b15610332576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b600080600160009054906101000a90046001600160a01b03166001600160a01b031663feaf968c6040518163ffffffff1660e01b815260040160a06040518083038186803b15801561062857600080fd5b505afa15801561063c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610660919061090a565b509194505050505090565b6060600061067a836002610a19565b610685906002610a01565b67ffffffffffffffff8111156106ab57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156106d5576020820181803683370190505b509050600360fc1b816000815181106106fe57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061073b57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350600061075f846002610a19565b61076a906001610a01565b90505b60018111156107fe576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106107ac57634e487b7160e01b600052603260045260246000fd5b1a60f81b8282815181106107d057634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535060049490941c936107f781610a68565b905061076d565b50831561084d5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604482015260640161031f565b9392505050565b80356001600160a01b038116811461028257600080fd5b805169ffffffffffffffffffff8116811461028257600080fd5b600060208284031215610896578081fd5b61084d82610854565b6000602082840312156108b0578081fd5b5035919050565b600080604083850312156108c9578081fd5b823591506108d960208401610854565b90509250929050565b6000602082840312156108f3578081fd5b81356001600160e01b03198116811461084d578182fd5b600080600080600060a08688031215610921578081fd5b61092a8661086b565b945060208601519350604086015192506060860151915061094d6080870161086b565b90509295509295909350565b60007f416363657373436f6e74726f6c3a206163636f756e742000000000000000000082528351610991816017850160208801610a38565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516109c2816028840160208801610a38565b01602801949350505050565b60006020825282518060208401526109ed816040850160208701610a38565b601f01601f19169190910160400192915050565b60008219821115610a1457610a14610a7f565b500190565b6000816000190483118215151615610a3357610a33610a7f565b500290565b60005b83811015610a53578181015183820152602001610a3b565b83811115610a62576000848401525b50505050565b600081610a7757610a77610a7f565b506000190190565b634e487b7160e01b600052601160045260246000fdfea2646970667358221220d59e2914cd02a8ee82b5bf32364db0b7b050b7bf70160647b3a2f7432c39ceb064736f6c63430008020033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000132613b3a1061816f4661ad301612910e3cce0b0000000000000000000000000132613b3a1061816f4661ad301612910e3cce0b
-----Decoded View---------------
Arg [0] : owner (address): 0x0132613b3A1061816F4661Ad301612910E3Cce0B
Arg [1] : manager (address): 0x0132613b3A1061816F4661Ad301612910E3Cce0B
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000000132613b3a1061816f4661ad301612910e3cce0b
Arg [1] : 0000000000000000000000000132613b3a1061816f4661ad301612910e3cce0b
Loading...
Loading
Loading...
Loading
Net Worth in USD
$11.58
Net Worth in ETH
0.005857
Token Allocations
ETH
100.00%
Multichain Portfolio | 34 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|---|---|---|---|---|
| BASE | 100.00% | $1,976.76 | 0.0058581 | $11.58 |
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.