Overview
S Balance
0 S
S Value
-More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 164 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Advance Epoch | 2248664 | 27 mins ago | IN | 7 wei | 0.00148046 | ||||
Advance Epoch | 2244786 | 1 hr ago | IN | 7 wei | 0.00147763 | ||||
Advance Epoch | 2244420 | 1 hr ago | IN | 7 wei | 0.00147909 | ||||
Advance Epoch | 2240286 | 2 hrs ago | IN | 7 wei | 0.00147887 | ||||
Advance Epoch | 2239878 | 2 hrs ago | IN | 7 wei | 0.00146723 | ||||
Advance Epoch | 2239869 | 2 hrs ago | IN | 7 wei | 0.00146661 | ||||
Advance Epoch | 2238470 | 2 hrs ago | IN | 7 wei | 0.00146985 | ||||
Advance Epoch | 2223023 | 7 hrs ago | IN | 7 wei | 0.00147777 | ||||
Advance Epoch | 2219776 | 8 hrs ago | IN | 7 wei | 0.00147943 | ||||
Advance Epoch | 2219767 | 8 hrs ago | IN | 7 wei | 0.00146634 | ||||
Advance Epoch | 2219756 | 8 hrs ago | IN | 7 wei | 0.00147906 | ||||
Advance Epoch | 2201324 | 13 hrs ago | IN | 7 wei | 0.00147899 | ||||
Advance Epoch | 2196423 | 14 hrs ago | IN | 7 wei | 0.00149628 | ||||
Advance Epoch | 2196412 | 14 hrs ago | IN | 7 wei | 0.00146656 | ||||
Advance Epoch | 2196401 | 14 hrs ago | IN | 7 wei | 0.00148066 | ||||
Advance Epoch | 2175894 | 19 hrs ago | IN | 7 wei | 0.00147883 | ||||
Advance Epoch | 2170571 | 20 hrs ago | IN | 7 wei | 0.00146964 | ||||
Advance Epoch | 2169631 | 20 hrs ago | IN | 7 wei | 0.0014666 | ||||
Advance Epoch | 2169615 | 20 hrs ago | IN | 7 wei | 0.00148033 | ||||
Advance Epoch | 2168082 | 20 hrs ago | IN | 7 wei | 0.00148038 | ||||
Advance Epoch | 2150465 | 24 hrs ago | IN | 7 wei | 0.00148029 | ||||
Advance Epoch | 2146998 | 25 hrs ago | IN | 7 wei | 0.00147774 | ||||
Advance Epoch | 2146993 | 25 hrs ago | IN | 7 wei | 0.00147998 | ||||
Advance Epoch | 2144031 | 26 hrs ago | IN | 7 wei | 0.00146667 | ||||
Advance Epoch | 2144024 | 26 hrs ago | IN | 7 wei | 0.0014665 |
Latest 25 internal transactions (View All)
Parent Transaction Hash | Block | Age | From | To | Amount | |
---|---|---|---|---|---|---|
2248664 | 27 mins ago | 1 wei | ||||
2248664 | 27 mins ago | 1 wei | ||||
2248664 | 27 mins ago | 1 wei | ||||
2248664 | 27 mins ago | 1 wei | ||||
2248664 | 27 mins ago | 1 wei | ||||
2248664 | 27 mins ago | 1 wei | ||||
2248664 | 27 mins ago | 1 wei | ||||
2244786 | 1 hr ago | 1 wei | ||||
2244786 | 1 hr ago | 1 wei | ||||
2244786 | 1 hr ago | 1 wei | ||||
2244786 | 1 hr ago | 1 wei | ||||
2244786 | 1 hr ago | 1 wei | ||||
2244786 | 1 hr ago | 1 wei | ||||
2244786 | 1 hr ago | 1 wei | ||||
2244420 | 1 hr ago | 1 wei | ||||
2244420 | 1 hr ago | 1 wei | ||||
2244420 | 1 hr ago | 1 wei | ||||
2244420 | 1 hr ago | 1 wei | ||||
2244420 | 1 hr ago | 1 wei | ||||
2244420 | 1 hr ago | 1 wei | ||||
2244420 | 1 hr ago | 1 wei | ||||
2240286 | 2 hrs ago | 1 wei | ||||
2240286 | 2 hrs ago | 1 wei | ||||
2240286 | 2 hrs ago | 1 wei | ||||
2240286 | 2 hrs ago | 1 wei |
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
PNLR
Compiler Version
v0.8.24+commit.e11b9ed9
Optimization Enabled:
Yes with 200 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
1234567891011121314151617181920212223242526// SPDX-License-Identifier: BUSL-1.1pragma solidity ^0.8.24;import "../../interfaces/ILexPoolV1.sol";import "../../interfaces/IPoolAccountantV1.sol";import "../../interfaces/IPriceValidatorV1.sol";import "../../Triggers/TriggersPermissionBase.sol";import "../../../AdministrationContracts/ClaimableAdmin.sol";struct PairPrice {uint256 pairId;bytes[] priceData;}/*** @title PNLR* @notice In charge of the epoch advancement of the pool and the calculation of the unrealized price PnL*/contract PNLR is ClaimableAdmin, TriggersPermissionBase {IPriceValidatorV1 public priceValidator;uint256 public maxPriceDelay; // seconds// ***** Errors *****error InvalidPairsAmount(uint256 expectedPairsAmount, uint256 actualParisAmount);error InvalidPairId(uint256 pairId);error OutdatedPrice(uint256 pairId);
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol)pragma solidity ^0.8.20;/*** @dev Interface of the ERC20 standard as defined in the EIP.*/interface IERC20 {/*** @dev Emitted when `value` tokens are moved from one account (`from`) to* another (`to`).** Note that `value` may be zero.*/event Transfer(address indexed from, address indexed to, uint256 value);/*** @dev Emitted when the allowance of a `spender` for an `owner` is set by* a call to {approve}. `value` is the new allowance.*/event Approval(address indexed owner, address indexed spender, uint256 value);/*** @dev Returns the value of tokens in existence.*/
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.0.0) (utils/structs/EnumerableSet.sol)// This file was procedurally generated from scripts/generate/templates/EnumerableSet.js.pragma solidity ^0.8.20;/*** @dev Library for managing* https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive* types.** Sets have the following properties:** - Elements are added, removed, and checked for existence in constant time* (O(1)).* - Elements are enumerated in O(n). No guarantees are made on the ordering.** ```solidity* contract Example {* // Add the library methods* using EnumerableSet for EnumerableSet.AddressSet;** // Declare a set state variable* EnumerableSet.AddressSet private mySet;* }* ```
1234567891011121314151617181920212223242526// SPDX-License-Identifier: BUSL-1.1pragma solidity ^0.8.24;contract ClaimableAdminStorage {/*** @notice Administrator for this contract*/address public admin;/*** @notice Pending administrator for this contract*/address public pendingAdmin;/*** Modifiers ***/modifier onlyAdmin() {require(msg.sender == admin, "ONLY_ADMIN");_;}/*** Constructor ***/constructor() {// Set admin to calleradmin = msg.sender;
1234567891011121314151617181920212223242526// SPDX-License-Identifier: BUSL-1.1pragma solidity ^0.8.24;import "./AcceptableImplementationClaimableAdminStorage.sol";/*** @title Claimable Admin*/contract ClaimableAdmin is ClaimableAdminStorage {/*** @notice Emitted when pendingAdmin is changed*/event NewPendingAdmin(address oldPendingAdmin, address newPendingAdmin);/*** @notice Emitted when pendingAdmin is accepted, which means admin is updated*/event NewAdmin(address oldAdmin, address newAdmin);/*** Admin Functions ***//*** @notice Begins transfer of admin rights. The newPendingAdmin must call `_acceptAdmin` to finalize the transfer.* @dev Admin function to begin change of admin. The newPendingAdmin must call `_acceptAdmin` to finalize the transfer.* @param newPendingAdmin New pending admin.*/
12345678910111213// SPDX-License-Identifier: BUSL-1.1pragma solidity ^0.8.24;interface IFundingRateModel {// return value is the "funding paid by heavier side" in PRECISION per OI (heavier side) per second// e.g : (0.01 * PRECISION) = Paying (heavier) side (as a whole) pays 1% of funding per second for each OI unitfunction getFundingRate(uint256 pairId,uint256 openInterestLong,uint256 openInterestShort,uint256 pairMaxOpenInterest) external view returns (uint256);}
12345678// SPDX-License-Identifier: BUSL-1.1pragma solidity ^0.8.24;interface IInterestRateModel {// Returns asset/second of interest per borrowed unit// e.g : (0.01 * PRECISION) = 1% of interest per secondfunction getBorrowRate(uint256 utilization) external view returns (uint256);}
1234567891011121314151617181920212223242526// SPDX-License-Identifier: BUSL-1.1pragma solidity ^0.8.24;import "./LexErrors.sol";import "./LexPoolAdminEnums.sol";import "./IPoolAccountantV1.sol";import "@openzeppelin/contracts/token/ERC20/IERC20.sol";interface LexPoolStructs {struct PendingDeposit {uint256 amount;uint256 minAmountOut;}struct PendingRedeem {uint256 amount;uint256 minAmountOut;uint256 maxAmountOut;}}interface LexPoolEvents is LexPoolAdminEnums {event NewEpoch(uint256 epochId,int256 reportedUnrealizedPricePnL,uint256 exchangeRate,
1234567891011121314151617181920212223242526// SPDX-License-Identifier: BUSL-1.1pragma solidity ^0.8.24;import "./LexErrors.sol";import "./ILexPoolV1.sol";import "./IInterestRateModel.sol";import "./IFundingRateModel.sol";import "./TradingEnumsV1.sol";interface PoolAccountantStructs {// @note To be used for passing information in function callsstruct PositionRegistrationParams {uint256 collateral;uint32 leverage;bool long;uint64 openPrice;uint64 tp;}struct PairFunding {// Slot 0int256 accPerOiLong; // 32 bytes -- Underlying Decimals// Slot 1int256 accPerOiShort; // 32 bytes -- Underlying Decimals// Slot 2uint256 lastUpdateTimestamp; // 32 bytes
1234567891011121314151617181920212223// SPDX-License-Identifier: BUSL-1.1pragma solidity ^0.8.24;interface IPriceValidatorV1 {// uint constant PRICE_SCALE = 1e8;struct ValidatedPrice {uint256 timestamp;uint64 price; // Scaled to PRICE_SCALEuint64 confidence; // Scaled to PRICE_SCALE}function isPriceValidator() external view returns (bool);function getUpdateFee(bytes[] calldata updateData) external view returns (uint256 feeAmount);function validatePrice(uint256 pairIndex,bytes[] calldata updateData) external payable returns (ValidatedPrice memory validatedPrice);}
1234567891011121314151617181920212223242526// SPDX-License-Identifier: BUSL-1.1pragma solidity ^0.8.24;interface LexErrors {enum CapType {NONE, // 0MIN_OPEN_FEE, // 1MAX_POS_SIZE_PAIR, // 2MAX_POS_SIZE_GROUP, // 3MAX_LEVERAGE, // 4MIN_LEVERAGE, // 5MAX_VIRTUAL_UTILIZATION, // 6MAX_OPEN_INTEREST, // 7MAX_ABS_SKEW, // 8MAX_BORROW_PAIR, // 9MAX_BORROW_GROUP, // 10MIN_DEPOSIT_AMOUNT, // 11MAX_ACCUMULATED_GAINS, // 12BORROW_RATE_MAX, // 13FUNDING_RATE_MAX, // 14MAX_POTENTIAL_GAIN, // 15MAX_TOTAL_BORROW, // 16MIN_PERFORMANCE_FEE // 17//...}error CapError(CapType, uint256 value);
12345678910111213141516171819// SPDX-License-Identifier: UNLICENSEDpragma solidity ^0.8.24;interface LexPoolAdminEnums {enum LexPoolAddressesEnum {none,poolAccountant,pnlRole}enum LexPoolNumbersEnum {none,maxExtraWithdrawalAmountF,epochsDelayDeposit,epochsDelayRedeem,epochDuration,minDepositAmount}}
1234567891011121314151617181920212223242526// SPDX-License-Identifier: BUSL-1.1pragma solidity ^0.8.24;interface TradingEnumsV1 {enum PositionPhase {NONE,OPEN_MARKET,OPEN_LIMIT,OPENED,CLOSE_MARKET,CLOSED}enum OpenOrderType {NONE,MARKET,LIMIT}enum CloseOrderType {NONE,MARKET}enum FeeType {NONE,OPEN_FEE,CLOSE_FEE,
1234567891011121314151617181920212223242526// SPDX-License-Identifier: BUSL-1.1pragma solidity ^0.8.24;import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol";/*** @title TriggersPermissionBase* @dev Allows for a basic whitelisting mechanism*/contract TriggersPermissionBase {using EnumerableSet for EnumerableSet.AddressSet;// ***** Storage *****EnumerableSet.AddressSet private triggerPermissionSet;// ***** Modifiers *****modifier onlyAllowedTriggerAccount() {require(isAllowedToTrigger(msg.sender), "NOT_ALLOWED_TO_TRIGGER");_;}// ***** Events *****event TriggerAccountAllowed(address indexed account);
1234567891011121314151617181920212223{"optimizer": {"enabled": true,"runs": 200},"outputSelection": {"*": {"*": ["evm.bytecode","evm.deployedBytecode","devdoc","userdoc","metadata","abi"]}},"evmVersion": "paris","metadata": {"useLiteralContent": true},"libraries": {}}
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"contract IPriceValidatorV1","name":"_priceValidator","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"uint256","name":"pairId","type":"uint256"}],"name":"InvalidPairId","type":"error"},{"inputs":[{"internalType":"uint256","name":"expectedPairsAmount","type":"uint256"},{"internalType":"uint256","name":"actualParisAmount","type":"uint256"}],"name":"InvalidPairsAmount","type":"error"},{"inputs":[{"internalType":"uint256","name":"pairId","type":"uint256"}],"name":"OutdatedPrice","type":"error"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oldAdmin","type":"address"},{"indexed":false,"internalType":"address","name":"newAdmin","type":"address"}],"name":"NewAdmin","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oldPendingAdmin","type":"address"},{"indexed":false,"internalType":"address","name":"newPendingAdmin","type":"address"}],"name":"NewPendingAdmin","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"TriggerAccountAllowed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"TriggerAccountDisallowed","type":"event"},{"inputs":[],"name":"_acceptAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newPendingAdmin","type":"address"}],"name":"_setPendingAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"admin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract ILexPoolV1","name":"pool","type":"address"},{"components":[{"internalType":"uint256","name":"pairId","type":"uint256"},{"internalType":"bytes[]","name":"priceData","type":"bytes[]"}],"internalType":"struct PairPrice[]","name":"pairPrices","type":"tuple[]"}],"name":"advanceEpoch","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"allowEpochAdvancingAccount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IPoolAccountantFunctionality","name":"poolAccountant","type":"address"},{"components":[{"internalType":"uint256","name":"pairId","type":"uint256"},{"internalType":"bytes[]","name":"priceData","type":"bytes[]"}],"internalType":"struct PairPrice[]","name":"pairPrices","type":"tuple[]"}],"name":"calculateUnrealizedPricePnl","outputs":[{"internalType":"int256","name":"","type":"int256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"disallowEpochAdvancingAccount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getAllTriggerPermissionedAccounts","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isAllowedToTrigger","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPriceDelay","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IPoolAccountantFunctionality","name":"poolAccountant","type":"address"},{"components":[{"internalType":"uint256","name":"pairId","type":"uint256"},{"internalType":"bytes[]","name":"priceData","type":"bytes[]"}],"internalType":"struct PairPrice[]","name":"pairPrices","type":"tuple[]"}],"name":"pairsTradersPricePnl","outputs":[{"internalType":"int256","name":"pricePnl","type":"int256"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"pendingAdmin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"priceValidator","outputs":[{"internalType":"contract IPriceValidatorV1","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxPriceDelay","type":"uint256"}],"name":"setMaxPriceDelay","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405234801561001057600080fd5b5060405161143b38038061143b83398101604081905261002f91610062565b60008054336001600160a01b031991821617909155600480549091166001600160a01b0392909216919091179055610092565b60006020828403121561007457600080fd5b81516001600160a01b038116811461008b57600080fd5b9392505050565b61139a806100a16000396000f3fe6080604052600436106100dd5760003560e01c80639057aa9f1161007f578063b71d1a0c11610059578063b71d1a0c14610230578063b81d164514610250578063e9c714f214610270578063f851a4401461028557600080fd5b80639057aa9f146101e7578063a1d627a1146101fd578063b0cf579a1461021d57600080fd5b80634a048590116100bb5780634a048590146101705780637a803da01461018557806386c7f19a146101a55780638ee2f9d1146101c757600080fd5b806324a0c541146100e2578063267822471461010857806333511e5e14610140575b600080fd5b6100f56100f0366004610dd3565b6102a5565b6040519081526020015b60405180910390f35b34801561011457600080fd5b50600154610128906001600160a01b031681565b6040516001600160a01b0390911681526020016100ff565b34801561014c57600080fd5b5061016061015b366004610e28565b61067f565b60405190151581526020016100ff565b61018361017e366004610dd3565b610692565b005b34801561019157600080fd5b506101836101a0366004610e45565b6107c2565b3480156101b157600080fd5b506101ba6107f1565b6040516100ff9190610e5e565b3480156101d357600080fd5b506101836101e2366004610e28565b610802565b3480156101f357600080fd5b506100f560055481565b34801561020957600080fd5b50600454610128906001600160a01b031681565b6100f561022b366004610dd3565b610838565b34801561023c57600080fd5b5061018361024b366004610e28565b610858565b34801561025c57600080fd5b5061018361026b366004610e28565b610900565b34801561027c57600080fd5b50610183610933565b34801561029157600080fd5b50600054610128906001600160a01b031681565b600080600554116102fd5760405162461bcd60e51b815260206004820152601760248201527f4d41585f50524943455f44454c41595f4e4f545f53455400000000000000000060448201526064015b60405180910390fd5b6000846001600160a01b0316630fc2b8f56040518163ffffffff1660e01b8152600401600060405180830381865afa15801561033d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526103659190810190610f3f565b8051909150831461039657805160405163dfe3619d60e01b81526004810191909152602481018490526044016102f4565b60005b838110156106765760008585838181106103b5576103b5610fe6565b90506020028101906103c79190610ffc565b6103d09061101c565b90506000805b845181101561045d578787858181106103f1576103f1610fe6565b90506020028101906104039190610ffc565b6000013585828151811061041957610419610fe6565b602002602001015161ffff1603610455576001915084818151811061044057610440610fe6565b60200260200101600061ffff1681525061045d565b6001016103d6565b50806104a35786868481811061047557610475610fe6565b90506020028101906104879190610ffc565b6040516364e3cda960e01b8152903560048201526024016102f4565b60048054602084015160405163d47eed4560e01b81526000936001600160a01b039093169263d47eed45926104da929091016111be565b602060405180830381865afa1580156104f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061051b91906111d1565b600480548551602087015160405163f4a6a09360e01b81529495506000946001600160a01b039093169363f4a6a09393879361055b9390929091016111ea565b60606040518083038185885af1158015610579573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061059e9190611228565b60055481519192506105af916112a3565b4211156105d5578351604051637d962bc160e11b815260048101919091526024016102f4565b8351602082015160405163659ef44160e01b81526001600160a01b038d169263659ef441926106199260040191825267ffffffffffffffff16602082015260400190565b602060405180830381865afa158015610636573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061065a91906111d1565b61066490886112b6565b96505060019093019250610399915050565b50509392505050565b600061068c600283610a51565b92915050565b61069b3361067f565b6106e05760405162461bcd60e51b81526020600482015260166024820152752727aa2fa0a62627aba2a22faa27afaa2924a3a3a2a960511b60448201526064016102f4565b826001600160a01b0316636142895361075b856001600160a01b031663c12d636b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610730573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061075491906112de565b8585610838565b6040518263ffffffff1660e01b815260040161077991815260200190565b6020604051808303816000875af1158015610798573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107bc91906111d1565b50505050565b6000546001600160a01b031633146107ec5760405162461bcd60e51b81526004016102f4906112fb565b600555565b60606107fd6002610a76565b905090565b6000546001600160a01b0316331461082c5760405162461bcd60e51b81526004016102f4906112fb565b61083581610a83565b50565b6000806108468585856102a5565b61084f9061131f565b95945050505050565b6000546001600160a01b0316331461089e5760405162461bcd60e51b81526020600482015260096024820152682737ba1020b236b4b760b91b60448201526064016102f4565b600180546001600160a01b038381166001600160a01b031983168117909355604080519190921680825260208201939093527fca4f2f25d0898edd99413412fb94012f9e54ec8142f9b093e7720646a95b16a991015b60405180910390a15050565b6000546001600160a01b0316331461092a5760405162461bcd60e51b81526004016102f4906112fb565b61083581610b11565b6001546001600160a01b03163314801561095757506001546001600160a01b031615155b6109a35760405162461bcd60e51b815260206004820152601e60248201527f4e6f7420746865204558495354494e472070656e64696e672061646d696e000060448201526064016102f4565b60008054600180546001600160a01b038082166001600160a01b031980861682179096559490911690915560408051919092168082526020820184905292917ff9ffabca9c8276e99321725bcb43fb076a6c66a54b7f21c4e8146d8519b417dc910160405180910390a1600154604080516001600160a01b03808516825290921660208301527fca4f2f25d0898edd99413412fb94012f9e54ec8142f9b093e7720646a95b16a991016108f4565b6001600160a01b038116600090815260018301602052604081205415155b9392505050565b60606000610a6f83610baa565b610a8c8161067f565b610ace5760405162461bcd60e51b81526020600482015260136024820152721050d0d3d5539517d393d517d0531313d5d151606a1b60448201526064016102f4565b610ad9600282610c06565b506040516001600160a01b038216907fc985d67a353004ba149a223b2b9e5c13cca6610b11cb45b4aa029c880d8f7cb590600090a250565b610b1a8161067f565b15610b675760405162461bcd60e51b815260206004820152601760248201527f4143434f554e545f414c52454144595f414c4c4f57454400000000000000000060448201526064016102f4565b610b72600282610c1b565b506040516001600160a01b038216907fc5944eab072face4b169928723314c5978080e99ed8f8527faedb18c06664c3590600090a250565b606081600001805480602002602001604051908101604052809291908181526020018280548015610bfa57602002820191906000526020600020905b815481526020019060010190808311610be6575b50505050509050919050565b6000610a6f836001600160a01b038416610c30565b6000610a6f836001600160a01b038416610d23565b60008181526001830160205260408120548015610d19576000610c5460018361133b565b8554909150600090610c689060019061133b565b9050808214610ccd576000866000018281548110610c8857610c88610fe6565b9060005260206000200154905080876000018481548110610cab57610cab610fe6565b6000918252602080832090910192909255918252600188019052604090208390555b8554869080610cde57610cde61134e565b60019003818190600052602060002001600090559055856001016000868152602001908152602001600020600090556001935050505061068c565b600091505061068c565b6000818152600183016020526040812054610d6a5750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915561068c565b50600061068c565b6001600160a01b038116811461083557600080fd5b60008083601f840112610d9957600080fd5b50813567ffffffffffffffff811115610db157600080fd5b6020830191508360208260051b8501011115610dcc57600080fd5b9250929050565b600080600060408486031215610de857600080fd5b8335610df381610d72565b9250602084013567ffffffffffffffff811115610e0f57600080fd5b610e1b86828701610d87565b9497909650939450505050565b600060208284031215610e3a57600080fd5b8135610a6f81610d72565b600060208284031215610e5757600080fd5b5035919050565b6020808252825182820181905260009190848201906040850190845b81811015610e9f5783516001600160a01b031683529284019291840191600101610e7a565b50909695505050505050565b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff81118282101715610ee457610ee4610eab565b60405290565b604051601f8201601f1916810167ffffffffffffffff81118282101715610f1357610f13610eab565b604052919050565b600067ffffffffffffffff821115610f3557610f35610eab565b5060051b60200190565b60006020808385031215610f5257600080fd5b825167ffffffffffffffff811115610f6957600080fd5b8301601f81018513610f7a57600080fd5b8051610f8d610f8882610f1b565b610eea565b81815260059190911b82018301908381019087831115610fac57600080fd5b928401925b82841015610fdb57835161ffff81168114610fcc5760008081fd5b82529284019290840190610fb1565b979650505050505050565b634e487b7160e01b600052603260045260246000fd5b60008235603e1983360301811261101257600080fd5b9190910192915050565b6000604080833603121561102f57600080fd5b611037610ec1565b8335815260208085013567ffffffffffffffff8082111561105757600080fd5b90860190601f368184011261106b57600080fd5b8235611079610f8882610f1b565b81815260059190911b8401850190858101903683111561109857600080fd5b8686015b83811015611121578035868111156110b45760008081fd5b870136603f8201126110c65760008081fd5b88810135878111156110da576110da610eab565b6110eb818801601f19168b01610eea565b818152368d8385010111156111005760008081fd5b818d84018c83013760009181018b019190915284525091870191870161109c565b50958701959095525093979650505050505050565b600082825180855260208086019550808260051b8401018186016000805b858110156111b057601f1980888603018b5283518051808752845b8181101561118a578281018901518882018a0152880161116f565b5086810188018590529b87019b601f019091169094018501935091840191600101611154565b509198975050505050505050565b602081526000610a6f6020830184611136565b6000602082840312156111e357600080fd5b5051919050565b8281526040602082015260006112036040830184611136565b949350505050565b805167ffffffffffffffff8116811461122357600080fd5b919050565b60006060828403121561123a57600080fd5b6040516060810181811067ffffffffffffffff8211171561125d5761125d610eab565b604052825181526112706020840161120b565b60208201526112816040840161120b565b60408201529392505050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561068c5761068c61128d565b80820182811260008312801582168215821617156112d6576112d661128d565b505092915050565b6000602082840312156112f057600080fd5b8151610a6f81610d72565b6020808252600a908201526927a7262cafa0a226a4a760b11b604082015260600190565b6000600160ff1b82016113345761133461128d565b5060000390565b8181038181111561068c5761068c61128d565b634e487b7160e01b600052603160045260246000fdfea264697066735822122048dcd3f46f920517017074936a89a0e5a543c4fa370af5abc7a6e6538b79f1fc64736f6c63430008180033000000000000000000000000b855b63b81f16a14121c6754325da5adc582382f
Deployed Bytecode
0x6080604052600436106100dd5760003560e01c80639057aa9f1161007f578063b71d1a0c11610059578063b71d1a0c14610230578063b81d164514610250578063e9c714f214610270578063f851a4401461028557600080fd5b80639057aa9f146101e7578063a1d627a1146101fd578063b0cf579a1461021d57600080fd5b80634a048590116100bb5780634a048590146101705780637a803da01461018557806386c7f19a146101a55780638ee2f9d1146101c757600080fd5b806324a0c541146100e2578063267822471461010857806333511e5e14610140575b600080fd5b6100f56100f0366004610dd3565b6102a5565b6040519081526020015b60405180910390f35b34801561011457600080fd5b50600154610128906001600160a01b031681565b6040516001600160a01b0390911681526020016100ff565b34801561014c57600080fd5b5061016061015b366004610e28565b61067f565b60405190151581526020016100ff565b61018361017e366004610dd3565b610692565b005b34801561019157600080fd5b506101836101a0366004610e45565b6107c2565b3480156101b157600080fd5b506101ba6107f1565b6040516100ff9190610e5e565b3480156101d357600080fd5b506101836101e2366004610e28565b610802565b3480156101f357600080fd5b506100f560055481565b34801561020957600080fd5b50600454610128906001600160a01b031681565b6100f561022b366004610dd3565b610838565b34801561023c57600080fd5b5061018361024b366004610e28565b610858565b34801561025c57600080fd5b5061018361026b366004610e28565b610900565b34801561027c57600080fd5b50610183610933565b34801561029157600080fd5b50600054610128906001600160a01b031681565b600080600554116102fd5760405162461bcd60e51b815260206004820152601760248201527f4d41585f50524943455f44454c41595f4e4f545f53455400000000000000000060448201526064015b60405180910390fd5b6000846001600160a01b0316630fc2b8f56040518163ffffffff1660e01b8152600401600060405180830381865afa15801561033d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526103659190810190610f3f565b8051909150831461039657805160405163dfe3619d60e01b81526004810191909152602481018490526044016102f4565b60005b838110156106765760008585838181106103b5576103b5610fe6565b90506020028101906103c79190610ffc565b6103d09061101c565b90506000805b845181101561045d578787858181106103f1576103f1610fe6565b90506020028101906104039190610ffc565b6000013585828151811061041957610419610fe6565b602002602001015161ffff1603610455576001915084818151811061044057610440610fe6565b60200260200101600061ffff1681525061045d565b6001016103d6565b50806104a35786868481811061047557610475610fe6565b90506020028101906104879190610ffc565b6040516364e3cda960e01b8152903560048201526024016102f4565b60048054602084015160405163d47eed4560e01b81526000936001600160a01b039093169263d47eed45926104da929091016111be565b602060405180830381865afa1580156104f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061051b91906111d1565b600480548551602087015160405163f4a6a09360e01b81529495506000946001600160a01b039093169363f4a6a09393879361055b9390929091016111ea565b60606040518083038185885af1158015610579573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061059e9190611228565b60055481519192506105af916112a3565b4211156105d5578351604051637d962bc160e11b815260048101919091526024016102f4565b8351602082015160405163659ef44160e01b81526001600160a01b038d169263659ef441926106199260040191825267ffffffffffffffff16602082015260400190565b602060405180830381865afa158015610636573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061065a91906111d1565b61066490886112b6565b96505060019093019250610399915050565b50509392505050565b600061068c600283610a51565b92915050565b61069b3361067f565b6106e05760405162461bcd60e51b81526020600482015260166024820152752727aa2fa0a62627aba2a22faa27afaa2924a3a3a2a960511b60448201526064016102f4565b826001600160a01b0316636142895361075b856001600160a01b031663c12d636b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610730573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061075491906112de565b8585610838565b6040518263ffffffff1660e01b815260040161077991815260200190565b6020604051808303816000875af1158015610798573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107bc91906111d1565b50505050565b6000546001600160a01b031633146107ec5760405162461bcd60e51b81526004016102f4906112fb565b600555565b60606107fd6002610a76565b905090565b6000546001600160a01b0316331461082c5760405162461bcd60e51b81526004016102f4906112fb565b61083581610a83565b50565b6000806108468585856102a5565b61084f9061131f565b95945050505050565b6000546001600160a01b0316331461089e5760405162461bcd60e51b81526020600482015260096024820152682737ba1020b236b4b760b91b60448201526064016102f4565b600180546001600160a01b038381166001600160a01b031983168117909355604080519190921680825260208201939093527fca4f2f25d0898edd99413412fb94012f9e54ec8142f9b093e7720646a95b16a991015b60405180910390a15050565b6000546001600160a01b0316331461092a5760405162461bcd60e51b81526004016102f4906112fb565b61083581610b11565b6001546001600160a01b03163314801561095757506001546001600160a01b031615155b6109a35760405162461bcd60e51b815260206004820152601e60248201527f4e6f7420746865204558495354494e472070656e64696e672061646d696e000060448201526064016102f4565b60008054600180546001600160a01b038082166001600160a01b031980861682179096559490911690915560408051919092168082526020820184905292917ff9ffabca9c8276e99321725bcb43fb076a6c66a54b7f21c4e8146d8519b417dc910160405180910390a1600154604080516001600160a01b03808516825290921660208301527fca4f2f25d0898edd99413412fb94012f9e54ec8142f9b093e7720646a95b16a991016108f4565b6001600160a01b038116600090815260018301602052604081205415155b9392505050565b60606000610a6f83610baa565b610a8c8161067f565b610ace5760405162461bcd60e51b81526020600482015260136024820152721050d0d3d5539517d393d517d0531313d5d151606a1b60448201526064016102f4565b610ad9600282610c06565b506040516001600160a01b038216907fc985d67a353004ba149a223b2b9e5c13cca6610b11cb45b4aa029c880d8f7cb590600090a250565b610b1a8161067f565b15610b675760405162461bcd60e51b815260206004820152601760248201527f4143434f554e545f414c52454144595f414c4c4f57454400000000000000000060448201526064016102f4565b610b72600282610c1b565b506040516001600160a01b038216907fc5944eab072face4b169928723314c5978080e99ed8f8527faedb18c06664c3590600090a250565b606081600001805480602002602001604051908101604052809291908181526020018280548015610bfa57602002820191906000526020600020905b815481526020019060010190808311610be6575b50505050509050919050565b6000610a6f836001600160a01b038416610c30565b6000610a6f836001600160a01b038416610d23565b60008181526001830160205260408120548015610d19576000610c5460018361133b565b8554909150600090610c689060019061133b565b9050808214610ccd576000866000018281548110610c8857610c88610fe6565b9060005260206000200154905080876000018481548110610cab57610cab610fe6565b6000918252602080832090910192909255918252600188019052604090208390555b8554869080610cde57610cde61134e565b60019003818190600052602060002001600090559055856001016000868152602001908152602001600020600090556001935050505061068c565b600091505061068c565b6000818152600183016020526040812054610d6a5750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915561068c565b50600061068c565b6001600160a01b038116811461083557600080fd5b60008083601f840112610d9957600080fd5b50813567ffffffffffffffff811115610db157600080fd5b6020830191508360208260051b8501011115610dcc57600080fd5b9250929050565b600080600060408486031215610de857600080fd5b8335610df381610d72565b9250602084013567ffffffffffffffff811115610e0f57600080fd5b610e1b86828701610d87565b9497909650939450505050565b600060208284031215610e3a57600080fd5b8135610a6f81610d72565b600060208284031215610e5757600080fd5b5035919050565b6020808252825182820181905260009190848201906040850190845b81811015610e9f5783516001600160a01b031683529284019291840191600101610e7a565b50909695505050505050565b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff81118282101715610ee457610ee4610eab565b60405290565b604051601f8201601f1916810167ffffffffffffffff81118282101715610f1357610f13610eab565b604052919050565b600067ffffffffffffffff821115610f3557610f35610eab565b5060051b60200190565b60006020808385031215610f5257600080fd5b825167ffffffffffffffff811115610f6957600080fd5b8301601f81018513610f7a57600080fd5b8051610f8d610f8882610f1b565b610eea565b81815260059190911b82018301908381019087831115610fac57600080fd5b928401925b82841015610fdb57835161ffff81168114610fcc5760008081fd5b82529284019290840190610fb1565b979650505050505050565b634e487b7160e01b600052603260045260246000fd5b60008235603e1983360301811261101257600080fd5b9190910192915050565b6000604080833603121561102f57600080fd5b611037610ec1565b8335815260208085013567ffffffffffffffff8082111561105757600080fd5b90860190601f368184011261106b57600080fd5b8235611079610f8882610f1b565b81815260059190911b8401850190858101903683111561109857600080fd5b8686015b83811015611121578035868111156110b45760008081fd5b870136603f8201126110c65760008081fd5b88810135878111156110da576110da610eab565b6110eb818801601f19168b01610eea565b818152368d8385010111156111005760008081fd5b818d84018c83013760009181018b019190915284525091870191870161109c565b50958701959095525093979650505050505050565b600082825180855260208086019550808260051b8401018186016000805b858110156111b057601f1980888603018b5283518051808752845b8181101561118a578281018901518882018a0152880161116f565b5086810188018590529b87019b601f019091169094018501935091840191600101611154565b509198975050505050505050565b602081526000610a6f6020830184611136565b6000602082840312156111e357600080fd5b5051919050565b8281526040602082015260006112036040830184611136565b949350505050565b805167ffffffffffffffff8116811461122357600080fd5b919050565b60006060828403121561123a57600080fd5b6040516060810181811067ffffffffffffffff8211171561125d5761125d610eab565b604052825181526112706020840161120b565b60208201526112816040840161120b565b60408201529392505050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561068c5761068c61128d565b80820182811260008312801582168215821617156112d6576112d661128d565b505092915050565b6000602082840312156112f057600080fd5b8151610a6f81610d72565b6020808252600a908201526927a7262cafa0a226a4a760b11b604082015260600190565b6000600160ff1b82016113345761133461128d565b5060000390565b8181038181111561068c5761068c61128d565b634e487b7160e01b600052603160045260246000fdfea264697066735822122048dcd3f46f920517017074936a89a0e5a543c4fa370af5abc7a6e6538b79f1fc64736f6c63430008180033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000b855b63b81f16a14121c6754325da5adc582382f
-----Decoded View---------------
Arg [0] : _priceValidator (address): 0xb855B63B81F16a14121C6754325DA5aDc582382F
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000b855b63b81f16a14121c6754325da5adc582382f
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
[ Download: CSV Export ]
[ 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.