Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 13 from a total of 13 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Remove Real Esta... | 15788512 | 812 days ago | IN | 0 ETH | 0.00055242 | ||||
Remove Real Esta... | 15787977 | 812 days ago | IN | 0 ETH | 0.0005917 | ||||
Add Real Estate | 15787905 | 812 days ago | IN | 0 ETH | 0.00055674 | ||||
Add Real Estate | 15787904 | 812 days ago | IN | 0 ETH | 0.00052701 | ||||
Add Real Estate | 15787902 | 812 days ago | IN | 0 ETH | 0.00060951 | ||||
Add Real Estate | 15787901 | 812 days ago | IN | 0 ETH | 0.00060226 | ||||
Add Real Estate | 15787896 | 812 days ago | IN | 0 ETH | 0.0005886 | ||||
Add Real Estate | 15787894 | 812 days ago | IN | 0 ETH | 0.0006197 | ||||
Add Real Estate | 15787893 | 812 days ago | IN | 0 ETH | 0.00062655 | ||||
Add Real Estate | 15787867 | 812 days ago | IN | 0 ETH | 0.00069454 | ||||
Add Real Estate | 15787650 | 812 days ago | IN | 0 ETH | 0.00071457 | ||||
Add Real Estate | 15781812 | 813 days ago | IN | 0 ETH | 0.00038247 | ||||
Grant Role | 15781807 | 813 days ago | IN | 0 ETH | 0.0007236 |
Loading...
Loading
Contract Name:
BustadAssetOracleSimulator
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
Yes with 2000 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; import "@openzeppelin/contracts/access/AccessControl.sol"; contract BustadAssetOracleSimulator is AccessControl { bytes32 public constant MAINTAINER_ROLE = keccak256("MAINTAINER_ROLE"); event AddedRealEstate( string cadastralNumber, string note, uint256 estimatedValue, uint256 purchaseDate, uint256 share ); event RemovedRealEstate( string cadastralNumber, string note, uint256 estimatedValue, uint256 sellDate, uint256 share ); constructor() { _setupRole(DEFAULT_ADMIN_ROLE, msg.sender); } function addRealEstate( string calldata cadastralNumber, string calldata note, uint256 estimatedValue, uint256 purchaseDate, uint256 share ) external onlyRole(MAINTAINER_ROLE) { emit AddedRealEstate( cadastralNumber, note, estimatedValue, purchaseDate, share ); } function removeRealEstate( string calldata cadastralNumber, string calldata note, uint256 estimatedValue, uint256 sellDate, uint256 share ) external onlyRole(MAINTAINER_ROLE) { emit RemovedRealEstate( cadastralNumber, note, estimatedValue, sellDate, share ); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (access/AccessControl.sol) pragma solidity ^0.8.0; import "./IAccessControl.sol"; import "../utils/Context.sol"; import "../utils/Strings.sol"; import "../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: * * ``` * 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 virtual 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 virtual { 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 virtual 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 revoked `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}. * ==== * * NOTE: This function is deprecated in favor of {_grantRole}. */ 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); } /** * @dev Grants `role` to `account`. * * Internal function without access restriction. */ function _grantRole(bytes32 role, address account) internal virtual { if (!hasRole(role, account)) { _roles[role].members[account] = true; emit RoleGranted(role, account, _msgSender()); } } /** * @dev Revokes `role` from `account`. * * Internal function without access restriction. */ function _revokeRole(bytes32 role, address account) internal virtual { if (hasRole(role, account)) { _roles[role].members[account] = false; emit RoleRevoked(role, account, _msgSender()); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol) 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 // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) 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 // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) 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 // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) 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); }
{ "optimizer": { "enabled": true, "runs": 2000 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "metadata": { "useLiteralContent": true }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"cadastralNumber","type":"string"},{"indexed":false,"internalType":"string","name":"note","type":"string"},{"indexed":false,"internalType":"uint256","name":"estimatedValue","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"purchaseDate","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"share","type":"uint256"}],"name":"AddedRealEstate","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"cadastralNumber","type":"string"},{"indexed":false,"internalType":"string","name":"note","type":"string"},{"indexed":false,"internalType":"uint256","name":"estimatedValue","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"sellDate","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"share","type":"uint256"}],"name":"RemovedRealEstate","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":"MAINTAINER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"cadastralNumber","type":"string"},{"internalType":"string","name":"note","type":"string"},{"internalType":"uint256","name":"estimatedValue","type":"uint256"},{"internalType":"uint256","name":"purchaseDate","type":"uint256"},{"internalType":"uint256","name":"share","type":"uint256"}],"name":"addRealEstate","outputs":[],"stateMutability":"nonpayable","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":"string","name":"cadastralNumber","type":"string"},{"internalType":"string","name":"note","type":"string"},{"internalType":"uint256","name":"estimatedValue","type":"uint256"},{"internalType":"uint256","name":"sellDate","type":"uint256"},{"internalType":"uint256","name":"share","type":"uint256"}],"name":"removeRealEstate","outputs":[],"stateMutability":"nonpayable","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":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
608060405234801561001057600080fd5b5061001c600033610021565b6100cd565b61002b828261002f565b5050565b6000828152602081815260408083206001600160a01b038516845290915290205460ff1661002b576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556100893390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b610b8a806100dc6000396000f3fe608060405234801561001057600080fd5b50600436106100be5760003560e01c806391d1485411610076578063bf4b44811161005b578063bf4b448114610196578063d547741f146101a9578063f8742254146101bc57600080fd5b806391d1485414610157578063a217fddf1461018e57600080fd5b80632aee5851116100a75780632aee58511461011c5780632f2ff15d1461013157806336568abe1461014457600080fd5b806301ffc9a7146100c3578063248a9ca3146100eb575b600080fd5b6100d66100d1366004610807565b6101e3565b60405190151581526020015b60405180910390f35b61010e6100f9366004610849565b60009081526020819052604090206001015490565b6040519081526020016100e2565b61012f61012a3660046108ab565b61027c565b005b61012f61013f366004610932565b6102f4565b61012f610152366004610932565b61031f565b6100d6610165366004610932565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b61010e600081565b61012f6101a43660046108ab565b6103b0565b61012f6101b7366004610932565b610416565b61010e7f339759585899103d2ace64958e37e18ccb0504652c81d4a1b8aa80fe2126ab9581565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f7965db0b00000000000000000000000000000000000000000000000000000000148061027657507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b7f339759585899103d2ace64958e37e18ccb0504652c81d4a1b8aa80fe2126ab956102a7813361043c565b7ffdc0d81d90ec96be76328e7e571cee44e900d3d5e40d7529a194107b33b5ac68888888888888886040516102e29796959493929190610999565b60405180910390a15050505050505050565b600082815260208190526040902060010154610310813361043c565b61031a83836104ba565b505050565b6001600160a01b03811633146103a25760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201527f20726f6c657320666f722073656c66000000000000000000000000000000000060648201526084015b60405180910390fd5b6103ac8282610558565b5050565b7f339759585899103d2ace64958e37e18ccb0504652c81d4a1b8aa80fe2126ab956103db813361043c565b7fb90aca8c789f7d2c730321269ace61477df8c415ef2dd35ce722e7ff3b830422888888888888886040516102e29796959493929190610999565b600082815260208190526040902060010154610432813361043c565b61031a8383610558565b6000828152602081815260408083206001600160a01b038516845290915290205460ff166103ac57610478816001600160a01b031660146105d7565b6104838360206105d7565b604051602001610494929190610a10565b60408051601f198184030181529082905262461bcd60e51b825261039991600401610a91565b6000828152602081815260408083206001600160a01b038516845290915290205460ff166103ac576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556105143390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000828152602081815260408083206001600160a01b038516845290915290205460ff16156103ac576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b606060006105e6836002610ada565b6105f1906002610af9565b67ffffffffffffffff81111561060957610609610b11565b6040519080825280601f01601f191660200182016040528015610633576020820181803683370190505b5090507f30000000000000000000000000000000000000000000000000000000000000008160008151811061066a5761066a610b27565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f7800000000000000000000000000000000000000000000000000000000000000816001815181106106cd576106cd610b27565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506000610709846002610ada565b610714906001610af9565b90505b60018111156107b1577f303132333435363738396162636465660000000000000000000000000000000085600f166010811061075557610755610b27565b1a60f81b82828151811061076b5761076b610b27565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060049490941c936107aa81610b3d565b9050610717565b5083156108005760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610399565b9392505050565b60006020828403121561081957600080fd5b81357fffffffff000000000000000000000000000000000000000000000000000000008116811461080057600080fd5b60006020828403121561085b57600080fd5b5035919050565b60008083601f84011261087457600080fd5b50813567ffffffffffffffff81111561088c57600080fd5b6020830191508360208285010111156108a457600080fd5b9250929050565b600080600080600080600060a0888a0312156108c657600080fd5b873567ffffffffffffffff808211156108de57600080fd5b6108ea8b838c01610862565b909950975060208a013591508082111561090357600080fd5b506109108a828b01610862565b989b979a50986040810135976060820135975060809091013595509350505050565b6000806040838503121561094557600080fd5b8235915060208301356001600160a01b038116811461096357600080fd5b809150509250929050565b818352818160208501375060006020828401015260006020601f19601f840116840101905092915050565b60a0815260006109ad60a08301898b61096e565b82810360208401526109c081888a61096e565b604084019690965250506060810192909252608090910152949350505050565b60005b838110156109fb5781810151838201526020016109e3565b83811115610a0a576000848401525b50505050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351610a488160178501602088016109e0565b7f206973206d697373696e6720726f6c65200000000000000000000000000000006017918401918201528351610a858160288401602088016109e0565b01602801949350505050565b6020815260008251806020840152610ab08160408501602087016109e0565b601f01601f19169190910160400192915050565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615610af457610af4610ac4565b500290565b60008219821115610b0c57610b0c610ac4565b500190565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b600081610b4c57610b4c610ac4565b50600019019056fea2646970667358221220156d096d3bb5e891f911f6c6efb5785481c183b05d8e15ac2e09828739009cc164736f6c63430008090033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100be5760003560e01c806391d1485411610076578063bf4b44811161005b578063bf4b448114610196578063d547741f146101a9578063f8742254146101bc57600080fd5b806391d1485414610157578063a217fddf1461018e57600080fd5b80632aee5851116100a75780632aee58511461011c5780632f2ff15d1461013157806336568abe1461014457600080fd5b806301ffc9a7146100c3578063248a9ca3146100eb575b600080fd5b6100d66100d1366004610807565b6101e3565b60405190151581526020015b60405180910390f35b61010e6100f9366004610849565b60009081526020819052604090206001015490565b6040519081526020016100e2565b61012f61012a3660046108ab565b61027c565b005b61012f61013f366004610932565b6102f4565b61012f610152366004610932565b61031f565b6100d6610165366004610932565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b61010e600081565b61012f6101a43660046108ab565b6103b0565b61012f6101b7366004610932565b610416565b61010e7f339759585899103d2ace64958e37e18ccb0504652c81d4a1b8aa80fe2126ab9581565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f7965db0b00000000000000000000000000000000000000000000000000000000148061027657507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b7f339759585899103d2ace64958e37e18ccb0504652c81d4a1b8aa80fe2126ab956102a7813361043c565b7ffdc0d81d90ec96be76328e7e571cee44e900d3d5e40d7529a194107b33b5ac68888888888888886040516102e29796959493929190610999565b60405180910390a15050505050505050565b600082815260208190526040902060010154610310813361043c565b61031a83836104ba565b505050565b6001600160a01b03811633146103a25760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201527f20726f6c657320666f722073656c66000000000000000000000000000000000060648201526084015b60405180910390fd5b6103ac8282610558565b5050565b7f339759585899103d2ace64958e37e18ccb0504652c81d4a1b8aa80fe2126ab956103db813361043c565b7fb90aca8c789f7d2c730321269ace61477df8c415ef2dd35ce722e7ff3b830422888888888888886040516102e29796959493929190610999565b600082815260208190526040902060010154610432813361043c565b61031a8383610558565b6000828152602081815260408083206001600160a01b038516845290915290205460ff166103ac57610478816001600160a01b031660146105d7565b6104838360206105d7565b604051602001610494929190610a10565b60408051601f198184030181529082905262461bcd60e51b825261039991600401610a91565b6000828152602081815260408083206001600160a01b038516845290915290205460ff166103ac576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556105143390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000828152602081815260408083206001600160a01b038516845290915290205460ff16156103ac576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b606060006105e6836002610ada565b6105f1906002610af9565b67ffffffffffffffff81111561060957610609610b11565b6040519080825280601f01601f191660200182016040528015610633576020820181803683370190505b5090507f30000000000000000000000000000000000000000000000000000000000000008160008151811061066a5761066a610b27565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f7800000000000000000000000000000000000000000000000000000000000000816001815181106106cd576106cd610b27565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506000610709846002610ada565b610714906001610af9565b90505b60018111156107b1577f303132333435363738396162636465660000000000000000000000000000000085600f166010811061075557610755610b27565b1a60f81b82828151811061076b5761076b610b27565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060049490941c936107aa81610b3d565b9050610717565b5083156108005760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610399565b9392505050565b60006020828403121561081957600080fd5b81357fffffffff000000000000000000000000000000000000000000000000000000008116811461080057600080fd5b60006020828403121561085b57600080fd5b5035919050565b60008083601f84011261087457600080fd5b50813567ffffffffffffffff81111561088c57600080fd5b6020830191508360208285010111156108a457600080fd5b9250929050565b600080600080600080600060a0888a0312156108c657600080fd5b873567ffffffffffffffff808211156108de57600080fd5b6108ea8b838c01610862565b909950975060208a013591508082111561090357600080fd5b506109108a828b01610862565b989b979a50986040810135976060820135975060809091013595509350505050565b6000806040838503121561094557600080fd5b8235915060208301356001600160a01b038116811461096357600080fd5b809150509250929050565b818352818160208501375060006020828401015260006020601f19601f840116840101905092915050565b60a0815260006109ad60a08301898b61096e565b82810360208401526109c081888a61096e565b604084019690965250506060810192909252608090910152949350505050565b60005b838110156109fb5781810151838201526020016109e3565b83811115610a0a576000848401525b50505050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351610a488160178501602088016109e0565b7f206973206d697373696e6720726f6c65200000000000000000000000000000006017918401918201528351610a858160288401602088016109e0565b01602801949350505050565b6020815260008251806020840152610ab08160408501602087016109e0565b601f01601f19169190910160400192915050565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615610af457610af4610ac4565b500290565b60008219821115610b0c57610b0c610ac4565b500190565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b600081610b4c57610b4c610ac4565b50600019019056fea2646970667358221220156d096d3bb5e891f911f6c6efb5785481c183b05d8e15ac2e09828739009cc164736f6c63430008090033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
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.