ChainLink.sol
View Source: contracts/ChainLink.sol
Contract Members
Constants & Variables
Events
Modifiers
onlyAdmin
onlyAdmin
Arguments
Name | Type | Description |
Functions
addAsset(address assetAddress, address priceFeedContract)
removeAsset(address assetAddress)
changeAdmin(address newAdmin)
setWethAddressVerified(address _wethAddressVerified)
setWethAddressPublic(address _wethAddressPublic)
togglePause()
getAssetPrice(address asset)
()
addAsset
Arguments
Name | Type | Description |
assetAddress | address | |
priceFeedContract | address |
removeAsset
Arguments
Name | Type | Description |
assetAddress | address |
changeAdmin
Arguments
Name | Type | Description |
newAdmin | address |
setWethAddressVerified
Arguments
Name | Type | Description |
_wethAddressVerified | address |
setWethAddressPublic
Arguments
Name | Type | Description |
_wethAddressPublic | address |
togglePause
Arguments
Name | Type | Description |
getAssetPrice
Arguments
Name | Type | Description |
asset | address |
Arguments
Name | Type | Description |
Last updated