Source Code
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Cross-Chain Transactions
Loading...
Loading
Contract Name:
VNXManager
Compiler Version
v0.8.20+commit.a1b79de6
Contract Source Code (Solidity Standard Json-Input format)
/** * VNXC RBAC Manger Smart Contract * Author: Eugene Rupakov <[email protected]> * Updated: 17.07.2025 * (c) Copyright by VNX S.A, Luxembourg. **/ // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./irbac.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; /** @title VNXManager @author Eugene Rupakov <[email protected]> @notice Implements runtime configurable Role Based Access Control, Contract Management. */ contract VNXManager is IRBAC, Ownable { /** * @dev Throws if called by any account other than the admin */ modifier onlyAdmin() { require(isAdmin(), "RBAC: caller is not the admin"); _; } /** * @dev Returns true if the caller is the admin role */ function isAdmin() public view returns (bool) { return hasRole(msg.sender, 0); } function transferContractOwnership(address targetContract, address newOwner) onlyAdmin external returns(bool) { require(targetContract != address(0), "Target contract cannot be zero address"); require(newOwner != address(0), "newOwner cannot be zero address"); Ownable c = Ownable(targetContract); require(c.owner()!=newOwner, "New owner should differ from current"); c.transferOwnership(newOwner); return true; } /** * @notice A role which will be used to group users. * @dev The role id is its position in the roles array. * @param description A description for the role. * @param admin The only role that can add or remove bearers from * this role. To have the role bearers to be also the role admins * you should pass roles.length as the admin role. * @param bearers Addresses belonging to this role. * @param bearersCount total count of addresses belonging to this role. */ struct Role { string description; uint256 admin; mapping (address => bool) bearers; uint256 bearersCount; } /** * @notice All roles ever created. */ Role[] public roles; /** * @notice The contract constructor, empty as of now. */ constructor() { addRootRole("Superadmin"); } /** * @notice Create a new role that has itself as an admin. * msg.sender is added as a bearer. * @param roleDescription The description of the role created. * @return The role id. */ function addRootRole(string memory roleDescription) onlyOwner public override returns(uint256) { uint256 role = addRole(roleDescription, roles.length); roles[role].bearers[msg.sender] = true; roles[role].bearersCount++; emit BearerAdded(msg.sender, role); return role; } /** * @notice Create a new role. * @param roleDescription The description of the role created. * @param admin The role that is allowed to add and remove * bearers from the role being created. * @return The role id. */ function addRole(string memory roleDescription, uint256 admin) onlyOwner public override returns(uint256) { require(admin <= roles.length, "Admin role doesn't exist."); Role storage r = roles.push(); r.description = roleDescription; r.admin = admin; uint256 role = roles.length - 1; emit RoleCreated(role); return role; } /** * @notice Retrieve the number of roles in the contract. */ function totalRoles() external override view returns(uint256) { return roles.length; } /** * @notice Verify whether an account is a bearer of a role * @param account The account to verify. * @param role The role to look into. * @return Whether the account is a bearer of the role. */ function hasRole(address account, uint256 role) public override view returns(bool) { return role < roles.length && roles[role].bearers[account]; } /** * @notice A method to add a bearer to a role * @param account The account to add as a bearer. * @param role The role to add the bearer to. */ function addBearer(address account, uint256 role) external override { require( role < roles.length, "Role doesn't exist." ); require( hasRole(msg.sender, roles[role].admin), "User can't add bearers." ); require( !hasRole(account, role), "Account is bearer of role." ); roles[role].bearers[account] = true; roles[role].bearersCount++; emit BearerAdded(account, role); } /** * @notice A method to remove a bearer from a role * @param account The account to remove as a bearer. * @param role The role to remove the bearer from. */ function removeBearer(address account, uint256 role) external override { require( role < roles.length, "Role doesn't exist." ); require( hasRole(msg.sender, roles[role].admin), "User can't remove bearers." ); require( hasRole(account, role), "Account is not bearer of role." ); if ( role == roles[role].admin && roles[role].bearersCount == 1) { revert("Cannot remove last role admin"); } delete roles[role].bearers[account]; roles[role].bearersCount--; emit BearerRemoved(account, role); } }
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol)
pragma solidity ^0.8.0;
import "../utils/Context.sol";
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the one that deploys the contract. This
* can later be changed with {transferOwnership}.
*
* This module is used through inheritance. It will make available the modifier
* `onlyOwner`, which can be applied to your functions to restrict their use to
* the owner.
*/
abstract contract Ownable is Context {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the deployer as the initial owner.
*/
constructor() {
_transferOwnership(_msgSender());
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
_checkOwner();
_;
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view virtual returns (address) {
return _owner;
}
/**
* @dev Throws if the sender is not the owner.
*/
function _checkOwner() internal view virtual {
require(owner() == _msgSender(), "Ownable: caller is not the owner");
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* `onlyOwner` functions. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby disabling any functionality that is only available to the owner.
*/
function renounceOwnership() public virtual onlyOwner {
_transferOwnership(address(0));
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Can only be called by the current owner.
*/
function transferOwnership(address newOwner) public virtual onlyOwner {
require(newOwner != address(0), "Ownable: new owner is the zero address");
_transferOwnership(newOwner);
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Internal function without access restriction.
*/
function _transferOwnership(address newOwner) internal virtual {
address oldOwner = _owner;
_owner = newOwner;
emit OwnershipTransferred(oldOwner, newOwner);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.4) (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;
}
function _contextSuffixLength() internal view virtual returns (uint256) {
return 0;
}
}/**
* VNX Role Base Access Control Smart Contract
* Updated: 17.07.2025
* (c) Copyright by VNX S.A, Luxembourg.
**/
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
interface IRBAC {
event RoleCreated(uint256 role);
event BearerAdded(address indexed account, uint256 role);
event BearerRemoved(address indexed account, uint256 role);
function addRootRole(string calldata roleDescription) external returns(uint256);
function removeBearer(address account, uint256 role) external;
function addRole(string calldata roleDescription, uint256 admin) external returns(uint256);
function totalRoles() external view returns(uint256);
function hasRole(address account, uint256 role) external view returns(bool);
function addBearer(address account, uint256 role) external;
}{
"remappings": [],
"optimizer": {
"enabled": true,
"runs": 200
},
"evmVersion": "paris",
"viaIR": true,
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"abi"
]
}
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"role","type":"uint256"}],"name":"BearerAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"role","type":"uint256"}],"name":"BearerRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"role","type":"uint256"}],"name":"RoleCreated","type":"event"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"role","type":"uint256"}],"name":"addBearer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"roleDescription","type":"string"},{"internalType":"uint256","name":"admin","type":"uint256"}],"name":"addRole","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"roleDescription","type":"string"}],"name":"addRootRole","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"role","type":"uint256"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isAdmin","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"role","type":"uint256"}],"name":"removeBearer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"roles","outputs":[{"internalType":"string","name":"description","type":"string"},{"internalType":"uint256","name":"admin","type":"uint256"},{"internalType":"uint256","name":"bearersCount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalRoles","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"targetContract","type":"address"},{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferContractOwnership","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
6080346200031d5760008054336001600160a01b0319821681178355919291906001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08480a36040906001600160401b038183018181118382101762000309578352600a82526020906929bab832b930b236b4b760b11b828401526200008b62000358565b6001928354916200009b62000358565b68010000000000000000831015620002f5578483018555620000bd8362000322565b50918051918211620002e15782548681811c91168015620002d6575b86821014620002c2579081601f88959493116200026e575b508590601f8311600114620002075789919083620001fb575b5050600019600383901b1c191690831b1781555b015581546000198082019390918411620001e7577f5ae7bf8c4c39be741ec8e27386e1453106504ca4b4351e28065a5ca97415d430838651868152a16002620001678562000322565b50338852018352848620805460ff1916821790556003620001888562000322565b5001918254908114620001d3577fd81f2841f8b3997e1937995d307db36db75c385165bbad7916db26732d8ccb179495965001905583519283523392a251610e709081620003b28239f35b634e487b7160e01b87526011600452602487fd5b634e487b7160e01b86526011600452602486fd5b0151905038806200010a565b838a52868a209190601f1984168b5b898282106200025757505090848795949392106200023d575b505050811b0181556200011e565b015160001960f88460031b161c191690553880806200022f565b8385015186558b9890950194938401930162000216565b9091928094508952858920601f840160051c810191878510620002b7575b90601f8996959493920160051c01905b818110620002ab5750620000f1565b8a81558895016200029c565b90915081906200028c565b634e487b7160e01b89526022600452602489fd5b90607f1690620000d9565b634e487b7160e01b88526041600452602488fd5b634e487b7160e01b87526041600452602487fd5b634e487b7160e01b85526041600452602485fd5b600080fd5b6001548110156200034257600160005260206000209060021b0190600090565b634e487b7160e01b600052603260045260246000fd5b6000546001600160a01b031633036200036d57565b606460405162461bcd60e51b815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fdfe6040608081526004908136101561001557600080fd5b600090813560e01c806359f5a164146107995780635c97f4a214610771578063715018a614610717578063790e118c146106f957806380fce6a5146105b55780638da5cb5b1461058e578063a02be77114610544578063b6db75a01461051f578063bfda4a49146103f4578063e65cd6e31461021e578063f2fde38b1461015b5763f6169705146100a557600080fd5b3461015757602036600319011261015757823567ffffffffffffffff8111610153576100eb6100da6020958493369101610a47565b6100e2610b28565b60015490610bef565b9260026100f785610a9e565b5033835201855220805460ff19166001179055600361011583610a9e565b50016101218154610bca565b905580518281527fd81f2841f8b3997e1937995d307db36db75c385165bbad7916db26732d8ccb17843392a251908152f35b8280fd5b5080fd5b508234610153576020366003190112610153576101766109f4565b9061017f610b28565b6001600160a01b039182169283156101cc57505082546001600160a01b0319811683178455167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08380a380f35b906020608492519162461bcd60e51b8352820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152fd5b5082346101535781600319360112610153576102386109f4565b916024359161024a6001548410610df8565b610261600161025885610a9e565b50015433610dbe565b156103b2576102708385610dbe565b1561037057600161028084610a9e565b500154831480610359575b61031757600261029a84610a9e565b506001600160a01b039095168087529401602052818520805460ff1916905560036102c484610a9e565b50019081549081156103045750600019019055519081527f18dd68c3b9a992261fefcaa58c659f0a628d54692027be4c0662c2365fbb819a90602090a280f35b634e487b7160e01b875260119052602486fd5b6020606492519162461bcd60e51b8352820152601d60248201527f43616e6e6f742072656d6f7665206c61737420726f6c652061646d696e0000006044820152fd5b506001600361036785610a9e565b5001541461028b565b6020606492519162461bcd60e51b8352820152601e60248201527f4163636f756e74206973206e6f7420626561726572206f6620726f6c652e00006044820152fd5b6020606492519162461bcd60e51b8352820152601a60248201527f557365722063616e27742072656d6f766520626561726572732e0000000000006044820152fd5b508234610153576020908160031936011261051b57359160019283548110156105175761042090610a9e565b508151938486835461043181610aee565b908184528785821691826000146104f95750506001146104b8575b506003929161046091989594980387610a0f565b86015495015490805195869460608652865194856060880152805b8681106104a1575060808098508688010152850152830152601f80199101168101030190f35b8089018301518a820160800152899750820161047b565b9291505082875285858089209389945b8186106104e05750929391925090820101600361044c565b80548a87018401529190940193889250879184016104c8565b60ff19168186015291151560051b840190910191506003905061044c565b8480fd5b8380fd5b503461015757816003193601126101575760209061053b610b80565b90519015158152f35b50903461058b578160031936011261058b5782359067ffffffffffffffff821161058b575061057b60209361058492369101610a47565b60243590610bef565b9051908152f35b80fd5b5034610157578160031936011261015757905490516001600160a01b039091168152602090f35b5082346101535781600319360112610153576105cf6109f4565b91602435916105e16001548410610df8565b6105ef600161025885610a9e565b156106b7576105fe8385610dbe565b61067557508160209160026106337fd81f2841f8b3997e1937995d307db36db75c385165bbad7916db26732d8ccb1795610a9e565b506001600160a01b0390961680885295018352808620805460ff19166001179055600361065f83610a9e565b500161066b8154610bca565b905551908152a280f35b6020606492519162461bcd60e51b8352820152601a60248201527f4163636f756e7420697320626561726572206f6620726f6c652e0000000000006044820152fd5b6020606492519162461bcd60e51b8352820152601760248201527f557365722063616e27742061646420626561726572732e0000000000000000006044820152fd5b50346101575781600319360112610157576020906001549051908152f35b823461058b578060031936011261058b57610730610b28565b80546001600160a01b03198116825581906001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380f35b503461015757806003193601126101575760209061053b6107906109f4565b60243590610dbe565b50903461058b578160031936011261058b576107b36109f4565b6001600160a01b039360249182358681169190829003610517576107d5610b80565b156109b257861690811561096157801561091f578551638da5cb5b60e01b81526020979088818681875afa908115610915579083929188916108d5575b50161461088857813b15610517578492918484928851978893849263f2fde38b60e01b8452878401525af1801561087e57610851575b85855160018152f35b67ffffffffffffffff841161086e57505050815238808080610848565b634e487b7160e01b825260419052fd5b85513d84823e3d90fd5b608483858989519262461bcd60e51b8452830152808201527f4e6577206f776e65722073686f756c64206469666665722066726f6d206375726044820152631c995b9d60e21b6064820152fd5b809293508a8092503d831161090e575b6108ef8183610a0f565b8101031261090a5751818116810361090a5790829138610812565b8680fd5b503d6108e5565b88513d89823e3d90fd5b855162461bcd60e51b8152602081850152601f818601527f6e65774f776e65722063616e6e6f74206265207a65726f2061646472657373006044820152606490fd5b855162461bcd60e51b81526020818501526026818601527f54617267657420636f6e74726163742063616e6e6f74206265207a65726f206160448201526564647265737360d01b6064820152608490fd5b855162461bcd60e51b8152602081850152601d818601527f524241433a2063616c6c6572206973206e6f74207468652061646d696e0000006044820152606490fd5b600435906001600160a01b0382168203610a0a57565b600080fd5b90601f8019910116810190811067ffffffffffffffff821117610a3157604052565b634e487b7160e01b600052604160045260246000fd5b81601f82011215610a0a5780359067ffffffffffffffff8211610a315760405192610a7c601f8401601f191660200185610a0f565b82845260208383010111610a0a57816000926020809301838601378301015290565b600154811015610ad857600160005260021b7fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf60190600090565b634e487b7160e01b600052603260045260246000fd5b90600182811c92168015610b1e575b6020831014610b0857565b634e487b7160e01b600052602260045260246000fd5b91607f1691610afd565b6000546001600160a01b03163303610b3c57565b606460405162461bcd60e51b815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fd5b6001541580159081610b90575090565b9050610ad857336000527fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf860205260ff6040600020541690565b6000198114610bd95760010190565b634e487b7160e01b600052601160045260246000fd5b90610bf8610b28565b6001918254808311610d795768010000000000000000811015610a31578084610c2392018555610a9e565b50815167ffffffffffffffff8111610a31578492610c418354610aee565b601f8111610d24575b50602090601f8311600114610cbe576000919083610cb3575b5050600019600383901b1c191690831b1781555b0155546000198101908111610bd9577f5ae7bf8c4c39be741ec8e27386e1453106504ca4b4351e28065a5ca97415d4306020604051838152a190565b015190503880610c63565b90601f1983169184600052816000209260005b818110610d0c57509084879594939210610cf3575b505050811b018155610c77565b015160001960f88460031b161c19169055388080610ce6565b82840151855589979094019360209384019301610cd1565b9091929350600084815260208120601f850160051c81019260208610610d6f575b90601f899796959493920160051c01915b828110610d64575050610c4a565b818155889601610d56565b9092508290610d45565b60405162461bcd60e51b815260206004820152601960248201527f41646d696e20726f6c6520646f65736e27742065786973742e000000000000006044820152606490fd5b60015482109182610dce57505090565b60029250610ddb90610a9e565b509060018060a01b03166000520160205260ff6040600020541690565b15610dff57565b60405162461bcd60e51b81526020600482015260136024820152722937b632903237b2b9b713ba1032bc34b9ba1760691b6044820152606490fdfea2646970667358221220f411ab8f6282ce7be5d8d7bccba138a831baa0c80bf1e5c48453faaf1208022464736f6c63430008140033
Deployed Bytecode
0x6040608081526004908136101561001557600080fd5b600090813560e01c806359f5a164146107995780635c97f4a214610771578063715018a614610717578063790e118c146106f957806380fce6a5146105b55780638da5cb5b1461058e578063a02be77114610544578063b6db75a01461051f578063bfda4a49146103f4578063e65cd6e31461021e578063f2fde38b1461015b5763f6169705146100a557600080fd5b3461015757602036600319011261015757823567ffffffffffffffff8111610153576100eb6100da6020958493369101610a47565b6100e2610b28565b60015490610bef565b9260026100f785610a9e565b5033835201855220805460ff19166001179055600361011583610a9e565b50016101218154610bca565b905580518281527fd81f2841f8b3997e1937995d307db36db75c385165bbad7916db26732d8ccb17843392a251908152f35b8280fd5b5080fd5b508234610153576020366003190112610153576101766109f4565b9061017f610b28565b6001600160a01b039182169283156101cc57505082546001600160a01b0319811683178455167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08380a380f35b906020608492519162461bcd60e51b8352820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152fd5b5082346101535781600319360112610153576102386109f4565b916024359161024a6001548410610df8565b610261600161025885610a9e565b50015433610dbe565b156103b2576102708385610dbe565b1561037057600161028084610a9e565b500154831480610359575b61031757600261029a84610a9e565b506001600160a01b039095168087529401602052818520805460ff1916905560036102c484610a9e565b50019081549081156103045750600019019055519081527f18dd68c3b9a992261fefcaa58c659f0a628d54692027be4c0662c2365fbb819a90602090a280f35b634e487b7160e01b875260119052602486fd5b6020606492519162461bcd60e51b8352820152601d60248201527f43616e6e6f742072656d6f7665206c61737420726f6c652061646d696e0000006044820152fd5b506001600361036785610a9e565b5001541461028b565b6020606492519162461bcd60e51b8352820152601e60248201527f4163636f756e74206973206e6f7420626561726572206f6620726f6c652e00006044820152fd5b6020606492519162461bcd60e51b8352820152601a60248201527f557365722063616e27742072656d6f766520626561726572732e0000000000006044820152fd5b508234610153576020908160031936011261051b57359160019283548110156105175761042090610a9e565b508151938486835461043181610aee565b908184528785821691826000146104f95750506001146104b8575b506003929161046091989594980387610a0f565b86015495015490805195869460608652865194856060880152805b8681106104a1575060808098508688010152850152830152601f80199101168101030190f35b8089018301518a820160800152899750820161047b565b9291505082875285858089209389945b8186106104e05750929391925090820101600361044c565b80548a87018401529190940193889250879184016104c8565b60ff19168186015291151560051b840190910191506003905061044c565b8480fd5b8380fd5b503461015757816003193601126101575760209061053b610b80565b90519015158152f35b50903461058b578160031936011261058b5782359067ffffffffffffffff821161058b575061057b60209361058492369101610a47565b60243590610bef565b9051908152f35b80fd5b5034610157578160031936011261015757905490516001600160a01b039091168152602090f35b5082346101535781600319360112610153576105cf6109f4565b91602435916105e16001548410610df8565b6105ef600161025885610a9e565b156106b7576105fe8385610dbe565b61067557508160209160026106337fd81f2841f8b3997e1937995d307db36db75c385165bbad7916db26732d8ccb1795610a9e565b506001600160a01b0390961680885295018352808620805460ff19166001179055600361065f83610a9e565b500161066b8154610bca565b905551908152a280f35b6020606492519162461bcd60e51b8352820152601a60248201527f4163636f756e7420697320626561726572206f6620726f6c652e0000000000006044820152fd5b6020606492519162461bcd60e51b8352820152601760248201527f557365722063616e27742061646420626561726572732e0000000000000000006044820152fd5b50346101575781600319360112610157576020906001549051908152f35b823461058b578060031936011261058b57610730610b28565b80546001600160a01b03198116825581906001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a380f35b503461015757806003193601126101575760209061053b6107906109f4565b60243590610dbe565b50903461058b578160031936011261058b576107b36109f4565b6001600160a01b039360249182358681169190829003610517576107d5610b80565b156109b257861690811561096157801561091f578551638da5cb5b60e01b81526020979088818681875afa908115610915579083929188916108d5575b50161461088857813b15610517578492918484928851978893849263f2fde38b60e01b8452878401525af1801561087e57610851575b85855160018152f35b67ffffffffffffffff841161086e57505050815238808080610848565b634e487b7160e01b825260419052fd5b85513d84823e3d90fd5b608483858989519262461bcd60e51b8452830152808201527f4e6577206f776e65722073686f756c64206469666665722066726f6d206375726044820152631c995b9d60e21b6064820152fd5b809293508a8092503d831161090e575b6108ef8183610a0f565b8101031261090a5751818116810361090a5790829138610812565b8680fd5b503d6108e5565b88513d89823e3d90fd5b855162461bcd60e51b8152602081850152601f818601527f6e65774f776e65722063616e6e6f74206265207a65726f2061646472657373006044820152606490fd5b855162461bcd60e51b81526020818501526026818601527f54617267657420636f6e74726163742063616e6e6f74206265207a65726f206160448201526564647265737360d01b6064820152608490fd5b855162461bcd60e51b8152602081850152601d818601527f524241433a2063616c6c6572206973206e6f74207468652061646d696e0000006044820152606490fd5b600435906001600160a01b0382168203610a0a57565b600080fd5b90601f8019910116810190811067ffffffffffffffff821117610a3157604052565b634e487b7160e01b600052604160045260246000fd5b81601f82011215610a0a5780359067ffffffffffffffff8211610a315760405192610a7c601f8401601f191660200185610a0f565b82845260208383010111610a0a57816000926020809301838601378301015290565b600154811015610ad857600160005260021b7fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf60190600090565b634e487b7160e01b600052603260045260246000fd5b90600182811c92168015610b1e575b6020831014610b0857565b634e487b7160e01b600052602260045260246000fd5b91607f1691610afd565b6000546001600160a01b03163303610b3c57565b606460405162461bcd60e51b815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fd5b6001541580159081610b90575090565b9050610ad857336000527fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf860205260ff6040600020541690565b6000198114610bd95760010190565b634e487b7160e01b600052601160045260246000fd5b90610bf8610b28565b6001918254808311610d795768010000000000000000811015610a31578084610c2392018555610a9e565b50815167ffffffffffffffff8111610a31578492610c418354610aee565b601f8111610d24575b50602090601f8311600114610cbe576000919083610cb3575b5050600019600383901b1c191690831b1781555b0155546000198101908111610bd9577f5ae7bf8c4c39be741ec8e27386e1453106504ca4b4351e28065a5ca97415d4306020604051838152a190565b015190503880610c63565b90601f1983169184600052816000209260005b818110610d0c57509084879594939210610cf3575b505050811b018155610c77565b015160001960f88460031b161c19169055388080610ce6565b82840151855589979094019360209384019301610cd1565b9091929350600084815260208120601f850160051c81019260208610610d6f575b90601f899796959493920160051c01915b828110610d64575050610c4a565b818155889601610d56565b9092508290610d45565b60405162461bcd60e51b815260206004820152601960248201527f41646d696e20726f6c6520646f65736e27742065786973742e000000000000006044820152606490fd5b60015482109182610dce57505090565b60029250610ddb90610a9e565b509060018060a01b03166000520160205260ff6040600020541690565b15610dff57565b60405162461bcd60e51b81526020600482015260136024820152722937b632903237b2b9b713ba1032bc34b9ba1760691b6044820152606490fdfea2646970667358221220f411ab8f6282ce7be5d8d7bccba138a831baa0c80bf1e5c48453faaf1208022464736f6c63430008140033
Deployed Bytecode Sourcemap
463:4674:3:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;463:4674:3;;;;;;;;;;;2945:7;463:4674;;;;;;;;;:::i;:::-;1063:62:0;;:::i;:::-;2447:5:3;463:4674;2945:7;;:::i;:::-;2466:11;:19;:11;;;:::i;:::-;-1:-1:-1;2486:10:3;463:4674;;2466:19;463:4674;;;;;-1:-1:-1;;463:4674:3;2447:5;463:4674;;;;2510:11;;;:::i;:::-;:24;;:26;463:4674;;2510:26;:::i;:::-;463:4674;;;;;;;2547:29;2486:10;;2547:29;;463:4674;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;463:4674:3;;;;;;:::i;:::-;1063:62:0;;;:::i;:::-;-1:-1:-1;;;;;463:4674:3;;;;2162:22:0;;463:4674:3;;-1:-1:-1;;463:4674:3;;-1:-1:-1;;;;;;463:4674:3;;;;;;;2566:40:0;463:4674:3;;2566:40:0;463:4674:3;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;463:4674:3;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;4634:69;463:4674;;4649:19;;4634:69;:::i;:::-;4724:38;463:4674;4744:11;;;:::i;:::-;:17;;463:4674;4732:10;4724:38;:::i;:::-;463:4674;;;4825:22;;;;:::i;:::-;463:4674;;;;4912:11;;;:::i;:::-;:17;;463:4674;4904:25;;:58;;;463:4674;4899:119;;5031:19;:11;;;:::i;:::-;-1:-1:-1;;;;;;463:4674:3;;;;;;5031:19;;463:4674;;;;;;;-1:-1:-1;;463:4674:3;;;;5065:11;;;:::i;:::-;:24;;463:4674;;;;;;;;-1:-1:-1;;;463:4674:3;;;;;;;5102:28;;463:4674;;5102:28;463:4674;;;-1:-1:-1;;;463:4674:3;;;;;;;;4899:119;463:4674;;;;;;;;4972:39;;;;463:4674;;;;;;;;;;;4972:39;4904:58;4933:11;463:4674;;4933:11;;;:::i;:::-;:24;;463:4674;4933:29;4904:58;;463:4674;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1950:19;;;;;;;;:::i;:::-;463:4674;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1950:19;;463:4674;1950:19;;463:4674;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;463:4674:3;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;463:4674:3;;;;-1:-1:-1;463:4674:3;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;463:4674:3;;;;;;;-1:-1:-1;;463:4674:3;;;;;;;;;;;;;;;;-1:-1:-1;463:4674:3;;-1:-1:-1;463:4674:3;;1950:19;;;;463:4674;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2945:7;463:4674;;;;;:::i;:::-;;;2945:7;;:::i;:::-;463:4674;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;463:4674:3;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;4007:69;463:4674;;4022:19;;4007:69;:::i;:::-;4097:38;463:4674;4117:11;;;:::i;4097:38::-;463:4674;;;4196:22;;;;:::i;:::-;463:4674;;4266:11;;463:4674;4266:11;:19;:11;4344:26;4266:11;;:::i;:::-;-1:-1:-1;;;;;;463:4674:3;;;;;;4266:19;;463:4674;;;;;;;-1:-1:-1;;463:4674:3;;;;;;4307:11;;;:::i;:::-;:24;;:26;463:4674;;4307:26;:::i;:::-;463:4674;;;;;;4344:26;463:4674;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3364:5;463:4674;;;;;;;;;;;;;;;;;;;;1063:62:0;;:::i;:::-;463:4674:3;;-1:-1:-1;;;;;;463:4674:3;;;;;;-1:-1:-1;;;;;463:4674:3;2566:40:0;463:4674:3;;2566:40:0;463:4674:3;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;:::i;:::-;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;463:4674:3;;;;;;;;;;;;;;;615:9;;:::i;:::-;463:4674;;;;;957:28;;;463:4674;;1042:22;;463:4674;;;;-1:-1:-1;;;1156:9:3;;463:4674;;;;;1156:9;463:4674;1156:9;;;;;;;;;;;;;;;;463:4674;;;1156:19;463:4674;;1222:29;;;;;463:4674;;;;;;;;;;;;;;;;1222:29;;;;;463:4674;1222:29;;;;;;;;463:4674;;;;;;;;1222:29;463:4674;;;;;;;;;;1222:29;;;;;;463:4674;-1:-1:-1;;;463:4674:3;;;;;;1222:29;463:4674;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;463:4674:3;;;;;1156:9;;;;;;;;;;;;;;;;;;;:::i;:::-;;;463:4674;;;;;;;;;;;;1156:9;;;;;;463:4674;;;;1156:9;;;;;;463:4674;;;;;;;;;;;;-1:-1:-1;;;463:4674:3;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;463:4674:3;;;;;;;;;;;;;;;;;-1:-1:-1;;;463:4674:3;;;;;;;;;;-1:-1:-1;;;463:4674:3;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;463:4674:3;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;463:4674:3;;;;;:::i;:::-;;;;;;;;;;;;;-1:-1:-1;463:4674:3;;;;;;;;;;;;;;:::o;:::-;4029:5;463:4674;;;;;;4029:5;-1:-1:-1;463:4674:3;;;;;;-1:-1:-1;463:4674:3;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;1359:130:0;1273:6;463:4674:3;-1:-1:-1;;;;;463:4674:3;734:10:1;1422:23:0;463:4674:3;;1359:130:0:o;463:4674:3:-;;;;;;;;;;;;;;;;;;;;;;;;;741:86;3715:5;463:4674;3708:19;;;:51;;;;793:29;741:86;:::o;3708:51::-;463:4674;;;;808:10;-1:-1:-1;463:4674:3;3731:19;463:4674;;;;-1:-1:-1;463:4674:3;;;741:86;:::o;463:4674::-;-1:-1:-1;;463:4674:3;;;;;;;:::o;:::-;;;;;;;;;;;;1063:62:0;;;;:::i;:::-;2979:5:3;463:4674;;;2970:21;;;463:4674;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;:::i;:::-;;;;;;1063:62:0;463:4674:3;;;;;;;;;;;;;;;;;-1:-1:-1;;;;463:4674:3;;;;;;;;;;;;;;3099:7;463:4674;;-1:-1:-1;;463:4674:3;;;;;;;3162:17;463:4674;;;;;;3162:17;1063:62:0;:::o;463:4674:3:-;;;;-1:-1:-1;463:4674:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;463:4674:3;;;;;;;-1:-1:-1;;;463:4674:3;;;;;;;;;;;;;;;;;;;;3598:166;3715:5;463:4674;3708:19;;:51;;;;3701:58;;3598:166;:::o;3708:51::-;3731:19;:11;;;;;:::i;:::-;463:4674;;;;;;;;-1:-1:-1;463:4674:3;3731:19;463:4674;;;;-1:-1:-1;463:4674:3;;;3598:166;:::o;463:4674::-;;;;:::o;:::-;;;-1:-1:-1;;;463:4674:3;;;;;;;;;;;;-1:-1:-1;;;463:4674:3;;;;;;
Swarm Source
ipfs://f411ab8f6282ce7be5d8d7bccba138a831baa0c80bf1e5c48453faaf12080224
Loading...
Loading
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in FRAX
0
Multichain Portfolio | 35 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ 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.