MentoBroker
The contract executes token swaps between reserve assets and GoodDollar tokens through exchange providers.
MentoBroker
Contract Specs
Events
Swap
Parameter name
Annotation
event Swap(
address exchangeProvider,
bytes32 indexed exchangeId,
address indexed trader,
address indexed tokenIn,
address tokenOut,
uint256 amountIn,
uint256 amountOut
);TradingLimitConfigured
Parameter name
Annotation
Functions
getAmountIn
Parameter name
Annotation
getAmountOut
Parameter name
Annotation
swapIn
Parameter name
Annotation
swapOut
Parameter name
Annotation
burnStableTokens
Parameter name
Annotation
getExchangeProviders
isExchangeProvider
Parameter name
Annotation
Last updated
Was this helpful?