This proposal suggests swapping 50k wxDai to USDC in our Gnosis Chain treasury.
The swap will be performed through Curve and directly executed through the DXdao avatar, thanks to our generic multi calls. To do so, we will perform an atomic transaction which 1) approves 3pool to spend 50k wxDai. 2) Exchanges 50k wxDai to USDC.
wxDai contract: 0xe91D153E0b41518A2Ce8Dd3D7944Fa863463a97d
Function to call: approve
Curve 3pool contract (wxDai, USDC, USDT): 0x7f90122bf0700f9e7e1f688fe926940e8839f353
Function to call: exchange
i: 0 (wxDai)
j: 1 (USDC)
Note that the _min_dy parameter simply specifies the minimum amount of USDC we want in return, below which the trade will fail. The amount is the one the Curve front-end itself suggests on the trade. The order will always fill at the best price.