IAsBnbRateSource ​
Rate source that returns token amount for a given ASBNB amount.
Functions ​
convertToTokens ​
solidity
function convertToTokens(uint256 asBnbAmt) external view returns (uint256);Parameters
| Name | Type | Description |
|---|---|---|
asBnbAmt | uint256 | ASBNB amount (e.g. 1e27) |
Returns
| Name | Type | Description |
|---|---|---|
<none> | uint256 | Token amount for the given ASBNB amount |