More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 43 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Swap | 21883392 | 35 days ago | IN | 0 ETH | 0.00025926 | ||||
Swap | 21883369 | 35 days ago | IN | 0 ETH | 0.00022634 | ||||
Swap | 20660898 | 206 days ago | IN | 0 ETH | 0.00022625 | ||||
Swap | 20231833 | 266 days ago | IN | 0 ETH | 0.00112553 | ||||
Swap | 20094429 | 285 days ago | IN | 0 ETH | 0.00087472 | ||||
Swap | 19802212 | 326 days ago | IN | 0 ETH | 0.00089383 | ||||
Swap | 19778643 | 329 days ago | IN | 0 ETH | 0.00086563 | ||||
Swap | 19757531 | 332 days ago | IN | 0 ETH | 0.00094247 | ||||
Swap | 19705900 | 340 days ago | IN | 0 ETH | 0.00138835 | ||||
Swap | 19691722 | 342 days ago | IN | 0 ETH | 0.00178646 | ||||
Swap | 19691713 | 342 days ago | IN | 0 ETH | 0.00165277 | ||||
Swap | 19677144 | 344 days ago | IN | 0 ETH | 0.00358342 | ||||
Swap | 19670317 | 345 days ago | IN | 0 ETH | 0.00180515 | ||||
Swap | 19669905 | 345 days ago | IN | 0 ETH | 0.00196161 | ||||
Swap | 19627815 | 351 days ago | IN | 0 ETH | 0.00359283 | ||||
Swap | 19622307 | 351 days ago | IN | 0 ETH | 0.00297111 | ||||
Swap | 19599998 | 354 days ago | IN | 0 ETH | 0.00207827 | ||||
Swap | 19598678 | 355 days ago | IN | 0 ETH | 0.0025764 | ||||
Swap | 19598670 | 355 days ago | IN | 0 ETH | 0.00237626 | ||||
Swap | 19555927 | 361 days ago | IN | 0 ETH | 0.00413642 | ||||
Swap | 19545567 | 362 days ago | IN | 0 ETH | 0.00335337 | ||||
Swap | 19505403 | 368 days ago | IN | 0 ETH | 0.00428428 | ||||
Swap | 19503641 | 368 days ago | IN | 0 ETH | 0.00276824 | ||||
Swap | 19502533 | 368 days ago | IN | 0 ETH | 0.0028342 | ||||
Swap | 19502260 | 368 days ago | IN | 0 ETH | 0.00292124 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
SwapRootxToSRootx
Compiler Version
v0.8.20+commit.a1b79de6
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2024-02-20 */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.20; 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; } } interface IERC20 { function transfer(address recipient, uint256 amount) external returns (bool); function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); function balanceOf(address account) external view returns (uint256); function allowance(address owner, address spender) external view returns (uint256); function burn(uint256 amount) external returns (bool); } library SafeMath { function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } library Address { function isContract(address account) internal view returns (bool) { uint256 size; // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(account) } return size > 0; } function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (bool success, ) = recipient.call{ value: amount }(""); require(success, "Address: unable to send value, recipient may have reverted"); } function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { return _functionCallWithValue(target, data, 0, errorMessage); } function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); return _functionCallWithValue(target, data, value, errorMessage); } function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) { require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{ value: weiValue }(data); if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } contract SwapRootxToSRootx is Context { using SafeMath for uint256; using Address for address; IERC20 public rootx; IERC20 public srootx; uint256 public ratio = 5; // 5 srootx / 1 rootx address public admin; constructor(address _rootx, address _srootx) { admin = _msgSender(); rootx = IERC20(_rootx); srootx = IERC20(_srootx); } function RootxPot() public view returns (uint) { return rootx.balanceOf(address(this)); } function SRootxPot() public view returns (uint) { return srootx.balanceOf(address(this)); } function CheckClaimable(uint amount) public view returns (uint) { require(srootx.balanceOf(msg.sender) >= amount, "Insufficient srootx balance"); // Calculate equivalent rootx tokens based on the ratio uint256 rootxAmount = amount.div(ratio); return rootxAmount; } function swap(uint256 amount) public { require(srootx.balanceOf(msg.sender) >= amount, "Insufficient srootx balance"); require(srootx.allowance(msg.sender, address(this)) >= amount, "Allowance too low"); // Calculate equivalent rootx tokens based on the ratio uint256 rootxAmount = amount.div(ratio); // Transfer srootx from sender to this contract require(srootx.transferFrom(msg.sender, admin, amount), "srootx transfer failed"); // Transfer equivalent rootx tokens to sender require(rootx.transfer(msg.sender, rootxAmount), "rootx transfer failed"); } function withdrawRootx(uint256 amount) public onlyAdmin { _withdrawRootx(amount); } function _withdrawRootx(uint256 amount) internal { require(rootx.transfer(admin, amount), "rootx transfer failed"); } function withdrawSRootx(uint256 amount) public onlyAdmin { _withdrawSRootx(amount); } function _withdrawSRootx(uint256 amount) internal { require(srootx.transfer(admin, amount), "srootx transfer failed"); } function changeRootx(address _rootx) public onlyAdmin { rootx = IERC20(_rootx); } function changeSRootx(address _srootx) public onlyAdmin { srootx = IERC20(_srootx); } function changeRatio(uint _ratio) public onlyAdmin { ratio = _ratio; } function changeAdmin(address _admin) public onlyAdmin { admin = _admin; } modifier onlyAdmin() { require(admin == _msgSender(), "Ownable: caller is not the owner"); _; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"_rootx","type":"address"},{"internalType":"address","name":"_srootx","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"CheckClaimable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RootxPot","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SRootxPot","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"admin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_admin","type":"address"}],"name":"changeAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_ratio","type":"uint256"}],"name":"changeRatio","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_rootx","type":"address"}],"name":"changeRootx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_srootx","type":"address"}],"name":"changeSRootx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"ratio","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rootx","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"srootx","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"swap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawRootx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawSRootx","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526005600255348015610014575f80fd5b50604051610bec380380610bec83398101604081905261003391610089565b600380546001600160a01b031990811633179091555f80546001600160a01b03948516908316179055600180549290931691161790556100ba565b80516001600160a01b0381168114610084575f80fd5b919050565b5f806040838503121561009a575f80fd5b6100a38361006e565b91506100b16020840161006e565b90509250929050565b610b25806100c75f395ff3fe608060405234801561000f575f80fd5b50600436106100e5575f3560e01c806394b918de11610088578063e06fe93e11610063578063e06fe93e146101be578063ef204b7e146101d1578063f6a33253146101d9578063f851a440146101ec575f80fd5b806394b918de14610190578063ad205ab5146101a3578063d40eb78d146101ab575f80fd5b806371ca337d116100c357806371ca337d146101405780638b600b57146101575780638eb3674f1461016a5780638f2839701461017d575f80fd5b80631d647c4f146100e957806327759d8e14610118578063328a99131461012b575b5f80fd5b5f546100fb906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b6001546100fb906001600160a01b031681565b61013e6101393660046109dd565b6101ff565b005b61014960025481565b60405190815260200161010f565b61013e6101653660046109dd565b61023e565b61013e6101783660046109f4565b610271565b61013e61018b3660046109f4565b6102bc565b61013e61019e3660046109dd565b610308565b610149610604565b6101496101b93660046109dd565b610674565b61013e6101cc3660046109f4565b61074d565b610149610799565b61013e6101e73660046109dd565b6107c9565b6003546100fb906001600160a01b031681565b6003546001600160a01b031633146102325760405162461bcd60e51b815260040161022990610a1a565b60405180910390fd5b61023b816107f8565b50565b6003546001600160a01b031633146102685760405162461bcd60e51b815260040161022990610a1a565b61023b816108b1565b6003546001600160a01b0316331461029b5760405162461bcd60e51b815260040161022990610a1a565b5f80546001600160a01b0319166001600160a01b0392909216919091179055565b6003546001600160a01b031633146102e65760405162461bcd60e51b815260040161022990610a1a565b600380546001600160a01b0319166001600160a01b0392909216919091179055565b6001546040516370a0823160e01b815233600482015282916001600160a01b0316906370a0823190602401602060405180830381865afa15801561034e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103729190610a4f565b10156103c05760405162461bcd60e51b815260206004820152601b60248201527f496e73756666696369656e742073726f6f74782062616c616e636500000000006044820152606401610229565b600154604051636eb1769f60e11b815233600482015230602482015282916001600160a01b03169063dd62ed3e90604401602060405180830381865afa15801561040c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104309190610a4f565b10156104725760405162461bcd60e51b8152602060048201526011602482015270416c6c6f77616e636520746f6f206c6f7760781b6044820152606401610229565b5f6104886002548361096c90919063ffffffff16565b6001546003546040516323b872dd60e01b81523360048201526001600160a01b0391821660248201526044810186905292935016906323b872dd906064016020604051808303815f875af11580156104e2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105069190610a66565b61054b5760405162461bcd60e51b81526020600482015260166024820152751cdc9bdbdd1e081d1c985b9cd9995c8819985a5b195960521b6044820152606401610229565b5f5460405163a9059cbb60e01b8152336004820152602481018390526001600160a01b039091169063a9059cbb906044016020604051808303815f875af1158015610598573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105bc9190610a66565b6106005760405162461bcd60e51b81526020600482015260156024820152741c9bdbdd1e081d1c985b9cd9995c8819985a5b1959605a1b6044820152606401610229565b5050565b6001546040516370a0823160e01b81523060048201525f916001600160a01b0316906370a08231906024015b602060405180830381865afa15801561064b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061066f9190610a4f565b905090565b6001546040516370a0823160e01b81523360048201525f9183916001600160a01b03909116906370a0823190602401602060405180830381865afa1580156106be573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106e29190610a4f565b10156107305760405162461bcd60e51b815260206004820152601b60248201527f496e73756666696369656e742073726f6f74782062616c616e636500000000006044820152606401610229565b5f6107466002548461096c90919063ffffffff16565b9392505050565b6003546001600160a01b031633146107775760405162461bcd60e51b815260040161022990610a1a565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b5f80546040516370a0823160e01b81523060048201526001600160a01b03909116906370a0823190602401610630565b6003546001600160a01b031633146107f35760405162461bcd60e51b815260040161022990610a1a565b600255565b5f5460035460405163a9059cbb60e01b81526001600160a01b0391821660048201526024810184905291169063a9059cbb906044016020604051808303815f875af1158015610849573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061086d9190610a66565b61023b5760405162461bcd60e51b81526020600482015260156024820152741c9bdbdd1e081d1c985b9cd9995c8819985a5b1959605a1b6044820152606401610229565b60015460035460405163a9059cbb60e01b81526001600160a01b0391821660048201526024810184905291169063a9059cbb906044016020604051808303815f875af1158015610903573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109279190610a66565b61023b5760405162461bcd60e51b81526020600482015260166024820152751cdc9bdbdd1e081d1c985b9cd9995c8819985a5b195960521b6044820152606401610229565b5f61074683836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152505f81836109c85760405162461bcd60e51b81526004016102299190610a85565b505f6109d48486610ad0565b95945050505050565b5f602082840312156109ed575f80fd5b5035919050565b5f60208284031215610a04575f80fd5b81356001600160a01b0381168114610746575f80fd5b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b5f60208284031215610a5f575f80fd5b5051919050565b5f60208284031215610a76575f80fd5b81518015158114610746575f80fd5b5f6020808352835180828501525f5b81811015610ab057858101830151858201604001528201610a94565b505f604082860101526040601f19601f8301168501019250505092915050565b5f82610aea57634e487b7160e01b5f52601260045260245ffd5b50049056fea2646970667358221220f6e1caebd5e3922d4c36b703b8da45d29fd542ca27a7b088bec8e0338c1ffb6664736f6c63430008140033000000000000000000000000d718ad25285d65ef4d79262a6cd3aea6a8e0102300000000000000000000000099cfdf48d0ba4885a73786148a2f89d86c702170
Deployed Bytecode
0x608060405234801561000f575f80fd5b50600436106100e5575f3560e01c806394b918de11610088578063e06fe93e11610063578063e06fe93e146101be578063ef204b7e146101d1578063f6a33253146101d9578063f851a440146101ec575f80fd5b806394b918de14610190578063ad205ab5146101a3578063d40eb78d146101ab575f80fd5b806371ca337d116100c357806371ca337d146101405780638b600b57146101575780638eb3674f1461016a5780638f2839701461017d575f80fd5b80631d647c4f146100e957806327759d8e14610118578063328a99131461012b575b5f80fd5b5f546100fb906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b6001546100fb906001600160a01b031681565b61013e6101393660046109dd565b6101ff565b005b61014960025481565b60405190815260200161010f565b61013e6101653660046109dd565b61023e565b61013e6101783660046109f4565b610271565b61013e61018b3660046109f4565b6102bc565b61013e61019e3660046109dd565b610308565b610149610604565b6101496101b93660046109dd565b610674565b61013e6101cc3660046109f4565b61074d565b610149610799565b61013e6101e73660046109dd565b6107c9565b6003546100fb906001600160a01b031681565b6003546001600160a01b031633146102325760405162461bcd60e51b815260040161022990610a1a565b60405180910390fd5b61023b816107f8565b50565b6003546001600160a01b031633146102685760405162461bcd60e51b815260040161022990610a1a565b61023b816108b1565b6003546001600160a01b0316331461029b5760405162461bcd60e51b815260040161022990610a1a565b5f80546001600160a01b0319166001600160a01b0392909216919091179055565b6003546001600160a01b031633146102e65760405162461bcd60e51b815260040161022990610a1a565b600380546001600160a01b0319166001600160a01b0392909216919091179055565b6001546040516370a0823160e01b815233600482015282916001600160a01b0316906370a0823190602401602060405180830381865afa15801561034e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103729190610a4f565b10156103c05760405162461bcd60e51b815260206004820152601b60248201527f496e73756666696369656e742073726f6f74782062616c616e636500000000006044820152606401610229565b600154604051636eb1769f60e11b815233600482015230602482015282916001600160a01b03169063dd62ed3e90604401602060405180830381865afa15801561040c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104309190610a4f565b10156104725760405162461bcd60e51b8152602060048201526011602482015270416c6c6f77616e636520746f6f206c6f7760781b6044820152606401610229565b5f6104886002548361096c90919063ffffffff16565b6001546003546040516323b872dd60e01b81523360048201526001600160a01b0391821660248201526044810186905292935016906323b872dd906064016020604051808303815f875af11580156104e2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105069190610a66565b61054b5760405162461bcd60e51b81526020600482015260166024820152751cdc9bdbdd1e081d1c985b9cd9995c8819985a5b195960521b6044820152606401610229565b5f5460405163a9059cbb60e01b8152336004820152602481018390526001600160a01b039091169063a9059cbb906044016020604051808303815f875af1158015610598573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105bc9190610a66565b6106005760405162461bcd60e51b81526020600482015260156024820152741c9bdbdd1e081d1c985b9cd9995c8819985a5b1959605a1b6044820152606401610229565b5050565b6001546040516370a0823160e01b81523060048201525f916001600160a01b0316906370a08231906024015b602060405180830381865afa15801561064b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061066f9190610a4f565b905090565b6001546040516370a0823160e01b81523360048201525f9183916001600160a01b03909116906370a0823190602401602060405180830381865afa1580156106be573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106e29190610a4f565b10156107305760405162461bcd60e51b815260206004820152601b60248201527f496e73756666696369656e742073726f6f74782062616c616e636500000000006044820152606401610229565b5f6107466002548461096c90919063ffffffff16565b9392505050565b6003546001600160a01b031633146107775760405162461bcd60e51b815260040161022990610a1a565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b5f80546040516370a0823160e01b81523060048201526001600160a01b03909116906370a0823190602401610630565b6003546001600160a01b031633146107f35760405162461bcd60e51b815260040161022990610a1a565b600255565b5f5460035460405163a9059cbb60e01b81526001600160a01b0391821660048201526024810184905291169063a9059cbb906044016020604051808303815f875af1158015610849573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061086d9190610a66565b61023b5760405162461bcd60e51b81526020600482015260156024820152741c9bdbdd1e081d1c985b9cd9995c8819985a5b1959605a1b6044820152606401610229565b60015460035460405163a9059cbb60e01b81526001600160a01b0391821660048201526024810184905291169063a9059cbb906044016020604051808303815f875af1158015610903573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109279190610a66565b61023b5760405162461bcd60e51b81526020600482015260166024820152751cdc9bdbdd1e081d1c985b9cd9995c8819985a5b195960521b6044820152606401610229565b5f61074683836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152505f81836109c85760405162461bcd60e51b81526004016102299190610a85565b505f6109d48486610ad0565b95945050505050565b5f602082840312156109ed575f80fd5b5035919050565b5f60208284031215610a04575f80fd5b81356001600160a01b0381168114610746575f80fd5b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b5f60208284031215610a5f575f80fd5b5051919050565b5f60208284031215610a76575f80fd5b81518015158114610746575f80fd5b5f6020808352835180828501525f5b81811015610ab057858101830151858201604001528201610a94565b505f604082860101526040601f19601f8301168501019250505092915050565b5f82610aea57634e487b7160e01b5f52601260045260245ffd5b50049056fea2646970667358221220f6e1caebd5e3922d4c36b703b8da45d29fd542ca27a7b088bec8e0338c1ffb6664736f6c63430008140033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000d718ad25285d65ef4d79262a6cd3aea6a8e0102300000000000000000000000099cfdf48d0ba4885a73786148a2f89d86c702170
-----Decoded View---------------
Arg [0] : _rootx (address): 0xd718Ad25285d65eF4D79262a6CD3AEA6A8e01023
Arg [1] : _srootx (address): 0x99CFDf48d0ba4885A73786148A2f89d86c702170
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000d718ad25285d65ef4d79262a6cd3aea6a8e01023
Arg [1] : 00000000000000000000000099cfdf48d0ba4885a73786148a2f89d86c702170
Deployed Bytecode Sourcemap
5007:2433:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5113:19;;;;;-1:-1:-1;;;;;5113:19:0;;;;;;-1:-1:-1;;;;;191:32:1;;;173:51;;161:2;146:18;5113:19:0;;;;;;;;5137:20;;;;;-1:-1:-1;;;;;5137:20:0;;;6499:95;;;;;;:::i;:::-;;:::i;:::-;;5164:24;;;;;;;;;566:25:1;;;554:2;539:18;5164:24:0;420:177:1;6729:97:0;;;;;;:::i;:::-;;:::i;6964:89::-;;;;;;:::i;:::-;;:::i;7242:81::-;;;;;;:::i;:::-;;:::i;5890:603::-;;;;;;:::i;:::-;;:::i;5490:99::-;;;:::i;5595:289::-;;;;;;:::i;:::-;;:::i;7059:93::-;;;;;;:::i;:::-;;:::i;5387:97::-;;;:::i;7158:78::-;;;;;;:::i;:::-;;:::i;5215:20::-;;;;;-1:-1:-1;;;;;5215:20:0;;;6499:95;7365:5;;-1:-1:-1;;;;;7365:5:0;176:10;7365:21;7357:66;;;;-1:-1:-1;;;7357:66:0;;;;;;;:::i;:::-;;;;;;;;;6566:22:::1;6581:6;6566:14;:22::i;:::-;6499:95:::0;:::o;6729:97::-;7365:5;;-1:-1:-1;;;;;7365:5:0;176:10;7365:21;7357:66;;;;-1:-1:-1;;;7357:66:0;;;;;;;:::i;:::-;6797:23:::1;6813:6;6797:15;:23::i;6964:89::-:0;7365:5;;-1:-1:-1;;;;;7365:5:0;176:10;7365:21;7357:66;;;;-1:-1:-1;;;7357:66:0;;;;;;;:::i;:::-;7025:5:::1;:22:::0;;-1:-1:-1;;;;;;7025:22:0::1;-1:-1:-1::0;;;;;7025:22:0;;;::::1;::::0;;;::::1;::::0;;6964:89::o;7242:81::-;7365:5;;-1:-1:-1;;;;;7365:5:0;176:10;7365:21;7357:66;;;;-1:-1:-1;;;7357:66:0;;;;;;;:::i;:::-;7303:5:::1;:14:::0;;-1:-1:-1;;;;;;7303:14:0::1;-1:-1:-1::0;;;;;7303:14:0;;;::::1;::::0;;;::::1;::::0;;7242:81::o;5890:603::-;5942:6;;:28;;-1:-1:-1;;;5942:28:0;;5959:10;5942:28;;;173:51:1;5974:6:0;;-1:-1:-1;;;;;5942:6:0;;:16;;146:18:1;;5942:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:38;;5934:78;;;;-1:-1:-1;;;5934:78:0;;1853:2:1;5934:78:0;;;1835:21:1;1892:2;1872:18;;;1865:30;1931:29;1911:18;;;1904:57;1978:18;;5934:78:0;1651:351:1;5934:78:0;6027:6;;:43;;-1:-1:-1;;;6027:43:0;;6044:10;6027:43;;;2219:34:1;6064:4:0;2269:18:1;;;2262:43;6074:6:0;;-1:-1:-1;;;;;6027:6:0;;:16;;2154:18:1;;6027:43:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:53;;6019:83;;;;-1:-1:-1;;;6019:83:0;;2518:2:1;6019:83:0;;;2500:21:1;2557:2;2537:18;;;2530:30;-1:-1:-1;;;2576:18:1;;;2569:47;2633:18;;6019:83:0;2316:341:1;6019:83:0;6172:19;6194:17;6205:5;;6194:6;:10;;:17;;;;:::i;:::-;6281:6;;6313:5;;6281:46;;-1:-1:-1;;;6281:46:0;;6301:10;6281:46;;;2902:34:1;-1:-1:-1;;;;;6313:5:0;;;2952:18:1;;;2945:43;3004:18;;;2997:34;;;6172:39:0;;-1:-1:-1;6281:6:0;;:19;;2837:18:1;;6281:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;6273:81;;;;-1:-1:-1;;;6273:81:0;;3526:2:1;6273:81:0;;;3508:21:1;3565:2;3545:18;;;3538:30;-1:-1:-1;;;3584:18:1;;;3577:52;3646:18;;6273:81:0;3324:346:1;6273:81:0;6422:5;;:39;;-1:-1:-1;;;6422:39:0;;6437:10;6422:39;;;3849:51:1;3916:18;;;3909:34;;;-1:-1:-1;;;;;6422:5:0;;;;:14;;3822:18:1;;6422:39:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;6414:73;;;;-1:-1:-1;;;6414:73:0;;4156:2:1;6414:73:0;;;4138:21:1;4195:2;4175:18;;;4168:30;-1:-1:-1;;;4214:18:1;;;4207:51;4275:18;;6414:73:0;3954:345:1;6414:73:0;5927:566;5890:603;:::o;5490:99::-;5552:6;;:31;;-1:-1:-1;;;5552:31:0;;5577:4;5552:31;;;173:51:1;5532:4:0;;-1:-1:-1;;;;;5552:6:0;;:16;;146:18:1;;5552:31:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;5545:38;;5490:99;:::o;5595:289::-;5674:6;;:28;;-1:-1:-1;;;5674:28:0;;5691:10;5674:28;;;173:51:1;5653:4:0;;5706:6;;-1:-1:-1;;;;;5674:6:0;;;;:16;;146:18:1;;5674:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:38;;5666:78;;;;-1:-1:-1;;;5666:78:0;;1853:2:1;5666:78:0;;;1835:21:1;1892:2;1872:18;;;1865:30;1931:29;1911:18;;;1904:57;1978:18;;5666:78:0;1651:351:1;5666:78:0;5814:19;5836:17;5847:5;;5836:6;:10;;:17;;;;:::i;:::-;5814:39;5595:289;-1:-1:-1;;;5595:289:0:o;7059:93::-;7365:5;;-1:-1:-1;;;;;7365:5:0;176:10;7365:21;7357:66;;;;-1:-1:-1;;;7357:66:0;;;;;;;:::i;:::-;7122:6:::1;:24:::0;;-1:-1:-1;;;;;;7122:24:0::1;-1:-1:-1::0;;;;;7122:24:0;;;::::1;::::0;;;::::1;::::0;;7059:93::o;5387:97::-;5428:4;5448:5;;:30;;-1:-1:-1;;;5448:30:0;;5472:4;5448:30;;;173:51:1;-1:-1:-1;;;;;5448:5:0;;;;:15;;146:18:1;;5448:30:0;14:216:1;7158:78:0;7365:5;;-1:-1:-1;;;;;7365:5:0;176:10;7365:21;7357:66;;;;-1:-1:-1;;;7357:66:0;;;;;;;:::i;:::-;7216:5:::1;:14:::0;7158:78::o;6598:125::-;6662:5;;6677;;6662:29;;-1:-1:-1;;;6662:29:0;;-1:-1:-1;;;;;6677:5:0;;;6662:29;;;3849:51:1;3916:18;;;3909:34;;;6662:5:0;;;:14;;3822:18:1;;6662:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;6654:63;;;;-1:-1:-1;;;6654:63:0;;4156:2:1;6654:63:0;;;4138:21:1;4195:2;4175:18;;;4168:30;-1:-1:-1;;;4214:18:1;;;4207:51;4275:18;;6654:63:0;3954:345:1;6830:128:0;6895:6;;6911:5;;6895:30;;-1:-1:-1;;;6895:30:0;;-1:-1:-1;;;;;6911:5:0;;;6895:30;;;3849:51:1;3916:18;;;3909:34;;;6895:6:0;;;:15;;3822:18:1;;6895:30:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;6887:65;;;;-1:-1:-1;;;6887:65:0;;3526:2:1;6887:65:0;;;3508:21:1;3565:2;3545:18;;;3538:30;-1:-1:-1;;;3584:18:1;;;3577:52;3646:18;;6887:65:0;3324:346:1;1670:132:0;1728:7;1755:39;1759:1;1762;1755:39;;;;;;;;;;;;;;;;;1896:7;1931:12;1924:5;1916:28;;;;-1:-1:-1;;;1916:28:0;;;;;;;;:::i;:::-;-1:-1:-1;1955:9:0;1967:5;1971:1;1967;:5;:::i;:::-;1955:17;1810:278;-1:-1:-1;;;;;1810:278:0:o;235:180:1:-;294:6;347:2;335:9;326:7;322:23;318:32;315:52;;;363:1;360;353:12;315:52;-1:-1:-1;386:23:1;;235:180;-1:-1:-1;235:180:1:o;602:286::-;661:6;714:2;702:9;693:7;689:23;685:32;682:52;;;730:1;727;720:12;682:52;756:23;;-1:-1:-1;;;;;808:31:1;;798:42;;788:70;;854:1;851;844:12;1101:356;1303:2;1285:21;;;1322:18;;;1315:30;1381:34;1376:2;1361:18;;1354:62;1448:2;1433:18;;1101:356::o;1462:184::-;1532:6;1585:2;1573:9;1564:7;1560:23;1556:32;1553:52;;;1601:1;1598;1591:12;1553:52;-1:-1:-1;1624:16:1;;1462:184;-1:-1:-1;1462:184:1:o;3042:277::-;3109:6;3162:2;3150:9;3141:7;3137:23;3133:32;3130:52;;;3178:1;3175;3168:12;3130:52;3210:9;3204:16;3263:5;3256:13;3249:21;3242:5;3239:32;3229:60;;3285:1;3282;3275:12;4304:548;4416:4;4445:2;4474;4463:9;4456:21;4506:6;4500:13;4549:6;4544:2;4533:9;4529:18;4522:34;4574:1;4584:140;4598:6;4595:1;4592:13;4584:140;;;4693:14;;;4689:23;;4683:30;4659:17;;;4678:2;4655:26;4648:66;4613:10;;4584:140;;;4588:3;4773:1;4768:2;4759:6;4748:9;4744:22;4740:31;4733:42;4843:2;4836;4832:7;4827:2;4819:6;4815:15;4811:29;4800:9;4796:45;4792:54;4784:62;;;;4304:548;;;;:::o;4857:217::-;4897:1;4923;4913:132;;4967:10;4962:3;4958:20;4955:1;4948:31;5002:4;4999:1;4992:15;5030:4;5027:1;5020:15;4913:132;-1:-1:-1;5059:9:1;;4857:217::o
Swarm Source
ipfs://f6e1caebd5e3922d4c36b703b8da45d29fd542ca27a7b088bec8e0338c1ffb66
Loading...
Loading
Loading...
Loading
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.