PriceRegistry
Verified contract
Active on
Ethereum with 6 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 1 additional slot
-
variable spans 1 additional slot
Balances ($0.00)
No balances found for "PriceRegistry"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 17688083 | a year ago | | | 0 | 0.0013760222 | |
| 17688039 | a year ago | | | 0 | 0.00075473192 | |
| 17679848 | a year ago | | | 0 | 0.0013803476 | |
| 17636748 | a year ago | | | 0 | 0.0067792988 | |
| 17636723 | a year ago | | | 0 | 0.0082369316 | |
| 17636698 | a year ago | | | 0 | 0.0079357471 |
ABI
ABI objects
Getter at block 21329793
getFeeTokens() view returns (address[])
[0x514910771AF9Ca656af840dff83E8264EcF986CA, 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2]
getPriceUpdaters() view returns (address[])
[0x8bEFCa744c6f2b567b1863dcF055C593afdC11A0, 0x40c558575093eC1099CC21B020d9b8D13c74417F, 0x20718EfbC25Dba60FD51c2c81362b83f7C411A6D, 0x7986C9892389854cAAbAC785ff18123B0070a5Fd, 0x3d3467e1036Ee25F6F4aa15e3Abf77443A23144C, 0x2D1708ff2a15adbE313eA8C6035aA24d0FBA1c77]
getStalenessThreshold() view returns (uint128)
90000
owner() view returns (address)
0x44835bbba9d40deda9b64858095ecfb2693c9449
Read-only
convertTokenAmount(address fromToken, uint256 fromTokenAmount, address toToken) view returns (uint256)
getDestinationChainGasPrice(uint64 destChainSelector) view returns (struct InternalTimestampedUint192Value)
getTokenAndGasPrices(address token, uint64 destChainSelector) view returns (uint192 tokenPrice, uint192 gasPriceValue)
getTokenPrice(address token) view returns (struct InternalTimestampedUint192Value)
getTokenPrices(address[] tokens) view returns (struct InternalTimestampedUint192Value[])
getValidatedTokenPrice(address token) view returns (uint192)
State-modifying
Events acceptOwnership()
applyFeeTokensUpdates(address[] feeTokensToAdd, address[] feeTokensToRemove)
applyPriceUpdatersUpdates(address[] priceUpdatersToAdd, address[] priceUpdatersToRemove)
transferOwnership(address to)
updatePrices(struct InternalPriceUpdates priceUpdates)
FeeTokenAdded(address indexed feeToken)
FeeTokenRemoved(address indexed feeToken)
OwnershipTransferRequested(address indexed from, address indexed to)
OwnershipTransferred(address indexed from, address indexed to)
PriceUpdaterRemoved(address indexed priceUpdater)
PriceUpdaterSet(address indexed priceUpdater)
UsdPerTokenUpdated(address indexed token, uint256 value, uint256 timestamp)
UsdPerUnitGasUpdated(uint64 indexed destChain, uint256 value, uint256 timestamp)
constructor(address[] priceUpdaters, address[] feeTokens, uint32 stalenessThreshold)
This contract contains no fallback and receive objects.
ChainNotSupported(uint64 chain)
InvalidStalenessThreshold()
OnlyCallableByUpdaterOrOwner()
StaleGasPrice(uint64 destChainSelector, uint256 threshold, uint256 timePassed)
StaleTokenPrice(address token, uint256 threshold, uint256 timePassed)
TokenNotSupported(address token)