VeloraSwapTransaction
Documentation for eth_defi.velora.swap.VeloraSwapTransaction Python class.
- class VeloraSwapTransaction
Bases:
objectVelora swap transaction data.
Contains all information needed to execute a swap on Augustus Swapper.
Attributes summary
buy_tokensell_tokenamount_inmin_amount_outtocalldatavalueprice_routeMethods summary
__init__(buy_token, sell_token, amount_in, ...)- __init__(buy_token, sell_token, amount_in, min_amount_out, to, calldata, value, price_route)
- Parameters
buy_token (eth_defi.token.TokenDetails) –
sell_token (eth_defi.token.TokenDetails) –
amount_in (decimal.Decimal) –
min_amount_out (decimal.Decimal) –
to (eth_typing.evm.HexAddress) –
calldata (hexbytes.main.HexBytes) –
value (int) –
price_route (dict) –
- Return type
None