SingleTokenConverter
SingleTokenConverter
Used for token conversions and sends received tokens
Solidity API
baseAsset
Address of the base asset token
setBaseAsset
Sets the base asset for the contract
Parameters
Name | Type | Description |
---|---|---|
baseAsset_ | address | The new address of the base asset |
⛔️ Access Requirements
Only Governance
balanceOf
Get the balance for specific token
Parameters
Name | Type | Description |
---|---|---|
tokenAddress | address | Address of the token |
Return Values
Name | Type | Description |
---|---|---|
tokenBalance | uint256 | Balance of the token the contract has |
Last updated