I Price Provider Aggregator
Last updated
Last updated
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
returns the USD evaluation of token by its tokenAmount
returns the USD evaluation of token by its tokenAmount
price = priceMantissa / (10 ** priceDecimals)
returns tuple (priceMantissa, priceDecimals)
returns the price of token multiplied by 10 ** priceDecimals given by price provider. price can be calculated as priceMantissa / (10 ** priceDecimals) i.e. price = priceMantissa / (10 ** priceDecimals)
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
_0
bytes32
undefined
priceProvider
address
undefined
token
address
undefined
active
bool
undefined
token
address
the address of token to evaluate
tokenAmount
uint256
the amount of token to evaluate
evaluation
uint256
undefined
token
address
the address of token
tokenAmount
uint256
the amount of token including decimals
priceMantissa
uint256
- the price of token (used in verifying the signature)
priceDecimals
uint8
- the price decimals (used in verifying the signature)
validTo
uint256
- the timestamp in seconds (used in verifying the signature)
signature
bytes
- the backend signature of secp256k1. length is 65 bytes
evaluation
uint256
undefined
token
address
the address of token wich price is to return
priceMantissa
uint256
undefined
priceDecimals
uint8
undefined
token
address
the address of token
_priceMantissa
uint256
- the price of token (used in verifying the signature)
_priceDecimals
uint8
- the price decimals (used in verifying the signature)
validTo
uint256
- the timestamp in seconds (used in verifying the signature)
signature
bytes
- the backend signature of secp256k1. length is 65 bytes
priceMantissa
uint256
undefined
priceDecimals
uint8
undefined
newModerator
address
undefined
moderator
address
undefined
token
address
undefined
priceProvider
address
undefined
hasFunctionWithSign
bool
undefined
projectToken
address
undefined
priceProvider
address
undefined
hasSignedFunction
bool
undefined
_0
uint8
undefined
who indexed
address
undefined
priceProvider indexed
address
undefined
token indexed
address
undefined
active
bool
undefined
who indexed
address
undefined
newModerator indexed
address
undefined
who indexed
address
undefined
moderator indexed
address
undefined
who indexed
address
undefined
token indexed
address
undefined
priceProvider indexed
address
undefined