curveRoutersteCRV

package
v0.1.23 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 29, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CurveRoutersteCRVABI = CurveRoutersteCRVMetaData.ABI

CurveRoutersteCRVABI is the input ABI used to generate the binding from. Deprecated: Use CurveRoutersteCRVMetaData.ABI instead.

View Source
var CurveRoutersteCRVMetaData = &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\":\"payable\",\"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\":\"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\"}],\"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\"},{\"internalType\":\"uint256\",\"name\":\"dx\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"min_dy\",\"type\":\"uint256\"}],\"name\":\"exchange\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"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_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\":[],\"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\":\"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]\"}],\"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\"}],\"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\":[],\"name\":\"revert_new_parameters\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"revert_transfer_ownership\",\"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\":[],\"name\":\"unkill_me\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"withdraw_admin_fees\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

CurveRoutersteCRVMetaData contains all meta data concerning the CurveRoutersteCRV contract.

Functions

This section is empty.

Types

type CurveRoutersteCRV

type CurveRoutersteCRV struct {
	CurveRoutersteCRVCaller     // Read-only binding to the contract
	CurveRoutersteCRVTransactor // Write-only binding to the contract
	CurveRoutersteCRVFilterer   // Log filterer for contract events
}

CurveRoutersteCRV is an auto generated Go binding around an Ethereum contract.

func NewCurveRoutersteCRV

func NewCurveRoutersteCRV(address common.Address, backend bind.ContractBackend) (*CurveRoutersteCRV, error)

NewCurveRoutersteCRV creates a new instance of CurveRoutersteCRV, bound to a specific deployed contract.

type CurveRoutersteCRVCaller

type CurveRoutersteCRVCaller struct {
	// contains filtered or unexported fields
}

CurveRoutersteCRVCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewCurveRoutersteCRVCaller

func NewCurveRoutersteCRVCaller(address common.Address, caller bind.ContractCaller) (*CurveRoutersteCRVCaller, error)

NewCurveRoutersteCRVCaller creates a new read-only instance of CurveRoutersteCRV, bound to a specific deployed contract.

func (*CurveRoutersteCRVCaller) A

func (_CurveRoutersteCRV *CurveRoutersteCRVCaller) A(opts *bind.CallOpts) (*big.Int, error)

A is a free data retrieval call binding the contract method 0xf446c1d0.

Solidity: function A() view returns(uint256)

func (*CurveRoutersteCRVCaller) APrecise

func (_CurveRoutersteCRV *CurveRoutersteCRVCaller) APrecise(opts *bind.CallOpts) (*big.Int, error)

APrecise is a free data retrieval call binding the contract method 0x76a2f0f0.

Solidity: function A_precise() view returns(uint256)

func (*CurveRoutersteCRVCaller) AdminActionsDeadline

func (_CurveRoutersteCRV *CurveRoutersteCRVCaller) AdminActionsDeadline(opts *bind.CallOpts) (*big.Int, error)

AdminActionsDeadline is a free data retrieval call binding the contract method 0x405e28f8.

Solidity: function admin_actions_deadline() view returns(uint256)

func (*CurveRoutersteCRVCaller) AdminBalances

func (_CurveRoutersteCRV *CurveRoutersteCRVCaller) 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 (*CurveRoutersteCRVCaller) AdminFee

func (_CurveRoutersteCRV *CurveRoutersteCRVCaller) AdminFee(opts *bind.CallOpts) (*big.Int, error)

AdminFee is a free data retrieval call binding the contract method 0xfee3f7f9.

Solidity: function admin_fee() view returns(uint256)

func (*CurveRoutersteCRVCaller) Balances

func (_CurveRoutersteCRV *CurveRoutersteCRVCaller) Balances(opts *bind.CallOpts, i *big.Int) (*big.Int, error)

Balances is a free data retrieval call binding the contract method 0x4903b0d1.

Solidity: function balances(uint256 i) view returns(uint256)

func (*CurveRoutersteCRVCaller) CalcTokenAmount

func (_CurveRoutersteCRV *CurveRoutersteCRVCaller) 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 (*CurveRoutersteCRVCaller) CalcWithdrawOneCoin

func (_CurveRoutersteCRV *CurveRoutersteCRVCaller) 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 (*CurveRoutersteCRVCaller) Coins

func (_CurveRoutersteCRV *CurveRoutersteCRVCaller) 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 (*CurveRoutersteCRVCaller) Fee

func (_CurveRoutersteCRV *CurveRoutersteCRVCaller) Fee(opts *bind.CallOpts) (*big.Int, error)

Fee is a free data retrieval call binding the contract method 0xddca3f43.

Solidity: function fee() view returns(uint256)

func (*CurveRoutersteCRVCaller) FutureA

func (_CurveRoutersteCRV *CurveRoutersteCRVCaller) FutureA(opts *bind.CallOpts) (*big.Int, error)

FutureA is a free data retrieval call binding the contract method 0xb4b577ad.

Solidity: function future_A() view returns(uint256)

func (*CurveRoutersteCRVCaller) FutureATime

func (_CurveRoutersteCRV *CurveRoutersteCRVCaller) FutureATime(opts *bind.CallOpts) (*big.Int, error)

FutureATime is a free data retrieval call binding the contract method 0x14052288.

Solidity: function future_A_time() view returns(uint256)

func (*CurveRoutersteCRVCaller) FutureAdminFee

func (_CurveRoutersteCRV *CurveRoutersteCRVCaller) FutureAdminFee(opts *bind.CallOpts) (*big.Int, error)

FutureAdminFee is a free data retrieval call binding the contract method 0xe3824462.

Solidity: function future_admin_fee() view returns(uint256)

func (*CurveRoutersteCRVCaller) FutureFee

func (_CurveRoutersteCRV *CurveRoutersteCRVCaller) FutureFee(opts *bind.CallOpts) (*big.Int, error)

FutureFee is a free data retrieval call binding the contract method 0x58680d0b.

Solidity: function future_fee() view returns(uint256)

func (*CurveRoutersteCRVCaller) FutureOwner

func (_CurveRoutersteCRV *CurveRoutersteCRVCaller) FutureOwner(opts *bind.CallOpts) (common.Address, error)

FutureOwner is a free data retrieval call binding the contract method 0x1ec0cdc1.

Solidity: function future_owner() view returns(address)

func (*CurveRoutersteCRVCaller) GetDy

func (_CurveRoutersteCRV *CurveRoutersteCRVCaller) 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 (*CurveRoutersteCRVCaller) GetVirtualPrice

func (_CurveRoutersteCRV *CurveRoutersteCRVCaller) GetVirtualPrice(opts *bind.CallOpts) (*big.Int, error)

GetVirtualPrice is a free data retrieval call binding the contract method 0xbb7b8b80.

Solidity: function get_virtual_price() view returns(uint256)

func (*CurveRoutersteCRVCaller) InitialA

func (_CurveRoutersteCRV *CurveRoutersteCRVCaller) InitialA(opts *bind.CallOpts) (*big.Int, error)

InitialA is a free data retrieval call binding the contract method 0x5409491a.

Solidity: function initial_A() view returns(uint256)

func (*CurveRoutersteCRVCaller) InitialATime

func (_CurveRoutersteCRV *CurveRoutersteCRVCaller) InitialATime(opts *bind.CallOpts) (*big.Int, error)

InitialATime is a free data retrieval call binding the contract method 0x2081066c.

Solidity: function initial_A_time() view returns(uint256)

func (*CurveRoutersteCRVCaller) LpToken

func (_CurveRoutersteCRV *CurveRoutersteCRVCaller) LpToken(opts *bind.CallOpts) (common.Address, error)

LpToken is a free data retrieval call binding the contract method 0x82c63066.

Solidity: function lp_token() view returns(address)

func (*CurveRoutersteCRVCaller) Owner

func (_CurveRoutersteCRV *CurveRoutersteCRVCaller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*CurveRoutersteCRVCaller) TransferOwnershipDeadline

func (_CurveRoutersteCRV *CurveRoutersteCRVCaller) TransferOwnershipDeadline(opts *bind.CallOpts) (*big.Int, error)

TransferOwnershipDeadline is a free data retrieval call binding the contract method 0xe0a0b586.

Solidity: function transfer_ownership_deadline() view returns(uint256)

type CurveRoutersteCRVCallerRaw

type CurveRoutersteCRVCallerRaw struct {
	Contract *CurveRoutersteCRVCaller // Generic read-only contract binding to access the raw methods on
}

CurveRoutersteCRVCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*CurveRoutersteCRVCallerRaw) Call

func (_CurveRoutersteCRV *CurveRoutersteCRVCallerRaw) 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 CurveRoutersteCRVCallerSession

type CurveRoutersteCRVCallerSession struct {
	Contract *CurveRoutersteCRVCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts            // Call options to use throughout this session
}

CurveRoutersteCRVCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*CurveRoutersteCRVCallerSession) A

func (_CurveRoutersteCRV *CurveRoutersteCRVCallerSession) A() (*big.Int, error)

A is a free data retrieval call binding the contract method 0xf446c1d0.

Solidity: function A() view returns(uint256)

func (*CurveRoutersteCRVCallerSession) APrecise

func (_CurveRoutersteCRV *CurveRoutersteCRVCallerSession) APrecise() (*big.Int, error)

APrecise is a free data retrieval call binding the contract method 0x76a2f0f0.

Solidity: function A_precise() view returns(uint256)

func (*CurveRoutersteCRVCallerSession) AdminActionsDeadline

func (_CurveRoutersteCRV *CurveRoutersteCRVCallerSession) 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 (*CurveRoutersteCRVCallerSession) AdminBalances

func (_CurveRoutersteCRV *CurveRoutersteCRVCallerSession) AdminBalances(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 (*CurveRoutersteCRVCallerSession) AdminFee

func (_CurveRoutersteCRV *CurveRoutersteCRVCallerSession) AdminFee() (*big.Int, error)

AdminFee is a free data retrieval call binding the contract method 0xfee3f7f9.

Solidity: function admin_fee() view returns(uint256)

func (*CurveRoutersteCRVCallerSession) Balances

func (_CurveRoutersteCRV *CurveRoutersteCRVCallerSession) Balances(i *big.Int) (*big.Int, error)

Balances is a free data retrieval call binding the contract method 0x4903b0d1.

Solidity: function balances(uint256 i) view returns(uint256)

func (*CurveRoutersteCRVCallerSession) CalcTokenAmount

func (_CurveRoutersteCRV *CurveRoutersteCRVCallerSession) 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 (*CurveRoutersteCRVCallerSession) CalcWithdrawOneCoin

func (_CurveRoutersteCRV *CurveRoutersteCRVCallerSession) 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 (*CurveRoutersteCRVCallerSession) Coins

func (_CurveRoutersteCRV *CurveRoutersteCRVCallerSession) Coins(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 (*CurveRoutersteCRVCallerSession) Fee

func (_CurveRoutersteCRV *CurveRoutersteCRVCallerSession) Fee() (*big.Int, error)

Fee is a free data retrieval call binding the contract method 0xddca3f43.

Solidity: function fee() view returns(uint256)

func (*CurveRoutersteCRVCallerSession) FutureA

func (_CurveRoutersteCRV *CurveRoutersteCRVCallerSession) FutureA() (*big.Int, error)

FutureA is a free data retrieval call binding the contract method 0xb4b577ad.

Solidity: function future_A() view returns(uint256)

func (*CurveRoutersteCRVCallerSession) FutureATime

func (_CurveRoutersteCRV *CurveRoutersteCRVCallerSession) 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 (*CurveRoutersteCRVCallerSession) FutureAdminFee

func (_CurveRoutersteCRV *CurveRoutersteCRVCallerSession) 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 (*CurveRoutersteCRVCallerSession) FutureFee

func (_CurveRoutersteCRV *CurveRoutersteCRVCallerSession) FutureFee() (*big.Int, error)

FutureFee is a free data retrieval call binding the contract method 0x58680d0b.

Solidity: function future_fee() view returns(uint256)

func (*CurveRoutersteCRVCallerSession) FutureOwner

func (_CurveRoutersteCRV *CurveRoutersteCRVCallerSession) FutureOwner() (common.Address, error)

FutureOwner is a free data retrieval call binding the contract method 0x1ec0cdc1.

Solidity: function future_owner() view returns(address)

func (*CurveRoutersteCRVCallerSession) GetDy

func (_CurveRoutersteCRV *CurveRoutersteCRVCallerSession) 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 (*CurveRoutersteCRVCallerSession) GetVirtualPrice

func (_CurveRoutersteCRV *CurveRoutersteCRVCallerSession) 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 (*CurveRoutersteCRVCallerSession) InitialA

func (_CurveRoutersteCRV *CurveRoutersteCRVCallerSession) InitialA() (*big.Int, error)

InitialA is a free data retrieval call binding the contract method 0x5409491a.

Solidity: function initial_A() view returns(uint256)

func (*CurveRoutersteCRVCallerSession) InitialATime

func (_CurveRoutersteCRV *CurveRoutersteCRVCallerSession) 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 (*CurveRoutersteCRVCallerSession) LpToken

func (_CurveRoutersteCRV *CurveRoutersteCRVCallerSession) LpToken() (common.Address, error)

LpToken is a free data retrieval call binding the contract method 0x82c63066.

Solidity: function lp_token() view returns(address)

func (*CurveRoutersteCRVCallerSession) Owner

func (_CurveRoutersteCRV *CurveRoutersteCRVCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*CurveRoutersteCRVCallerSession) TransferOwnershipDeadline

func (_CurveRoutersteCRV *CurveRoutersteCRVCallerSession) TransferOwnershipDeadline() (*big.Int, error)

TransferOwnershipDeadline is a free data retrieval call binding the contract method 0xe0a0b586.

Solidity: function transfer_ownership_deadline() view returns(uint256)

type CurveRoutersteCRVFilterer

type CurveRoutersteCRVFilterer struct {
	// contains filtered or unexported fields
}

CurveRoutersteCRVFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewCurveRoutersteCRVFilterer

func NewCurveRoutersteCRVFilterer(address common.Address, filterer bind.ContractFilterer) (*CurveRoutersteCRVFilterer, error)

NewCurveRoutersteCRVFilterer creates a new log filterer instance of CurveRoutersteCRV, bound to a specific deployed contract.

type CurveRoutersteCRVRaw

type CurveRoutersteCRVRaw struct {
	Contract *CurveRoutersteCRV // Generic contract binding to access the raw methods on
}

CurveRoutersteCRVRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*CurveRoutersteCRVRaw) Call

func (_CurveRoutersteCRV *CurveRoutersteCRVRaw) 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 (*CurveRoutersteCRVRaw) Transact

func (_CurveRoutersteCRV *CurveRoutersteCRVRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*CurveRoutersteCRVRaw) Transfer

func (_CurveRoutersteCRV *CurveRoutersteCRVRaw) 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 CurveRoutersteCRVSession

type CurveRoutersteCRVSession struct {
	Contract     *CurveRoutersteCRV // 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
}

CurveRoutersteCRVSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*CurveRoutersteCRVSession) A

func (_CurveRoutersteCRV *CurveRoutersteCRVSession) A() (*big.Int, error)

A is a free data retrieval call binding the contract method 0xf446c1d0.

Solidity: function A() view returns(uint256)

func (*CurveRoutersteCRVSession) APrecise

func (_CurveRoutersteCRV *CurveRoutersteCRVSession) APrecise() (*big.Int, error)

APrecise is a free data retrieval call binding the contract method 0x76a2f0f0.

Solidity: function A_precise() view returns(uint256)

func (*CurveRoutersteCRVSession) AddLiquidity

func (_CurveRoutersteCRV *CurveRoutersteCRVSession) 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) payable returns(uint256)

func (*CurveRoutersteCRVSession) AdminActionsDeadline

func (_CurveRoutersteCRV *CurveRoutersteCRVSession) 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 (*CurveRoutersteCRVSession) AdminBalances

func (_CurveRoutersteCRV *CurveRoutersteCRVSession) AdminBalances(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 (*CurveRoutersteCRVSession) AdminFee

func (_CurveRoutersteCRV *CurveRoutersteCRVSession) AdminFee() (*big.Int, error)

AdminFee is a free data retrieval call binding the contract method 0xfee3f7f9.

Solidity: function admin_fee() view returns(uint256)

func (*CurveRoutersteCRVSession) ApplyNewFee

func (_CurveRoutersteCRV *CurveRoutersteCRVSession) ApplyNewFee() (*types.Transaction, error)

ApplyNewFee is a paid mutator transaction binding the contract method 0x4f12fe97.

Solidity: function apply_new_fee() returns()

func (*CurveRoutersteCRVSession) ApplyTransferOwnership

func (_CurveRoutersteCRV *CurveRoutersteCRVSession) ApplyTransferOwnership() (*types.Transaction, error)

ApplyTransferOwnership is a paid mutator transaction binding the contract method 0x6a1c05ae.

Solidity: function apply_transfer_ownership() returns()

func (*CurveRoutersteCRVSession) Balances

func (_CurveRoutersteCRV *CurveRoutersteCRVSession) Balances(i *big.Int) (*big.Int, error)

Balances is a free data retrieval call binding the contract method 0x4903b0d1.

Solidity: function balances(uint256 i) view returns(uint256)

func (*CurveRoutersteCRVSession) CalcTokenAmount

func (_CurveRoutersteCRV *CurveRoutersteCRVSession) 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 (*CurveRoutersteCRVSession) CalcWithdrawOneCoin

func (_CurveRoutersteCRV *CurveRoutersteCRVSession) 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 (*CurveRoutersteCRVSession) Coins

func (_CurveRoutersteCRV *CurveRoutersteCRVSession) Coins(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 (*CurveRoutersteCRVSession) CommitNewFee

func (_CurveRoutersteCRV *CurveRoutersteCRVSession) CommitNewFee(new_fee *big.Int, new_admin_fee *big.Int) (*types.Transaction, error)

CommitNewFee is a paid mutator transaction binding the contract method 0x5b5a1467.

Solidity: function commit_new_fee(uint256 new_fee, uint256 new_admin_fee) returns()

func (*CurveRoutersteCRVSession) CommitTransferOwnership

func (_CurveRoutersteCRV *CurveRoutersteCRVSession) 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 (*CurveRoutersteCRVSession) DonateAdminFees

func (_CurveRoutersteCRV *CurveRoutersteCRVSession) DonateAdminFees() (*types.Transaction, error)

DonateAdminFees is a paid mutator transaction binding the contract method 0x524c3901.

Solidity: function donate_admin_fees() returns()

func (*CurveRoutersteCRVSession) Exchange

func (_CurveRoutersteCRV *CurveRoutersteCRVSession) 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) payable returns(uint256)

func (*CurveRoutersteCRVSession) Fee

func (_CurveRoutersteCRV *CurveRoutersteCRVSession) Fee() (*big.Int, error)

Fee is a free data retrieval call binding the contract method 0xddca3f43.

Solidity: function fee() view returns(uint256)

func (*CurveRoutersteCRVSession) FutureA

func (_CurveRoutersteCRV *CurveRoutersteCRVSession) FutureA() (*big.Int, error)

FutureA is a free data retrieval call binding the contract method 0xb4b577ad.

Solidity: function future_A() view returns(uint256)

func (*CurveRoutersteCRVSession) FutureATime

func (_CurveRoutersteCRV *CurveRoutersteCRVSession) 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 (*CurveRoutersteCRVSession) FutureAdminFee

func (_CurveRoutersteCRV *CurveRoutersteCRVSession) 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 (*CurveRoutersteCRVSession) FutureFee

func (_CurveRoutersteCRV *CurveRoutersteCRVSession) FutureFee() (*big.Int, error)

FutureFee is a free data retrieval call binding the contract method 0x58680d0b.

Solidity: function future_fee() view returns(uint256)

func (*CurveRoutersteCRVSession) FutureOwner

func (_CurveRoutersteCRV *CurveRoutersteCRVSession) FutureOwner() (common.Address, error)

FutureOwner is a free data retrieval call binding the contract method 0x1ec0cdc1.

Solidity: function future_owner() view returns(address)

func (*CurveRoutersteCRVSession) GetDy

func (_CurveRoutersteCRV *CurveRoutersteCRVSession) 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 (*CurveRoutersteCRVSession) GetVirtualPrice

func (_CurveRoutersteCRV *CurveRoutersteCRVSession) 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 (*CurveRoutersteCRVSession) InitialA

func (_CurveRoutersteCRV *CurveRoutersteCRVSession) InitialA() (*big.Int, error)

InitialA is a free data retrieval call binding the contract method 0x5409491a.

Solidity: function initial_A() view returns(uint256)

func (*CurveRoutersteCRVSession) InitialATime

func (_CurveRoutersteCRV *CurveRoutersteCRVSession) 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 (*CurveRoutersteCRVSession) KillMe

func (_CurveRoutersteCRV *CurveRoutersteCRVSession) KillMe() (*types.Transaction, error)

KillMe is a paid mutator transaction binding the contract method 0xe3698853.

Solidity: function kill_me() returns()

func (*CurveRoutersteCRVSession) LpToken

func (_CurveRoutersteCRV *CurveRoutersteCRVSession) LpToken() (common.Address, error)

LpToken is a free data retrieval call binding the contract method 0x82c63066.

Solidity: function lp_token() view returns(address)

func (*CurveRoutersteCRVSession) Owner

func (_CurveRoutersteCRV *CurveRoutersteCRVSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*CurveRoutersteCRVSession) RampA

func (_CurveRoutersteCRV *CurveRoutersteCRVSession) 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 (*CurveRoutersteCRVSession) RemoveLiquidity

func (_CurveRoutersteCRV *CurveRoutersteCRVSession) RemoveLiquidity(_amount *big.Int, _min_amounts [2]*big.Int) (*types.Transaction, error)

RemoveLiquidity is a paid mutator transaction binding the contract method 0x5b36389c.

Solidity: function remove_liquidity(uint256 _amount, uint256[2] _min_amounts) returns(uint256[2])

func (*CurveRoutersteCRVSession) RemoveLiquidityImbalance

func (_CurveRoutersteCRV *CurveRoutersteCRVSession) RemoveLiquidityImbalance(_amounts [2]*big.Int, _max_burn_amount *big.Int) (*types.Transaction, error)

RemoveLiquidityImbalance 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 (*CurveRoutersteCRVSession) RemoveLiquidityOneCoin

func (_CurveRoutersteCRV *CurveRoutersteCRVSession) 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 (*CurveRoutersteCRVSession) RevertNewParameters

func (_CurveRoutersteCRV *CurveRoutersteCRVSession) RevertNewParameters() (*types.Transaction, error)

RevertNewParameters is a paid mutator transaction binding the contract method 0x226840fb.

Solidity: function revert_new_parameters() returns()

func (*CurveRoutersteCRVSession) RevertTransferOwnership

func (_CurveRoutersteCRV *CurveRoutersteCRVSession) RevertTransferOwnership() (*types.Transaction, error)

RevertTransferOwnership is a paid mutator transaction binding the contract method 0x86fbf193.

Solidity: function revert_transfer_ownership() returns()

func (*CurveRoutersteCRVSession) StopRampA

func (_CurveRoutersteCRV *CurveRoutersteCRVSession) StopRampA() (*types.Transaction, error)

StopRampA is a paid mutator transaction binding the contract method 0x551a6588.

Solidity: function stop_ramp_A() returns()

func (*CurveRoutersteCRVSession) TransferOwnershipDeadline

func (_CurveRoutersteCRV *CurveRoutersteCRVSession) 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 (*CurveRoutersteCRVSession) UnkillMe

func (_CurveRoutersteCRV *CurveRoutersteCRVSession) UnkillMe() (*types.Transaction, error)

UnkillMe is a paid mutator transaction binding the contract method 0x3046f972.

Solidity: function unkill_me() returns()

func (*CurveRoutersteCRVSession) WithdrawAdminFees

func (_CurveRoutersteCRV *CurveRoutersteCRVSession) WithdrawAdminFees() (*types.Transaction, error)

WithdrawAdminFees is a paid mutator transaction binding the contract method 0x30c54085.

Solidity: function withdraw_admin_fees() returns()

type CurveRoutersteCRVTransactor

type CurveRoutersteCRVTransactor struct {
	// contains filtered or unexported fields
}

CurveRoutersteCRVTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewCurveRoutersteCRVTransactor

func NewCurveRoutersteCRVTransactor(address common.Address, transactor bind.ContractTransactor) (*CurveRoutersteCRVTransactor, error)

NewCurveRoutersteCRVTransactor creates a new write-only instance of CurveRoutersteCRV, bound to a specific deployed contract.

func (*CurveRoutersteCRVTransactor) AddLiquidity

func (_CurveRoutersteCRV *CurveRoutersteCRVTransactor) 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) payable returns(uint256)

func (*CurveRoutersteCRVTransactor) ApplyNewFee

func (_CurveRoutersteCRV *CurveRoutersteCRVTransactor) 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 (*CurveRoutersteCRVTransactor) ApplyTransferOwnership

func (_CurveRoutersteCRV *CurveRoutersteCRVTransactor) 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 (*CurveRoutersteCRVTransactor) CommitNewFee

func (_CurveRoutersteCRV *CurveRoutersteCRVTransactor) CommitNewFee(opts *bind.TransactOpts, new_fee *big.Int, new_admin_fee *big.Int) (*types.Transaction, error)

CommitNewFee is a paid mutator transaction binding the contract method 0x5b5a1467.

Solidity: function commit_new_fee(uint256 new_fee, uint256 new_admin_fee) returns()

func (*CurveRoutersteCRVTransactor) CommitTransferOwnership

func (_CurveRoutersteCRV *CurveRoutersteCRVTransactor) 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 (*CurveRoutersteCRVTransactor) DonateAdminFees

func (_CurveRoutersteCRV *CurveRoutersteCRVTransactor) 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 (*CurveRoutersteCRVTransactor) Exchange

func (_CurveRoutersteCRV *CurveRoutersteCRVTransactor) 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) payable returns(uint256)

func (*CurveRoutersteCRVTransactor) KillMe

func (_CurveRoutersteCRV *CurveRoutersteCRVTransactor) KillMe(opts *bind.TransactOpts) (*types.Transaction, error)

KillMe is a paid mutator transaction binding the contract method 0xe3698853.

Solidity: function kill_me() returns()

func (*CurveRoutersteCRVTransactor) RampA

func (_CurveRoutersteCRV *CurveRoutersteCRVTransactor) 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 (*CurveRoutersteCRVTransactor) RemoveLiquidity

func (_CurveRoutersteCRV *CurveRoutersteCRVTransactor) RemoveLiquidity(opts *bind.TransactOpts, _amount *big.Int, _min_amounts [2]*big.Int) (*types.Transaction, error)

RemoveLiquidity is a paid mutator transaction binding the contract method 0x5b36389c.

Solidity: function remove_liquidity(uint256 _amount, uint256[2] _min_amounts) returns(uint256[2])

func (*CurveRoutersteCRVTransactor) RemoveLiquidityImbalance

func (_CurveRoutersteCRV *CurveRoutersteCRVTransactor) RemoveLiquidityImbalance(opts *bind.TransactOpts, _amounts [2]*big.Int, _max_burn_amount *big.Int) (*types.Transaction, error)

RemoveLiquidityImbalance 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 (*CurveRoutersteCRVTransactor) RemoveLiquidityOneCoin

func (_CurveRoutersteCRV *CurveRoutersteCRVTransactor) 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 (*CurveRoutersteCRVTransactor) RevertNewParameters

func (_CurveRoutersteCRV *CurveRoutersteCRVTransactor) 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 (*CurveRoutersteCRVTransactor) RevertTransferOwnership

func (_CurveRoutersteCRV *CurveRoutersteCRVTransactor) 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 (*CurveRoutersteCRVTransactor) StopRampA

func (_CurveRoutersteCRV *CurveRoutersteCRVTransactor) 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 (*CurveRoutersteCRVTransactor) UnkillMe

func (_CurveRoutersteCRV *CurveRoutersteCRVTransactor) UnkillMe(opts *bind.TransactOpts) (*types.Transaction, error)

UnkillMe is a paid mutator transaction binding the contract method 0x3046f972.

Solidity: function unkill_me() returns()

func (*CurveRoutersteCRVTransactor) WithdrawAdminFees

func (_CurveRoutersteCRV *CurveRoutersteCRVTransactor) 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 CurveRoutersteCRVTransactorRaw

type CurveRoutersteCRVTransactorRaw struct {
	Contract *CurveRoutersteCRVTransactor // Generic write-only contract binding to access the raw methods on
}

CurveRoutersteCRVTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*CurveRoutersteCRVTransactorRaw) Transact

func (_CurveRoutersteCRV *CurveRoutersteCRVTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*CurveRoutersteCRVTransactorRaw) Transfer

func (_CurveRoutersteCRV *CurveRoutersteCRVTransactorRaw) 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 CurveRoutersteCRVTransactorSession

type CurveRoutersteCRVTransactorSession struct {
	Contract     *CurveRoutersteCRVTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts            // Transaction auth options to use throughout this session
}

CurveRoutersteCRVTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*CurveRoutersteCRVTransactorSession) AddLiquidity

func (_CurveRoutersteCRV *CurveRoutersteCRVTransactorSession) 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) payable returns(uint256)

func (*CurveRoutersteCRVTransactorSession) ApplyNewFee

func (_CurveRoutersteCRV *CurveRoutersteCRVTransactorSession) ApplyNewFee() (*types.Transaction, error)

ApplyNewFee is a paid mutator transaction binding the contract method 0x4f12fe97.

Solidity: function apply_new_fee() returns()

func (*CurveRoutersteCRVTransactorSession) ApplyTransferOwnership

func (_CurveRoutersteCRV *CurveRoutersteCRVTransactorSession) ApplyTransferOwnership() (*types.Transaction, error)

ApplyTransferOwnership is a paid mutator transaction binding the contract method 0x6a1c05ae.

Solidity: function apply_transfer_ownership() returns()

func (*CurveRoutersteCRVTransactorSession) CommitNewFee

func (_CurveRoutersteCRV *CurveRoutersteCRVTransactorSession) CommitNewFee(new_fee *big.Int, new_admin_fee *big.Int) (*types.Transaction, error)

CommitNewFee is a paid mutator transaction binding the contract method 0x5b5a1467.

Solidity: function commit_new_fee(uint256 new_fee, uint256 new_admin_fee) returns()

func (*CurveRoutersteCRVTransactorSession) CommitTransferOwnership

func (_CurveRoutersteCRV *CurveRoutersteCRVTransactorSession) 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 (*CurveRoutersteCRVTransactorSession) DonateAdminFees

func (_CurveRoutersteCRV *CurveRoutersteCRVTransactorSession) DonateAdminFees() (*types.Transaction, error)

DonateAdminFees is a paid mutator transaction binding the contract method 0x524c3901.

Solidity: function donate_admin_fees() returns()

func (*CurveRoutersteCRVTransactorSession) Exchange

func (_CurveRoutersteCRV *CurveRoutersteCRVTransactorSession) 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) payable returns(uint256)

func (*CurveRoutersteCRVTransactorSession) KillMe

func (_CurveRoutersteCRV *CurveRoutersteCRVTransactorSession) KillMe() (*types.Transaction, error)

KillMe is a paid mutator transaction binding the contract method 0xe3698853.

Solidity: function kill_me() returns()

func (*CurveRoutersteCRVTransactorSession) RampA

func (_CurveRoutersteCRV *CurveRoutersteCRVTransactorSession) 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 (*CurveRoutersteCRVTransactorSession) RemoveLiquidity

func (_CurveRoutersteCRV *CurveRoutersteCRVTransactorSession) RemoveLiquidity(_amount *big.Int, _min_amounts [2]*big.Int) (*types.Transaction, error)

RemoveLiquidity is a paid mutator transaction binding the contract method 0x5b36389c.

Solidity: function remove_liquidity(uint256 _amount, uint256[2] _min_amounts) returns(uint256[2])

func (*CurveRoutersteCRVTransactorSession) RemoveLiquidityImbalance

func (_CurveRoutersteCRV *CurveRoutersteCRVTransactorSession) RemoveLiquidityImbalance(_amounts [2]*big.Int, _max_burn_amount *big.Int) (*types.Transaction, error)

RemoveLiquidityImbalance 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 (*CurveRoutersteCRVTransactorSession) RemoveLiquidityOneCoin

func (_CurveRoutersteCRV *CurveRoutersteCRVTransactorSession) 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 (*CurveRoutersteCRVTransactorSession) RevertNewParameters

func (_CurveRoutersteCRV *CurveRoutersteCRVTransactorSession) RevertNewParameters() (*types.Transaction, error)

RevertNewParameters is a paid mutator transaction binding the contract method 0x226840fb.

Solidity: function revert_new_parameters() returns()

func (*CurveRoutersteCRVTransactorSession) RevertTransferOwnership

func (_CurveRoutersteCRV *CurveRoutersteCRVTransactorSession) RevertTransferOwnership() (*types.Transaction, error)

RevertTransferOwnership is a paid mutator transaction binding the contract method 0x86fbf193.

Solidity: function revert_transfer_ownership() returns()

func (*CurveRoutersteCRVTransactorSession) StopRampA

func (_CurveRoutersteCRV *CurveRoutersteCRVTransactorSession) StopRampA() (*types.Transaction, error)

StopRampA is a paid mutator transaction binding the contract method 0x551a6588.

Solidity: function stop_ramp_A() returns()

func (*CurveRoutersteCRVTransactorSession) UnkillMe

func (_CurveRoutersteCRV *CurveRoutersteCRVTransactorSession) UnkillMe() (*types.Transaction, error)

UnkillMe is a paid mutator transaction binding the contract method 0x3046f972.

Solidity: function unkill_me() returns()

func (*CurveRoutersteCRVTransactorSession) WithdrawAdminFees

func (_CurveRoutersteCRV *CurveRoutersteCRVTransactorSession) WithdrawAdminFees() (*types.Transaction, error)

WithdrawAdminFees is a paid mutator transaction binding the contract method 0x30c54085.

Solidity: function withdraw_admin_fees() returns()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL