MentoExchangeProvider
The contract implements the core exchange mechanism for GoodDollar using a Bancor-style bonding curve.
MentoExchangeProvider
Contract Specs
Events
ExchangeCreated
Parameter name
Annotation
event ExchangeCreated(
bytes32 indexed exchangeId,
address indexed reserveAsset,
address indexed tokenAddress
);ExchangeDestroyed
Parameter name
Annotation
ExitContributionSet
Parameter name
Annotation
ReserveRatioUpdated
Parameter name
Annotation
Functions
createExchange
Parameter name
Annotation
getPoolExchange
Parameter name
Annotation
getExchangeIds
currentPrice
Parameter name
Annotation
mintFromExpansion
Parameter name
Annotation
mintFromInterest
Parameter name
Annotation
updateRatioForReward
Parameter name
Annotation
Last updated
Was this helpful?