amountAvailableForTrading()
CarbonPOL.sol
This function allows to identify the amount of token units that is available for trading.
Function Arguments
Name | Type | Description |
---|---|---|
token | Token | The token address of the token you would like to trade out of the contract. Notice, trading ETH out of the contract requires the caller to send BNT while all other tokens require the caller to send ETH |
Example
To trade directly with the ETH token, use the contract address: 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE
Last updated