Documentation ¶
Index ¶
- Variables
- type CurveRen
- type CurveRenCaller
- func (_CurveRen *CurveRenCaller) A(opts *bind.CallOpts) (*big.Int, error)
- func (_CurveRen *CurveRenCaller) APrecise(opts *bind.CallOpts) (*big.Int, error)
- func (_CurveRen *CurveRenCaller) AdminActionsDeadline(opts *bind.CallOpts) (*big.Int, error)
- func (_CurveRen *CurveRenCaller) AdminBalances(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)
- func (_CurveRen *CurveRenCaller) AdminFee(opts *bind.CallOpts) (*big.Int, error)
- func (_CurveRen *CurveRenCaller) AdminFeeReceiver(opts *bind.CallOpts) (common.Address, error)
- func (_CurveRen *CurveRenCaller) Balances(opts *bind.CallOpts, i *big.Int) (*big.Int, error)
- func (_CurveRen *CurveRenCaller) CalcTokenAmount(opts *bind.CallOpts, _amounts [2]*big.Int, is_deposit bool) (*big.Int, error)
- func (_CurveRen *CurveRenCaller) CalcWithdrawOneCoin(opts *bind.CallOpts, _token_amount *big.Int, i *big.Int) (*big.Int, error)
- func (_CurveRen *CurveRenCaller) Coins(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)
- func (_CurveRen *CurveRenCaller) DynamicFee(opts *bind.CallOpts, i *big.Int, j *big.Int) (*big.Int, error)
- func (_CurveRen *CurveRenCaller) Fee(opts *bind.CallOpts) (*big.Int, error)
- func (_CurveRen *CurveRenCaller) FutureA(opts *bind.CallOpts) (*big.Int, error)
- func (_CurveRen *CurveRenCaller) FutureATime(opts *bind.CallOpts) (*big.Int, error)
- func (_CurveRen *CurveRenCaller) FutureAdminFee(opts *bind.CallOpts) (*big.Int, error)
- func (_CurveRen *CurveRenCaller) FutureFee(opts *bind.CallOpts) (*big.Int, error)
- func (_CurveRen *CurveRenCaller) FutureOffpegFeeMultiplier(opts *bind.CallOpts) (*big.Int, error)
- func (_CurveRen *CurveRenCaller) FutureOwner(opts *bind.CallOpts) (common.Address, error)
- func (_CurveRen *CurveRenCaller) GetDy(opts *bind.CallOpts, i *big.Int, j *big.Int, dx *big.Int) (*big.Int, error)
- func (_CurveRen *CurveRenCaller) GetDyUnderlying(opts *bind.CallOpts, i *big.Int, j *big.Int, dx *big.Int) (*big.Int, error)
- func (_CurveRen *CurveRenCaller) GetVirtualPrice(opts *bind.CallOpts) (*big.Int, error)
- func (_CurveRen *CurveRenCaller) InitialA(opts *bind.CallOpts) (*big.Int, error)
- func (_CurveRen *CurveRenCaller) InitialATime(opts *bind.CallOpts) (*big.Int, error)
- func (_CurveRen *CurveRenCaller) LpToken(opts *bind.CallOpts) (common.Address, error)
- func (_CurveRen *CurveRenCaller) OffpegFeeMultiplier(opts *bind.CallOpts) (*big.Int, error)
- func (_CurveRen *CurveRenCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_CurveRen *CurveRenCaller) RewardReceiver(opts *bind.CallOpts) (common.Address, error)
- func (_CurveRen *CurveRenCaller) TransferOwnershipDeadline(opts *bind.CallOpts) (*big.Int, error)
- func (_CurveRen *CurveRenCaller) UnderlyingCoins(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)
- type CurveRenCallerRaw
- type CurveRenCallerSession
- func (_CurveRen *CurveRenCallerSession) A() (*big.Int, error)
- func (_CurveRen *CurveRenCallerSession) APrecise() (*big.Int, error)
- func (_CurveRen *CurveRenCallerSession) AdminActionsDeadline() (*big.Int, error)
- func (_CurveRen *CurveRenCallerSession) AdminBalances(arg0 *big.Int) (*big.Int, error)
- func (_CurveRen *CurveRenCallerSession) AdminFee() (*big.Int, error)
- func (_CurveRen *CurveRenCallerSession) AdminFeeReceiver() (common.Address, error)
- func (_CurveRen *CurveRenCallerSession) Balances(i *big.Int) (*big.Int, error)
- func (_CurveRen *CurveRenCallerSession) CalcTokenAmount(_amounts [2]*big.Int, is_deposit bool) (*big.Int, error)
- func (_CurveRen *CurveRenCallerSession) CalcWithdrawOneCoin(_token_amount *big.Int, i *big.Int) (*big.Int, error)
- func (_CurveRen *CurveRenCallerSession) Coins(arg0 *big.Int) (common.Address, error)
- func (_CurveRen *CurveRenCallerSession) DynamicFee(i *big.Int, j *big.Int) (*big.Int, error)
- func (_CurveRen *CurveRenCallerSession) Fee() (*big.Int, error)
- func (_CurveRen *CurveRenCallerSession) FutureA() (*big.Int, error)
- func (_CurveRen *CurveRenCallerSession) FutureATime() (*big.Int, error)
- func (_CurveRen *CurveRenCallerSession) FutureAdminFee() (*big.Int, error)
- func (_CurveRen *CurveRenCallerSession) FutureFee() (*big.Int, error)
- func (_CurveRen *CurveRenCallerSession) FutureOffpegFeeMultiplier() (*big.Int, error)
- func (_CurveRen *CurveRenCallerSession) FutureOwner() (common.Address, error)
- func (_CurveRen *CurveRenCallerSession) GetDy(i *big.Int, j *big.Int, dx *big.Int) (*big.Int, error)
- func (_CurveRen *CurveRenCallerSession) GetDyUnderlying(i *big.Int, j *big.Int, dx *big.Int) (*big.Int, error)
- func (_CurveRen *CurveRenCallerSession) GetVirtualPrice() (*big.Int, error)
- func (_CurveRen *CurveRenCallerSession) InitialA() (*big.Int, error)
- func (_CurveRen *CurveRenCallerSession) InitialATime() (*big.Int, error)
- func (_CurveRen *CurveRenCallerSession) LpToken() (common.Address, error)
- func (_CurveRen *CurveRenCallerSession) OffpegFeeMultiplier() (*big.Int, error)
- func (_CurveRen *CurveRenCallerSession) Owner() (common.Address, error)
- func (_CurveRen *CurveRenCallerSession) RewardReceiver() (common.Address, error)
- func (_CurveRen *CurveRenCallerSession) TransferOwnershipDeadline() (*big.Int, error)
- func (_CurveRen *CurveRenCallerSession) UnderlyingCoins(arg0 *big.Int) (common.Address, error)
- type CurveRenFilterer
- type CurveRenRaw
- func (_CurveRen *CurveRenRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_CurveRen *CurveRenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_CurveRen *CurveRenRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type CurveRenSession
- func (_CurveRen *CurveRenSession) A() (*big.Int, error)
- func (_CurveRen *CurveRenSession) APrecise() (*big.Int, error)
- func (_CurveRen *CurveRenSession) AddLiquidity(_amounts [2]*big.Int, _min_mint_amount *big.Int) (*types.Transaction, error)
- func (_CurveRen *CurveRenSession) AddLiquidity0(_amounts [2]*big.Int, _min_mint_amount *big.Int, _use_underlying bool) (*types.Transaction, error)
- func (_CurveRen *CurveRenSession) AdminActionsDeadline() (*big.Int, error)
- func (_CurveRen *CurveRenSession) AdminBalances(arg0 *big.Int) (*big.Int, error)
- func (_CurveRen *CurveRenSession) AdminFee() (*big.Int, error)
- func (_CurveRen *CurveRenSession) AdminFeeReceiver() (common.Address, error)
- func (_CurveRen *CurveRenSession) ApplyNewFee() (*types.Transaction, error)
- func (_CurveRen *CurveRenSession) ApplyTransferOwnership() (*types.Transaction, error)
- func (_CurveRen *CurveRenSession) Balances(i *big.Int) (*big.Int, error)
- func (_CurveRen *CurveRenSession) CalcTokenAmount(_amounts [2]*big.Int, is_deposit bool) (*big.Int, error)
- func (_CurveRen *CurveRenSession) CalcWithdrawOneCoin(_token_amount *big.Int, i *big.Int) (*big.Int, error)
- func (_CurveRen *CurveRenSession) Coins(arg0 *big.Int) (common.Address, error)
- func (_CurveRen *CurveRenSession) CommitNewFee(new_fee *big.Int, new_admin_fee *big.Int, new_offpeg_fee_multiplier *big.Int) (*types.Transaction, error)
- func (_CurveRen *CurveRenSession) CommitTransferOwnership(_owner common.Address) (*types.Transaction, error)
- func (_CurveRen *CurveRenSession) DonateAdminFees() (*types.Transaction, error)
- func (_CurveRen *CurveRenSession) DynamicFee(i *big.Int, j *big.Int) (*big.Int, error)
- func (_CurveRen *CurveRenSession) Exchange(i *big.Int, j *big.Int, dx *big.Int, min_dy *big.Int) (*types.Transaction, error)
- func (_CurveRen *CurveRenSession) ExchangeUnderlying(i *big.Int, j *big.Int, dx *big.Int, min_dy *big.Int) (*types.Transaction, error)
- func (_CurveRen *CurveRenSession) Fee() (*big.Int, error)
- func (_CurveRen *CurveRenSession) FutureA() (*big.Int, error)
- func (_CurveRen *CurveRenSession) FutureATime() (*big.Int, error)
- func (_CurveRen *CurveRenSession) FutureAdminFee() (*big.Int, error)
- func (_CurveRen *CurveRenSession) FutureFee() (*big.Int, error)
- func (_CurveRen *CurveRenSession) FutureOffpegFeeMultiplier() (*big.Int, error)
- func (_CurveRen *CurveRenSession) FutureOwner() (common.Address, error)
- func (_CurveRen *CurveRenSession) GetDy(i *big.Int, j *big.Int, dx *big.Int) (*big.Int, error)
- func (_CurveRen *CurveRenSession) GetDyUnderlying(i *big.Int, j *big.Int, dx *big.Int) (*big.Int, error)
- func (_CurveRen *CurveRenSession) GetVirtualPrice() (*big.Int, error)
- func (_CurveRen *CurveRenSession) InitialA() (*big.Int, error)
- func (_CurveRen *CurveRenSession) InitialATime() (*big.Int, error)
- func (_CurveRen *CurveRenSession) KillMe() (*types.Transaction, error)
- func (_CurveRen *CurveRenSession) LpToken() (common.Address, error)
- func (_CurveRen *CurveRenSession) OffpegFeeMultiplier() (*big.Int, error)
- func (_CurveRen *CurveRenSession) Owner() (common.Address, error)
- func (_CurveRen *CurveRenSession) RampA(_future_A *big.Int, _future_time *big.Int) (*types.Transaction, error)
- func (_CurveRen *CurveRenSession) RemoveLiquidity(_amount *big.Int, _min_amounts [2]*big.Int, _use_underlying bool) (*types.Transaction, error)
- func (_CurveRen *CurveRenSession) RemoveLiquidity0(_amount *big.Int, _min_amounts [2]*big.Int) (*types.Transaction, error)
- func (_CurveRen *CurveRenSession) RemoveLiquidityImbalance(_amounts [2]*big.Int, _max_burn_amount *big.Int, _use_underlying bool) (*types.Transaction, error)
- func (_CurveRen *CurveRenSession) RemoveLiquidityImbalance0(_amounts [2]*big.Int, _max_burn_amount *big.Int) (*types.Transaction, error)
- func (_CurveRen *CurveRenSession) RemoveLiquidityOneCoin(_token_amount *big.Int, i *big.Int, _min_amount *big.Int) (*types.Transaction, error)
- func (_CurveRen *CurveRenSession) RemoveLiquidityOneCoin0(_token_amount *big.Int, i *big.Int, _min_amount *big.Int, _use_underlying bool) (*types.Transaction, error)
- func (_CurveRen *CurveRenSession) RevertNewParameters() (*types.Transaction, error)
- func (_CurveRen *CurveRenSession) RevertTransferOwnership() (*types.Transaction, error)
- func (_CurveRen *CurveRenSession) RewardReceiver() (common.Address, error)
- func (_CurveRen *CurveRenSession) SetAaveReferral(referral_code *big.Int) (*types.Transaction, error)
- func (_CurveRen *CurveRenSession) SetAdminFeeReceiver(_admin_fee_receiver common.Address) (*types.Transaction, error)
- func (_CurveRen *CurveRenSession) SetRewardReceiver(_reward_receiver common.Address) (*types.Transaction, error)
- func (_CurveRen *CurveRenSession) StopRampA() (*types.Transaction, error)
- func (_CurveRen *CurveRenSession) TransferOwnershipDeadline() (*big.Int, error)
- func (_CurveRen *CurveRenSession) UnderlyingCoins(arg0 *big.Int) (common.Address, error)
- func (_CurveRen *CurveRenSession) UnkillMe() (*types.Transaction, error)
- func (_CurveRen *CurveRenSession) WithdrawAdminFees() (*types.Transaction, error)
- type CurveRenTransactor
- func (_CurveRen *CurveRenTransactor) AddLiquidity(opts *bind.TransactOpts, _amounts [2]*big.Int, _min_mint_amount *big.Int) (*types.Transaction, error)
- func (_CurveRen *CurveRenTransactor) AddLiquidity0(opts *bind.TransactOpts, _amounts [2]*big.Int, _min_mint_amount *big.Int, ...) (*types.Transaction, error)
- func (_CurveRen *CurveRenTransactor) ApplyNewFee(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_CurveRen *CurveRenTransactor) ApplyTransferOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_CurveRen *CurveRenTransactor) CommitNewFee(opts *bind.TransactOpts, new_fee *big.Int, new_admin_fee *big.Int, ...) (*types.Transaction, error)
- func (_CurveRen *CurveRenTransactor) CommitTransferOwnership(opts *bind.TransactOpts, _owner common.Address) (*types.Transaction, error)
- func (_CurveRen *CurveRenTransactor) DonateAdminFees(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_CurveRen *CurveRenTransactor) Exchange(opts *bind.TransactOpts, i *big.Int, j *big.Int, dx *big.Int, min_dy *big.Int) (*types.Transaction, error)
- func (_CurveRen *CurveRenTransactor) ExchangeUnderlying(opts *bind.TransactOpts, i *big.Int, j *big.Int, dx *big.Int, min_dy *big.Int) (*types.Transaction, error)
- func (_CurveRen *CurveRenTransactor) KillMe(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_CurveRen *CurveRenTransactor) RampA(opts *bind.TransactOpts, _future_A *big.Int, _future_time *big.Int) (*types.Transaction, error)
- func (_CurveRen *CurveRenTransactor) RemoveLiquidity(opts *bind.TransactOpts, _amount *big.Int, _min_amounts [2]*big.Int, ...) (*types.Transaction, error)
- func (_CurveRen *CurveRenTransactor) RemoveLiquidity0(opts *bind.TransactOpts, _amount *big.Int, _min_amounts [2]*big.Int) (*types.Transaction, error)
- func (_CurveRen *CurveRenTransactor) RemoveLiquidityImbalance(opts *bind.TransactOpts, _amounts [2]*big.Int, _max_burn_amount *big.Int, ...) (*types.Transaction, error)
- func (_CurveRen *CurveRenTransactor) RemoveLiquidityImbalance0(opts *bind.TransactOpts, _amounts [2]*big.Int, _max_burn_amount *big.Int) (*types.Transaction, error)
- func (_CurveRen *CurveRenTransactor) RemoveLiquidityOneCoin(opts *bind.TransactOpts, _token_amount *big.Int, i *big.Int, ...) (*types.Transaction, error)
- func (_CurveRen *CurveRenTransactor) RemoveLiquidityOneCoin0(opts *bind.TransactOpts, _token_amount *big.Int, i *big.Int, ...) (*types.Transaction, error)
- func (_CurveRen *CurveRenTransactor) RevertNewParameters(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_CurveRen *CurveRenTransactor) RevertTransferOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_CurveRen *CurveRenTransactor) SetAaveReferral(opts *bind.TransactOpts, referral_code *big.Int) (*types.Transaction, error)
- func (_CurveRen *CurveRenTransactor) SetAdminFeeReceiver(opts *bind.TransactOpts, _admin_fee_receiver common.Address) (*types.Transaction, error)
- func (_CurveRen *CurveRenTransactor) SetRewardReceiver(opts *bind.TransactOpts, _reward_receiver common.Address) (*types.Transaction, error)
- func (_CurveRen *CurveRenTransactor) StopRampA(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_CurveRen *CurveRenTransactor) UnkillMe(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_CurveRen *CurveRenTransactor) WithdrawAdminFees(opts *bind.TransactOpts) (*types.Transaction, error)
- type CurveRenTransactorRaw
- type CurveRenTransactorSession
- func (_CurveRen *CurveRenTransactorSession) AddLiquidity(_amounts [2]*big.Int, _min_mint_amount *big.Int) (*types.Transaction, error)
- func (_CurveRen *CurveRenTransactorSession) AddLiquidity0(_amounts [2]*big.Int, _min_mint_amount *big.Int, _use_underlying bool) (*types.Transaction, error)
- func (_CurveRen *CurveRenTransactorSession) ApplyNewFee() (*types.Transaction, error)
- func (_CurveRen *CurveRenTransactorSession) ApplyTransferOwnership() (*types.Transaction, error)
- func (_CurveRen *CurveRenTransactorSession) CommitNewFee(new_fee *big.Int, new_admin_fee *big.Int, new_offpeg_fee_multiplier *big.Int) (*types.Transaction, error)
- func (_CurveRen *CurveRenTransactorSession) CommitTransferOwnership(_owner common.Address) (*types.Transaction, error)
- func (_CurveRen *CurveRenTransactorSession) DonateAdminFees() (*types.Transaction, error)
- func (_CurveRen *CurveRenTransactorSession) Exchange(i *big.Int, j *big.Int, dx *big.Int, min_dy *big.Int) (*types.Transaction, error)
- func (_CurveRen *CurveRenTransactorSession) ExchangeUnderlying(i *big.Int, j *big.Int, dx *big.Int, min_dy *big.Int) (*types.Transaction, error)
- func (_CurveRen *CurveRenTransactorSession) KillMe() (*types.Transaction, error)
- func (_CurveRen *CurveRenTransactorSession) RampA(_future_A *big.Int, _future_time *big.Int) (*types.Transaction, error)
- func (_CurveRen *CurveRenTransactorSession) RemoveLiquidity(_amount *big.Int, _min_amounts [2]*big.Int, _use_underlying bool) (*types.Transaction, error)
- func (_CurveRen *CurveRenTransactorSession) RemoveLiquidity0(_amount *big.Int, _min_amounts [2]*big.Int) (*types.Transaction, error)
- func (_CurveRen *CurveRenTransactorSession) RemoveLiquidityImbalance(_amounts [2]*big.Int, _max_burn_amount *big.Int, _use_underlying bool) (*types.Transaction, error)
- func (_CurveRen *CurveRenTransactorSession) RemoveLiquidityImbalance0(_amounts [2]*big.Int, _max_burn_amount *big.Int) (*types.Transaction, error)
- func (_CurveRen *CurveRenTransactorSession) RemoveLiquidityOneCoin(_token_amount *big.Int, i *big.Int, _min_amount *big.Int) (*types.Transaction, error)
- func (_CurveRen *CurveRenTransactorSession) RemoveLiquidityOneCoin0(_token_amount *big.Int, i *big.Int, _min_amount *big.Int, _use_underlying bool) (*types.Transaction, error)
- func (_CurveRen *CurveRenTransactorSession) RevertNewParameters() (*types.Transaction, error)
- func (_CurveRen *CurveRenTransactorSession) RevertTransferOwnership() (*types.Transaction, error)
- func (_CurveRen *CurveRenTransactorSession) SetAaveReferral(referral_code *big.Int) (*types.Transaction, error)
- func (_CurveRen *CurveRenTransactorSession) SetAdminFeeReceiver(_admin_fee_receiver common.Address) (*types.Transaction, error)
- func (_CurveRen *CurveRenTransactorSession) SetRewardReceiver(_reward_receiver common.Address) (*types.Transaction, error)
- func (_CurveRen *CurveRenTransactorSession) StopRampA() (*types.Transaction, error)
- func (_CurveRen *CurveRenTransactorSession) UnkillMe() (*types.Transaction, error)
- func (_CurveRen *CurveRenTransactorSession) WithdrawAdminFees() (*types.Transaction, error)
Constants ¶
This section is empty.
Variables ¶
var CurveRenABI = CurveRenMetaData.ABI
CurveRenABI is the input ABI used to generate the binding from. Deprecated: Use CurveRenMetaData.ABI instead.
var CurveRenMetaData = &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[2]\",\"name\":\"_amounts\",\"type\":\"uint256[2]\"},{\"internalType\":\"uint256\",\"name\":\"_min_mint_amount\",\"type\":\"uint256\"}],\"name\":\"add_liquidity\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256[2]\",\"name\":\"_amounts\",\"type\":\"uint256[2]\"},{\"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\":[],\"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[2]\",\"name\":\"_amounts\",\"type\":\"uint256[2]\"},{\"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[2]\",\"name\":\"_min_amounts\",\"type\":\"uint256[2]\"},{\"internalType\":\"bool\",\"name\":\"_use_underlying\",\"type\":\"bool\"}],\"name\":\"remove_liquidity\",\"outputs\":[{\"internalType\":\"uint256[2]\",\"name\":\"\",\"type\":\"uint256[2]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256[2]\",\"name\":\"_min_amounts\",\"type\":\"uint256[2]\"}],\"name\":\"remove_liquidity\",\"outputs\":[{\"internalType\":\"uint256[2]\",\"name\":\"\",\"type\":\"uint256[2]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256[2]\",\"name\":\"_amounts\",\"type\":\"uint256[2]\"},{\"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[2]\",\"name\":\"_amounts\",\"type\":\"uint256[2]\"},{\"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\"}]",
}
CurveRenMetaData contains all meta data concerning the CurveRen contract.
Functions ¶
This section is empty.
Types ¶
type CurveRen ¶
type CurveRen struct { CurveRenCaller // Read-only binding to the contract CurveRenTransactor // Write-only binding to the contract CurveRenFilterer // Log filterer for contract events }
CurveRen is an auto generated Go binding around an Ethereum contract.
func NewCurveRen ¶
NewCurveRen creates a new instance of CurveRen, bound to a specific deployed contract.
type CurveRenCaller ¶
type CurveRenCaller struct {
// contains filtered or unexported fields
}
CurveRenCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewCurveRenCaller ¶
func NewCurveRenCaller(address common.Address, caller bind.ContractCaller) (*CurveRenCaller, error)
NewCurveRenCaller creates a new read-only instance of CurveRen, bound to a specific deployed contract.
func (*CurveRenCaller) A ¶
A is a free data retrieval call binding the contract method 0xf446c1d0.
Solidity: function A() view returns(uint256)
func (*CurveRenCaller) APrecise ¶
APrecise is a free data retrieval call binding the contract method 0x76a2f0f0.
Solidity: function A_precise() view returns(uint256)
func (*CurveRenCaller) AdminActionsDeadline ¶
AdminActionsDeadline is a free data retrieval call binding the contract method 0x405e28f8.
Solidity: function admin_actions_deadline() view returns(uint256)
func (*CurveRenCaller) AdminBalances ¶
func (_CurveRen *CurveRenCaller) 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 (*CurveRenCaller) AdminFee ¶
AdminFee is a free data retrieval call binding the contract method 0xfee3f7f9.
Solidity: function admin_fee() view returns(uint256)
func (*CurveRenCaller) AdminFeeReceiver ¶
AdminFeeReceiver is a free data retrieval call binding the contract method 0x6e42e4d2.
Solidity: function admin_fee_receiver() view returns(address)
func (*CurveRenCaller) Balances ¶
Balances is a free data retrieval call binding the contract method 0x4903b0d1.
Solidity: function balances(uint256 i) view returns(uint256)
func (*CurveRenCaller) CalcTokenAmount ¶
func (_CurveRen *CurveRenCaller) CalcTokenAmount(opts *bind.CallOpts, _amounts [2]*big.Int, is_deposit bool) (*big.Int, error)
CalcTokenAmount is a free data retrieval call binding the contract method 0xed8e84f3.
Solidity: function calc_token_amount(uint256[2] _amounts, bool is_deposit) view returns(uint256)
func (*CurveRenCaller) CalcWithdrawOneCoin ¶
func (_CurveRen *CurveRenCaller) 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 (*CurveRenCaller) Coins ¶
Coins is a free data retrieval call binding the contract method 0xc6610657.
Solidity: function coins(uint256 arg0) view returns(address)
func (*CurveRenCaller) DynamicFee ¶
func (_CurveRen *CurveRenCaller) 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 (*CurveRenCaller) Fee ¶
Fee is a free data retrieval call binding the contract method 0xddca3f43.
Solidity: function fee() view returns(uint256)
func (*CurveRenCaller) FutureA ¶
FutureA is a free data retrieval call binding the contract method 0xb4b577ad.
Solidity: function future_A() view returns(uint256)
func (*CurveRenCaller) FutureATime ¶
FutureATime is a free data retrieval call binding the contract method 0x14052288.
Solidity: function future_A_time() view returns(uint256)
func (*CurveRenCaller) FutureAdminFee ¶
FutureAdminFee is a free data retrieval call binding the contract method 0xe3824462.
Solidity: function future_admin_fee() view returns(uint256)
func (*CurveRenCaller) FutureFee ¶
FutureFee is a free data retrieval call binding the contract method 0x58680d0b.
Solidity: function future_fee() view returns(uint256)
func (*CurveRenCaller) FutureOffpegFeeMultiplier ¶
FutureOffpegFeeMultiplier is a free data retrieval call binding the contract method 0x1e4c4ef8.
Solidity: function future_offpeg_fee_multiplier() view returns(uint256)
func (*CurveRenCaller) FutureOwner ¶
FutureOwner is a free data retrieval call binding the contract method 0x1ec0cdc1.
Solidity: function future_owner() view returns(address)
func (*CurveRenCaller) GetDy ¶
func (_CurveRen *CurveRenCaller) 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 (*CurveRenCaller) GetDyUnderlying ¶
func (_CurveRen *CurveRenCaller) 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 (*CurveRenCaller) GetVirtualPrice ¶
GetVirtualPrice is a free data retrieval call binding the contract method 0xbb7b8b80.
Solidity: function get_virtual_price() view returns(uint256)
func (*CurveRenCaller) InitialA ¶
InitialA is a free data retrieval call binding the contract method 0x5409491a.
Solidity: function initial_A() view returns(uint256)
func (*CurveRenCaller) InitialATime ¶
InitialATime is a free data retrieval call binding the contract method 0x2081066c.
Solidity: function initial_A_time() view returns(uint256)
func (*CurveRenCaller) LpToken ¶
LpToken is a free data retrieval call binding the contract method 0x82c63066.
Solidity: function lp_token() view returns(address)
func (*CurveRenCaller) OffpegFeeMultiplier ¶
OffpegFeeMultiplier is a free data retrieval call binding the contract method 0x8edfdd5f.
Solidity: function offpeg_fee_multiplier() view returns(uint256)
func (*CurveRenCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*CurveRenCaller) RewardReceiver ¶
RewardReceiver is a free data retrieval call binding the contract method 0xb618ba62.
Solidity: function reward_receiver() view returns(address)
func (*CurveRenCaller) TransferOwnershipDeadline ¶
TransferOwnershipDeadline is a free data retrieval call binding the contract method 0xe0a0b586.
Solidity: function transfer_ownership_deadline() view returns(uint256)
func (*CurveRenCaller) UnderlyingCoins ¶
func (_CurveRen *CurveRenCaller) 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 CurveRenCallerRaw ¶
type CurveRenCallerRaw struct {
Contract *CurveRenCaller // Generic read-only contract binding to access the raw methods on
}
CurveRenCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*CurveRenCallerRaw) Call ¶
func (_CurveRen *CurveRenCallerRaw) 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 CurveRenCallerSession ¶
type CurveRenCallerSession struct { Contract *CurveRenCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
CurveRenCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*CurveRenCallerSession) A ¶
func (_CurveRen *CurveRenCallerSession) A() (*big.Int, error)
A is a free data retrieval call binding the contract method 0xf446c1d0.
Solidity: function A() view returns(uint256)
func (*CurveRenCallerSession) APrecise ¶
func (_CurveRen *CurveRenCallerSession) APrecise() (*big.Int, error)
APrecise is a free data retrieval call binding the contract method 0x76a2f0f0.
Solidity: function A_precise() view returns(uint256)
func (*CurveRenCallerSession) AdminActionsDeadline ¶
func (_CurveRen *CurveRenCallerSession) 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 (*CurveRenCallerSession) AdminBalances ¶
AdminBalances is a free data retrieval call binding the contract method 0xe2e7d264.
Solidity: function admin_balances(uint256 arg0) view returns(uint256)
func (*CurveRenCallerSession) AdminFee ¶
func (_CurveRen *CurveRenCallerSession) AdminFee() (*big.Int, error)
AdminFee is a free data retrieval call binding the contract method 0xfee3f7f9.
Solidity: function admin_fee() view returns(uint256)
func (*CurveRenCallerSession) AdminFeeReceiver ¶
func (_CurveRen *CurveRenCallerSession) 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 (*CurveRenCallerSession) Balances ¶
Balances is a free data retrieval call binding the contract method 0x4903b0d1.
Solidity: function balances(uint256 i) view returns(uint256)
func (*CurveRenCallerSession) CalcTokenAmount ¶
func (_CurveRen *CurveRenCallerSession) CalcTokenAmount(_amounts [2]*big.Int, is_deposit bool) (*big.Int, error)
CalcTokenAmount is a free data retrieval call binding the contract method 0xed8e84f3.
Solidity: function calc_token_amount(uint256[2] _amounts, bool is_deposit) view returns(uint256)
func (*CurveRenCallerSession) CalcWithdrawOneCoin ¶
func (_CurveRen *CurveRenCallerSession) 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 (*CurveRenCallerSession) Coins ¶
Coins is a free data retrieval call binding the contract method 0xc6610657.
Solidity: function coins(uint256 arg0) view returns(address)
func (*CurveRenCallerSession) 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 (*CurveRenCallerSession) Fee ¶
func (_CurveRen *CurveRenCallerSession) Fee() (*big.Int, error)
Fee is a free data retrieval call binding the contract method 0xddca3f43.
Solidity: function fee() view returns(uint256)
func (*CurveRenCallerSession) FutureA ¶
func (_CurveRen *CurveRenCallerSession) FutureA() (*big.Int, error)
FutureA is a free data retrieval call binding the contract method 0xb4b577ad.
Solidity: function future_A() view returns(uint256)
func (*CurveRenCallerSession) FutureATime ¶
func (_CurveRen *CurveRenCallerSession) 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 (*CurveRenCallerSession) FutureAdminFee ¶
func (_CurveRen *CurveRenCallerSession) 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 (*CurveRenCallerSession) FutureFee ¶
func (_CurveRen *CurveRenCallerSession) FutureFee() (*big.Int, error)
FutureFee is a free data retrieval call binding the contract method 0x58680d0b.
Solidity: function future_fee() view returns(uint256)
func (*CurveRenCallerSession) FutureOffpegFeeMultiplier ¶
func (_CurveRen *CurveRenCallerSession) 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 (*CurveRenCallerSession) FutureOwner ¶
func (_CurveRen *CurveRenCallerSession) FutureOwner() (common.Address, error)
FutureOwner is a free data retrieval call binding the contract method 0x1ec0cdc1.
Solidity: function future_owner() view returns(address)
func (*CurveRenCallerSession) GetDy ¶
func (_CurveRen *CurveRenCallerSession) 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 (*CurveRenCallerSession) GetDyUnderlying ¶
func (_CurveRen *CurveRenCallerSession) 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 (*CurveRenCallerSession) GetVirtualPrice ¶
func (_CurveRen *CurveRenCallerSession) 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 (*CurveRenCallerSession) InitialA ¶
func (_CurveRen *CurveRenCallerSession) InitialA() (*big.Int, error)
InitialA is a free data retrieval call binding the contract method 0x5409491a.
Solidity: function initial_A() view returns(uint256)
func (*CurveRenCallerSession) InitialATime ¶
func (_CurveRen *CurveRenCallerSession) 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 (*CurveRenCallerSession) LpToken ¶
func (_CurveRen *CurveRenCallerSession) LpToken() (common.Address, error)
LpToken is a free data retrieval call binding the contract method 0x82c63066.
Solidity: function lp_token() view returns(address)
func (*CurveRenCallerSession) OffpegFeeMultiplier ¶
func (_CurveRen *CurveRenCallerSession) 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 (*CurveRenCallerSession) Owner ¶
func (_CurveRen *CurveRenCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*CurveRenCallerSession) RewardReceiver ¶
func (_CurveRen *CurveRenCallerSession) RewardReceiver() (common.Address, error)
RewardReceiver is a free data retrieval call binding the contract method 0xb618ba62.
Solidity: function reward_receiver() view returns(address)
func (*CurveRenCallerSession) TransferOwnershipDeadline ¶
func (_CurveRen *CurveRenCallerSession) 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 (*CurveRenCallerSession) UnderlyingCoins ¶
UnderlyingCoins is a free data retrieval call binding the contract method 0xb9947eb0.
Solidity: function underlying_coins(uint256 arg0) view returns(address)
type CurveRenFilterer ¶
type CurveRenFilterer struct {
// contains filtered or unexported fields
}
CurveRenFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewCurveRenFilterer ¶
func NewCurveRenFilterer(address common.Address, filterer bind.ContractFilterer) (*CurveRenFilterer, error)
NewCurveRenFilterer creates a new log filterer instance of CurveRen, bound to a specific deployed contract.
type CurveRenRaw ¶
type CurveRenRaw struct {
Contract *CurveRen // Generic contract binding to access the raw methods on
}
CurveRenRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*CurveRenRaw) Call ¶
func (_CurveRen *CurveRenRaw) 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 (*CurveRenRaw) Transact ¶
func (_CurveRen *CurveRenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*CurveRenRaw) Transfer ¶
func (_CurveRen *CurveRenRaw) 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 CurveRenSession ¶
type CurveRenSession struct { Contract *CurveRen // 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 }
CurveRenSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*CurveRenSession) A ¶
func (_CurveRen *CurveRenSession) A() (*big.Int, error)
A is a free data retrieval call binding the contract method 0xf446c1d0.
Solidity: function A() view returns(uint256)
func (*CurveRenSession) APrecise ¶
func (_CurveRen *CurveRenSession) APrecise() (*big.Int, error)
APrecise is a free data retrieval call binding the contract method 0x76a2f0f0.
Solidity: function A_precise() view returns(uint256)
func (*CurveRenSession) AddLiquidity ¶
func (_CurveRen *CurveRenSession) AddLiquidity(_amounts [2]*big.Int, _min_mint_amount *big.Int) (*types.Transaction, error)
AddLiquidity is a paid mutator transaction binding the contract method 0x0b4c7e4d.
Solidity: function add_liquidity(uint256[2] _amounts, uint256 _min_mint_amount) returns(uint256)
func (*CurveRenSession) AddLiquidity0 ¶
func (_CurveRen *CurveRenSession) AddLiquidity0(_amounts [2]*big.Int, _min_mint_amount *big.Int, _use_underlying bool) (*types.Transaction, error)
AddLiquidity0 is a paid mutator transaction binding the contract method 0xee22be23.
Solidity: function add_liquidity(uint256[2] _amounts, uint256 _min_mint_amount, bool _use_underlying) returns(uint256)
func (*CurveRenSession) AdminActionsDeadline ¶
func (_CurveRen *CurveRenSession) 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 (*CurveRenSession) AdminBalances ¶
AdminBalances is a free data retrieval call binding the contract method 0xe2e7d264.
Solidity: function admin_balances(uint256 arg0) view returns(uint256)
func (*CurveRenSession) AdminFee ¶
func (_CurveRen *CurveRenSession) AdminFee() (*big.Int, error)
AdminFee is a free data retrieval call binding the contract method 0xfee3f7f9.
Solidity: function admin_fee() view returns(uint256)
func (*CurveRenSession) AdminFeeReceiver ¶
func (_CurveRen *CurveRenSession) 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 (*CurveRenSession) ApplyNewFee ¶
func (_CurveRen *CurveRenSession) ApplyNewFee() (*types.Transaction, error)
ApplyNewFee is a paid mutator transaction binding the contract method 0x4f12fe97.
Solidity: function apply_new_fee() returns()
func (*CurveRenSession) ApplyTransferOwnership ¶
func (_CurveRen *CurveRenSession) ApplyTransferOwnership() (*types.Transaction, error)
ApplyTransferOwnership is a paid mutator transaction binding the contract method 0x6a1c05ae.
Solidity: function apply_transfer_ownership() returns()
func (*CurveRenSession) Balances ¶
Balances is a free data retrieval call binding the contract method 0x4903b0d1.
Solidity: function balances(uint256 i) view returns(uint256)
func (*CurveRenSession) CalcTokenAmount ¶
func (_CurveRen *CurveRenSession) CalcTokenAmount(_amounts [2]*big.Int, is_deposit bool) (*big.Int, error)
CalcTokenAmount is a free data retrieval call binding the contract method 0xed8e84f3.
Solidity: function calc_token_amount(uint256[2] _amounts, bool is_deposit) view returns(uint256)
func (*CurveRenSession) CalcWithdrawOneCoin ¶
func (_CurveRen *CurveRenSession) 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 (*CurveRenSession) Coins ¶
Coins is a free data retrieval call binding the contract method 0xc6610657.
Solidity: function coins(uint256 arg0) view returns(address)
func (*CurveRenSession) CommitNewFee ¶
func (_CurveRen *CurveRenSession) 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 (*CurveRenSession) CommitTransferOwnership ¶
func (_CurveRen *CurveRenSession) 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 (*CurveRenSession) DonateAdminFees ¶
func (_CurveRen *CurveRenSession) DonateAdminFees() (*types.Transaction, error)
DonateAdminFees is a paid mutator transaction binding the contract method 0x524c3901.
Solidity: function donate_admin_fees() returns()
func (*CurveRenSession) 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 (*CurveRenSession) Exchange ¶
func (_CurveRen *CurveRenSession) 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 (*CurveRenSession) ExchangeUnderlying ¶
func (_CurveRen *CurveRenSession) 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 (*CurveRenSession) Fee ¶
func (_CurveRen *CurveRenSession) Fee() (*big.Int, error)
Fee is a free data retrieval call binding the contract method 0xddca3f43.
Solidity: function fee() view returns(uint256)
func (*CurveRenSession) FutureA ¶
func (_CurveRen *CurveRenSession) FutureA() (*big.Int, error)
FutureA is a free data retrieval call binding the contract method 0xb4b577ad.
Solidity: function future_A() view returns(uint256)
func (*CurveRenSession) FutureATime ¶
func (_CurveRen *CurveRenSession) 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 (*CurveRenSession) FutureAdminFee ¶
func (_CurveRen *CurveRenSession) 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 (*CurveRenSession) FutureFee ¶
func (_CurveRen *CurveRenSession) FutureFee() (*big.Int, error)
FutureFee is a free data retrieval call binding the contract method 0x58680d0b.
Solidity: function future_fee() view returns(uint256)
func (*CurveRenSession) FutureOffpegFeeMultiplier ¶
func (_CurveRen *CurveRenSession) 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 (*CurveRenSession) FutureOwner ¶
func (_CurveRen *CurveRenSession) FutureOwner() (common.Address, error)
FutureOwner is a free data retrieval call binding the contract method 0x1ec0cdc1.
Solidity: function future_owner() view returns(address)
func (*CurveRenSession) 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 (*CurveRenSession) GetDyUnderlying ¶
func (_CurveRen *CurveRenSession) 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 (*CurveRenSession) GetVirtualPrice ¶
func (_CurveRen *CurveRenSession) 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 (*CurveRenSession) InitialA ¶
func (_CurveRen *CurveRenSession) InitialA() (*big.Int, error)
InitialA is a free data retrieval call binding the contract method 0x5409491a.
Solidity: function initial_A() view returns(uint256)
func (*CurveRenSession) InitialATime ¶
func (_CurveRen *CurveRenSession) 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 (*CurveRenSession) KillMe ¶
func (_CurveRen *CurveRenSession) KillMe() (*types.Transaction, error)
KillMe is a paid mutator transaction binding the contract method 0xe3698853.
Solidity: function kill_me() returns()
func (*CurveRenSession) LpToken ¶
func (_CurveRen *CurveRenSession) LpToken() (common.Address, error)
LpToken is a free data retrieval call binding the contract method 0x82c63066.
Solidity: function lp_token() view returns(address)
func (*CurveRenSession) OffpegFeeMultiplier ¶
func (_CurveRen *CurveRenSession) 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 (*CurveRenSession) Owner ¶
func (_CurveRen *CurveRenSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*CurveRenSession) RampA ¶
func (_CurveRen *CurveRenSession) 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 (*CurveRenSession) RemoveLiquidity ¶
func (_CurveRen *CurveRenSession) RemoveLiquidity(_amount *big.Int, _min_amounts [2]*big.Int, _use_underlying bool) (*types.Transaction, error)
RemoveLiquidity is a paid mutator transaction binding the contract method 0x269b5581.
Solidity: function remove_liquidity(uint256 _amount, uint256[2] _min_amounts, bool _use_underlying) returns(uint256[2])
func (*CurveRenSession) RemoveLiquidity0 ¶
func (_CurveRen *CurveRenSession) RemoveLiquidity0(_amount *big.Int, _min_amounts [2]*big.Int) (*types.Transaction, error)
RemoveLiquidity0 is a paid mutator transaction binding the contract method 0x5b36389c.
Solidity: function remove_liquidity(uint256 _amount, uint256[2] _min_amounts) returns(uint256[2])
func (*CurveRenSession) RemoveLiquidityImbalance ¶
func (_CurveRen *CurveRenSession) RemoveLiquidityImbalance(_amounts [2]*big.Int, _max_burn_amount *big.Int, _use_underlying bool) (*types.Transaction, error)
RemoveLiquidityImbalance is a paid mutator transaction binding the contract method 0xe1df4f63.
Solidity: function remove_liquidity_imbalance(uint256[2] _amounts, uint256 _max_burn_amount, bool _use_underlying) returns(uint256)
func (*CurveRenSession) RemoveLiquidityImbalance0 ¶
func (_CurveRen *CurveRenSession) RemoveLiquidityImbalance0(_amounts [2]*big.Int, _max_burn_amount *big.Int) (*types.Transaction, error)
RemoveLiquidityImbalance0 is a paid mutator transaction binding the contract method 0xe3103273.
Solidity: function remove_liquidity_imbalance(uint256[2] _amounts, uint256 _max_burn_amount) returns(uint256)
func (*CurveRenSession) RemoveLiquidityOneCoin ¶
func (_CurveRen *CurveRenSession) 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 (*CurveRenSession) RemoveLiquidityOneCoin0 ¶
func (_CurveRen *CurveRenSession) 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 (*CurveRenSession) RevertNewParameters ¶
func (_CurveRen *CurveRenSession) RevertNewParameters() (*types.Transaction, error)
RevertNewParameters is a paid mutator transaction binding the contract method 0x226840fb.
Solidity: function revert_new_parameters() returns()
func (*CurveRenSession) RevertTransferOwnership ¶
func (_CurveRen *CurveRenSession) RevertTransferOwnership() (*types.Transaction, error)
RevertTransferOwnership is a paid mutator transaction binding the contract method 0x86fbf193.
Solidity: function revert_transfer_ownership() returns()
func (*CurveRenSession) RewardReceiver ¶
func (_CurveRen *CurveRenSession) RewardReceiver() (common.Address, error)
RewardReceiver is a free data retrieval call binding the contract method 0xb618ba62.
Solidity: function reward_receiver() view returns(address)
func (*CurveRenSession) SetAaveReferral ¶
func (_CurveRen *CurveRenSession) 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 (*CurveRenSession) SetAdminFeeReceiver ¶
func (_CurveRen *CurveRenSession) 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 (*CurveRenSession) SetRewardReceiver ¶
func (_CurveRen *CurveRenSession) 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 (*CurveRenSession) StopRampA ¶
func (_CurveRen *CurveRenSession) StopRampA() (*types.Transaction, error)
StopRampA is a paid mutator transaction binding the contract method 0x551a6588.
Solidity: function stop_ramp_A() returns()
func (*CurveRenSession) TransferOwnershipDeadline ¶
func (_CurveRen *CurveRenSession) 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 (*CurveRenSession) UnderlyingCoins ¶
UnderlyingCoins is a free data retrieval call binding the contract method 0xb9947eb0.
Solidity: function underlying_coins(uint256 arg0) view returns(address)
func (*CurveRenSession) UnkillMe ¶
func (_CurveRen *CurveRenSession) UnkillMe() (*types.Transaction, error)
UnkillMe is a paid mutator transaction binding the contract method 0x3046f972.
Solidity: function unkill_me() returns()
func (*CurveRenSession) WithdrawAdminFees ¶
func (_CurveRen *CurveRenSession) WithdrawAdminFees() (*types.Transaction, error)
WithdrawAdminFees is a paid mutator transaction binding the contract method 0x30c54085.
Solidity: function withdraw_admin_fees() returns()
type CurveRenTransactor ¶
type CurveRenTransactor struct {
// contains filtered or unexported fields
}
CurveRenTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewCurveRenTransactor ¶
func NewCurveRenTransactor(address common.Address, transactor bind.ContractTransactor) (*CurveRenTransactor, error)
NewCurveRenTransactor creates a new write-only instance of CurveRen, bound to a specific deployed contract.
func (*CurveRenTransactor) AddLiquidity ¶
func (_CurveRen *CurveRenTransactor) AddLiquidity(opts *bind.TransactOpts, _amounts [2]*big.Int, _min_mint_amount *big.Int) (*types.Transaction, error)
AddLiquidity is a paid mutator transaction binding the contract method 0x0b4c7e4d.
Solidity: function add_liquidity(uint256[2] _amounts, uint256 _min_mint_amount) returns(uint256)
func (*CurveRenTransactor) AddLiquidity0 ¶
func (_CurveRen *CurveRenTransactor) AddLiquidity0(opts *bind.TransactOpts, _amounts [2]*big.Int, _min_mint_amount *big.Int, _use_underlying bool) (*types.Transaction, error)
AddLiquidity0 is a paid mutator transaction binding the contract method 0xee22be23.
Solidity: function add_liquidity(uint256[2] _amounts, uint256 _min_mint_amount, bool _use_underlying) returns(uint256)
func (*CurveRenTransactor) ApplyNewFee ¶
func (_CurveRen *CurveRenTransactor) 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 (*CurveRenTransactor) ApplyTransferOwnership ¶
func (_CurveRen *CurveRenTransactor) 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 (*CurveRenTransactor) CommitNewFee ¶
func (_CurveRen *CurveRenTransactor) 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 (*CurveRenTransactor) CommitTransferOwnership ¶
func (_CurveRen *CurveRenTransactor) 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 (*CurveRenTransactor) DonateAdminFees ¶
func (_CurveRen *CurveRenTransactor) 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 (*CurveRenTransactor) Exchange ¶
func (_CurveRen *CurveRenTransactor) 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 (*CurveRenTransactor) ExchangeUnderlying ¶
func (_CurveRen *CurveRenTransactor) 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 (*CurveRenTransactor) KillMe ¶
func (_CurveRen *CurveRenTransactor) KillMe(opts *bind.TransactOpts) (*types.Transaction, error)
KillMe is a paid mutator transaction binding the contract method 0xe3698853.
Solidity: function kill_me() returns()
func (*CurveRenTransactor) RampA ¶
func (_CurveRen *CurveRenTransactor) 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 (*CurveRenTransactor) RemoveLiquidity ¶
func (_CurveRen *CurveRenTransactor) RemoveLiquidity(opts *bind.TransactOpts, _amount *big.Int, _min_amounts [2]*big.Int, _use_underlying bool) (*types.Transaction, error)
RemoveLiquidity is a paid mutator transaction binding the contract method 0x269b5581.
Solidity: function remove_liquidity(uint256 _amount, uint256[2] _min_amounts, bool _use_underlying) returns(uint256[2])
func (*CurveRenTransactor) RemoveLiquidity0 ¶
func (_CurveRen *CurveRenTransactor) RemoveLiquidity0(opts *bind.TransactOpts, _amount *big.Int, _min_amounts [2]*big.Int) (*types.Transaction, error)
RemoveLiquidity0 is a paid mutator transaction binding the contract method 0x5b36389c.
Solidity: function remove_liquidity(uint256 _amount, uint256[2] _min_amounts) returns(uint256[2])
func (*CurveRenTransactor) RemoveLiquidityImbalance ¶
func (_CurveRen *CurveRenTransactor) RemoveLiquidityImbalance(opts *bind.TransactOpts, _amounts [2]*big.Int, _max_burn_amount *big.Int, _use_underlying bool) (*types.Transaction, error)
RemoveLiquidityImbalance is a paid mutator transaction binding the contract method 0xe1df4f63.
Solidity: function remove_liquidity_imbalance(uint256[2] _amounts, uint256 _max_burn_amount, bool _use_underlying) returns(uint256)
func (*CurveRenTransactor) RemoveLiquidityImbalance0 ¶
func (_CurveRen *CurveRenTransactor) RemoveLiquidityImbalance0(opts *bind.TransactOpts, _amounts [2]*big.Int, _max_burn_amount *big.Int) (*types.Transaction, error)
RemoveLiquidityImbalance0 is a paid mutator transaction binding the contract method 0xe3103273.
Solidity: function remove_liquidity_imbalance(uint256[2] _amounts, uint256 _max_burn_amount) returns(uint256)
func (*CurveRenTransactor) RemoveLiquidityOneCoin ¶
func (_CurveRen *CurveRenTransactor) 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 (*CurveRenTransactor) RemoveLiquidityOneCoin0 ¶
func (_CurveRen *CurveRenTransactor) 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 (*CurveRenTransactor) RevertNewParameters ¶
func (_CurveRen *CurveRenTransactor) 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 (*CurveRenTransactor) RevertTransferOwnership ¶
func (_CurveRen *CurveRenTransactor) 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 (*CurveRenTransactor) SetAaveReferral ¶
func (_CurveRen *CurveRenTransactor) 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 (*CurveRenTransactor) SetAdminFeeReceiver ¶
func (_CurveRen *CurveRenTransactor) 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 (*CurveRenTransactor) SetRewardReceiver ¶
func (_CurveRen *CurveRenTransactor) 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 (*CurveRenTransactor) StopRampA ¶
func (_CurveRen *CurveRenTransactor) 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 (*CurveRenTransactor) UnkillMe ¶
func (_CurveRen *CurveRenTransactor) UnkillMe(opts *bind.TransactOpts) (*types.Transaction, error)
UnkillMe is a paid mutator transaction binding the contract method 0x3046f972.
Solidity: function unkill_me() returns()
func (*CurveRenTransactor) WithdrawAdminFees ¶
func (_CurveRen *CurveRenTransactor) 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 CurveRenTransactorRaw ¶
type CurveRenTransactorRaw struct {
Contract *CurveRenTransactor // Generic write-only contract binding to access the raw methods on
}
CurveRenTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*CurveRenTransactorRaw) Transact ¶
func (_CurveRen *CurveRenTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*CurveRenTransactorRaw) Transfer ¶
func (_CurveRen *CurveRenTransactorRaw) 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 CurveRenTransactorSession ¶
type CurveRenTransactorSession struct { Contract *CurveRenTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
CurveRenTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*CurveRenTransactorSession) AddLiquidity ¶
func (_CurveRen *CurveRenTransactorSession) AddLiquidity(_amounts [2]*big.Int, _min_mint_amount *big.Int) (*types.Transaction, error)
AddLiquidity is a paid mutator transaction binding the contract method 0x0b4c7e4d.
Solidity: function add_liquidity(uint256[2] _amounts, uint256 _min_mint_amount) returns(uint256)
func (*CurveRenTransactorSession) AddLiquidity0 ¶
func (_CurveRen *CurveRenTransactorSession) AddLiquidity0(_amounts [2]*big.Int, _min_mint_amount *big.Int, _use_underlying bool) (*types.Transaction, error)
AddLiquidity0 is a paid mutator transaction binding the contract method 0xee22be23.
Solidity: function add_liquidity(uint256[2] _amounts, uint256 _min_mint_amount, bool _use_underlying) returns(uint256)
func (*CurveRenTransactorSession) ApplyNewFee ¶
func (_CurveRen *CurveRenTransactorSession) ApplyNewFee() (*types.Transaction, error)
ApplyNewFee is a paid mutator transaction binding the contract method 0x4f12fe97.
Solidity: function apply_new_fee() returns()
func (*CurveRenTransactorSession) ApplyTransferOwnership ¶
func (_CurveRen *CurveRenTransactorSession) ApplyTransferOwnership() (*types.Transaction, error)
ApplyTransferOwnership is a paid mutator transaction binding the contract method 0x6a1c05ae.
Solidity: function apply_transfer_ownership() returns()
func (*CurveRenTransactorSession) CommitNewFee ¶
func (_CurveRen *CurveRenTransactorSession) 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 (*CurveRenTransactorSession) CommitTransferOwnership ¶
func (_CurveRen *CurveRenTransactorSession) 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 (*CurveRenTransactorSession) DonateAdminFees ¶
func (_CurveRen *CurveRenTransactorSession) DonateAdminFees() (*types.Transaction, error)
DonateAdminFees is a paid mutator transaction binding the contract method 0x524c3901.
Solidity: function donate_admin_fees() returns()
func (*CurveRenTransactorSession) Exchange ¶
func (_CurveRen *CurveRenTransactorSession) 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 (*CurveRenTransactorSession) ExchangeUnderlying ¶
func (_CurveRen *CurveRenTransactorSession) 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 (*CurveRenTransactorSession) KillMe ¶
func (_CurveRen *CurveRenTransactorSession) KillMe() (*types.Transaction, error)
KillMe is a paid mutator transaction binding the contract method 0xe3698853.
Solidity: function kill_me() returns()
func (*CurveRenTransactorSession) RampA ¶
func (_CurveRen *CurveRenTransactorSession) 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 (*CurveRenTransactorSession) RemoveLiquidity ¶
func (_CurveRen *CurveRenTransactorSession) RemoveLiquidity(_amount *big.Int, _min_amounts [2]*big.Int, _use_underlying bool) (*types.Transaction, error)
RemoveLiquidity is a paid mutator transaction binding the contract method 0x269b5581.
Solidity: function remove_liquidity(uint256 _amount, uint256[2] _min_amounts, bool _use_underlying) returns(uint256[2])
func (*CurveRenTransactorSession) RemoveLiquidity0 ¶
func (_CurveRen *CurveRenTransactorSession) RemoveLiquidity0(_amount *big.Int, _min_amounts [2]*big.Int) (*types.Transaction, error)
RemoveLiquidity0 is a paid mutator transaction binding the contract method 0x5b36389c.
Solidity: function remove_liquidity(uint256 _amount, uint256[2] _min_amounts) returns(uint256[2])
func (*CurveRenTransactorSession) RemoveLiquidityImbalance ¶
func (_CurveRen *CurveRenTransactorSession) RemoveLiquidityImbalance(_amounts [2]*big.Int, _max_burn_amount *big.Int, _use_underlying bool) (*types.Transaction, error)
RemoveLiquidityImbalance is a paid mutator transaction binding the contract method 0xe1df4f63.
Solidity: function remove_liquidity_imbalance(uint256[2] _amounts, uint256 _max_burn_amount, bool _use_underlying) returns(uint256)
func (*CurveRenTransactorSession) RemoveLiquidityImbalance0 ¶
func (_CurveRen *CurveRenTransactorSession) RemoveLiquidityImbalance0(_amounts [2]*big.Int, _max_burn_amount *big.Int) (*types.Transaction, error)
RemoveLiquidityImbalance0 is a paid mutator transaction binding the contract method 0xe3103273.
Solidity: function remove_liquidity_imbalance(uint256[2] _amounts, uint256 _max_burn_amount) returns(uint256)
func (*CurveRenTransactorSession) RemoveLiquidityOneCoin ¶
func (_CurveRen *CurveRenTransactorSession) 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 (*CurveRenTransactorSession) RemoveLiquidityOneCoin0 ¶
func (_CurveRen *CurveRenTransactorSession) 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 (*CurveRenTransactorSession) RevertNewParameters ¶
func (_CurveRen *CurveRenTransactorSession) RevertNewParameters() (*types.Transaction, error)
RevertNewParameters is a paid mutator transaction binding the contract method 0x226840fb.
Solidity: function revert_new_parameters() returns()
func (*CurveRenTransactorSession) RevertTransferOwnership ¶
func (_CurveRen *CurveRenTransactorSession) RevertTransferOwnership() (*types.Transaction, error)
RevertTransferOwnership is a paid mutator transaction binding the contract method 0x86fbf193.
Solidity: function revert_transfer_ownership() returns()
func (*CurveRenTransactorSession) SetAaveReferral ¶
func (_CurveRen *CurveRenTransactorSession) 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 (*CurveRenTransactorSession) SetAdminFeeReceiver ¶
func (_CurveRen *CurveRenTransactorSession) 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 (*CurveRenTransactorSession) SetRewardReceiver ¶
func (_CurveRen *CurveRenTransactorSession) 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 (*CurveRenTransactorSession) StopRampA ¶
func (_CurveRen *CurveRenTransactorSession) StopRampA() (*types.Transaction, error)
StopRampA is a paid mutator transaction binding the contract method 0x551a6588.
Solidity: function stop_ramp_A() returns()
func (*CurveRenTransactorSession) UnkillMe ¶
func (_CurveRen *CurveRenTransactorSession) UnkillMe() (*types.Transaction, error)
UnkillMe is a paid mutator transaction binding the contract method 0x3046f972.
Solidity: function unkill_me() returns()
func (*CurveRenTransactorSession) WithdrawAdminFees ¶
func (_CurveRen *CurveRenTransactorSession) WithdrawAdminFees() (*types.Transaction, error)
WithdrawAdminFees is a paid mutator transaction binding the contract method 0x30c54085.
Solidity: function withdraw_admin_fees() returns()