execution#
tradeexecutor.ethereum.execution module.
Module description#
Dealing with Ethereum low level tranasctions.
Functions#
|
Approve multiple ERC-20 token allowances for the trades needed. |
|
Approve multiple ERC-20 token allowances for the trades needed. |
|
Broadcast multiple transations and manage the trade executor state for them. |
|
Do the live trade execution. |
|
Wait until all transactions are confirmed. |
|
Get a price from Uniswap v2 pool, assuming you are selling 1 unit of base token. |
|
Get list of assets hold by the a wallet. |
|
Get the swap transaction from multiple transactions associated with the trade |
|
Get ERC-20 contract proxy. |
|
|
|
Prepare multiple swaps to be breoadcasted parallel from the hot wallet. |
|
Resolve trade outcome. |
|
Creates an AMM swap tranasction out of buy/sell. |
|
Watch multiple transactions executed at parallel. |