Comment on page
It allows adding/removing currencies for trading on the Bend exchange.
function addCurrency(address currency) external nonpayable
Add a currency in the system
function removeCurrency(address currency) external nonpayable
Remove a currency from the system
function renounceOwnership() external nonpayable
Leaves the contract without owner. It will not be possible to call
onlyOwnerfunctions 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.
function transferOwnership(address newOwner) external nonpayable
Transfers ownership of the contract to a new account (
newOwner). Can only be called by the current owner.
function isCurrencyWhitelisted(address currency) external view returns (bool)
Returns if a currency is in the system
function owner() external view returns (address)
Returns the address of the current owner.
function viewCountWhitelistedCurrencies() external view returns (uint256)
View number of whitelisted currencies
function viewWhitelistedCurrencies(uint256 cursor, uint256 size) external view returns (address, uint256)
See whitelisted currencies in the system
event CurrencyRemoved(address indexed currency)
event CurrencyWhitelisted(address indexed currency)
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)