SingleTokenConverter

SingleTokenConverter

Used for token conversions and sends received tokens

Solidity API

baseAsset

Address of the base asset token

address baseAsset

setBaseAsset

Sets the base asset for the contract

function setBaseAsset(address baseAsset_) external

Parameters

NameTypeDescription

baseAsset_

address

The new address of the base asset

⛔️ Access Requirements

  • Only Governance


balanceOf

Get the balance for specific token

function balanceOf(address tokenAddress) public view returns (uint256 tokenBalance)

Parameters

NameTypeDescription

tokenAddress

address

Address of the token

Return Values

NameTypeDescription

tokenBalance

uint256

Balance of the token the contract has


Last updated