CurrencyManager
It allows adding/removing currencies for trading on the Bend exchange.
Methods
addCurrency
Add a currency in the system
Parameters
removeCurrency
Remove a currency from the system
Parameters
renounceOwnership
Leaves the contract without owner. It will not be possible to call onlyOwner
functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner.
transferOwnership
Transfers ownership of the contract to a new account (newOwner
). Can only be called by the current owner.
Parameters
View methods
isCurrencyWhitelisted
Returns if a currency is in the system
Parameters
Returns
owner
Returns the address of the current owner.
Returns
viewCountWhitelistedCurrencies
View number of whitelisted currencies
Returns
viewWhitelistedCurrencies
See whitelisted currencies in the system
Parameters
Returns
Events
CurrencyRemoved
Parameters
CurrencyWhitelisted
Parameters
OwnershipTransferred
Parameters
Last updated