curveAtri

package
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CurveAtriABI = CurveAtriMetaData.ABI

CurveAtriABI is the input ABI used to generate the binding from. Deprecated: Use CurveAtriMetaData.ABI instead.

View Source
var CurveAtriMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"name\":\"A\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"D\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256[3]\",\"name\":\"amounts\",\"type\":\"uint256[3]\"},{\"internalType\":\"uint256\",\"name\":\"min_mint_amount\",\"type\":\"uint256\"}],\"name\":\"add_liquidity\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"adjustment_step\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"admin_actions_deadline\",\"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\":\"allowed_extra_profit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"apply_new_parameters\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"apply_transfer_ownership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"arg0\",\"type\":\"uint256\"}],\"name\":\"balances\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256[3]\",\"name\":\"amounts\",\"type\":\"uint256[3]\"},{\"internalType\":\"bool\",\"name\":\"deposit\",\"type\":\"bool\"}],\"name\":\"calc_token_amount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256[3]\",\"name\":\"amounts\",\"type\":\"uint256[3]\"},{\"internalType\":\"uint256[3]\",\"name\":\"xp\",\"type\":\"uint256[3]\"}],\"name\":\"calc_token_fee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"token_amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"i\",\"type\":\"uint256\"}],\"name\":\"calc_withdraw_one_coin\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"claim_admin_fees\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"i\",\"type\":\"uint256\"}],\"name\":\"coins\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_new_mid_fee\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_new_out_fee\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_new_admin_fee\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_new_fee_gamma\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_new_allowed_extra_profit\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_new_adjustment_step\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_new_ma_half_time\",\"type\":\"uint256\"}],\"name\":\"commit_new_parameters\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"commit_transfer_ownership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"i\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"j\",\"type\":\"uint256\"},{\"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\":[],\"name\":\"fee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256[3]\",\"name\":\"xp\",\"type\":\"uint256[3]\"}],\"name\":\"fee_calc\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"fee_gamma\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"future_A_gamma\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"future_A_gamma_time\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"future_adjustment_step\",\"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_allowed_extra_profit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"future_fee_gamma\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"future_ma_half_time\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"future_mid_fee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"future_out_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\":[],\"name\":\"gamma\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"i\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"j\",\"type\":\"uint256\"},{\"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_gamma\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"initial_A_gamma_time\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"is_killed\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"kill_deadline\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"kill_me\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"k\",\"type\":\"uint256\"}],\"name\":\"last_prices\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"last_prices_timestamp\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"ma_half_time\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"mid_fee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"out_fee\",\"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\":\"k\",\"type\":\"uint256\"}],\"name\":\"price_oracle\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"k\",\"type\":\"uint256\"}],\"name\":\"price_scale\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"future_A\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"future_gamma\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"future_time\",\"type\":\"uint256\"}],\"name\":\"ramp_A_gamma\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256[3]\",\"name\":\"min_amounts\",\"type\":\"uint256[3]\"}],\"name\":\"remove_liquidity\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"token_amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"i\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"min_amount\",\"type\":\"uint256\"}],\"name\":\"remove_liquidity_one_coin\",\"outputs\":[],\"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\":\"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_gamma\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"token\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"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\":\"virtual_price\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"xcp_profit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"xcp_profit_a\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}

CurveAtriMetaData contains all meta data concerning the CurveAtri contract.

Functions

This section is empty.

Types

type CurveAtri

type CurveAtri struct {
	CurveAtriCaller     // Read-only binding to the contract
	CurveAtriTransactor // Write-only binding to the contract
	CurveAtriFilterer   // Log filterer for contract events
}

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

func NewCurveAtri

func NewCurveAtri(address common.Address, backend bind.ContractBackend) (*CurveAtri, error)

NewCurveAtri creates a new instance of CurveAtri, bound to a specific deployed contract.

type CurveAtriCaller

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

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

func NewCurveAtriCaller

func NewCurveAtriCaller(address common.Address, caller bind.ContractCaller) (*CurveAtriCaller, error)

NewCurveAtriCaller creates a new read-only instance of CurveAtri, bound to a specific deployed contract.

func (*CurveAtriCaller) A

func (_CurveAtri *CurveAtriCaller) 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 (*CurveAtriCaller) AdjustmentStep

func (_CurveAtri *CurveAtriCaller) AdjustmentStep(opts *bind.CallOpts) (*big.Int, error)

AdjustmentStep is a free data retrieval call binding the contract method 0x083812e5.

Solidity: function adjustment_step() view returns(uint256)

func (*CurveAtriCaller) AdminActionsDeadline

func (_CurveAtri *CurveAtriCaller) 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 (*CurveAtriCaller) AdminFee

func (_CurveAtri *CurveAtriCaller) 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 (*CurveAtriCaller) AdminFeeReceiver

func (_CurveAtri *CurveAtriCaller) AdminFeeReceiver(opts *bind.CallOpts) (common.Address, error)

AdminFeeReceiver is a free data retrieval call binding the contract method 0x6e42e4d2.

Solidity: function admin_fee_receiver() view returns(address)

func (*CurveAtriCaller) AllowedExtraProfit

func (_CurveAtri *CurveAtriCaller) AllowedExtraProfit(opts *bind.CallOpts) (*big.Int, error)

AllowedExtraProfit is a free data retrieval call binding the contract method 0x49fe9e77.

Solidity: function allowed_extra_profit() view returns(uint256)

func (*CurveAtriCaller) Balances

func (_CurveAtri *CurveAtriCaller) Balances(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)

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

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

func (*CurveAtriCaller) CalcTokenAmount

func (_CurveAtri *CurveAtriCaller) CalcTokenAmount(opts *bind.CallOpts, amounts [3]*big.Int, deposit bool) (*big.Int, error)

CalcTokenAmount is a free data retrieval call binding the contract method 0x3883e119.

Solidity: function calc_token_amount(uint256[3] amounts, bool deposit) view returns(uint256)

func (*CurveAtriCaller) CalcTokenFee

func (_CurveAtri *CurveAtriCaller) CalcTokenFee(opts *bind.CallOpts, amounts [3]*big.Int, xp [3]*big.Int) (*big.Int, error)

CalcTokenFee is a free data retrieval call binding the contract method 0xcde699fa.

Solidity: function calc_token_fee(uint256[3] amounts, uint256[3] xp) view returns(uint256)

func (*CurveAtriCaller) CalcWithdrawOneCoin

func (_CurveAtri *CurveAtriCaller) 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 0x4fb08c5e.

Solidity: function calc_withdraw_one_coin(uint256 token_amount, uint256 i) view returns(uint256)

func (*CurveAtriCaller) Coins

func (_CurveAtri *CurveAtriCaller) Coins(opts *bind.CallOpts, i *big.Int) (common.Address, error)

Coins is a free data retrieval call binding the contract method 0xc6610657.

Solidity: function coins(uint256 i) view returns(address)

func (*CurveAtriCaller) D

func (_CurveAtri *CurveAtriCaller) D(opts *bind.CallOpts) (*big.Int, error)

D is a free data retrieval call binding the contract method 0x0f529ba2.

Solidity: function D() view returns(uint256)

func (*CurveAtriCaller) Fee

func (_CurveAtri *CurveAtriCaller) 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 (*CurveAtriCaller) FeeCalc

func (_CurveAtri *CurveAtriCaller) FeeCalc(opts *bind.CallOpts, xp [3]*big.Int) (*big.Int, error)

FeeCalc is a free data retrieval call binding the contract method 0x572e5625.

Solidity: function fee_calc(uint256[3] xp) view returns(uint256)

func (*CurveAtriCaller) FeeGamma

func (_CurveAtri *CurveAtriCaller) FeeGamma(opts *bind.CallOpts) (*big.Int, error)

FeeGamma is a free data retrieval call binding the contract method 0x72d4f0e2.

Solidity: function fee_gamma() view returns(uint256)

func (*CurveAtriCaller) FutureAGamma

func (_CurveAtri *CurveAtriCaller) FutureAGamma(opts *bind.CallOpts) (*big.Int, error)

FutureAGamma is a free data retrieval call binding the contract method 0xf30cfad5.

Solidity: function future_A_gamma() view returns(uint256)

func (*CurveAtriCaller) FutureAGammaTime

func (_CurveAtri *CurveAtriCaller) FutureAGammaTime(opts *bind.CallOpts) (*big.Int, error)

FutureAGammaTime is a free data retrieval call binding the contract method 0xf9ed9597.

Solidity: function future_A_gamma_time() view returns(uint256)

func (*CurveAtriCaller) FutureAdjustmentStep

func (_CurveAtri *CurveAtriCaller) FutureAdjustmentStep(opts *bind.CallOpts) (*big.Int, error)

FutureAdjustmentStep is a free data retrieval call binding the contract method 0x4ea12c7d.

Solidity: function future_adjustment_step() view returns(uint256)

func (*CurveAtriCaller) FutureAdminFee

func (_CurveAtri *CurveAtriCaller) 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 (*CurveAtriCaller) FutureAllowedExtraProfit

func (_CurveAtri *CurveAtriCaller) FutureAllowedExtraProfit(opts *bind.CallOpts) (*big.Int, error)

FutureAllowedExtraProfit is a free data retrieval call binding the contract method 0x727ced57.

Solidity: function future_allowed_extra_profit() view returns(uint256)

func (*CurveAtriCaller) FutureFeeGamma

func (_CurveAtri *CurveAtriCaller) FutureFeeGamma(opts *bind.CallOpts) (*big.Int, error)

FutureFeeGamma is a free data retrieval call binding the contract method 0xd7c3dcbe.

Solidity: function future_fee_gamma() view returns(uint256)

func (*CurveAtriCaller) FutureMaHalfTime

func (_CurveAtri *CurveAtriCaller) FutureMaHalfTime(opts *bind.CallOpts) (*big.Int, error)

FutureMaHalfTime is a free data retrieval call binding the contract method 0x0c5e23d4.

Solidity: function future_ma_half_time() view returns(uint256)

func (*CurveAtriCaller) FutureMidFee

func (_CurveAtri *CurveAtriCaller) FutureMidFee(opts *bind.CallOpts) (*big.Int, error)

FutureMidFee is a free data retrieval call binding the contract method 0x7cf9aedc.

Solidity: function future_mid_fee() view returns(uint256)

func (*CurveAtriCaller) FutureOutFee

func (_CurveAtri *CurveAtriCaller) FutureOutFee(opts *bind.CallOpts) (*big.Int, error)

FutureOutFee is a free data retrieval call binding the contract method 0x7d1b060c.

Solidity: function future_out_fee() view returns(uint256)

func (*CurveAtriCaller) FutureOwner

func (_CurveAtri *CurveAtriCaller) 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 (*CurveAtriCaller) Gamma

func (_CurveAtri *CurveAtriCaller) Gamma(opts *bind.CallOpts) (*big.Int, error)

Gamma is a free data retrieval call binding the contract method 0xb1373929.

Solidity: function gamma() view returns(uint256)

func (*CurveAtriCaller) GetDy

func (_CurveAtri *CurveAtriCaller) 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 0x556d6e9f.

Solidity: function get_dy(uint256 i, uint256 j, uint256 dx) view returns(uint256)

func (*CurveAtriCaller) GetVirtualPrice

func (_CurveAtri *CurveAtriCaller) 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 (*CurveAtriCaller) InitialAGamma

func (_CurveAtri *CurveAtriCaller) InitialAGamma(opts *bind.CallOpts) (*big.Int, error)

InitialAGamma is a free data retrieval call binding the contract method 0x204fe3d5.

Solidity: function initial_A_gamma() view returns(uint256)

func (*CurveAtriCaller) InitialAGammaTime

func (_CurveAtri *CurveAtriCaller) InitialAGammaTime(opts *bind.CallOpts) (*big.Int, error)

InitialAGammaTime is a free data retrieval call binding the contract method 0xe89876ff.

Solidity: function initial_A_gamma_time() view returns(uint256)

func (*CurveAtriCaller) IsKilled

func (_CurveAtri *CurveAtriCaller) IsKilled(opts *bind.CallOpts) (bool, error)

IsKilled is a free data retrieval call binding the contract method 0x9c868ac0.

Solidity: function is_killed() view returns(bool)

func (*CurveAtriCaller) KillDeadline

func (_CurveAtri *CurveAtriCaller) KillDeadline(opts *bind.CallOpts) (*big.Int, error)

KillDeadline is a free data retrieval call binding the contract method 0x2a426896.

Solidity: function kill_deadline() view returns(uint256)

func (*CurveAtriCaller) LastPrices

func (_CurveAtri *CurveAtriCaller) LastPrices(opts *bind.CallOpts, k *big.Int) (*big.Int, error)

LastPrices is a free data retrieval call binding the contract method 0x59189017.

Solidity: function last_prices(uint256 k) view returns(uint256)

func (*CurveAtriCaller) LastPricesTimestamp

func (_CurveAtri *CurveAtriCaller) LastPricesTimestamp(opts *bind.CallOpts) (*big.Int, error)

LastPricesTimestamp is a free data retrieval call binding the contract method 0x6112c747.

Solidity: function last_prices_timestamp() view returns(uint256)

func (*CurveAtriCaller) MaHalfTime

func (_CurveAtri *CurveAtriCaller) MaHalfTime(opts *bind.CallOpts) (*big.Int, error)

MaHalfTime is a free data retrieval call binding the contract method 0x662b6274.

Solidity: function ma_half_time() view returns(uint256)

func (*CurveAtriCaller) MidFee

func (_CurveAtri *CurveAtriCaller) MidFee(opts *bind.CallOpts) (*big.Int, error)

MidFee is a free data retrieval call binding the contract method 0x92526c0c.

Solidity: function mid_fee() view returns(uint256)

func (*CurveAtriCaller) OutFee

func (_CurveAtri *CurveAtriCaller) OutFee(opts *bind.CallOpts) (*big.Int, error)

OutFee is a free data retrieval call binding the contract method 0xee8de675.

Solidity: function out_fee() view returns(uint256)

func (*CurveAtriCaller) Owner

func (_CurveAtri *CurveAtriCaller) 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 (*CurveAtriCaller) PriceOracle

func (_CurveAtri *CurveAtriCaller) PriceOracle(opts *bind.CallOpts, k *big.Int) (*big.Int, error)

PriceOracle is a free data retrieval call binding the contract method 0x68727653.

Solidity: function price_oracle(uint256 k) view returns(uint256)

func (*CurveAtriCaller) PriceScale

func (_CurveAtri *CurveAtriCaller) PriceScale(opts *bind.CallOpts, k *big.Int) (*big.Int, error)

PriceScale is a free data retrieval call binding the contract method 0xa3f7cdd5.

Solidity: function price_scale(uint256 k) view returns(uint256)

func (*CurveAtriCaller) RewardReceiver

func (_CurveAtri *CurveAtriCaller) RewardReceiver(opts *bind.CallOpts) (common.Address, error)

RewardReceiver is a free data retrieval call binding the contract method 0xb618ba62.

Solidity: function reward_receiver() view returns(address)

func (*CurveAtriCaller) Token

func (_CurveAtri *CurveAtriCaller) Token(opts *bind.CallOpts) (common.Address, error)

Token is a free data retrieval call binding the contract method 0xfc0c546a.

Solidity: function token() view returns(address)

func (*CurveAtriCaller) TransferOwnershipDeadline

func (_CurveAtri *CurveAtriCaller) 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)

func (*CurveAtriCaller) VirtualPrice

func (_CurveAtri *CurveAtriCaller) VirtualPrice(opts *bind.CallOpts) (*big.Int, error)

VirtualPrice is a free data retrieval call binding the contract method 0x0c46b72a.

Solidity: function virtual_price() view returns(uint256)

func (*CurveAtriCaller) XcpProfit

func (_CurveAtri *CurveAtriCaller) XcpProfit(opts *bind.CallOpts) (*big.Int, error)

XcpProfit is a free data retrieval call binding the contract method 0x7ba1a74d.

Solidity: function xcp_profit() view returns(uint256)

func (*CurveAtriCaller) XcpProfitA

func (_CurveAtri *CurveAtriCaller) XcpProfitA(opts *bind.CallOpts) (*big.Int, error)

XcpProfitA is a free data retrieval call binding the contract method 0x0b7b594b.

Solidity: function xcp_profit_a() view returns(uint256)

type CurveAtriCallerRaw

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

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

func (*CurveAtriCallerRaw) Call

func (_CurveAtri *CurveAtriCallerRaw) 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 CurveAtriCallerSession

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

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

func (*CurveAtriCallerSession) A

func (_CurveAtri *CurveAtriCallerSession) A() (*big.Int, error)

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

Solidity: function A() view returns(uint256)

func (*CurveAtriCallerSession) AdjustmentStep

func (_CurveAtri *CurveAtriCallerSession) AdjustmentStep() (*big.Int, error)

AdjustmentStep is a free data retrieval call binding the contract method 0x083812e5.

Solidity: function adjustment_step() view returns(uint256)

func (*CurveAtriCallerSession) AdminActionsDeadline

func (_CurveAtri *CurveAtriCallerSession) 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 (*CurveAtriCallerSession) AdminFee

func (_CurveAtri *CurveAtriCallerSession) AdminFee() (*big.Int, error)

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

Solidity: function admin_fee() view returns(uint256)

func (*CurveAtriCallerSession) AdminFeeReceiver

func (_CurveAtri *CurveAtriCallerSession) 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 (*CurveAtriCallerSession) AllowedExtraProfit

func (_CurveAtri *CurveAtriCallerSession) AllowedExtraProfit() (*big.Int, error)

AllowedExtraProfit is a free data retrieval call binding the contract method 0x49fe9e77.

Solidity: function allowed_extra_profit() view returns(uint256)

func (*CurveAtriCallerSession) Balances

func (_CurveAtri *CurveAtriCallerSession) Balances(arg0 *big.Int) (*big.Int, error)

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

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

func (*CurveAtriCallerSession) CalcTokenAmount

func (_CurveAtri *CurveAtriCallerSession) CalcTokenAmount(amounts [3]*big.Int, deposit bool) (*big.Int, error)

CalcTokenAmount is a free data retrieval call binding the contract method 0x3883e119.

Solidity: function calc_token_amount(uint256[3] amounts, bool deposit) view returns(uint256)

func (*CurveAtriCallerSession) CalcTokenFee

func (_CurveAtri *CurveAtriCallerSession) CalcTokenFee(amounts [3]*big.Int, xp [3]*big.Int) (*big.Int, error)

CalcTokenFee is a free data retrieval call binding the contract method 0xcde699fa.

Solidity: function calc_token_fee(uint256[3] amounts, uint256[3] xp) view returns(uint256)

func (*CurveAtriCallerSession) CalcWithdrawOneCoin

func (_CurveAtri *CurveAtriCallerSession) CalcWithdrawOneCoin(token_amount *big.Int, i *big.Int) (*big.Int, error)

CalcWithdrawOneCoin is a free data retrieval call binding the contract method 0x4fb08c5e.

Solidity: function calc_withdraw_one_coin(uint256 token_amount, uint256 i) view returns(uint256)

func (*CurveAtriCallerSession) Coins

func (_CurveAtri *CurveAtriCallerSession) Coins(i *big.Int) (common.Address, error)

Coins is a free data retrieval call binding the contract method 0xc6610657.

Solidity: function coins(uint256 i) view returns(address)

func (*CurveAtriCallerSession) D

func (_CurveAtri *CurveAtriCallerSession) D() (*big.Int, error)

D is a free data retrieval call binding the contract method 0x0f529ba2.

Solidity: function D() view returns(uint256)

func (*CurveAtriCallerSession) Fee

func (_CurveAtri *CurveAtriCallerSession) Fee() (*big.Int, error)

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

Solidity: function fee() view returns(uint256)

func (*CurveAtriCallerSession) FeeCalc

func (_CurveAtri *CurveAtriCallerSession) FeeCalc(xp [3]*big.Int) (*big.Int, error)

FeeCalc is a free data retrieval call binding the contract method 0x572e5625.

Solidity: function fee_calc(uint256[3] xp) view returns(uint256)

func (*CurveAtriCallerSession) FeeGamma

func (_CurveAtri *CurveAtriCallerSession) FeeGamma() (*big.Int, error)

FeeGamma is a free data retrieval call binding the contract method 0x72d4f0e2.

Solidity: function fee_gamma() view returns(uint256)

func (*CurveAtriCallerSession) FutureAGamma

func (_CurveAtri *CurveAtriCallerSession) FutureAGamma() (*big.Int, error)

FutureAGamma is a free data retrieval call binding the contract method 0xf30cfad5.

Solidity: function future_A_gamma() view returns(uint256)

func (*CurveAtriCallerSession) FutureAGammaTime

func (_CurveAtri *CurveAtriCallerSession) FutureAGammaTime() (*big.Int, error)

FutureAGammaTime is a free data retrieval call binding the contract method 0xf9ed9597.

Solidity: function future_A_gamma_time() view returns(uint256)

func (*CurveAtriCallerSession) FutureAdjustmentStep

func (_CurveAtri *CurveAtriCallerSession) FutureAdjustmentStep() (*big.Int, error)

FutureAdjustmentStep is a free data retrieval call binding the contract method 0x4ea12c7d.

Solidity: function future_adjustment_step() view returns(uint256)

func (*CurveAtriCallerSession) FutureAdminFee

func (_CurveAtri *CurveAtriCallerSession) 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 (*CurveAtriCallerSession) FutureAllowedExtraProfit

func (_CurveAtri *CurveAtriCallerSession) FutureAllowedExtraProfit() (*big.Int, error)

FutureAllowedExtraProfit is a free data retrieval call binding the contract method 0x727ced57.

Solidity: function future_allowed_extra_profit() view returns(uint256)

func (*CurveAtriCallerSession) FutureFeeGamma

func (_CurveAtri *CurveAtriCallerSession) FutureFeeGamma() (*big.Int, error)

FutureFeeGamma is a free data retrieval call binding the contract method 0xd7c3dcbe.

Solidity: function future_fee_gamma() view returns(uint256)

func (*CurveAtriCallerSession) FutureMaHalfTime

func (_CurveAtri *CurveAtriCallerSession) FutureMaHalfTime() (*big.Int, error)

FutureMaHalfTime is a free data retrieval call binding the contract method 0x0c5e23d4.

Solidity: function future_ma_half_time() view returns(uint256)

func (*CurveAtriCallerSession) FutureMidFee

func (_CurveAtri *CurveAtriCallerSession) FutureMidFee() (*big.Int, error)

FutureMidFee is a free data retrieval call binding the contract method 0x7cf9aedc.

Solidity: function future_mid_fee() view returns(uint256)

func (*CurveAtriCallerSession) FutureOutFee

func (_CurveAtri *CurveAtriCallerSession) FutureOutFee() (*big.Int, error)

FutureOutFee is a free data retrieval call binding the contract method 0x7d1b060c.

Solidity: function future_out_fee() view returns(uint256)

func (*CurveAtriCallerSession) FutureOwner

func (_CurveAtri *CurveAtriCallerSession) FutureOwner() (common.Address, error)

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

Solidity: function future_owner() view returns(address)

func (*CurveAtriCallerSession) Gamma

func (_CurveAtri *CurveAtriCallerSession) Gamma() (*big.Int, error)

Gamma is a free data retrieval call binding the contract method 0xb1373929.

Solidity: function gamma() view returns(uint256)

func (*CurveAtriCallerSession) GetDy

func (_CurveAtri *CurveAtriCallerSession) GetDy(i *big.Int, j *big.Int, dx *big.Int) (*big.Int, error)

GetDy is a free data retrieval call binding the contract method 0x556d6e9f.

Solidity: function get_dy(uint256 i, uint256 j, uint256 dx) view returns(uint256)

func (*CurveAtriCallerSession) GetVirtualPrice

func (_CurveAtri *CurveAtriCallerSession) 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 (*CurveAtriCallerSession) InitialAGamma

func (_CurveAtri *CurveAtriCallerSession) InitialAGamma() (*big.Int, error)

InitialAGamma is a free data retrieval call binding the contract method 0x204fe3d5.

Solidity: function initial_A_gamma() view returns(uint256)

func (*CurveAtriCallerSession) InitialAGammaTime

func (_CurveAtri *CurveAtriCallerSession) InitialAGammaTime() (*big.Int, error)

InitialAGammaTime is a free data retrieval call binding the contract method 0xe89876ff.

Solidity: function initial_A_gamma_time() view returns(uint256)

func (*CurveAtriCallerSession) IsKilled

func (_CurveAtri *CurveAtriCallerSession) IsKilled() (bool, error)

IsKilled is a free data retrieval call binding the contract method 0x9c868ac0.

Solidity: function is_killed() view returns(bool)

func (*CurveAtriCallerSession) KillDeadline

func (_CurveAtri *CurveAtriCallerSession) KillDeadline() (*big.Int, error)

KillDeadline is a free data retrieval call binding the contract method 0x2a426896.

Solidity: function kill_deadline() view returns(uint256)

func (*CurveAtriCallerSession) LastPrices

func (_CurveAtri *CurveAtriCallerSession) LastPrices(k *big.Int) (*big.Int, error)

LastPrices is a free data retrieval call binding the contract method 0x59189017.

Solidity: function last_prices(uint256 k) view returns(uint256)

func (*CurveAtriCallerSession) LastPricesTimestamp

func (_CurveAtri *CurveAtriCallerSession) LastPricesTimestamp() (*big.Int, error)

LastPricesTimestamp is a free data retrieval call binding the contract method 0x6112c747.

Solidity: function last_prices_timestamp() view returns(uint256)

func (*CurveAtriCallerSession) MaHalfTime

func (_CurveAtri *CurveAtriCallerSession) MaHalfTime() (*big.Int, error)

MaHalfTime is a free data retrieval call binding the contract method 0x662b6274.

Solidity: function ma_half_time() view returns(uint256)

func (*CurveAtriCallerSession) MidFee

func (_CurveAtri *CurveAtriCallerSession) MidFee() (*big.Int, error)

MidFee is a free data retrieval call binding the contract method 0x92526c0c.

Solidity: function mid_fee() view returns(uint256)

func (*CurveAtriCallerSession) OutFee

func (_CurveAtri *CurveAtriCallerSession) OutFee() (*big.Int, error)

OutFee is a free data retrieval call binding the contract method 0xee8de675.

Solidity: function out_fee() view returns(uint256)

func (*CurveAtriCallerSession) Owner

func (_CurveAtri *CurveAtriCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*CurveAtriCallerSession) PriceOracle

func (_CurveAtri *CurveAtriCallerSession) PriceOracle(k *big.Int) (*big.Int, error)

PriceOracle is a free data retrieval call binding the contract method 0x68727653.

Solidity: function price_oracle(uint256 k) view returns(uint256)

func (*CurveAtriCallerSession) PriceScale

func (_CurveAtri *CurveAtriCallerSession) PriceScale(k *big.Int) (*big.Int, error)

PriceScale is a free data retrieval call binding the contract method 0xa3f7cdd5.

Solidity: function price_scale(uint256 k) view returns(uint256)

func (*CurveAtriCallerSession) RewardReceiver

func (_CurveAtri *CurveAtriCallerSession) RewardReceiver() (common.Address, error)

RewardReceiver is a free data retrieval call binding the contract method 0xb618ba62.

Solidity: function reward_receiver() view returns(address)

func (*CurveAtriCallerSession) Token

func (_CurveAtri *CurveAtriCallerSession) Token() (common.Address, error)

Token is a free data retrieval call binding the contract method 0xfc0c546a.

Solidity: function token() view returns(address)

func (*CurveAtriCallerSession) TransferOwnershipDeadline

func (_CurveAtri *CurveAtriCallerSession) 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 (*CurveAtriCallerSession) VirtualPrice

func (_CurveAtri *CurveAtriCallerSession) VirtualPrice() (*big.Int, error)

VirtualPrice is a free data retrieval call binding the contract method 0x0c46b72a.

Solidity: function virtual_price() view returns(uint256)

func (*CurveAtriCallerSession) XcpProfit

func (_CurveAtri *CurveAtriCallerSession) XcpProfit() (*big.Int, error)

XcpProfit is a free data retrieval call binding the contract method 0x7ba1a74d.

Solidity: function xcp_profit() view returns(uint256)

func (*CurveAtriCallerSession) XcpProfitA

func (_CurveAtri *CurveAtriCallerSession) XcpProfitA() (*big.Int, error)

XcpProfitA is a free data retrieval call binding the contract method 0x0b7b594b.

Solidity: function xcp_profit_a() view returns(uint256)

type CurveAtriFilterer

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

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

func NewCurveAtriFilterer

func NewCurveAtriFilterer(address common.Address, filterer bind.ContractFilterer) (*CurveAtriFilterer, error)

NewCurveAtriFilterer creates a new log filterer instance of CurveAtri, bound to a specific deployed contract.

type CurveAtriRaw

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

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

func (*CurveAtriRaw) Call

func (_CurveAtri *CurveAtriRaw) 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 (*CurveAtriRaw) Transact

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

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

func (*CurveAtriRaw) Transfer

func (_CurveAtri *CurveAtriRaw) 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 CurveAtriSession

type CurveAtriSession struct {
	Contract     *CurveAtri        // 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
}

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

func (*CurveAtriSession) A

func (_CurveAtri *CurveAtriSession) A() (*big.Int, error)

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

Solidity: function A() view returns(uint256)

func (*CurveAtriSession) AddLiquidity

func (_CurveAtri *CurveAtriSession) AddLiquidity(amounts [3]*big.Int, min_mint_amount *big.Int) (*types.Transaction, error)

AddLiquidity is a paid mutator transaction binding the contract method 0x4515cef3.

Solidity: function add_liquidity(uint256[3] amounts, uint256 min_mint_amount) returns()

func (*CurveAtriSession) AdjustmentStep

func (_CurveAtri *CurveAtriSession) AdjustmentStep() (*big.Int, error)

AdjustmentStep is a free data retrieval call binding the contract method 0x083812e5.

Solidity: function adjustment_step() view returns(uint256)

func (*CurveAtriSession) AdminActionsDeadline

func (_CurveAtri *CurveAtriSession) 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 (*CurveAtriSession) AdminFee

func (_CurveAtri *CurveAtriSession) AdminFee() (*big.Int, error)

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

Solidity: function admin_fee() view returns(uint256)

func (*CurveAtriSession) AdminFeeReceiver

func (_CurveAtri *CurveAtriSession) 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 (*CurveAtriSession) AllowedExtraProfit

func (_CurveAtri *CurveAtriSession) AllowedExtraProfit() (*big.Int, error)

AllowedExtraProfit is a free data retrieval call binding the contract method 0x49fe9e77.

Solidity: function allowed_extra_profit() view returns(uint256)

func (*CurveAtriSession) ApplyNewParameters

func (_CurveAtri *CurveAtriSession) ApplyNewParameters() (*types.Transaction, error)

ApplyNewParameters is a paid mutator transaction binding the contract method 0x2a7dd7cd.

Solidity: function apply_new_parameters() returns()

func (*CurveAtriSession) ApplyTransferOwnership

func (_CurveAtri *CurveAtriSession) ApplyTransferOwnership() (*types.Transaction, error)

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

Solidity: function apply_transfer_ownership() returns()

func (*CurveAtriSession) Balances

func (_CurveAtri *CurveAtriSession) Balances(arg0 *big.Int) (*big.Int, error)

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

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

func (*CurveAtriSession) CalcTokenAmount

func (_CurveAtri *CurveAtriSession) CalcTokenAmount(amounts [3]*big.Int, deposit bool) (*big.Int, error)

CalcTokenAmount is a free data retrieval call binding the contract method 0x3883e119.

Solidity: function calc_token_amount(uint256[3] amounts, bool deposit) view returns(uint256)

func (*CurveAtriSession) CalcTokenFee

func (_CurveAtri *CurveAtriSession) CalcTokenFee(amounts [3]*big.Int, xp [3]*big.Int) (*big.Int, error)

CalcTokenFee is a free data retrieval call binding the contract method 0xcde699fa.

Solidity: function calc_token_fee(uint256[3] amounts, uint256[3] xp) view returns(uint256)

func (*CurveAtriSession) CalcWithdrawOneCoin

func (_CurveAtri *CurveAtriSession) CalcWithdrawOneCoin(token_amount *big.Int, i *big.Int) (*big.Int, error)

CalcWithdrawOneCoin is a free data retrieval call binding the contract method 0x4fb08c5e.

Solidity: function calc_withdraw_one_coin(uint256 token_amount, uint256 i) view returns(uint256)

func (*CurveAtriSession) ClaimAdminFees

func (_CurveAtri *CurveAtriSession) ClaimAdminFees() (*types.Transaction, error)

ClaimAdminFees is a paid mutator transaction binding the contract method 0xc93f49e8.

Solidity: function claim_admin_fees() returns()

func (*CurveAtriSession) Coins

func (_CurveAtri *CurveAtriSession) Coins(i *big.Int) (common.Address, error)

Coins is a free data retrieval call binding the contract method 0xc6610657.

Solidity: function coins(uint256 i) view returns(address)

func (*CurveAtriSession) CommitNewParameters

func (_CurveAtri *CurveAtriSession) CommitNewParameters(_new_mid_fee *big.Int, _new_out_fee *big.Int, _new_admin_fee *big.Int, _new_fee_gamma *big.Int, _new_allowed_extra_profit *big.Int, _new_adjustment_step *big.Int, _new_ma_half_time *big.Int) (*types.Transaction, error)

CommitNewParameters is a paid mutator transaction binding the contract method 0xa43c3351.

Solidity: function commit_new_parameters(uint256 _new_mid_fee, uint256 _new_out_fee, uint256 _new_admin_fee, uint256 _new_fee_gamma, uint256 _new_allowed_extra_profit, uint256 _new_adjustment_step, uint256 _new_ma_half_time) returns()

func (*CurveAtriSession) CommitTransferOwnership

func (_CurveAtri *CurveAtriSession) 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 (*CurveAtriSession) D

func (_CurveAtri *CurveAtriSession) D() (*big.Int, error)

D is a free data retrieval call binding the contract method 0x0f529ba2.

Solidity: function D() view returns(uint256)

func (*CurveAtriSession) Exchange

func (_CurveAtri *CurveAtriSession) 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 0x5b41b908.

Solidity: function exchange(uint256 i, uint256 j, uint256 dx, uint256 min_dy) returns(uint256)

func (*CurveAtriSession) Fee

func (_CurveAtri *CurveAtriSession) Fee() (*big.Int, error)

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

Solidity: function fee() view returns(uint256)

func (*CurveAtriSession) FeeCalc

func (_CurveAtri *CurveAtriSession) FeeCalc(xp [3]*big.Int) (*big.Int, error)

FeeCalc is a free data retrieval call binding the contract method 0x572e5625.

Solidity: function fee_calc(uint256[3] xp) view returns(uint256)

func (*CurveAtriSession) FeeGamma

func (_CurveAtri *CurveAtriSession) FeeGamma() (*big.Int, error)

FeeGamma is a free data retrieval call binding the contract method 0x72d4f0e2.

Solidity: function fee_gamma() view returns(uint256)

func (*CurveAtriSession) FutureAGamma

func (_CurveAtri *CurveAtriSession) FutureAGamma() (*big.Int, error)

FutureAGamma is a free data retrieval call binding the contract method 0xf30cfad5.

Solidity: function future_A_gamma() view returns(uint256)

func (*CurveAtriSession) FutureAGammaTime

func (_CurveAtri *CurveAtriSession) FutureAGammaTime() (*big.Int, error)

FutureAGammaTime is a free data retrieval call binding the contract method 0xf9ed9597.

Solidity: function future_A_gamma_time() view returns(uint256)

func (*CurveAtriSession) FutureAdjustmentStep

func (_CurveAtri *CurveAtriSession) FutureAdjustmentStep() (*big.Int, error)

FutureAdjustmentStep is a free data retrieval call binding the contract method 0x4ea12c7d.

Solidity: function future_adjustment_step() view returns(uint256)

func (*CurveAtriSession) FutureAdminFee

func (_CurveAtri *CurveAtriSession) 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 (*CurveAtriSession) FutureAllowedExtraProfit

func (_CurveAtri *CurveAtriSession) FutureAllowedExtraProfit() (*big.Int, error)

FutureAllowedExtraProfit is a free data retrieval call binding the contract method 0x727ced57.

Solidity: function future_allowed_extra_profit() view returns(uint256)

func (*CurveAtriSession) FutureFeeGamma

func (_CurveAtri *CurveAtriSession) FutureFeeGamma() (*big.Int, error)

FutureFeeGamma is a free data retrieval call binding the contract method 0xd7c3dcbe.

Solidity: function future_fee_gamma() view returns(uint256)

func (*CurveAtriSession) FutureMaHalfTime

func (_CurveAtri *CurveAtriSession) FutureMaHalfTime() (*big.Int, error)

FutureMaHalfTime is a free data retrieval call binding the contract method 0x0c5e23d4.

Solidity: function future_ma_half_time() view returns(uint256)

func (*CurveAtriSession) FutureMidFee

func (_CurveAtri *CurveAtriSession) FutureMidFee() (*big.Int, error)

FutureMidFee is a free data retrieval call binding the contract method 0x7cf9aedc.

Solidity: function future_mid_fee() view returns(uint256)

func (*CurveAtriSession) FutureOutFee

func (_CurveAtri *CurveAtriSession) FutureOutFee() (*big.Int, error)

FutureOutFee is a free data retrieval call binding the contract method 0x7d1b060c.

Solidity: function future_out_fee() view returns(uint256)

func (*CurveAtriSession) FutureOwner

func (_CurveAtri *CurveAtriSession) FutureOwner() (common.Address, error)

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

Solidity: function future_owner() view returns(address)

func (*CurveAtriSession) Gamma

func (_CurveAtri *CurveAtriSession) Gamma() (*big.Int, error)

Gamma is a free data retrieval call binding the contract method 0xb1373929.

Solidity: function gamma() view returns(uint256)

func (*CurveAtriSession) GetDy

func (_CurveAtri *CurveAtriSession) GetDy(i *big.Int, j *big.Int, dx *big.Int) (*big.Int, error)

GetDy is a free data retrieval call binding the contract method 0x556d6e9f.

Solidity: function get_dy(uint256 i, uint256 j, uint256 dx) view returns(uint256)

func (*CurveAtriSession) GetVirtualPrice

func (_CurveAtri *CurveAtriSession) 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 (*CurveAtriSession) InitialAGamma

func (_CurveAtri *CurveAtriSession) InitialAGamma() (*big.Int, error)

InitialAGamma is a free data retrieval call binding the contract method 0x204fe3d5.

Solidity: function initial_A_gamma() view returns(uint256)

func (*CurveAtriSession) InitialAGammaTime

func (_CurveAtri *CurveAtriSession) InitialAGammaTime() (*big.Int, error)

InitialAGammaTime is a free data retrieval call binding the contract method 0xe89876ff.

Solidity: function initial_A_gamma_time() view returns(uint256)

func (*CurveAtriSession) IsKilled

func (_CurveAtri *CurveAtriSession) IsKilled() (bool, error)

IsKilled is a free data retrieval call binding the contract method 0x9c868ac0.

Solidity: function is_killed() view returns(bool)

func (*CurveAtriSession) KillDeadline

func (_CurveAtri *CurveAtriSession) KillDeadline() (*big.Int, error)

KillDeadline is a free data retrieval call binding the contract method 0x2a426896.

Solidity: function kill_deadline() view returns(uint256)

func (*CurveAtriSession) KillMe

func (_CurveAtri *CurveAtriSession) KillMe() (*types.Transaction, error)

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

Solidity: function kill_me() returns()

func (*CurveAtriSession) LastPrices

func (_CurveAtri *CurveAtriSession) LastPrices(k *big.Int) (*big.Int, error)

LastPrices is a free data retrieval call binding the contract method 0x59189017.

Solidity: function last_prices(uint256 k) view returns(uint256)

func (*CurveAtriSession) LastPricesTimestamp

func (_CurveAtri *CurveAtriSession) LastPricesTimestamp() (*big.Int, error)

LastPricesTimestamp is a free data retrieval call binding the contract method 0x6112c747.

Solidity: function last_prices_timestamp() view returns(uint256)

func (*CurveAtriSession) MaHalfTime

func (_CurveAtri *CurveAtriSession) MaHalfTime() (*big.Int, error)

MaHalfTime is a free data retrieval call binding the contract method 0x662b6274.

Solidity: function ma_half_time() view returns(uint256)

func (*CurveAtriSession) MidFee

func (_CurveAtri *CurveAtriSession) MidFee() (*big.Int, error)

MidFee is a free data retrieval call binding the contract method 0x92526c0c.

Solidity: function mid_fee() view returns(uint256)

func (*CurveAtriSession) OutFee

func (_CurveAtri *CurveAtriSession) OutFee() (*big.Int, error)

OutFee is a free data retrieval call binding the contract method 0xee8de675.

Solidity: function out_fee() view returns(uint256)

func (*CurveAtriSession) Owner

func (_CurveAtri *CurveAtriSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*CurveAtriSession) PriceOracle

func (_CurveAtri *CurveAtriSession) PriceOracle(k *big.Int) (*big.Int, error)

PriceOracle is a free data retrieval call binding the contract method 0x68727653.

Solidity: function price_oracle(uint256 k) view returns(uint256)

func (*CurveAtriSession) PriceScale

func (_CurveAtri *CurveAtriSession) PriceScale(k *big.Int) (*big.Int, error)

PriceScale is a free data retrieval call binding the contract method 0xa3f7cdd5.

Solidity: function price_scale(uint256 k) view returns(uint256)

func (*CurveAtriSession) RampAGamma

func (_CurveAtri *CurveAtriSession) RampAGamma(future_A *big.Int, future_gamma *big.Int, future_time *big.Int) (*types.Transaction, error)

RampAGamma is a paid mutator transaction binding the contract method 0x5e248072.

Solidity: function ramp_A_gamma(uint256 future_A, uint256 future_gamma, uint256 future_time) returns()

func (*CurveAtriSession) RemoveLiquidity

func (_CurveAtri *CurveAtriSession) RemoveLiquidity(_amount *big.Int, min_amounts [3]*big.Int) (*types.Transaction, error)

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

Solidity: function remove_liquidity(uint256 _amount, uint256[3] min_amounts) returns()

func (*CurveAtriSession) RemoveLiquidityOneCoin

func (_CurveAtri *CurveAtriSession) 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 0xf1dc3cc9.

Solidity: function remove_liquidity_one_coin(uint256 token_amount, uint256 i, uint256 min_amount) returns()

func (*CurveAtriSession) RevertNewParameters

func (_CurveAtri *CurveAtriSession) RevertNewParameters() (*types.Transaction, error)

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

Solidity: function revert_new_parameters() returns()

func (*CurveAtriSession) RevertTransferOwnership

func (_CurveAtri *CurveAtriSession) RevertTransferOwnership() (*types.Transaction, error)

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

Solidity: function revert_transfer_ownership() returns()

func (*CurveAtriSession) RewardReceiver

func (_CurveAtri *CurveAtriSession) RewardReceiver() (common.Address, error)

RewardReceiver is a free data retrieval call binding the contract method 0xb618ba62.

Solidity: function reward_receiver() view returns(address)

func (*CurveAtriSession) SetAdminFeeReceiver

func (_CurveAtri *CurveAtriSession) 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 (*CurveAtriSession) SetRewardReceiver

func (_CurveAtri *CurveAtriSession) 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 (*CurveAtriSession) StopRampAGamma

func (_CurveAtri *CurveAtriSession) StopRampAGamma() (*types.Transaction, error)

StopRampAGamma is a paid mutator transaction binding the contract method 0x244c7c2e.

Solidity: function stop_ramp_A_gamma() returns()

func (*CurveAtriSession) Token

func (_CurveAtri *CurveAtriSession) Token() (common.Address, error)

Token is a free data retrieval call binding the contract method 0xfc0c546a.

Solidity: function token() view returns(address)

func (*CurveAtriSession) TransferOwnershipDeadline

func (_CurveAtri *CurveAtriSession) 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 (*CurveAtriSession) UnkillMe

func (_CurveAtri *CurveAtriSession) UnkillMe() (*types.Transaction, error)

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

Solidity: function unkill_me() returns()

func (*CurveAtriSession) VirtualPrice

func (_CurveAtri *CurveAtriSession) VirtualPrice() (*big.Int, error)

VirtualPrice is a free data retrieval call binding the contract method 0x0c46b72a.

Solidity: function virtual_price() view returns(uint256)

func (*CurveAtriSession) XcpProfit

func (_CurveAtri *CurveAtriSession) XcpProfit() (*big.Int, error)

XcpProfit is a free data retrieval call binding the contract method 0x7ba1a74d.

Solidity: function xcp_profit() view returns(uint256)

func (*CurveAtriSession) XcpProfitA

func (_CurveAtri *CurveAtriSession) XcpProfitA() (*big.Int, error)

XcpProfitA is a free data retrieval call binding the contract method 0x0b7b594b.

Solidity: function xcp_profit_a() view returns(uint256)

type CurveAtriTransactor

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

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

func NewCurveAtriTransactor

func NewCurveAtriTransactor(address common.Address, transactor bind.ContractTransactor) (*CurveAtriTransactor, error)

NewCurveAtriTransactor creates a new write-only instance of CurveAtri, bound to a specific deployed contract.

func (*CurveAtriTransactor) AddLiquidity

func (_CurveAtri *CurveAtriTransactor) AddLiquidity(opts *bind.TransactOpts, amounts [3]*big.Int, min_mint_amount *big.Int) (*types.Transaction, error)

AddLiquidity is a paid mutator transaction binding the contract method 0x4515cef3.

Solidity: function add_liquidity(uint256[3] amounts, uint256 min_mint_amount) returns()

func (*CurveAtriTransactor) ApplyNewParameters

func (_CurveAtri *CurveAtriTransactor) ApplyNewParameters(opts *bind.TransactOpts) (*types.Transaction, error)

ApplyNewParameters is a paid mutator transaction binding the contract method 0x2a7dd7cd.

Solidity: function apply_new_parameters() returns()

func (*CurveAtriTransactor) ApplyTransferOwnership

func (_CurveAtri *CurveAtriTransactor) 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 (*CurveAtriTransactor) ClaimAdminFees

func (_CurveAtri *CurveAtriTransactor) ClaimAdminFees(opts *bind.TransactOpts) (*types.Transaction, error)

ClaimAdminFees is a paid mutator transaction binding the contract method 0xc93f49e8.

Solidity: function claim_admin_fees() returns()

func (*CurveAtriTransactor) CommitNewParameters

func (_CurveAtri *CurveAtriTransactor) CommitNewParameters(opts *bind.TransactOpts, _new_mid_fee *big.Int, _new_out_fee *big.Int, _new_admin_fee *big.Int, _new_fee_gamma *big.Int, _new_allowed_extra_profit *big.Int, _new_adjustment_step *big.Int, _new_ma_half_time *big.Int) (*types.Transaction, error)

CommitNewParameters is a paid mutator transaction binding the contract method 0xa43c3351.

Solidity: function commit_new_parameters(uint256 _new_mid_fee, uint256 _new_out_fee, uint256 _new_admin_fee, uint256 _new_fee_gamma, uint256 _new_allowed_extra_profit, uint256 _new_adjustment_step, uint256 _new_ma_half_time) returns()

func (*CurveAtriTransactor) CommitTransferOwnership

func (_CurveAtri *CurveAtriTransactor) 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 (*CurveAtriTransactor) Exchange

func (_CurveAtri *CurveAtriTransactor) 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 0x5b41b908.

Solidity: function exchange(uint256 i, uint256 j, uint256 dx, uint256 min_dy) returns(uint256)

func (*CurveAtriTransactor) KillMe

func (_CurveAtri *CurveAtriTransactor) KillMe(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function kill_me() returns()

func (*CurveAtriTransactor) RampAGamma

func (_CurveAtri *CurveAtriTransactor) RampAGamma(opts *bind.TransactOpts, future_A *big.Int, future_gamma *big.Int, future_time *big.Int) (*types.Transaction, error)

RampAGamma is a paid mutator transaction binding the contract method 0x5e248072.

Solidity: function ramp_A_gamma(uint256 future_A, uint256 future_gamma, uint256 future_time) returns()

func (*CurveAtriTransactor) RemoveLiquidity

func (_CurveAtri *CurveAtriTransactor) RemoveLiquidity(opts *bind.TransactOpts, _amount *big.Int, min_amounts [3]*big.Int) (*types.Transaction, error)

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

Solidity: function remove_liquidity(uint256 _amount, uint256[3] min_amounts) returns()

func (*CurveAtriTransactor) RemoveLiquidityOneCoin

func (_CurveAtri *CurveAtriTransactor) 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 0xf1dc3cc9.

Solidity: function remove_liquidity_one_coin(uint256 token_amount, uint256 i, uint256 min_amount) returns()

func (*CurveAtriTransactor) RevertNewParameters

func (_CurveAtri *CurveAtriTransactor) 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 (*CurveAtriTransactor) RevertTransferOwnership

func (_CurveAtri *CurveAtriTransactor) 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 (*CurveAtriTransactor) SetAdminFeeReceiver

func (_CurveAtri *CurveAtriTransactor) 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 (*CurveAtriTransactor) SetRewardReceiver

func (_CurveAtri *CurveAtriTransactor) 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 (*CurveAtriTransactor) StopRampAGamma

func (_CurveAtri *CurveAtriTransactor) StopRampAGamma(opts *bind.TransactOpts) (*types.Transaction, error)

StopRampAGamma is a paid mutator transaction binding the contract method 0x244c7c2e.

Solidity: function stop_ramp_A_gamma() returns()

func (*CurveAtriTransactor) UnkillMe

func (_CurveAtri *CurveAtriTransactor) UnkillMe(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function unkill_me() returns()

type CurveAtriTransactorRaw

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

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

func (*CurveAtriTransactorRaw) Transact

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

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

func (*CurveAtriTransactorRaw) Transfer

func (_CurveAtri *CurveAtriTransactorRaw) 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 CurveAtriTransactorSession

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

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

func (*CurveAtriTransactorSession) AddLiquidity

func (_CurveAtri *CurveAtriTransactorSession) AddLiquidity(amounts [3]*big.Int, min_mint_amount *big.Int) (*types.Transaction, error)

AddLiquidity is a paid mutator transaction binding the contract method 0x4515cef3.

Solidity: function add_liquidity(uint256[3] amounts, uint256 min_mint_amount) returns()

func (*CurveAtriTransactorSession) ApplyNewParameters

func (_CurveAtri *CurveAtriTransactorSession) ApplyNewParameters() (*types.Transaction, error)

ApplyNewParameters is a paid mutator transaction binding the contract method 0x2a7dd7cd.

Solidity: function apply_new_parameters() returns()

func (*CurveAtriTransactorSession) ApplyTransferOwnership

func (_CurveAtri *CurveAtriTransactorSession) ApplyTransferOwnership() (*types.Transaction, error)

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

Solidity: function apply_transfer_ownership() returns()

func (*CurveAtriTransactorSession) ClaimAdminFees

func (_CurveAtri *CurveAtriTransactorSession) ClaimAdminFees() (*types.Transaction, error)

ClaimAdminFees is a paid mutator transaction binding the contract method 0xc93f49e8.

Solidity: function claim_admin_fees() returns()

func (*CurveAtriTransactorSession) CommitNewParameters

func (_CurveAtri *CurveAtriTransactorSession) CommitNewParameters(_new_mid_fee *big.Int, _new_out_fee *big.Int, _new_admin_fee *big.Int, _new_fee_gamma *big.Int, _new_allowed_extra_profit *big.Int, _new_adjustment_step *big.Int, _new_ma_half_time *big.Int) (*types.Transaction, error)

CommitNewParameters is a paid mutator transaction binding the contract method 0xa43c3351.

Solidity: function commit_new_parameters(uint256 _new_mid_fee, uint256 _new_out_fee, uint256 _new_admin_fee, uint256 _new_fee_gamma, uint256 _new_allowed_extra_profit, uint256 _new_adjustment_step, uint256 _new_ma_half_time) returns()

func (*CurveAtriTransactorSession) CommitTransferOwnership

func (_CurveAtri *CurveAtriTransactorSession) 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 (*CurveAtriTransactorSession) Exchange

func (_CurveAtri *CurveAtriTransactorSession) 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 0x5b41b908.

Solidity: function exchange(uint256 i, uint256 j, uint256 dx, uint256 min_dy) returns(uint256)

func (*CurveAtriTransactorSession) KillMe

func (_CurveAtri *CurveAtriTransactorSession) KillMe() (*types.Transaction, error)

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

Solidity: function kill_me() returns()

func (*CurveAtriTransactorSession) RampAGamma

func (_CurveAtri *CurveAtriTransactorSession) RampAGamma(future_A *big.Int, future_gamma *big.Int, future_time *big.Int) (*types.Transaction, error)

RampAGamma is a paid mutator transaction binding the contract method 0x5e248072.

Solidity: function ramp_A_gamma(uint256 future_A, uint256 future_gamma, uint256 future_time) returns()

func (*CurveAtriTransactorSession) RemoveLiquidity

func (_CurveAtri *CurveAtriTransactorSession) RemoveLiquidity(_amount *big.Int, min_amounts [3]*big.Int) (*types.Transaction, error)

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

Solidity: function remove_liquidity(uint256 _amount, uint256[3] min_amounts) returns()

func (*CurveAtriTransactorSession) RemoveLiquidityOneCoin

func (_CurveAtri *CurveAtriTransactorSession) 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 0xf1dc3cc9.

Solidity: function remove_liquidity_one_coin(uint256 token_amount, uint256 i, uint256 min_amount) returns()

func (*CurveAtriTransactorSession) RevertNewParameters

func (_CurveAtri *CurveAtriTransactorSession) RevertNewParameters() (*types.Transaction, error)

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

Solidity: function revert_new_parameters() returns()

func (*CurveAtriTransactorSession) RevertTransferOwnership

func (_CurveAtri *CurveAtriTransactorSession) RevertTransferOwnership() (*types.Transaction, error)

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

Solidity: function revert_transfer_ownership() returns()

func (*CurveAtriTransactorSession) SetAdminFeeReceiver

func (_CurveAtri *CurveAtriTransactorSession) 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 (*CurveAtriTransactorSession) SetRewardReceiver

func (_CurveAtri *CurveAtriTransactorSession) 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 (*CurveAtriTransactorSession) StopRampAGamma

func (_CurveAtri *CurveAtriTransactorSession) StopRampAGamma() (*types.Transaction, error)

StopRampAGamma is a paid mutator transaction binding the contract method 0x244c7c2e.

Solidity: function stop_ramp_A_gamma() returns()

func (*CurveAtriTransactorSession) UnkillMe

func (_CurveAtri *CurveAtriTransactorSession) UnkillMe() (*types.Transaction, error)

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

Solidity: function unkill_me() returns()

Jump to

Keyboard shortcuts

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