approve_infinity#

approve_infinity(web3, deployment, hot_wallet, instructions)[source]#

Approve multiple ERC-20 token allowances for the trades needed.

Each token is approved only once. E.g. if you have 4 trades using USDC, you will get 1 USDC approval.

Parameters:
Return type:

List[SignedTransaction]