Documentation ¶
Index ¶
- Variables
- type CurveAave
- type CurveAaveCaller
- func (_CurveAave *CurveAaveCaller) A(opts *bind.CallOpts) (*big.Int, error)
- func (_CurveAave *CurveAaveCaller) APrecise(opts *bind.CallOpts) (*big.Int, error)
- func (_CurveAave *CurveAaveCaller) AdminActionsDeadline(opts *bind.CallOpts) (*big.Int, error)
- func (_CurveAave *CurveAaveCaller) AdminBalances(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)
- func (_CurveAave *CurveAaveCaller) AdminFee(opts *bind.CallOpts) (*big.Int, error)
- func (_CurveAave *CurveAaveCaller) AdminFeeReceiver(opts *bind.CallOpts) (common.Address, error)
- func (_CurveAave *CurveAaveCaller) Balances(opts *bind.CallOpts, i *big.Int) (*big.Int, error)
- func (_CurveAave *CurveAaveCaller) CalcTokenAmount(opts *bind.CallOpts, _amounts [3]*big.Int, is_deposit bool) (*big.Int, error)
- func (_CurveAave *CurveAaveCaller) CalcWithdrawOneCoin(opts *bind.CallOpts, _token_amount *big.Int, i *big.Int) (*big.Int, error)
- func (_CurveAave *CurveAaveCaller) Coins(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)
- func (_CurveAave *CurveAaveCaller) DynamicFee(opts *bind.CallOpts, i *big.Int, j *big.Int) (*big.Int, error)
- func (_CurveAave *CurveAaveCaller) Fee(opts *bind.CallOpts) (*big.Int, error)
- func (_CurveAave *CurveAaveCaller) FutureA(opts *bind.CallOpts) (*big.Int, error)
- func (_CurveAave *CurveAaveCaller) FutureATime(opts *bind.CallOpts) (*big.Int, error)
- func (_CurveAave *CurveAaveCaller) FutureAdminFee(opts *bind.CallOpts) (*big.Int, error)
- func (_CurveAave *CurveAaveCaller) FutureFee(opts *bind.CallOpts) (*big.Int, error)
- func (_CurveAave *CurveAaveCaller) FutureOffpegFeeMultiplier(opts *bind.CallOpts) (*big.Int, error)
- func (_CurveAave *CurveAaveCaller) FutureOwner(opts *bind.CallOpts) (common.Address, error)
- func (_CurveAave *CurveAaveCaller) GetDy(opts *bind.CallOpts, i *big.Int, j *big.Int, dx *big.Int) (*big.Int, error)
- func (_CurveAave *CurveAaveCaller) GetDyUnderlying(opts *bind.CallOpts, i *big.Int, j *big.Int, dx *big.Int) (*big.Int, error)
- func (_CurveAave *CurveAaveCaller) GetVirtualPrice(opts *bind.CallOpts) (*big.Int, error)
- func (_CurveAave *CurveAaveCaller) InitialA(opts *bind.CallOpts) (*big.Int, error)
- func (_CurveAave *CurveAaveCaller) InitialATime(opts *bind.CallOpts) (*big.Int, error)
- func (_CurveAave *CurveAaveCaller) LpToken(opts *bind.CallOpts) (common.Address, error)
- func (_CurveAave *CurveAaveCaller) OffpegFeeMultiplier(opts *bind.CallOpts) (*big.Int, error)
- func (_CurveAave *CurveAaveCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_CurveAave *CurveAaveCaller) RewardReceiver(opts *bind.CallOpts) (common.Address, error)
- func (_CurveAave *CurveAaveCaller) TransferOwnershipDeadline(opts *bind.CallOpts) (*big.Int, error)
- func (_CurveAave *CurveAaveCaller) UnderlyingCoins(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)
- type CurveAaveCallerRaw
- type CurveAaveCallerSession
- func (_CurveAave *CurveAaveCallerSession) A() (*big.Int, error)
- func (_CurveAave *CurveAaveCallerSession) APrecise() (*big.Int, error)
- func (_CurveAave *CurveAaveCallerSession) AdminActionsDeadline() (*big.Int, error)
- func (_CurveAave *CurveAaveCallerSession) AdminBalances(arg0 *big.Int) (*big.Int, error)
- func (_CurveAave *CurveAaveCallerSession) AdminFee() (*big.Int, error)
- func (_CurveAave *CurveAaveCallerSession) AdminFeeReceiver() (common.Address, error)
- func (_CurveAave *CurveAaveCallerSession) Balances(i *big.Int) (*big.Int, error)
- func (_CurveAave *CurveAaveCallerSession) CalcTokenAmount(_amounts [3]*big.Int, is_deposit bool) (*big.Int, error)
- func (_CurveAave *CurveAaveCallerSession) CalcWithdrawOneCoin(_token_amount *big.Int, i *big.Int) (*big.Int, error)
- func (_CurveAave *CurveAaveCallerSession) Coins(arg0 *big.Int) (common.Address, error)
- func (_CurveAave *CurveAaveCallerSession) DynamicFee(i *big.Int, j *big.Int) (*big.Int, error)
- func (_CurveAave *CurveAaveCallerSession) Fee() (*big.Int, error)
- func (_CurveAave *CurveAaveCallerSession) FutureA() (*big.Int, error)
- func (_CurveAave *CurveAaveCallerSession) FutureATime() (*big.Int, error)
- func (_CurveAave *CurveAaveCallerSession) FutureAdminFee() (*big.Int, error)
- func (_CurveAave *CurveAaveCallerSession) FutureFee() (*big.Int, error)
- func (_CurveAave *CurveAaveCallerSession) FutureOffpegFeeMultiplier() (*big.Int, error)
- func (_CurveAave *CurveAaveCallerSession) FutureOwner() (common.Address, error)
- func (_CurveAave *CurveAaveCallerSession) GetDy(i *big.Int, j *big.Int, dx *big.Int) (*big.Int, error)
- func (_CurveAave *CurveAaveCallerSession) GetDyUnderlying(i *big.Int, j *big.Int, dx *big.Int) (*big.Int, error)
- func (_CurveAave *CurveAaveCallerSession) GetVirtualPrice() (*big.Int, error)
- func (_CurveAave *CurveAaveCallerSession) InitialA() (*big.Int, error)
- func (_CurveAave *CurveAaveCallerSession) InitialATime() (*big.Int, error)
- func (_CurveAave *CurveAaveCallerSession) LpToken() (common.Address, error)
- func (_CurveAave *CurveAaveCallerSession) OffpegFeeMultiplier() (*big.Int, error)
- func (_CurveAave *CurveAaveCallerSession) Owner() (common.Address, error)
- func (_CurveAave *CurveAaveCallerSession) RewardReceiver() (common.Address, error)
- func (_CurveAave *CurveAaveCallerSession) TransferOwnershipDeadline() (*big.Int, error)
- func (_CurveAave *CurveAaveCallerSession) UnderlyingCoins(arg0 *big.Int) (common.Address, error)
- type CurveAaveFilterer
- type CurveAaveRaw
- func (_CurveAave *CurveAaveRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_CurveAave *CurveAaveRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_CurveAave *CurveAaveRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type CurveAaveSession
- func (_CurveAave *CurveAaveSession) A() (*big.Int, error)
- func (_CurveAave *CurveAaveSession) APrecise() (*big.Int, error)
- func (_CurveAave *CurveAaveSession) AddLiquidity(_amounts [3]*big.Int, _min_mint_amount *big.Int, _use_underlying bool) (*types.Transaction, error)
- func (_CurveAave *CurveAaveSession) AddLiquidity0(_amounts [3]*big.Int, _min_mint_amount *big.Int) (*types.Transaction, error)
- func (_CurveAave *CurveAaveSession) AdminActionsDeadline() (*big.Int, error)
- func (_CurveAave *CurveAaveSession) AdminBalances(arg0 *big.Int) (*big.Int, error)
- func (_CurveAave *CurveAaveSession) AdminFee() (*big.Int, error)
- func (_CurveAave *CurveAaveSession) AdminFeeReceiver() (common.Address, error)
- func (_CurveAave *CurveAaveSession) ApplyNewFee() (*types.Transaction, error)
- func (_CurveAave *CurveAaveSession) ApplyTransferOwnership() (*types.Transaction, error)
- func (_CurveAave *CurveAaveSession) Balances(i *big.Int) (*big.Int, error)
- func (_CurveAave *CurveAaveSession) CalcTokenAmount(_amounts [3]*big.Int, is_deposit bool) (*big.Int, error)
- func (_CurveAave *CurveAaveSession) CalcWithdrawOneCoin(_token_amount *big.Int, i *big.Int) (*big.Int, error)
- func (_CurveAave *CurveAaveSession) Coins(arg0 *big.Int) (common.Address, error)
- func (_CurveAave *CurveAaveSession) CommitNewFee(new_fee *big.Int, new_admin_fee *big.Int, new_offpeg_fee_multiplier *big.Int) (*types.Transaction, error)
- func (_CurveAave *CurveAaveSession) CommitTransferOwnership(_owner common.Address) (*types.Transaction, error)
- func (_CurveAave *CurveAaveSession) DonateAdminFees() (*types.Transaction, error)
- func (_CurveAave *CurveAaveSession) DynamicFee(i *big.Int, j *big.Int) (*big.Int, error)
- func (_CurveAave *CurveAaveSession) Exchange(i *big.Int, j *big.Int, dx *big.Int, min_dy *big.Int) (*types.Transaction, error)
- func (_CurveAave *CurveAaveSession) ExchangeUnderlying(i *big.Int, j *big.Int, dx *big.Int, min_dy *big.Int) (*types.Transaction, error)
- func (_CurveAave *CurveAaveSession) Fee() (*big.Int, error)
- func (_CurveAave *CurveAaveSession) FutureA() (*big.Int, error)
- func (_CurveAave *CurveAaveSession) FutureATime() (*big.Int, error)
- func (_CurveAave *CurveAaveSession) FutureAdminFee() (*big.Int, error)
- func (_CurveAave *CurveAaveSession) FutureFee() (*big.Int, error)
- func (_CurveAave *CurveAaveSession) FutureOffpegFeeMultiplier() (*big.Int, error)
- func (_CurveAave *CurveAaveSession) FutureOwner() (common.Address, error)
- func (_CurveAave *CurveAaveSession) GetDy(i *big.Int, j *big.Int, dx *big.Int) (*big.Int, error)
- func (_CurveAave *CurveAaveSession) GetDyUnderlying(i *big.Int, j *big.Int, dx *big.Int) (*big.Int, error)
- func (_CurveAave *CurveAaveSession) GetVirtualPrice() (*big.Int, error)
- func (_CurveAave *CurveAaveSession) InitialA() (*big.Int, error)
- func (_CurveAave *CurveAaveSession) InitialATime() (*big.Int, error)
- func (_CurveAave *CurveAaveSession) KillMe() (*types.Transaction, error)
- func (_CurveAave *CurveAaveSession) LpToken() (common.Address, error)
- func (_CurveAave *CurveAaveSession) OffpegFeeMultiplier() (*big.Int, error)
- func (_CurveAave *CurveAaveSession) Owner() (common.Address, error)
- func (_CurveAave *CurveAaveSession) RampA(_future_A *big.Int, _future_time *big.Int) (*types.Transaction, error)
- func (_CurveAave *CurveAaveSession) RemoveLiquidity(_amount *big.Int, _min_amounts [3]*big.Int) (*types.Transaction, error)
- func (_CurveAave *CurveAaveSession) RemoveLiquidity0(_amount *big.Int, _min_amounts [3]*big.Int, _use_underlying bool) (*types.Transaction, error)
- func (_CurveAave *CurveAaveSession) RemoveLiquidityImbalance(_amounts [3]*big.Int, _max_burn_amount *big.Int, _use_underlying bool) (*types.Transaction, error)
- func (_CurveAave *CurveAaveSession) RemoveLiquidityImbalance0(_amounts [3]*big.Int, _max_burn_amount *big.Int) (*types.Transaction, error)
- func (_CurveAave *CurveAaveSession) RemoveLiquidityOneCoin(_token_amount *big.Int, i *big.Int, _min_amount *big.Int) (*types.Transaction, error)
- func (_CurveAave *CurveAaveSession) RemoveLiquidityOneCoin0(_token_amount *big.Int, i *big.Int, _min_amount *big.Int, _use_underlying bool) (*types.Transaction, error)
- func (_CurveAave *CurveAaveSession) RevertNewParameters() (*types.Transaction, error)
- func (_CurveAave *CurveAaveSession) RevertTransferOwnership() (*types.Transaction, error)
- func (_CurveAave *CurveAaveSession) RewardReceiver() (common.Address, error)
- func (_CurveAave *CurveAaveSession) SetAaveReferral(referral_code *big.Int) (*types.Transaction, error)
- func (_CurveAave *CurveAaveSession) SetAdminFeeReceiver(_admin_fee_receiver common.Address) (*types.Transaction, error)
- func (_CurveAave *CurveAaveSession) SetRewardReceiver(_reward_receiver common.Address) (*types.Transaction, error)
- func (_CurveAave *CurveAaveSession) StopRampA() (*types.Transaction, error)
- func (_CurveAave *CurveAaveSession) TransferOwnershipDeadline() (*big.Int, error)
- func (_CurveAave *CurveAaveSession) UnderlyingCoins(arg0 *big.Int) (common.Address, error)
- func (_CurveAave *CurveAaveSession) UnkillMe() (*types.Transaction, error)
- func (_CurveAave *CurveAaveSession) WithdrawAdminFees() (*types.Transaction, error)
- type CurveAaveTransactor
- func (_CurveAave *CurveAaveTransactor) AddLiquidity(opts *bind.TransactOpts, _amounts [3]*big.Int, _min_mint_amount *big.Int, ...) (*types.Transaction, error)
- func (_CurveAave *CurveAaveTransactor) AddLiquidity0(opts *bind.TransactOpts, _amounts [3]*big.Int, _min_mint_amount *big.Int) (*types.Transaction, error)
- func (_CurveAave *CurveAaveTransactor) ApplyNewFee(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_CurveAave *CurveAaveTransactor) ApplyTransferOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_CurveAave *CurveAaveTransactor) CommitNewFee(opts *bind.TransactOpts, new_fee *big.Int, new_admin_fee *big.Int, ...) (*types.Transaction, error)
- func (_CurveAave *CurveAaveTransactor) CommitTransferOwnership(opts *bind.TransactOpts, _owner common.Address) (*types.Transaction, error)
- func (_CurveAave *CurveAaveTransactor) DonateAdminFees(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_CurveAave *CurveAaveTransactor) Exchange(opts *bind.TransactOpts, i *big.Int, j *big.Int, dx *big.Int, min_dy *big.Int) (*types.Transaction, error)
- func (_CurveAave *CurveAaveTransactor) ExchangeUnderlying(opts *bind.TransactOpts, i *big.Int, j *big.Int, dx *big.Int, min_dy *big.Int) (*types.Transaction, error)
- func (_CurveAave *CurveAaveTransactor) KillMe(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_CurveAave *CurveAaveTransactor) RampA(opts *bind.TransactOpts, _future_A *big.Int, _future_time *big.Int) (*types.Transaction, error)
- func (_CurveAave *CurveAaveTransactor) RemoveLiquidity(opts *bind.TransactOpts, _amount *big.Int, _min_amounts [3]*big.Int) (*types.Transaction, error)
- func (_CurveAave *CurveAaveTransactor) RemoveLiquidity0(opts *bind.TransactOpts, _amount *big.Int, _min_amounts [3]*big.Int, ...) (*types.Transaction, error)
- func (_CurveAave *CurveAaveTransactor) RemoveLiquidityImbalance(opts *bind.TransactOpts, _amounts [3]*big.Int, _max_burn_amount *big.Int, ...) (*types.Transaction, error)
- func (_CurveAave *CurveAaveTransactor) RemoveLiquidityImbalance0(opts *bind.TransactOpts, _amounts [3]*big.Int, _max_burn_amount *big.Int) (*types.Transaction, error)
- func (_CurveAave *CurveAaveTransactor) RemoveLiquidityOneCoin(opts *bind.TransactOpts, _token_amount *big.Int, i *big.Int, ...) (*types.Transaction, error)
- func (_CurveAave *CurveAaveTransactor) RemoveLiquidityOneCoin0(opts *bind.TransactOpts, _token_amount *big.Int, i *big.Int, ...) (*types.Transaction, error)
- func (_CurveAave *CurveAaveTransactor) RevertNewParameters(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_CurveAave *CurveAaveTransactor) RevertTransferOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_CurveAave *CurveAaveTransactor) SetAaveReferral(opts *bind.TransactOpts, referral_code *big.Int) (*types.Transaction, error)
- func (_CurveAave *CurveAaveTransactor) SetAdminFeeReceiver(opts *bind.TransactOpts, _admin_fee_receiver common.Address) (*types.Transaction, error)
- func (_CurveAave *CurveAaveTransactor) SetRewardReceiver(opts *bind.TransactOpts, _reward_receiver common.Address) (*types.Transaction, error)
- func (_CurveAave *CurveAaveTransactor) StopRampA(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_CurveAave *CurveAaveTransactor) UnkillMe(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_CurveAave *CurveAaveTransactor) WithdrawAdminFees(opts *bind.TransactOpts) (*types.Transaction, error)
- type CurveAaveTransactorRaw
- type CurveAaveTransactorSession
- func (_CurveAave *CurveAaveTransactorSession) AddLiquidity(_amounts [3]*big.Int, _min_mint_amount *big.Int, _use_underlying bool) (*types.Transaction, error)
- func (_CurveAave *CurveAaveTransactorSession) AddLiquidity0(_amounts [3]*big.Int, _min_mint_amount *big.Int) (*types.Transaction, error)
- func (_CurveAave *CurveAaveTransactorSession) ApplyNewFee() (*types.Transaction, error)
- func (_CurveAave *CurveAaveTransactorSession) ApplyTransferOwnership() (*types.Transaction, error)
- func (_CurveAave *CurveAaveTransactorSession) CommitNewFee(new_fee *big.Int, new_admin_fee *big.Int, new_offpeg_fee_multiplier *big.Int) (*types.Transaction, error)
- func (_CurveAave *CurveAaveTransactorSession) CommitTransferOwnership(_owner common.Address) (*types.Transaction, error)
- func (_CurveAave *CurveAaveTransactorSession) DonateAdminFees() (*types.Transaction, error)
- func (_CurveAave *CurveAaveTransactorSession) Exchange(i *big.Int, j *big.Int, dx *big.Int, min_dy *big.Int) (*types.Transaction, error)
- func (_CurveAave *CurveAaveTransactorSession) ExchangeUnderlying(i *big.Int, j *big.Int, dx *big.Int, min_dy *big.Int) (*types.Transaction, error)
- func (_CurveAave *CurveAaveTransactorSession) KillMe() (*types.Transaction, error)
- func (_CurveAave *CurveAaveTransactorSession) RampA(_future_A *big.Int, _future_time *big.Int) (*types.Transaction, error)
- func (_CurveAave *CurveAaveTransactorSession) RemoveLiquidity(_amount *big.Int, _min_amounts [3]*big.Int) (*types.Transaction, error)
- func (_CurveAave *CurveAaveTransactorSession) RemoveLiquidity0(_amount *big.Int, _min_amounts [3]*big.Int, _use_underlying bool) (*types.Transaction, error)
- func (_CurveAave *CurveAaveTransactorSession) RemoveLiquidityImbalance(_amounts [3]*big.Int, _max_burn_amount *big.Int, _use_underlying bool) (*types.Transaction, error)
- func (_CurveAave *CurveAaveTransactorSession) RemoveLiquidityImbalance0(_amounts [3]*big.Int, _max_burn_amount *big.Int) (*types.Transaction, error)
- func (_CurveAave *CurveAaveTransactorSession) RemoveLiquidityOneCoin(_token_amount *big.Int, i *big.Int, _min_amount *big.Int) (*types.Transaction, error)
- func (_CurveAave *CurveAaveTransactorSession) RemoveLiquidityOneCoin0(_token_amount *big.Int, i *big.Int, _min_amount *big.Int, _use_underlying bool) (*types.Transaction, error)
- func (_CurveAave *CurveAaveTransactorSession) RevertNewParameters() (*types.Transaction, error)
- func (_CurveAave *CurveAaveTransactorSession) RevertTransferOwnership() (*types.Transaction, error)
- func (_CurveAave *CurveAaveTransactorSession) SetAaveReferral(referral_code *big.Int) (*types.Transaction, error)
- func (_CurveAave *CurveAaveTransactorSession) SetAdminFeeReceiver(_admin_fee_receiver common.Address) (*types.Transaction, error)
- func (_CurveAave *CurveAaveTransactorSession) SetRewardReceiver(_reward_receiver common.Address) (*types.Transaction, error)
- func (_CurveAave *CurveAaveTransactorSession) StopRampA() (*types.Transaction, error)
- func (_CurveAave *CurveAaveTransactorSession) UnkillMe() (*types.Transaction, error)
- func (_CurveAave *CurveAaveTransactorSession) WithdrawAdminFees() (*types.Transaction, error)
Constants ¶
This section is empty.
Variables ¶
var CurveAaveABI = CurveAaveMetaData.ABI
CurveAaveABI is the input ABI used to generate the binding from. Deprecated: Use CurveAaveMetaData.ABI instead.
var CurveAaveMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[],\"name\":\"A\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"A_precise\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256[3]\",\"name\":\"_amounts\",\"type\":\"uint256[3]\"},{\"internalType\":\"uint256\",\"name\":\"_min_mint_amount\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"_use_underlying\",\"type\":\"bool\"}],\"name\":\"add_liquidity\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256[3]\",\"name\":\"_amounts\",\"type\":\"uint256[3]\"},{\"internalType\":\"uint256\",\"name\":\"_min_mint_amount\",\"type\":\"uint256\"}],\"name\":\"add_liquidity\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"admin_actions_deadline\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"arg0\",\"type\":\"uint256\"}],\"name\":\"admin_balances\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"admin_fee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"admin_fee_receiver\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"apply_new_fee\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"apply_transfer_ownership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"i\",\"type\":\"uint256\"}],\"name\":\"balances\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256[3]\",\"name\":\"_amounts\",\"type\":\"uint256[3]\"},{\"internalType\":\"bool\",\"name\":\"is_deposit\",\"type\":\"bool\"}],\"name\":\"calc_token_amount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_token_amount\",\"type\":\"uint256\"},{\"internalType\":\"int128\",\"name\":\"i\",\"type\":\"int128\"}],\"name\":\"calc_withdraw_one_coin\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"arg0\",\"type\":\"uint256\"}],\"name\":\"coins\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"new_fee\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"new_admin_fee\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"new_offpeg_fee_multiplier\",\"type\":\"uint256\"}],\"name\":\"commit_new_fee\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"commit_transfer_ownership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"donate_admin_fees\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"int128\",\"name\":\"i\",\"type\":\"int128\"},{\"internalType\":\"int128\",\"name\":\"j\",\"type\":\"int128\"}],\"name\":\"dynamic_fee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"int128\",\"name\":\"i\",\"type\":\"int128\"},{\"internalType\":\"int128\",\"name\":\"j\",\"type\":\"int128\"},{\"internalType\":\"uint256\",\"name\":\"dx\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"min_dy\",\"type\":\"uint256\"}],\"name\":\"exchange\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"int128\",\"name\":\"i\",\"type\":\"int128\"},{\"internalType\":\"int128\",\"name\":\"j\",\"type\":\"int128\"},{\"internalType\":\"uint256\",\"name\":\"dx\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"min_dy\",\"type\":\"uint256\"}],\"name\":\"exchange_underlying\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"fee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"future_A\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"future_A_time\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"future_admin_fee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"future_fee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"future_offpeg_fee_multiplier\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"future_owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"int128\",\"name\":\"i\",\"type\":\"int128\"},{\"internalType\":\"int128\",\"name\":\"j\",\"type\":\"int128\"},{\"internalType\":\"uint256\",\"name\":\"dx\",\"type\":\"uint256\"}],\"name\":\"get_dy\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"int128\",\"name\":\"i\",\"type\":\"int128\"},{\"internalType\":\"int128\",\"name\":\"j\",\"type\":\"int128\"},{\"internalType\":\"uint256\",\"name\":\"dx\",\"type\":\"uint256\"}],\"name\":\"get_dy_underlying\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"get_virtual_price\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"initial_A\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"initial_A_time\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"kill_me\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"lp_token\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"offpeg_fee_multiplier\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_future_A\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_future_time\",\"type\":\"uint256\"}],\"name\":\"ramp_A\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256[3]\",\"name\":\"_min_amounts\",\"type\":\"uint256[3]\"}],\"name\":\"remove_liquidity\",\"outputs\":[{\"internalType\":\"uint256[3]\",\"name\":\"\",\"type\":\"uint256[3]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256[3]\",\"name\":\"_min_amounts\",\"type\":\"uint256[3]\"},{\"internalType\":\"bool\",\"name\":\"_use_underlying\",\"type\":\"bool\"}],\"name\":\"remove_liquidity\",\"outputs\":[{\"internalType\":\"uint256[3]\",\"name\":\"\",\"type\":\"uint256[3]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256[3]\",\"name\":\"_amounts\",\"type\":\"uint256[3]\"},{\"internalType\":\"uint256\",\"name\":\"_max_burn_amount\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"_use_underlying\",\"type\":\"bool\"}],\"name\":\"remove_liquidity_imbalance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256[3]\",\"name\":\"_amounts\",\"type\":\"uint256[3]\"},{\"internalType\":\"uint256\",\"name\":\"_max_burn_amount\",\"type\":\"uint256\"}],\"name\":\"remove_liquidity_imbalance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_token_amount\",\"type\":\"uint256\"},{\"internalType\":\"int128\",\"name\":\"i\",\"type\":\"int128\"},{\"internalType\":\"uint256\",\"name\":\"_min_amount\",\"type\":\"uint256\"}],\"name\":\"remove_liquidity_one_coin\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_token_amount\",\"type\":\"uint256\"},{\"internalType\":\"int128\",\"name\":\"i\",\"type\":\"int128\"},{\"internalType\":\"uint256\",\"name\":\"_min_amount\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"_use_underlying\",\"type\":\"bool\"}],\"name\":\"remove_liquidity_one_coin\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"revert_new_parameters\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"revert_transfer_ownership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"reward_receiver\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"referral_code\",\"type\":\"uint256\"}],\"name\":\"set_aave_referral\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_admin_fee_receiver\",\"type\":\"address\"}],\"name\":\"set_admin_fee_receiver\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_reward_receiver\",\"type\":\"address\"}],\"name\":\"set_reward_receiver\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"stop_ramp_A\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"transfer_ownership_deadline\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"arg0\",\"type\":\"uint256\"}],\"name\":\"underlying_coins\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unkill_me\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"withdraw_admin_fees\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
CurveAaveMetaData contains all meta data concerning the CurveAave contract.
Functions ¶
This section is empty.
Types ¶
type CurveAave ¶
type CurveAave struct { CurveAaveCaller // Read-only binding to the contract CurveAaveTransactor // Write-only binding to the contract CurveAaveFilterer // Log filterer for contract events }
CurveAave is an auto generated Go binding around an Ethereum contract.
func NewCurveAave ¶
NewCurveAave creates a new instance of CurveAave, bound to a specific deployed contract.
type CurveAaveCaller ¶
type CurveAaveCaller struct {
// contains filtered or unexported fields
}
CurveAaveCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewCurveAaveCaller ¶
func NewCurveAaveCaller(address common.Address, caller bind.ContractCaller) (*CurveAaveCaller, error)
NewCurveAaveCaller creates a new read-only instance of CurveAave, bound to a specific deployed contract.
func (*CurveAaveCaller) A ¶
A is a free data retrieval call binding the contract method 0xf446c1d0.
Solidity: function A() view returns(uint256)
func (*CurveAaveCaller) APrecise ¶
APrecise is a free data retrieval call binding the contract method 0x76a2f0f0.
Solidity: function A_precise() view returns(uint256)
func (*CurveAaveCaller) AdminActionsDeadline ¶
AdminActionsDeadline is a free data retrieval call binding the contract method 0x405e28f8.
Solidity: function admin_actions_deadline() view returns(uint256)
func (*CurveAaveCaller) AdminBalances ¶
func (_CurveAave *CurveAaveCaller) AdminBalances(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)
AdminBalances is a free data retrieval call binding the contract method 0xe2e7d264.
Solidity: function admin_balances(uint256 arg0) view returns(uint256)
func (*CurveAaveCaller) AdminFee ¶
AdminFee is a free data retrieval call binding the contract method 0xfee3f7f9.
Solidity: function admin_fee() view returns(uint256)
func (*CurveAaveCaller) AdminFeeReceiver ¶
AdminFeeReceiver is a free data retrieval call binding the contract method 0x6e42e4d2.
Solidity: function admin_fee_receiver() view returns(address)
func (*CurveAaveCaller) Balances ¶
Balances is a free data retrieval call binding the contract method 0x4903b0d1.
Solidity: function balances(uint256 i) view returns(uint256)
func (*CurveAaveCaller) CalcTokenAmount ¶
func (_CurveAave *CurveAaveCaller) CalcTokenAmount(opts *bind.CallOpts, _amounts [3]*big.Int, is_deposit bool) (*big.Int, error)
CalcTokenAmount is a free data retrieval call binding the contract method 0x3883e119.
Solidity: function calc_token_amount(uint256[3] _amounts, bool is_deposit) view returns(uint256)
func (*CurveAaveCaller) CalcWithdrawOneCoin ¶
func (_CurveAave *CurveAaveCaller) CalcWithdrawOneCoin(opts *bind.CallOpts, _token_amount *big.Int, i *big.Int) (*big.Int, error)
CalcWithdrawOneCoin is a free data retrieval call binding the contract method 0xcc2b27d7.
Solidity: function calc_withdraw_one_coin(uint256 _token_amount, int128 i) view returns(uint256)
func (*CurveAaveCaller) Coins ¶
func (_CurveAave *CurveAaveCaller) Coins(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)
Coins is a free data retrieval call binding the contract method 0xc6610657.
Solidity: function coins(uint256 arg0) view returns(address)
func (*CurveAaveCaller) DynamicFee ¶
func (_CurveAave *CurveAaveCaller) DynamicFee(opts *bind.CallOpts, i *big.Int, j *big.Int) (*big.Int, error)
DynamicFee is a free data retrieval call binding the contract method 0x76a9cd3e.
Solidity: function dynamic_fee(int128 i, int128 j) view returns(uint256)
func (*CurveAaveCaller) Fee ¶
Fee is a free data retrieval call binding the contract method 0xddca3f43.
Solidity: function fee() view returns(uint256)
func (*CurveAaveCaller) FutureA ¶
FutureA is a free data retrieval call binding the contract method 0xb4b577ad.
Solidity: function future_A() view returns(uint256)
func (*CurveAaveCaller) FutureATime ¶
FutureATime is a free data retrieval call binding the contract method 0x14052288.
Solidity: function future_A_time() view returns(uint256)
func (*CurveAaveCaller) FutureAdminFee ¶
FutureAdminFee is a free data retrieval call binding the contract method 0xe3824462.
Solidity: function future_admin_fee() view returns(uint256)
func (*CurveAaveCaller) FutureFee ¶
FutureFee is a free data retrieval call binding the contract method 0x58680d0b.
Solidity: function future_fee() view returns(uint256)
func (*CurveAaveCaller) FutureOffpegFeeMultiplier ¶
FutureOffpegFeeMultiplier is a free data retrieval call binding the contract method 0x1e4c4ef8.
Solidity: function future_offpeg_fee_multiplier() view returns(uint256)
func (*CurveAaveCaller) FutureOwner ¶
FutureOwner is a free data retrieval call binding the contract method 0x1ec0cdc1.
Solidity: function future_owner() view returns(address)
func (*CurveAaveCaller) GetDy ¶
func (_CurveAave *CurveAaveCaller) GetDy(opts *bind.CallOpts, i *big.Int, j *big.Int, dx *big.Int) (*big.Int, error)
GetDy is a free data retrieval call binding the contract method 0x5e0d443f.
Solidity: function get_dy(int128 i, int128 j, uint256 dx) view returns(uint256)
func (*CurveAaveCaller) GetDyUnderlying ¶
func (_CurveAave *CurveAaveCaller) GetDyUnderlying(opts *bind.CallOpts, i *big.Int, j *big.Int, dx *big.Int) (*big.Int, error)
GetDyUnderlying is a free data retrieval call binding the contract method 0x07211ef7.
Solidity: function get_dy_underlying(int128 i, int128 j, uint256 dx) view returns(uint256)
func (*CurveAaveCaller) GetVirtualPrice ¶
GetVirtualPrice is a free data retrieval call binding the contract method 0xbb7b8b80.
Solidity: function get_virtual_price() view returns(uint256)
func (*CurveAaveCaller) InitialA ¶
InitialA is a free data retrieval call binding the contract method 0x5409491a.
Solidity: function initial_A() view returns(uint256)
func (*CurveAaveCaller) InitialATime ¶
InitialATime is a free data retrieval call binding the contract method 0x2081066c.
Solidity: function initial_A_time() view returns(uint256)
func (*CurveAaveCaller) LpToken ¶
LpToken is a free data retrieval call binding the contract method 0x82c63066.
Solidity: function lp_token() view returns(address)
func (*CurveAaveCaller) OffpegFeeMultiplier ¶
OffpegFeeMultiplier is a free data retrieval call binding the contract method 0x8edfdd5f.
Solidity: function offpeg_fee_multiplier() view returns(uint256)
func (*CurveAaveCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*CurveAaveCaller) RewardReceiver ¶
RewardReceiver is a free data retrieval call binding the contract method 0xb618ba62.
Solidity: function reward_receiver() view returns(address)
func (*CurveAaveCaller) TransferOwnershipDeadline ¶
TransferOwnershipDeadline is a free data retrieval call binding the contract method 0xe0a0b586.
Solidity: function transfer_ownership_deadline() view returns(uint256)
func (*CurveAaveCaller) UnderlyingCoins ¶
func (_CurveAave *CurveAaveCaller) UnderlyingCoins(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)
UnderlyingCoins is a free data retrieval call binding the contract method 0xb9947eb0.
Solidity: function underlying_coins(uint256 arg0) view returns(address)
type CurveAaveCallerRaw ¶
type CurveAaveCallerRaw struct {
Contract *CurveAaveCaller // Generic read-only contract binding to access the raw methods on
}
CurveAaveCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*CurveAaveCallerRaw) Call ¶
func (_CurveAave *CurveAaveCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
type CurveAaveCallerSession ¶
type CurveAaveCallerSession struct { Contract *CurveAaveCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
CurveAaveCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*CurveAaveCallerSession) A ¶
func (_CurveAave *CurveAaveCallerSession) A() (*big.Int, error)
A is a free data retrieval call binding the contract method 0xf446c1d0.
Solidity: function A() view returns(uint256)
func (*CurveAaveCallerSession) APrecise ¶
func (_CurveAave *CurveAaveCallerSession) APrecise() (*big.Int, error)
APrecise is a free data retrieval call binding the contract method 0x76a2f0f0.
Solidity: function A_precise() view returns(uint256)
func (*CurveAaveCallerSession) AdminActionsDeadline ¶
func (_CurveAave *CurveAaveCallerSession) AdminActionsDeadline() (*big.Int, error)
AdminActionsDeadline is a free data retrieval call binding the contract method 0x405e28f8.
Solidity: function admin_actions_deadline() view returns(uint256)
func (*CurveAaveCallerSession) AdminBalances ¶
AdminBalances is a free data retrieval call binding the contract method 0xe2e7d264.
Solidity: function admin_balances(uint256 arg0) view returns(uint256)
func (*CurveAaveCallerSession) AdminFee ¶
func (_CurveAave *CurveAaveCallerSession) AdminFee() (*big.Int, error)
AdminFee is a free data retrieval call binding the contract method 0xfee3f7f9.
Solidity: function admin_fee() view returns(uint256)
func (*CurveAaveCallerSession) AdminFeeReceiver ¶
func (_CurveAave *CurveAaveCallerSession) AdminFeeReceiver() (common.Address, error)
AdminFeeReceiver is a free data retrieval call binding the contract method 0x6e42e4d2.
Solidity: function admin_fee_receiver() view returns(address)
func (*CurveAaveCallerSession) Balances ¶
Balances is a free data retrieval call binding the contract method 0x4903b0d1.
Solidity: function balances(uint256 i) view returns(uint256)
func (*CurveAaveCallerSession) CalcTokenAmount ¶
func (_CurveAave *CurveAaveCallerSession) CalcTokenAmount(_amounts [3]*big.Int, is_deposit bool) (*big.Int, error)
CalcTokenAmount is a free data retrieval call binding the contract method 0x3883e119.
Solidity: function calc_token_amount(uint256[3] _amounts, bool is_deposit) view returns(uint256)
func (*CurveAaveCallerSession) CalcWithdrawOneCoin ¶
func (_CurveAave *CurveAaveCallerSession) CalcWithdrawOneCoin(_token_amount *big.Int, i *big.Int) (*big.Int, error)
CalcWithdrawOneCoin is a free data retrieval call binding the contract method 0xcc2b27d7.
Solidity: function calc_withdraw_one_coin(uint256 _token_amount, int128 i) view returns(uint256)
func (*CurveAaveCallerSession) Coins ¶
Coins is a free data retrieval call binding the contract method 0xc6610657.
Solidity: function coins(uint256 arg0) view returns(address)
func (*CurveAaveCallerSession) DynamicFee ¶
DynamicFee is a free data retrieval call binding the contract method 0x76a9cd3e.
Solidity: function dynamic_fee(int128 i, int128 j) view returns(uint256)
func (*CurveAaveCallerSession) Fee ¶
func (_CurveAave *CurveAaveCallerSession) Fee() (*big.Int, error)
Fee is a free data retrieval call binding the contract method 0xddca3f43.
Solidity: function fee() view returns(uint256)
func (*CurveAaveCallerSession) FutureA ¶
func (_CurveAave *CurveAaveCallerSession) FutureA() (*big.Int, error)
FutureA is a free data retrieval call binding the contract method 0xb4b577ad.
Solidity: function future_A() view returns(uint256)
func (*CurveAaveCallerSession) FutureATime ¶
func (_CurveAave *CurveAaveCallerSession) FutureATime() (*big.Int, error)
FutureATime is a free data retrieval call binding the contract method 0x14052288.
Solidity: function future_A_time() view returns(uint256)
func (*CurveAaveCallerSession) FutureAdminFee ¶
func (_CurveAave *CurveAaveCallerSession) FutureAdminFee() (*big.Int, error)
FutureAdminFee is a free data retrieval call binding the contract method 0xe3824462.
Solidity: function future_admin_fee() view returns(uint256)
func (*CurveAaveCallerSession) FutureFee ¶
func (_CurveAave *CurveAaveCallerSession) FutureFee() (*big.Int, error)
FutureFee is a free data retrieval call binding the contract method 0x58680d0b.
Solidity: function future_fee() view returns(uint256)
func (*CurveAaveCallerSession) FutureOffpegFeeMultiplier ¶
func (_CurveAave *CurveAaveCallerSession) FutureOffpegFeeMultiplier() (*big.Int, error)
FutureOffpegFeeMultiplier is a free data retrieval call binding the contract method 0x1e4c4ef8.
Solidity: function future_offpeg_fee_multiplier() view returns(uint256)
func (*CurveAaveCallerSession) FutureOwner ¶
func (_CurveAave *CurveAaveCallerSession) FutureOwner() (common.Address, error)
FutureOwner is a free data retrieval call binding the contract method 0x1ec0cdc1.
Solidity: function future_owner() view returns(address)
func (*CurveAaveCallerSession) GetDy ¶
func (_CurveAave *CurveAaveCallerSession) GetDy(i *big.Int, j *big.Int, dx *big.Int) (*big.Int, error)
GetDy is a free data retrieval call binding the contract method 0x5e0d443f.
Solidity: function get_dy(int128 i, int128 j, uint256 dx) view returns(uint256)
func (*CurveAaveCallerSession) GetDyUnderlying ¶
func (_CurveAave *CurveAaveCallerSession) GetDyUnderlying(i *big.Int, j *big.Int, dx *big.Int) (*big.Int, error)
GetDyUnderlying is a free data retrieval call binding the contract method 0x07211ef7.
Solidity: function get_dy_underlying(int128 i, int128 j, uint256 dx) view returns(uint256)
func (*CurveAaveCallerSession) GetVirtualPrice ¶
func (_CurveAave *CurveAaveCallerSession) GetVirtualPrice() (*big.Int, error)
GetVirtualPrice is a free data retrieval call binding the contract method 0xbb7b8b80.
Solidity: function get_virtual_price() view returns(uint256)
func (*CurveAaveCallerSession) InitialA ¶
func (_CurveAave *CurveAaveCallerSession) InitialA() (*big.Int, error)
InitialA is a free data retrieval call binding the contract method 0x5409491a.
Solidity: function initial_A() view returns(uint256)
func (*CurveAaveCallerSession) InitialATime ¶
func (_CurveAave *CurveAaveCallerSession) InitialATime() (*big.Int, error)
InitialATime is a free data retrieval call binding the contract method 0x2081066c.
Solidity: function initial_A_time() view returns(uint256)
func (*CurveAaveCallerSession) LpToken ¶
func (_CurveAave *CurveAaveCallerSession) LpToken() (common.Address, error)
LpToken is a free data retrieval call binding the contract method 0x82c63066.
Solidity: function lp_token() view returns(address)
func (*CurveAaveCallerSession) OffpegFeeMultiplier ¶
func (_CurveAave *CurveAaveCallerSession) OffpegFeeMultiplier() (*big.Int, error)
OffpegFeeMultiplier is a free data retrieval call binding the contract method 0x8edfdd5f.
Solidity: function offpeg_fee_multiplier() view returns(uint256)
func (*CurveAaveCallerSession) Owner ¶
func (_CurveAave *CurveAaveCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*CurveAaveCallerSession) RewardReceiver ¶
func (_CurveAave *CurveAaveCallerSession) RewardReceiver() (common.Address, error)
RewardReceiver is a free data retrieval call binding the contract method 0xb618ba62.
Solidity: function reward_receiver() view returns(address)
func (*CurveAaveCallerSession) TransferOwnershipDeadline ¶
func (_CurveAave *CurveAaveCallerSession) TransferOwnershipDeadline() (*big.Int, error)
TransferOwnershipDeadline is a free data retrieval call binding the contract method 0xe0a0b586.
Solidity: function transfer_ownership_deadline() view returns(uint256)
func (*CurveAaveCallerSession) UnderlyingCoins ¶
UnderlyingCoins is a free data retrieval call binding the contract method 0xb9947eb0.
Solidity: function underlying_coins(uint256 arg0) view returns(address)
type CurveAaveFilterer ¶
type CurveAaveFilterer struct {
// contains filtered or unexported fields
}
CurveAaveFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewCurveAaveFilterer ¶
func NewCurveAaveFilterer(address common.Address, filterer bind.ContractFilterer) (*CurveAaveFilterer, error)
NewCurveAaveFilterer creates a new log filterer instance of CurveAave, bound to a specific deployed contract.
type CurveAaveRaw ¶
type CurveAaveRaw struct {
Contract *CurveAave // Generic contract binding to access the raw methods on
}
CurveAaveRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*CurveAaveRaw) Call ¶
func (_CurveAave *CurveAaveRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.
func (*CurveAaveRaw) Transact ¶
func (_CurveAave *CurveAaveRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*CurveAaveRaw) Transfer ¶
func (_CurveAave *CurveAaveRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type CurveAaveSession ¶
type CurveAaveSession struct { Contract *CurveAave // Generic contract binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
CurveAaveSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*CurveAaveSession) A ¶
func (_CurveAave *CurveAaveSession) A() (*big.Int, error)
A is a free data retrieval call binding the contract method 0xf446c1d0.
Solidity: function A() view returns(uint256)
func (*CurveAaveSession) APrecise ¶
func (_CurveAave *CurveAaveSession) APrecise() (*big.Int, error)
APrecise is a free data retrieval call binding the contract method 0x76a2f0f0.
Solidity: function A_precise() view returns(uint256)
func (*CurveAaveSession) AddLiquidity ¶
func (_CurveAave *CurveAaveSession) AddLiquidity(_amounts [3]*big.Int, _min_mint_amount *big.Int, _use_underlying bool) (*types.Transaction, error)
AddLiquidity is a paid mutator transaction binding the contract method 0x2b6e993a.
Solidity: function add_liquidity(uint256[3] _amounts, uint256 _min_mint_amount, bool _use_underlying) returns(uint256)
func (*CurveAaveSession) AddLiquidity0 ¶
func (_CurveAave *CurveAaveSession) AddLiquidity0(_amounts [3]*big.Int, _min_mint_amount *big.Int) (*types.Transaction, error)
AddLiquidity0 is a paid mutator transaction binding the contract method 0x4515cef3.
Solidity: function add_liquidity(uint256[3] _amounts, uint256 _min_mint_amount) returns(uint256)
func (*CurveAaveSession) AdminActionsDeadline ¶
func (_CurveAave *CurveAaveSession) AdminActionsDeadline() (*big.Int, error)
AdminActionsDeadline is a free data retrieval call binding the contract method 0x405e28f8.
Solidity: function admin_actions_deadline() view returns(uint256)
func (*CurveAaveSession) AdminBalances ¶
AdminBalances is a free data retrieval call binding the contract method 0xe2e7d264.
Solidity: function admin_balances(uint256 arg0) view returns(uint256)
func (*CurveAaveSession) AdminFee ¶
func (_CurveAave *CurveAaveSession) AdminFee() (*big.Int, error)
AdminFee is a free data retrieval call binding the contract method 0xfee3f7f9.
Solidity: function admin_fee() view returns(uint256)
func (*CurveAaveSession) AdminFeeReceiver ¶
func (_CurveAave *CurveAaveSession) AdminFeeReceiver() (common.Address, error)
AdminFeeReceiver is a free data retrieval call binding the contract method 0x6e42e4d2.
Solidity: function admin_fee_receiver() view returns(address)
func (*CurveAaveSession) ApplyNewFee ¶
func (_CurveAave *CurveAaveSession) ApplyNewFee() (*types.Transaction, error)
ApplyNewFee is a paid mutator transaction binding the contract method 0x4f12fe97.
Solidity: function apply_new_fee() returns()
func (*CurveAaveSession) ApplyTransferOwnership ¶
func (_CurveAave *CurveAaveSession) ApplyTransferOwnership() (*types.Transaction, error)
ApplyTransferOwnership is a paid mutator transaction binding the contract method 0x6a1c05ae.
Solidity: function apply_transfer_ownership() returns()
func (*CurveAaveSession) Balances ¶
Balances is a free data retrieval call binding the contract method 0x4903b0d1.
Solidity: function balances(uint256 i) view returns(uint256)
func (*CurveAaveSession) CalcTokenAmount ¶
func (_CurveAave *CurveAaveSession) CalcTokenAmount(_amounts [3]*big.Int, is_deposit bool) (*big.Int, error)
CalcTokenAmount is a free data retrieval call binding the contract method 0x3883e119.
Solidity: function calc_token_amount(uint256[3] _amounts, bool is_deposit) view returns(uint256)
func (*CurveAaveSession) CalcWithdrawOneCoin ¶
func (_CurveAave *CurveAaveSession) CalcWithdrawOneCoin(_token_amount *big.Int, i *big.Int) (*big.Int, error)
CalcWithdrawOneCoin is a free data retrieval call binding the contract method 0xcc2b27d7.
Solidity: function calc_withdraw_one_coin(uint256 _token_amount, int128 i) view returns(uint256)
func (*CurveAaveSession) Coins ¶
Coins is a free data retrieval call binding the contract method 0xc6610657.
Solidity: function coins(uint256 arg0) view returns(address)
func (*CurveAaveSession) CommitNewFee ¶
func (_CurveAave *CurveAaveSession) CommitNewFee(new_fee *big.Int, new_admin_fee *big.Int, new_offpeg_fee_multiplier *big.Int) (*types.Transaction, error)
CommitNewFee is a paid mutator transaction binding the contract method 0x0746dd5a.
Solidity: function commit_new_fee(uint256 new_fee, uint256 new_admin_fee, uint256 new_offpeg_fee_multiplier) returns()
func (*CurveAaveSession) CommitTransferOwnership ¶
func (_CurveAave *CurveAaveSession) CommitTransferOwnership(_owner common.Address) (*types.Transaction, error)
CommitTransferOwnership is a paid mutator transaction binding the contract method 0x6b441a40.
Solidity: function commit_transfer_ownership(address _owner) returns()
func (*CurveAaveSession) DonateAdminFees ¶
func (_CurveAave *CurveAaveSession) DonateAdminFees() (*types.Transaction, error)
DonateAdminFees is a paid mutator transaction binding the contract method 0x524c3901.
Solidity: function donate_admin_fees() returns()
func (*CurveAaveSession) DynamicFee ¶
DynamicFee is a free data retrieval call binding the contract method 0x76a9cd3e.
Solidity: function dynamic_fee(int128 i, int128 j) view returns(uint256)
func (*CurveAaveSession) Exchange ¶
func (_CurveAave *CurveAaveSession) Exchange(i *big.Int, j *big.Int, dx *big.Int, min_dy *big.Int) (*types.Transaction, error)
Exchange is a paid mutator transaction binding the contract method 0x3df02124.
Solidity: function exchange(int128 i, int128 j, uint256 dx, uint256 min_dy) returns(uint256)
func (*CurveAaveSession) ExchangeUnderlying ¶
func (_CurveAave *CurveAaveSession) ExchangeUnderlying(i *big.Int, j *big.Int, dx *big.Int, min_dy *big.Int) (*types.Transaction, error)
ExchangeUnderlying is a paid mutator transaction binding the contract method 0xa6417ed6.
Solidity: function exchange_underlying(int128 i, int128 j, uint256 dx, uint256 min_dy) returns(uint256)
func (*CurveAaveSession) Fee ¶
func (_CurveAave *CurveAaveSession) Fee() (*big.Int, error)
Fee is a free data retrieval call binding the contract method 0xddca3f43.
Solidity: function fee() view returns(uint256)
func (*CurveAaveSession) FutureA ¶
func (_CurveAave *CurveAaveSession) FutureA() (*big.Int, error)
FutureA is a free data retrieval call binding the contract method 0xb4b577ad.
Solidity: function future_A() view returns(uint256)
func (*CurveAaveSession) FutureATime ¶
func (_CurveAave *CurveAaveSession) FutureATime() (*big.Int, error)
FutureATime is a free data retrieval call binding the contract method 0x14052288.
Solidity: function future_A_time() view returns(uint256)
func (*CurveAaveSession) FutureAdminFee ¶
func (_CurveAave *CurveAaveSession) FutureAdminFee() (*big.Int, error)
FutureAdminFee is a free data retrieval call binding the contract method 0xe3824462.
Solidity: function future_admin_fee() view returns(uint256)
func (*CurveAaveSession) FutureFee ¶
func (_CurveAave *CurveAaveSession) FutureFee() (*big.Int, error)
FutureFee is a free data retrieval call binding the contract method 0x58680d0b.
Solidity: function future_fee() view returns(uint256)
func (*CurveAaveSession) FutureOffpegFeeMultiplier ¶
func (_CurveAave *CurveAaveSession) FutureOffpegFeeMultiplier() (*big.Int, error)
FutureOffpegFeeMultiplier is a free data retrieval call binding the contract method 0x1e4c4ef8.
Solidity: function future_offpeg_fee_multiplier() view returns(uint256)
func (*CurveAaveSession) FutureOwner ¶
func (_CurveAave *CurveAaveSession) FutureOwner() (common.Address, error)
FutureOwner is a free data retrieval call binding the contract method 0x1ec0cdc1.
Solidity: function future_owner() view returns(address)
func (*CurveAaveSession) GetDy ¶
GetDy is a free data retrieval call binding the contract method 0x5e0d443f.
Solidity: function get_dy(int128 i, int128 j, uint256 dx) view returns(uint256)
func (*CurveAaveSession) GetDyUnderlying ¶
func (_CurveAave *CurveAaveSession) GetDyUnderlying(i *big.Int, j *big.Int, dx *big.Int) (*big.Int, error)
GetDyUnderlying is a free data retrieval call binding the contract method 0x07211ef7.
Solidity: function get_dy_underlying(int128 i, int128 j, uint256 dx) view returns(uint256)
func (*CurveAaveSession) GetVirtualPrice ¶
func (_CurveAave *CurveAaveSession) GetVirtualPrice() (*big.Int, error)
GetVirtualPrice is a free data retrieval call binding the contract method 0xbb7b8b80.
Solidity: function get_virtual_price() view returns(uint256)
func (*CurveAaveSession) InitialA ¶
func (_CurveAave *CurveAaveSession) InitialA() (*big.Int, error)
InitialA is a free data retrieval call binding the contract method 0x5409491a.
Solidity: function initial_A() view returns(uint256)
func (*CurveAaveSession) InitialATime ¶
func (_CurveAave *CurveAaveSession) InitialATime() (*big.Int, error)
InitialATime is a free data retrieval call binding the contract method 0x2081066c.
Solidity: function initial_A_time() view returns(uint256)
func (*CurveAaveSession) KillMe ¶
func (_CurveAave *CurveAaveSession) KillMe() (*types.Transaction, error)
KillMe is a paid mutator transaction binding the contract method 0xe3698853.
Solidity: function kill_me() returns()
func (*CurveAaveSession) LpToken ¶
func (_CurveAave *CurveAaveSession) LpToken() (common.Address, error)
LpToken is a free data retrieval call binding the contract method 0x82c63066.
Solidity: function lp_token() view returns(address)
func (*CurveAaveSession) OffpegFeeMultiplier ¶
func (_CurveAave *CurveAaveSession) OffpegFeeMultiplier() (*big.Int, error)
OffpegFeeMultiplier is a free data retrieval call binding the contract method 0x8edfdd5f.
Solidity: function offpeg_fee_multiplier() view returns(uint256)
func (*CurveAaveSession) Owner ¶
func (_CurveAave *CurveAaveSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*CurveAaveSession) RampA ¶
func (_CurveAave *CurveAaveSession) RampA(_future_A *big.Int, _future_time *big.Int) (*types.Transaction, error)
RampA is a paid mutator transaction binding the contract method 0x3c157e64.
Solidity: function ramp_A(uint256 _future_A, uint256 _future_time) returns()
func (*CurveAaveSession) RemoveLiquidity ¶
func (_CurveAave *CurveAaveSession) RemoveLiquidity(_amount *big.Int, _min_amounts [3]*big.Int) (*types.Transaction, error)
RemoveLiquidity is a paid mutator transaction binding the contract method 0xecb586a5.
Solidity: function remove_liquidity(uint256 _amount, uint256[3] _min_amounts) returns(uint256[3])
func (*CurveAaveSession) RemoveLiquidity0 ¶
func (_CurveAave *CurveAaveSession) RemoveLiquidity0(_amount *big.Int, _min_amounts [3]*big.Int, _use_underlying bool) (*types.Transaction, error)
RemoveLiquidity0 is a paid mutator transaction binding the contract method 0xfce64736.
Solidity: function remove_liquidity(uint256 _amount, uint256[3] _min_amounts, bool _use_underlying) returns(uint256[3])
func (*CurveAaveSession) RemoveLiquidityImbalance ¶
func (_CurveAave *CurveAaveSession) RemoveLiquidityImbalance(_amounts [3]*big.Int, _max_burn_amount *big.Int, _use_underlying bool) (*types.Transaction, error)
RemoveLiquidityImbalance is a paid mutator transaction binding the contract method 0x5b8369f5.
Solidity: function remove_liquidity_imbalance(uint256[3] _amounts, uint256 _max_burn_amount, bool _use_underlying) returns(uint256)
func (*CurveAaveSession) RemoveLiquidityImbalance0 ¶
func (_CurveAave *CurveAaveSession) RemoveLiquidityImbalance0(_amounts [3]*big.Int, _max_burn_amount *big.Int) (*types.Transaction, error)
RemoveLiquidityImbalance0 is a paid mutator transaction binding the contract method 0x9fdaea0c.
Solidity: function remove_liquidity_imbalance(uint256[3] _amounts, uint256 _max_burn_amount) returns(uint256)
func (*CurveAaveSession) RemoveLiquidityOneCoin ¶
func (_CurveAave *CurveAaveSession) RemoveLiquidityOneCoin(_token_amount *big.Int, i *big.Int, _min_amount *big.Int) (*types.Transaction, error)
RemoveLiquidityOneCoin is a paid mutator transaction binding the contract method 0x1a4d01d2.
Solidity: function remove_liquidity_one_coin(uint256 _token_amount, int128 i, uint256 _min_amount) returns(uint256)
func (*CurveAaveSession) RemoveLiquidityOneCoin0 ¶
func (_CurveAave *CurveAaveSession) RemoveLiquidityOneCoin0(_token_amount *big.Int, i *big.Int, _min_amount *big.Int, _use_underlying bool) (*types.Transaction, error)
RemoveLiquidityOneCoin0 is a paid mutator transaction binding the contract method 0x517a55a3.
Solidity: function remove_liquidity_one_coin(uint256 _token_amount, int128 i, uint256 _min_amount, bool _use_underlying) returns(uint256)
func (*CurveAaveSession) RevertNewParameters ¶
func (_CurveAave *CurveAaveSession) RevertNewParameters() (*types.Transaction, error)
RevertNewParameters is a paid mutator transaction binding the contract method 0x226840fb.
Solidity: function revert_new_parameters() returns()
func (*CurveAaveSession) RevertTransferOwnership ¶
func (_CurveAave *CurveAaveSession) RevertTransferOwnership() (*types.Transaction, error)
RevertTransferOwnership is a paid mutator transaction binding the contract method 0x86fbf193.
Solidity: function revert_transfer_ownership() returns()
func (*CurveAaveSession) RewardReceiver ¶
func (_CurveAave *CurveAaveSession) RewardReceiver() (common.Address, error)
RewardReceiver is a free data retrieval call binding the contract method 0xb618ba62.
Solidity: function reward_receiver() view returns(address)
func (*CurveAaveSession) SetAaveReferral ¶
func (_CurveAave *CurveAaveSession) SetAaveReferral(referral_code *big.Int) (*types.Transaction, error)
SetAaveReferral is a paid mutator transaction binding the contract method 0xb6aa64c5.
Solidity: function set_aave_referral(uint256 referral_code) returns()
func (*CurveAaveSession) SetAdminFeeReceiver ¶
func (_CurveAave *CurveAaveSession) SetAdminFeeReceiver(_admin_fee_receiver common.Address) (*types.Transaction, error)
SetAdminFeeReceiver is a paid mutator transaction binding the contract method 0x7242e524.
Solidity: function set_admin_fee_receiver(address _admin_fee_receiver) returns()
func (*CurveAaveSession) SetRewardReceiver ¶
func (_CurveAave *CurveAaveSession) SetRewardReceiver(_reward_receiver common.Address) (*types.Transaction, error)
SetRewardReceiver is a paid mutator transaction binding the contract method 0xc51b8861.
Solidity: function set_reward_receiver(address _reward_receiver) returns()
func (*CurveAaveSession) StopRampA ¶
func (_CurveAave *CurveAaveSession) StopRampA() (*types.Transaction, error)
StopRampA is a paid mutator transaction binding the contract method 0x551a6588.
Solidity: function stop_ramp_A() returns()
func (*CurveAaveSession) TransferOwnershipDeadline ¶
func (_CurveAave *CurveAaveSession) TransferOwnershipDeadline() (*big.Int, error)
TransferOwnershipDeadline is a free data retrieval call binding the contract method 0xe0a0b586.
Solidity: function transfer_ownership_deadline() view returns(uint256)
func (*CurveAaveSession) UnderlyingCoins ¶
UnderlyingCoins is a free data retrieval call binding the contract method 0xb9947eb0.
Solidity: function underlying_coins(uint256 arg0) view returns(address)
func (*CurveAaveSession) UnkillMe ¶
func (_CurveAave *CurveAaveSession) UnkillMe() (*types.Transaction, error)
UnkillMe is a paid mutator transaction binding the contract method 0x3046f972.
Solidity: function unkill_me() returns()
func (*CurveAaveSession) WithdrawAdminFees ¶
func (_CurveAave *CurveAaveSession) WithdrawAdminFees() (*types.Transaction, error)
WithdrawAdminFees is a paid mutator transaction binding the contract method 0x30c54085.
Solidity: function withdraw_admin_fees() returns()
type CurveAaveTransactor ¶
type CurveAaveTransactor struct {
// contains filtered or unexported fields
}
CurveAaveTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewCurveAaveTransactor ¶
func NewCurveAaveTransactor(address common.Address, transactor bind.ContractTransactor) (*CurveAaveTransactor, error)
NewCurveAaveTransactor creates a new write-only instance of CurveAave, bound to a specific deployed contract.
func (*CurveAaveTransactor) AddLiquidity ¶
func (_CurveAave *CurveAaveTransactor) AddLiquidity(opts *bind.TransactOpts, _amounts [3]*big.Int, _min_mint_amount *big.Int, _use_underlying bool) (*types.Transaction, error)
AddLiquidity is a paid mutator transaction binding the contract method 0x2b6e993a.
Solidity: function add_liquidity(uint256[3] _amounts, uint256 _min_mint_amount, bool _use_underlying) returns(uint256)
func (*CurveAaveTransactor) AddLiquidity0 ¶
func (_CurveAave *CurveAaveTransactor) AddLiquidity0(opts *bind.TransactOpts, _amounts [3]*big.Int, _min_mint_amount *big.Int) (*types.Transaction, error)
AddLiquidity0 is a paid mutator transaction binding the contract method 0x4515cef3.
Solidity: function add_liquidity(uint256[3] _amounts, uint256 _min_mint_amount) returns(uint256)
func (*CurveAaveTransactor) ApplyNewFee ¶
func (_CurveAave *CurveAaveTransactor) ApplyNewFee(opts *bind.TransactOpts) (*types.Transaction, error)
ApplyNewFee is a paid mutator transaction binding the contract method 0x4f12fe97.
Solidity: function apply_new_fee() returns()
func (*CurveAaveTransactor) ApplyTransferOwnership ¶
func (_CurveAave *CurveAaveTransactor) ApplyTransferOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
ApplyTransferOwnership is a paid mutator transaction binding the contract method 0x6a1c05ae.
Solidity: function apply_transfer_ownership() returns()
func (*CurveAaveTransactor) CommitNewFee ¶
func (_CurveAave *CurveAaveTransactor) CommitNewFee(opts *bind.TransactOpts, new_fee *big.Int, new_admin_fee *big.Int, new_offpeg_fee_multiplier *big.Int) (*types.Transaction, error)
CommitNewFee is a paid mutator transaction binding the contract method 0x0746dd5a.
Solidity: function commit_new_fee(uint256 new_fee, uint256 new_admin_fee, uint256 new_offpeg_fee_multiplier) returns()
func (*CurveAaveTransactor) CommitTransferOwnership ¶
func (_CurveAave *CurveAaveTransactor) CommitTransferOwnership(opts *bind.TransactOpts, _owner common.Address) (*types.Transaction, error)
CommitTransferOwnership is a paid mutator transaction binding the contract method 0x6b441a40.
Solidity: function commit_transfer_ownership(address _owner) returns()
func (*CurveAaveTransactor) DonateAdminFees ¶
func (_CurveAave *CurveAaveTransactor) DonateAdminFees(opts *bind.TransactOpts) (*types.Transaction, error)
DonateAdminFees is a paid mutator transaction binding the contract method 0x524c3901.
Solidity: function donate_admin_fees() returns()
func (*CurveAaveTransactor) Exchange ¶
func (_CurveAave *CurveAaveTransactor) Exchange(opts *bind.TransactOpts, i *big.Int, j *big.Int, dx *big.Int, min_dy *big.Int) (*types.Transaction, error)
Exchange is a paid mutator transaction binding the contract method 0x3df02124.
Solidity: function exchange(int128 i, int128 j, uint256 dx, uint256 min_dy) returns(uint256)
func (*CurveAaveTransactor) ExchangeUnderlying ¶
func (_CurveAave *CurveAaveTransactor) ExchangeUnderlying(opts *bind.TransactOpts, i *big.Int, j *big.Int, dx *big.Int, min_dy *big.Int) (*types.Transaction, error)
ExchangeUnderlying is a paid mutator transaction binding the contract method 0xa6417ed6.
Solidity: function exchange_underlying(int128 i, int128 j, uint256 dx, uint256 min_dy) returns(uint256)
func (*CurveAaveTransactor) KillMe ¶
func (_CurveAave *CurveAaveTransactor) KillMe(opts *bind.TransactOpts) (*types.Transaction, error)
KillMe is a paid mutator transaction binding the contract method 0xe3698853.
Solidity: function kill_me() returns()
func (*CurveAaveTransactor) RampA ¶
func (_CurveAave *CurveAaveTransactor) RampA(opts *bind.TransactOpts, _future_A *big.Int, _future_time *big.Int) (*types.Transaction, error)
RampA is a paid mutator transaction binding the contract method 0x3c157e64.
Solidity: function ramp_A(uint256 _future_A, uint256 _future_time) returns()
func (*CurveAaveTransactor) RemoveLiquidity ¶
func (_CurveAave *CurveAaveTransactor) RemoveLiquidity(opts *bind.TransactOpts, _amount *big.Int, _min_amounts [3]*big.Int) (*types.Transaction, error)
RemoveLiquidity is a paid mutator transaction binding the contract method 0xecb586a5.
Solidity: function remove_liquidity(uint256 _amount, uint256[3] _min_amounts) returns(uint256[3])
func (*CurveAaveTransactor) RemoveLiquidity0 ¶
func (_CurveAave *CurveAaveTransactor) RemoveLiquidity0(opts *bind.TransactOpts, _amount *big.Int, _min_amounts [3]*big.Int, _use_underlying bool) (*types.Transaction, error)
RemoveLiquidity0 is a paid mutator transaction binding the contract method 0xfce64736.
Solidity: function remove_liquidity(uint256 _amount, uint256[3] _min_amounts, bool _use_underlying) returns(uint256[3])
func (*CurveAaveTransactor) RemoveLiquidityImbalance ¶
func (_CurveAave *CurveAaveTransactor) RemoveLiquidityImbalance(opts *bind.TransactOpts, _amounts [3]*big.Int, _max_burn_amount *big.Int, _use_underlying bool) (*types.Transaction, error)
RemoveLiquidityImbalance is a paid mutator transaction binding the contract method 0x5b8369f5.
Solidity: function remove_liquidity_imbalance(uint256[3] _amounts, uint256 _max_burn_amount, bool _use_underlying) returns(uint256)
func (*CurveAaveTransactor) RemoveLiquidityImbalance0 ¶
func (_CurveAave *CurveAaveTransactor) RemoveLiquidityImbalance0(opts *bind.TransactOpts, _amounts [3]*big.Int, _max_burn_amount *big.Int) (*types.Transaction, error)
RemoveLiquidityImbalance0 is a paid mutator transaction binding the contract method 0x9fdaea0c.
Solidity: function remove_liquidity_imbalance(uint256[3] _amounts, uint256 _max_burn_amount) returns(uint256)
func (*CurveAaveTransactor) RemoveLiquidityOneCoin ¶
func (_CurveAave *CurveAaveTransactor) RemoveLiquidityOneCoin(opts *bind.TransactOpts, _token_amount *big.Int, i *big.Int, _min_amount *big.Int) (*types.Transaction, error)
RemoveLiquidityOneCoin is a paid mutator transaction binding the contract method 0x1a4d01d2.
Solidity: function remove_liquidity_one_coin(uint256 _token_amount, int128 i, uint256 _min_amount) returns(uint256)
func (*CurveAaveTransactor) RemoveLiquidityOneCoin0 ¶
func (_CurveAave *CurveAaveTransactor) RemoveLiquidityOneCoin0(opts *bind.TransactOpts, _token_amount *big.Int, i *big.Int, _min_amount *big.Int, _use_underlying bool) (*types.Transaction, error)
RemoveLiquidityOneCoin0 is a paid mutator transaction binding the contract method 0x517a55a3.
Solidity: function remove_liquidity_one_coin(uint256 _token_amount, int128 i, uint256 _min_amount, bool _use_underlying) returns(uint256)
func (*CurveAaveTransactor) RevertNewParameters ¶
func (_CurveAave *CurveAaveTransactor) RevertNewParameters(opts *bind.TransactOpts) (*types.Transaction, error)
RevertNewParameters is a paid mutator transaction binding the contract method 0x226840fb.
Solidity: function revert_new_parameters() returns()
func (*CurveAaveTransactor) RevertTransferOwnership ¶
func (_CurveAave *CurveAaveTransactor) RevertTransferOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RevertTransferOwnership is a paid mutator transaction binding the contract method 0x86fbf193.
Solidity: function revert_transfer_ownership() returns()
func (*CurveAaveTransactor) SetAaveReferral ¶
func (_CurveAave *CurveAaveTransactor) SetAaveReferral(opts *bind.TransactOpts, referral_code *big.Int) (*types.Transaction, error)
SetAaveReferral is a paid mutator transaction binding the contract method 0xb6aa64c5.
Solidity: function set_aave_referral(uint256 referral_code) returns()
func (*CurveAaveTransactor) SetAdminFeeReceiver ¶
func (_CurveAave *CurveAaveTransactor) SetAdminFeeReceiver(opts *bind.TransactOpts, _admin_fee_receiver common.Address) (*types.Transaction, error)
SetAdminFeeReceiver is a paid mutator transaction binding the contract method 0x7242e524.
Solidity: function set_admin_fee_receiver(address _admin_fee_receiver) returns()
func (*CurveAaveTransactor) SetRewardReceiver ¶
func (_CurveAave *CurveAaveTransactor) SetRewardReceiver(opts *bind.TransactOpts, _reward_receiver common.Address) (*types.Transaction, error)
SetRewardReceiver is a paid mutator transaction binding the contract method 0xc51b8861.
Solidity: function set_reward_receiver(address _reward_receiver) returns()
func (*CurveAaveTransactor) StopRampA ¶
func (_CurveAave *CurveAaveTransactor) StopRampA(opts *bind.TransactOpts) (*types.Transaction, error)
StopRampA is a paid mutator transaction binding the contract method 0x551a6588.
Solidity: function stop_ramp_A() returns()
func (*CurveAaveTransactor) UnkillMe ¶
func (_CurveAave *CurveAaveTransactor) UnkillMe(opts *bind.TransactOpts) (*types.Transaction, error)
UnkillMe is a paid mutator transaction binding the contract method 0x3046f972.
Solidity: function unkill_me() returns()
func (*CurveAaveTransactor) WithdrawAdminFees ¶
func (_CurveAave *CurveAaveTransactor) WithdrawAdminFees(opts *bind.TransactOpts) (*types.Transaction, error)
WithdrawAdminFees is a paid mutator transaction binding the contract method 0x30c54085.
Solidity: function withdraw_admin_fees() returns()
type CurveAaveTransactorRaw ¶
type CurveAaveTransactorRaw struct {
Contract *CurveAaveTransactor // Generic write-only contract binding to access the raw methods on
}
CurveAaveTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*CurveAaveTransactorRaw) Transact ¶
func (_CurveAave *CurveAaveTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*CurveAaveTransactorRaw) Transfer ¶
func (_CurveAave *CurveAaveTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type CurveAaveTransactorSession ¶
type CurveAaveTransactorSession struct { Contract *CurveAaveTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
CurveAaveTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*CurveAaveTransactorSession) AddLiquidity ¶
func (_CurveAave *CurveAaveTransactorSession) AddLiquidity(_amounts [3]*big.Int, _min_mint_amount *big.Int, _use_underlying bool) (*types.Transaction, error)
AddLiquidity is a paid mutator transaction binding the contract method 0x2b6e993a.
Solidity: function add_liquidity(uint256[3] _amounts, uint256 _min_mint_amount, bool _use_underlying) returns(uint256)
func (*CurveAaveTransactorSession) AddLiquidity0 ¶
func (_CurveAave *CurveAaveTransactorSession) AddLiquidity0(_amounts [3]*big.Int, _min_mint_amount *big.Int) (*types.Transaction, error)
AddLiquidity0 is a paid mutator transaction binding the contract method 0x4515cef3.
Solidity: function add_liquidity(uint256[3] _amounts, uint256 _min_mint_amount) returns(uint256)
func (*CurveAaveTransactorSession) ApplyNewFee ¶
func (_CurveAave *CurveAaveTransactorSession) ApplyNewFee() (*types.Transaction, error)
ApplyNewFee is a paid mutator transaction binding the contract method 0x4f12fe97.
Solidity: function apply_new_fee() returns()
func (*CurveAaveTransactorSession) ApplyTransferOwnership ¶
func (_CurveAave *CurveAaveTransactorSession) ApplyTransferOwnership() (*types.Transaction, error)
ApplyTransferOwnership is a paid mutator transaction binding the contract method 0x6a1c05ae.
Solidity: function apply_transfer_ownership() returns()
func (*CurveAaveTransactorSession) CommitNewFee ¶
func (_CurveAave *CurveAaveTransactorSession) CommitNewFee(new_fee *big.Int, new_admin_fee *big.Int, new_offpeg_fee_multiplier *big.Int) (*types.Transaction, error)
CommitNewFee is a paid mutator transaction binding the contract method 0x0746dd5a.
Solidity: function commit_new_fee(uint256 new_fee, uint256 new_admin_fee, uint256 new_offpeg_fee_multiplier) returns()
func (*CurveAaveTransactorSession) CommitTransferOwnership ¶
func (_CurveAave *CurveAaveTransactorSession) CommitTransferOwnership(_owner common.Address) (*types.Transaction, error)
CommitTransferOwnership is a paid mutator transaction binding the contract method 0x6b441a40.
Solidity: function commit_transfer_ownership(address _owner) returns()
func (*CurveAaveTransactorSession) DonateAdminFees ¶
func (_CurveAave *CurveAaveTransactorSession) DonateAdminFees() (*types.Transaction, error)
DonateAdminFees is a paid mutator transaction binding the contract method 0x524c3901.
Solidity: function donate_admin_fees() returns()
func (*CurveAaveTransactorSession) Exchange ¶
func (_CurveAave *CurveAaveTransactorSession) Exchange(i *big.Int, j *big.Int, dx *big.Int, min_dy *big.Int) (*types.Transaction, error)
Exchange is a paid mutator transaction binding the contract method 0x3df02124.
Solidity: function exchange(int128 i, int128 j, uint256 dx, uint256 min_dy) returns(uint256)
func (*CurveAaveTransactorSession) ExchangeUnderlying ¶
func (_CurveAave *CurveAaveTransactorSession) ExchangeUnderlying(i *big.Int, j *big.Int, dx *big.Int, min_dy *big.Int) (*types.Transaction, error)
ExchangeUnderlying is a paid mutator transaction binding the contract method 0xa6417ed6.
Solidity: function exchange_underlying(int128 i, int128 j, uint256 dx, uint256 min_dy) returns(uint256)
func (*CurveAaveTransactorSession) KillMe ¶
func (_CurveAave *CurveAaveTransactorSession) KillMe() (*types.Transaction, error)
KillMe is a paid mutator transaction binding the contract method 0xe3698853.
Solidity: function kill_me() returns()
func (*CurveAaveTransactorSession) RampA ¶
func (_CurveAave *CurveAaveTransactorSession) RampA(_future_A *big.Int, _future_time *big.Int) (*types.Transaction, error)
RampA is a paid mutator transaction binding the contract method 0x3c157e64.
Solidity: function ramp_A(uint256 _future_A, uint256 _future_time) returns()
func (*CurveAaveTransactorSession) RemoveLiquidity ¶
func (_CurveAave *CurveAaveTransactorSession) RemoveLiquidity(_amount *big.Int, _min_amounts [3]*big.Int) (*types.Transaction, error)
RemoveLiquidity is a paid mutator transaction binding the contract method 0xecb586a5.
Solidity: function remove_liquidity(uint256 _amount, uint256[3] _min_amounts) returns(uint256[3])
func (*CurveAaveTransactorSession) RemoveLiquidity0 ¶
func (_CurveAave *CurveAaveTransactorSession) RemoveLiquidity0(_amount *big.Int, _min_amounts [3]*big.Int, _use_underlying bool) (*types.Transaction, error)
RemoveLiquidity0 is a paid mutator transaction binding the contract method 0xfce64736.
Solidity: function remove_liquidity(uint256 _amount, uint256[3] _min_amounts, bool _use_underlying) returns(uint256[3])
func (*CurveAaveTransactorSession) RemoveLiquidityImbalance ¶
func (_CurveAave *CurveAaveTransactorSession) RemoveLiquidityImbalance(_amounts [3]*big.Int, _max_burn_amount *big.Int, _use_underlying bool) (*types.Transaction, error)
RemoveLiquidityImbalance is a paid mutator transaction binding the contract method 0x5b8369f5.
Solidity: function remove_liquidity_imbalance(uint256[3] _amounts, uint256 _max_burn_amount, bool _use_underlying) returns(uint256)
func (*CurveAaveTransactorSession) RemoveLiquidityImbalance0 ¶
func (_CurveAave *CurveAaveTransactorSession) RemoveLiquidityImbalance0(_amounts [3]*big.Int, _max_burn_amount *big.Int) (*types.Transaction, error)
RemoveLiquidityImbalance0 is a paid mutator transaction binding the contract method 0x9fdaea0c.
Solidity: function remove_liquidity_imbalance(uint256[3] _amounts, uint256 _max_burn_amount) returns(uint256)
func (*CurveAaveTransactorSession) RemoveLiquidityOneCoin ¶
func (_CurveAave *CurveAaveTransactorSession) RemoveLiquidityOneCoin(_token_amount *big.Int, i *big.Int, _min_amount *big.Int) (*types.Transaction, error)
RemoveLiquidityOneCoin is a paid mutator transaction binding the contract method 0x1a4d01d2.
Solidity: function remove_liquidity_one_coin(uint256 _token_amount, int128 i, uint256 _min_amount) returns(uint256)
func (*CurveAaveTransactorSession) RemoveLiquidityOneCoin0 ¶
func (_CurveAave *CurveAaveTransactorSession) RemoveLiquidityOneCoin0(_token_amount *big.Int, i *big.Int, _min_amount *big.Int, _use_underlying bool) (*types.Transaction, error)
RemoveLiquidityOneCoin0 is a paid mutator transaction binding the contract method 0x517a55a3.
Solidity: function remove_liquidity_one_coin(uint256 _token_amount, int128 i, uint256 _min_amount, bool _use_underlying) returns(uint256)
func (*CurveAaveTransactorSession) RevertNewParameters ¶
func (_CurveAave *CurveAaveTransactorSession) RevertNewParameters() (*types.Transaction, error)
RevertNewParameters is a paid mutator transaction binding the contract method 0x226840fb.
Solidity: function revert_new_parameters() returns()
func (*CurveAaveTransactorSession) RevertTransferOwnership ¶
func (_CurveAave *CurveAaveTransactorSession) RevertTransferOwnership() (*types.Transaction, error)
RevertTransferOwnership is a paid mutator transaction binding the contract method 0x86fbf193.
Solidity: function revert_transfer_ownership() returns()
func (*CurveAaveTransactorSession) SetAaveReferral ¶
func (_CurveAave *CurveAaveTransactorSession) SetAaveReferral(referral_code *big.Int) (*types.Transaction, error)
SetAaveReferral is a paid mutator transaction binding the contract method 0xb6aa64c5.
Solidity: function set_aave_referral(uint256 referral_code) returns()
func (*CurveAaveTransactorSession) SetAdminFeeReceiver ¶
func (_CurveAave *CurveAaveTransactorSession) SetAdminFeeReceiver(_admin_fee_receiver common.Address) (*types.Transaction, error)
SetAdminFeeReceiver is a paid mutator transaction binding the contract method 0x7242e524.
Solidity: function set_admin_fee_receiver(address _admin_fee_receiver) returns()
func (*CurveAaveTransactorSession) SetRewardReceiver ¶
func (_CurveAave *CurveAaveTransactorSession) SetRewardReceiver(_reward_receiver common.Address) (*types.Transaction, error)
SetRewardReceiver is a paid mutator transaction binding the contract method 0xc51b8861.
Solidity: function set_reward_receiver(address _reward_receiver) returns()
func (*CurveAaveTransactorSession) StopRampA ¶
func (_CurveAave *CurveAaveTransactorSession) StopRampA() (*types.Transaction, error)
StopRampA is a paid mutator transaction binding the contract method 0x551a6588.
Solidity: function stop_ramp_A() returns()
func (*CurveAaveTransactorSession) UnkillMe ¶
func (_CurveAave *CurveAaveTransactorSession) UnkillMe() (*types.Transaction, error)
UnkillMe is a paid mutator transaction binding the contract method 0x3046f972.
Solidity: function unkill_me() returns()
func (*CurveAaveTransactorSession) WithdrawAdminFees ¶
func (_CurveAave *CurveAaveTransactorSession) WithdrawAdminFees() (*types.Transaction, error)
WithdrawAdminFees is a paid mutator transaction binding the contract method 0x30c54085.
Solidity: function withdraw_admin_fees() returns()