LnDefaultPrices

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0x2a708fee at 11494384
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 47 additional slots
-
variable spans 45 additional slots

No balances found for "LnDefaultPrices"

No transactions found for "LnDefaultPrices"


Functions
Getter at block 21298829
LINA(view returns (bytes32)
0x4c494e4100000000000000000000000000000000000000000000000000000000
LUSD(view returns (bytes32)
0x6c55534400000000000000000000000000000000000000000000000000000000
admin(view returns (address)
0x0000000000000000000000000000000000000000
candidate(view returns (address)
0x0000000000000000000000000000000000000000
oracle(view returns (address)
0x0000000000000000000000000000000000000000
stalePeriod(view returns (uint256)
0
Read-only
exchange(bytes32 sourceNameuint256 sourceAmountbytes32 destNameview returns (uint256 value)
exchangeAndPrices(bytes32 sourceNameuint256 sourceAmountbytes32 destNameview returns (uint256 valueuint256 sourcePriceuint256 destPrice)
getCurrentRoundId(bytes32 currencyNameview returns (uint256)
getPrice(bytes32 currencyNameview returns (uint256)
getPriceAndUpdatedTime(bytes32 currencyNameview returns (uint256 priceuint256 time)
isStale(bytes32 currencyNameview returns (bool)
mPricesLastRound(bytes32view returns (uint256)
State-modifying
__LnAdminUpgradeable_init(address _admin
__LnDefaultPrices_init(address _adminaddress _oraclebytes32[] _currencyNamesuint256[] _newPrices
becomeAdmin(
deletePrice(bytes32 currencyName
setCandidate(address _candidate
setOracle(address _oracle
setStalePeriod(uint256 _time
updateAll(bytes32[] currencyNamesuint256[] newPricesuint256 timeSentreturns (bool)
Events
AdminChanged(address oldAdminaddress newAdmin
CandidateChanged(address oldCandidateaddress newCandidate
OracleUpdated(address newOracle
PriceDeleted(bytes32 currencyName
PricesUpdated(bytes32[] currencyNamesuint256[] newPrices
StalePeriodUpdated(uint256 priceStalePeriod
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.