ownerfunction. This is your converter contract address.
connectorTokensfunction of the converter contract. The
_indexargument is the index of the token in the order it was added to the reserve. For a pool with three reserve tokens, only 0, 1, and 2 will be valid inputs for this function.
getConnectorBalancefunction on the converter contract. The
_connectorTokenargument is the address of the token.
getReserveRatiofunction on the converter contract. The
_reserveTokenargument is the address of the token. A return value of 500000, for example, signals that the reserve token makes up 50% of the weight of the contract's assets.
getReturnfunction on the converter contract. The fromToken and toToken arguments must be addresses of tokens in the pool. The
_amountis the input value of the trade. The first return value is the expected return in the destination token and the second return value is the fee a trader should expect to pay.
conversionFeefunction on the converter contract. A return value of 30000, for example, signals that the conversion fee is 3% of the amount returned to the user upon conversion.