curve

package
v0.0.0-...-bd3dd7f Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CurveCryptoSwapFactoryABI = CurveCryptoSwapFactoryMetaData.ABI

CurveCryptoSwapFactoryABI is the input ABI used to generate the binding from. Deprecated: Use CurveCryptoSwapFactoryMetaData.ABI instead.

View Source
var CurveCryptoSwapFactoryMetaData = &bind.MetaData{
	ABI: "[{\"name\":\"CryptoPoolDeployed\",\"inputs\":[{\"name\":\"token\",\"type\":\"address\",\"indexed\":false},{\"name\":\"coins\",\"type\":\"address[2]\",\"indexed\":false},{\"name\":\"A\",\"type\":\"uint256\",\"indexed\":false},{\"name\":\"gamma\",\"type\":\"uint256\",\"indexed\":false},{\"name\":\"mid_fee\",\"type\":\"uint256\",\"indexed\":false},{\"name\":\"out_fee\",\"type\":\"uint256\",\"indexed\":false},{\"name\":\"allowed_extra_profit\",\"type\":\"uint256\",\"indexed\":false},{\"name\":\"fee_gamma\",\"type\":\"uint256\",\"indexed\":false},{\"name\":\"adjustment_step\",\"type\":\"uint256\",\"indexed\":false},{\"name\":\"admin_fee\",\"type\":\"uint256\",\"indexed\":false},{\"name\":\"ma_half_time\",\"type\":\"uint256\",\"indexed\":false},{\"name\":\"initial_price\",\"type\":\"uint256\",\"indexed\":false},{\"name\":\"deployer\",\"type\":\"address\",\"indexed\":false}],\"anonymous\":false,\"type\":\"event\"},{\"name\":\"LiquidityGaugeDeployed\",\"inputs\":[{\"name\":\"pool\",\"type\":\"address\",\"indexed\":false},{\"name\":\"token\",\"type\":\"address\",\"indexed\":false},{\"name\":\"gauge\",\"type\":\"address\",\"indexed\":false}],\"anonymous\":false,\"type\":\"event\"},{\"name\":\"UpdateFeeReceiver\",\"inputs\":[{\"name\":\"_old_fee_receiver\",\"type\":\"address\",\"indexed\":false},{\"name\":\"_new_fee_receiver\",\"type\":\"address\",\"indexed\":false}],\"anonymous\":false,\"type\":\"event\"},{\"name\":\"UpdatePoolImplementation\",\"inputs\":[{\"name\":\"_old_pool_implementation\",\"type\":\"address\",\"indexed\":false},{\"name\":\"_new_pool_implementation\",\"type\":\"address\",\"indexed\":false}],\"anonymous\":false,\"type\":\"event\"},{\"name\":\"UpdateTokenImplementation\",\"inputs\":[{\"name\":\"_old_token_implementation\",\"type\":\"address\",\"indexed\":false},{\"name\":\"_new_token_implementation\",\"type\":\"address\",\"indexed\":false}],\"anonymous\":false,\"type\":\"event\"},{\"name\":\"UpdateGaugeImplementation\",\"inputs\":[{\"name\":\"_old_gauge_implementation\",\"type\":\"address\",\"indexed\":false},{\"name\":\"_new_gauge_implementation\",\"type\":\"address\",\"indexed\":false}],\"anonymous\":false,\"type\":\"event\"},{\"name\":\"TransferOwnership\",\"inputs\":[{\"name\":\"_old_owner\",\"type\":\"address\",\"indexed\":false},{\"name\":\"_new_owner\",\"type\":\"address\",\"indexed\":false}],\"anonymous\":false,\"type\":\"event\"},{\"stateMutability\":\"nonpayable\",\"type\":\"constructor\",\"inputs\":[{\"name\":\"_fee_receiver\",\"type\":\"address\"},{\"name\":\"_pool_implementation\",\"type\":\"address\"},{\"name\":\"_token_implementation\",\"type\":\"address\"},{\"name\":\"_gauge_implementation\",\"type\":\"address\"},{\"name\":\"_weth\",\"type\":\"address\"}],\"outputs\":[]},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"deploy_pool\",\"inputs\":[{\"name\":\"_name\",\"type\":\"string\"},{\"name\":\"_symbol\",\"type\":\"string\"},{\"name\":\"_coins\",\"type\":\"address[2]\"},{\"name\":\"A\",\"type\":\"uint256\"},{\"name\":\"gamma\",\"type\":\"uint256\"},{\"name\":\"mid_fee\",\"type\":\"uint256\"},{\"name\":\"out_fee\",\"type\":\"uint256\"},{\"name\":\"allowed_extra_profit\",\"type\":\"uint256\"},{\"name\":\"fee_gamma\",\"type\":\"uint256\"},{\"name\":\"adjustment_step\",\"type\":\"uint256\"},{\"name\":\"admin_fee\",\"type\":\"uint256\"},{\"name\":\"ma_half_time\",\"type\":\"uint256\"},{\"name\":\"initial_price\",\"type\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}]},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"deploy_gauge\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}]},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"set_fee_receiver\",\"inputs\":[{\"name\":\"_fee_receiver\",\"type\":\"address\"}],\"outputs\":[]},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"set_pool_implementation\",\"inputs\":[{\"name\":\"_pool_implementation\",\"type\":\"address\"}],\"outputs\":[]},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"set_token_implementation\",\"inputs\":[{\"name\":\"_token_implementation\",\"type\":\"address\"}],\"outputs\":[]},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"set_gauge_implementation\",\"inputs\":[{\"name\":\"_gauge_implementation\",\"type\":\"address\"}],\"outputs\":[]},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"commit_transfer_ownership\",\"inputs\":[{\"name\":\"_addr\",\"type\":\"address\"}],\"outputs\":[]},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"accept_transfer_ownership\",\"inputs\":[],\"outputs\":[]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"find_pool_for_coins\",\"inputs\":[{\"name\":\"_from\",\"type\":\"address\"},{\"name\":\"_to\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"find_pool_for_coins\",\"inputs\":[{\"name\":\"_from\",\"type\":\"address\"},{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"i\",\"type\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_coins\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address[2]\"}]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_decimals\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256[2]\"}]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_balances\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256[2]\"}]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_coin_indices\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"},{\"name\":\"_from\",\"type\":\"address\"},{\"name\":\"_to\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"},{\"name\":\"\",\"type\":\"uint256\"}]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_gauge\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_eth_index\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_token\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"admin\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"future_admin\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"fee_receiver\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"pool_implementation\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"token_implementation\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"gauge_implementation\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"pool_count\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"pool_list\",\"inputs\":[{\"name\":\"arg0\",\"type\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}]}]",
}

CurveCryptoSwapFactoryMetaData contains all meta data concerning the CurveCryptoSwapFactory contract.

View Source
var CurveCryptoSwapRegistryABI = CurveCryptoSwapRegistryMetaData.ABI

CurveCryptoSwapRegistryABI is the input ABI used to generate the binding from. Deprecated: Use CurveCryptoSwapRegistryMetaData.ABI instead.

View Source
var CurveCryptoSwapRegistryMetaData = &bind.MetaData{
	ABI: "[{\"name\":\"PoolAdded\",\"inputs\":[{\"name\":\"pool\",\"type\":\"address\",\"indexed\":true}],\"anonymous\":false,\"type\":\"event\"},{\"name\":\"PoolRemoved\",\"inputs\":[{\"name\":\"pool\",\"type\":\"address\",\"indexed\":true}],\"anonymous\":false,\"type\":\"event\"},{\"stateMutability\":\"nonpayable\",\"type\":\"constructor\",\"inputs\":[{\"name\":\"_address_provider\",\"type\":\"address\"}],\"outputs\":[]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"find_pool_for_coins\",\"inputs\":[{\"name\":\"_from\",\"type\":\"address\"},{\"name\":\"_to\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"gas\":3111},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"find_pool_for_coins\",\"inputs\":[{\"name\":\"_from\",\"type\":\"address\"},{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"i\",\"type\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"gas\":3111},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_n_coins\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"gas\":2834},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_coins\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address[8]\"}],\"gas\":22975},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_decimals\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256[8]\"}],\"gas\":9818},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_gauges\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address[10]\"},{\"name\":\"\",\"type\":\"int128[10]\"}],\"gas\":26055},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_balances\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256[8]\"}],\"gas\":41626},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_virtual_price_from_lp_token\",\"inputs\":[{\"name\":\"_token\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"gas\":5321},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_A\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"gas\":3139},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_D\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"gas\":3169},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_gamma\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"gas\":3199},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_fees\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256[4]\"}],\"gas\":10333},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_admin_balances\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256[8]\"}],\"gas\":85771},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_coin_indices\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"},{\"name\":\"_from\",\"type\":\"address\"},{\"name\":\"_to\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"},{\"name\":\"\",\"type\":\"uint256\"}],\"gas\":23608},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_pool_name\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"gas\":13576},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_coin_swap_count\",\"inputs\":[{\"name\":\"_coin\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"gas\":3224},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_coin_swap_complement\",\"inputs\":[{\"name\":\"_coin\",\"type\":\"address\"},{\"name\":\"_index\",\"type\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"gas\":3299},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"add_pool\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"},{\"name\":\"_n_coins\",\"type\":\"uint256\"},{\"name\":\"_lp_token\",\"type\":\"address\"},{\"name\":\"_gauge\",\"type\":\"address\"},{\"name\":\"_zap\",\"type\":\"address\"},{\"name\":\"_decimals\",\"type\":\"uint256\"},{\"name\":\"_name\",\"type\":\"string\"}],\"outputs\":[],\"gas\":18586944},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"remove_pool\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[],\"gas\":399675363514},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"set_liquidity_gauges\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"},{\"name\":\"_liquidity_gauges\",\"type\":\"address[10]\"}],\"outputs\":[],\"gas\":422284},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"batch_set_liquidity_gauges\",\"inputs\":[{\"name\":\"_pools\",\"type\":\"address[10]\"},{\"name\":\"_liquidity_gauges\",\"type\":\"address[10]\"}],\"outputs\":[],\"gas\":444084},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"address_provider\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"gas\":3126},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"pool_list\",\"inputs\":[{\"name\":\"arg0\",\"type\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"gas\":3201},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"pool_count\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"gas\":3186},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"coin_count\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"gas\":3216},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_coin\",\"inputs\":[{\"name\":\"arg0\",\"type\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"gas\":3291},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_pool_from_lp_token\",\"inputs\":[{\"name\":\"arg0\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"gas\":3548},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_lp_token\",\"inputs\":[{\"name\":\"arg0\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"gas\":3578},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_zap\",\"inputs\":[{\"name\":\"arg0\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"gas\":3608},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"last_updated\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"gas\":3366}]",
}

CurveCryptoSwapRegistryMetaData contains all meta data concerning the CurveCryptoSwapRegistry contract.

View Source
var CurveFactoryABI = CurveFactoryMetaData.ABI

CurveFactoryABI is the input ABI used to generate the binding from. Deprecated: Use CurveFactoryMetaData.ABI instead.

View Source
var CurveFactoryMetaData = &bind.MetaData{
	ABI: "[{\"name\":\"BasePoolAdded\",\"inputs\":[{\"name\":\"base_pool\",\"type\":\"address\",\"indexed\":false}],\"anonymous\":false,\"type\":\"event\"},{\"name\":\"PlainPoolDeployed\",\"inputs\":[{\"name\":\"coins\",\"type\":\"address[4]\",\"indexed\":false},{\"name\":\"A\",\"type\":\"uint256\",\"indexed\":false},{\"name\":\"fee\",\"type\":\"uint256\",\"indexed\":false},{\"name\":\"deployer\",\"type\":\"address\",\"indexed\":false}],\"anonymous\":false,\"type\":\"event\"},{\"name\":\"MetaPoolDeployed\",\"inputs\":[{\"name\":\"coin\",\"type\":\"address\",\"indexed\":false},{\"name\":\"base_pool\",\"type\":\"address\",\"indexed\":false},{\"name\":\"A\",\"type\":\"uint256\",\"indexed\":false},{\"name\":\"fee\",\"type\":\"uint256\",\"indexed\":false},{\"name\":\"deployer\",\"type\":\"address\",\"indexed\":false}],\"anonymous\":false,\"type\":\"event\"},{\"name\":\"LiquidityGaugeDeployed\",\"inputs\":[{\"name\":\"pool\",\"type\":\"address\",\"indexed\":false},{\"name\":\"gauge\",\"type\":\"address\",\"indexed\":false}],\"anonymous\":false,\"type\":\"event\"},{\"stateMutability\":\"nonpayable\",\"type\":\"constructor\",\"inputs\":[{\"name\":\"_fee_receiver\",\"type\":\"address\"}],\"outputs\":[]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"metapool_implementations\",\"inputs\":[{\"name\":\"_base_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address[10]\"}],\"gas\":21716},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"find_pool_for_coins\",\"inputs\":[{\"name\":\"_from\",\"type\":\"address\"},{\"name\":\"_to\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"find_pool_for_coins\",\"inputs\":[{\"name\":\"_from\",\"type\":\"address\"},{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"i\",\"type\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_base_pool\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"gas\":2663},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_n_coins\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"gas\":2699},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_meta_n_coins\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"},{\"name\":\"\",\"type\":\"uint256\"}],\"gas\":5201},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_coins\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address[4]\"}],\"gas\":9164},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_underlying_coins\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address[8]\"}],\"gas\":21345},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_decimals\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256[4]\"}],\"gas\":20185},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_underlying_decimals\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256[8]\"}],\"gas\":19730},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_metapool_rates\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256[2]\"}],\"gas\":5281},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_balances\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256[4]\"}],\"gas\":20435},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_underlying_balances\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256[8]\"}],\"gas\":39733},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_A\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"gas\":3135},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_fees\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"},{\"name\":\"\",\"type\":\"uint256\"}],\"gas\":5821},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_admin_balances\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256[4]\"}],\"gas\":13535},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_coin_indices\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"},{\"name\":\"_from\",\"type\":\"address\"},{\"name\":\"_to\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"int128\"},{\"name\":\"\",\"type\":\"int128\"},{\"name\":\"\",\"type\":\"bool\"}],\"gas\":33407},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_gauge\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"gas\":3089},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_implementation_address\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"gas\":3119},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"is_meta\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"gas\":3152},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_pool_asset_type\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"gas\":5450},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_fee_receiver\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"gas\":5480},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"deploy_plain_pool\",\"inputs\":[{\"name\":\"_name\",\"type\":\"string\"},{\"name\":\"_symbol\",\"type\":\"string\"},{\"name\":\"_coins\",\"type\":\"address[4]\"},{\"name\":\"_A\",\"type\":\"uint256\"},{\"name\":\"_fee\",\"type\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}]},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"deploy_plain_pool\",\"inputs\":[{\"name\":\"_name\",\"type\":\"string\"},{\"name\":\"_symbol\",\"type\":\"string\"},{\"name\":\"_coins\",\"type\":\"address[4]\"},{\"name\":\"_A\",\"type\":\"uint256\"},{\"name\":\"_fee\",\"type\":\"uint256\"},{\"name\":\"_asset_type\",\"type\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}]},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"deploy_plain_pool\",\"inputs\":[{\"name\":\"_name\",\"type\":\"string\"},{\"name\":\"_symbol\",\"type\":\"string\"},{\"name\":\"_coins\",\"type\":\"address[4]\"},{\"name\":\"_A\",\"type\":\"uint256\"},{\"name\":\"_fee\",\"type\":\"uint256\"},{\"name\":\"_asset_type\",\"type\":\"uint256\"},{\"name\":\"_implementation_idx\",\"type\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}]},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"deploy_metapool\",\"inputs\":[{\"name\":\"_base_pool\",\"type\":\"address\"},{\"name\":\"_name\",\"type\":\"string\"},{\"name\":\"_symbol\",\"type\":\"string\"},{\"name\":\"_coin\",\"type\":\"address\"},{\"name\":\"_A\",\"type\":\"uint256\"},{\"name\":\"_fee\",\"type\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}]},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"deploy_metapool\",\"inputs\":[{\"name\":\"_base_pool\",\"type\":\"address\"},{\"name\":\"_name\",\"type\":\"string\"},{\"name\":\"_symbol\",\"type\":\"string\"},{\"name\":\"_coin\",\"type\":\"address\"},{\"name\":\"_A\",\"type\":\"uint256\"},{\"name\":\"_fee\",\"type\":\"uint256\"},{\"name\":\"_implementation_idx\",\"type\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}]},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"deploy_gauge\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"gas\":93079},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"add_base_pool\",\"inputs\":[{\"name\":\"_base_pool\",\"type\":\"address\"},{\"name\":\"_fee_receiver\",\"type\":\"address\"},{\"name\":\"_asset_type\",\"type\":\"uint256\"},{\"name\":\"_implementations\",\"type\":\"address[10]\"}],\"outputs\":[],\"gas\":1206132},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"set_metapool_implementations\",\"inputs\":[{\"name\":\"_base_pool\",\"type\":\"address\"},{\"name\":\"_implementations\",\"type\":\"address[10]\"}],\"outputs\":[],\"gas\":382072},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"set_plain_implementations\",\"inputs\":[{\"name\":\"_n_coins\",\"type\":\"uint256\"},{\"name\":\"_implementations\",\"type\":\"address[10]\"}],\"outputs\":[],\"gas\":379687},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"set_gauge_implementation\",\"inputs\":[{\"name\":\"_gauge_implementation\",\"type\":\"address\"}],\"outputs\":[],\"gas\":38355},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"batch_set_pool_asset_type\",\"inputs\":[{\"name\":\"_pools\",\"type\":\"address[32]\"},{\"name\":\"_asset_types\",\"type\":\"uint256[32]\"}],\"outputs\":[],\"gas\":1139545},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"commit_transfer_ownership\",\"inputs\":[{\"name\":\"_addr\",\"type\":\"address\"}],\"outputs\":[],\"gas\":38415},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"accept_transfer_ownership\",\"inputs\":[],\"outputs\":[],\"gas\":58366},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"set_manager\",\"inputs\":[{\"name\":\"_manager\",\"type\":\"address\"}],\"outputs\":[],\"gas\":40996},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"set_fee_receiver\",\"inputs\":[{\"name\":\"_base_pool\",\"type\":\"address\"},{\"name\":\"_fee_receiver\",\"type\":\"address\"}],\"outputs\":[],\"gas\":38770},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"convert_metapool_fees\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"gas\":12880},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"add_existing_metapools\",\"inputs\":[{\"name\":\"_pools\",\"type\":\"address[10]\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"gas\":8610792},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"admin\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"gas\":3438},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"future_admin\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"gas\":3468},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"manager\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"gas\":3498},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"pool_list\",\"inputs\":[{\"name\":\"arg0\",\"type\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"gas\":3573},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"pool_count\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"gas\":3558},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"base_pool_list\",\"inputs\":[{\"name\":\"arg0\",\"type\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"gas\":3633},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"base_pool_count\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"gas\":3618},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"base_pool_assets\",\"inputs\":[{\"name\":\"arg0\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"gas\":3863},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"plain_implementations\",\"inputs\":[{\"name\":\"arg0\",\"type\":\"uint256\"},{\"name\":\"arg1\",\"type\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"gas\":3838},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"gauge_implementation\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"gas\":3708}]",
}

CurveFactoryMetaData contains all meta data concerning the CurveFactory contract.

View Source
var CurveLiquidityGaugeABI = CurveLiquidityGaugeMetaData.ABI

CurveLiquidityGaugeABI is the input ABI used to generate the binding from. Deprecated: Use CurveLiquidityGaugeMetaData.ABI instead.

View Source
var CurveLiquidityGaugeMetaData = &bind.MetaData{
	ABI: "[{\"name\":\"Deposit\",\"inputs\":[{\"type\":\"address\",\"name\":\"provider\",\"indexed\":true},{\"type\":\"uint256\",\"name\":\"value\",\"indexed\":false}],\"anonymous\":false,\"type\":\"event\"},{\"name\":\"Withdraw\",\"inputs\":[{\"type\":\"address\",\"name\":\"provider\",\"indexed\":true},{\"type\":\"uint256\",\"name\":\"value\",\"indexed\":false}],\"anonymous\":false,\"type\":\"event\"},{\"name\":\"UpdateLiquidityLimit\",\"inputs\":[{\"type\":\"address\",\"name\":\"user\",\"indexed\":false},{\"type\":\"uint256\",\"name\":\"original_balance\",\"indexed\":false},{\"type\":\"uint256\",\"name\":\"original_supply\",\"indexed\":false},{\"type\":\"uint256\",\"name\":\"working_balance\",\"indexed\":false},{\"type\":\"uint256\",\"name\":\"working_supply\",\"indexed\":false}],\"anonymous\":false,\"type\":\"event\"},{\"name\":\"CommitOwnership\",\"inputs\":[{\"type\":\"address\",\"name\":\"admin\",\"indexed\":false}],\"anonymous\":false,\"type\":\"event\"},{\"name\":\"ApplyOwnership\",\"inputs\":[{\"type\":\"address\",\"name\":\"admin\",\"indexed\":false}],\"anonymous\":false,\"type\":\"event\"},{\"name\":\"Transfer\",\"inputs\":[{\"type\":\"address\",\"name\":\"_from\",\"indexed\":true},{\"type\":\"address\",\"name\":\"_to\",\"indexed\":true},{\"type\":\"uint256\",\"name\":\"_value\",\"indexed\":false}],\"anonymous\":false,\"type\":\"event\"},{\"name\":\"Approval\",\"inputs\":[{\"type\":\"address\",\"name\":\"_owner\",\"indexed\":true},{\"type\":\"address\",\"name\":\"_spender\",\"indexed\":true},{\"type\":\"uint256\",\"name\":\"_value\",\"indexed\":false}],\"anonymous\":false,\"type\":\"event\"},{\"outputs\":[],\"inputs\":[{\"type\":\"address\",\"name\":\"_lp_token\"},{\"type\":\"address\",\"name\":\"_minter\"},{\"type\":\"address\",\"name\":\"_admin\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"name\":\"decimals\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\"}],\"inputs\":[],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":261},{\"name\":\"integrate_checkpoint\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\"}],\"inputs\":[],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":1997},{\"name\":\"user_checkpoint\",\"outputs\":[{\"type\":\"bool\",\"name\":\"\"}],\"inputs\":[{\"type\":\"address\",\"name\":\"addr\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"gas\":2069525},{\"name\":\"claimable_tokens\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\"}],\"inputs\":[{\"type\":\"address\",\"name\":\"addr\"}],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":1989830},{\"name\":\"claimable_reward\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\"}],\"inputs\":[{\"type\":\"address\",\"name\":\"_addr\"},{\"type\":\"address\",\"name\":\"_token\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"gas\":1017930},{\"name\":\"claim_rewards\",\"outputs\":[],\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"name\":\"claim_rewards\",\"outputs\":[],\"inputs\":[{\"type\":\"address\",\"name\":\"_addr\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"name\":\"claim_historic_rewards\",\"outputs\":[],\"inputs\":[{\"type\":\"address[8]\",\"name\":\"_reward_tokens\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"name\":\"claim_historic_rewards\",\"outputs\":[],\"inputs\":[{\"type\":\"address[8]\",\"name\":\"_reward_tokens\"},{\"type\":\"address\",\"name\":\"_addr\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"name\":\"kick\",\"outputs\":[],\"inputs\":[{\"type\":\"address\",\"name\":\"addr\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"gas\":2074713},{\"name\":\"set_approve_deposit\",\"outputs\":[],\"inputs\":[{\"type\":\"address\",\"name\":\"addr\"},{\"type\":\"bool\",\"name\":\"can_deposit\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"gas\":35981},{\"name\":\"deposit\",\"outputs\":[],\"inputs\":[{\"type\":\"uint256\",\"name\":\"_value\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"name\":\"deposit\",\"outputs\":[],\"inputs\":[{\"type\":\"uint256\",\"name\":\"_value\"},{\"type\":\"address\",\"name\":\"_addr\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"name\":\"withdraw\",\"outputs\":[],\"inputs\":[{\"type\":\"uint256\",\"name\":\"_value\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"gas\":3141937},{\"name\":\"allowance\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\"}],\"inputs\":[{\"type\":\"address\",\"name\":\"_owner\"},{\"type\":\"address\",\"name\":\"_spender\"}],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":1911},{\"name\":\"transfer\",\"outputs\":[{\"type\":\"bool\",\"name\":\"\"}],\"inputs\":[{\"type\":\"address\",\"name\":\"_to\"},{\"type\":\"uint256\",\"name\":\"_value\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"gas\":12160044},{\"name\":\"transferFrom\",\"outputs\":[{\"type\":\"bool\",\"name\":\"\"}],\"inputs\":[{\"type\":\"address\",\"name\":\"_from\"},{\"type\":\"address\",\"name\":\"_to\"},{\"type\":\"uint256\",\"name\":\"_value\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"gas\":12196694},{\"name\":\"approve\",\"outputs\":[{\"type\":\"bool\",\"name\":\"\"}],\"inputs\":[{\"type\":\"address\",\"name\":\"_spender\"},{\"type\":\"uint256\",\"name\":\"_value\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"gas\":38244},{\"name\":\"increaseAllowance\",\"outputs\":[{\"type\":\"bool\",\"name\":\"\"}],\"inputs\":[{\"type\":\"address\",\"name\":\"_spender\"},{\"type\":\"uint256\",\"name\":\"_added_value\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"gas\":39488},{\"name\":\"decreaseAllowance\",\"outputs\":[{\"type\":\"bool\",\"name\":\"\"}],\"inputs\":[{\"type\":\"address\",\"name\":\"_spender\"},{\"type\":\"uint256\",\"name\":\"_subtracted_value\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"gas\":39512},{\"name\":\"set_rewards\",\"outputs\":[],\"inputs\":[{\"type\":\"address\",\"name\":\"_reward_contract\"},{\"type\":\"bytes32\",\"name\":\"_sigs\"},{\"type\":\"address[8]\",\"name\":\"_reward_tokens\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"gas\":2304194},{\"name\":\"set_killed\",\"outputs\":[],\"inputs\":[{\"type\":\"bool\",\"name\":\"_is_killed\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"gas\":36878},{\"name\":\"commit_transfer_ownership\",\"outputs\":[],\"inputs\":[{\"type\":\"address\",\"name\":\"addr\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"gas\":38258},{\"name\":\"accept_transfer_ownership\",\"outputs\":[],\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"gas\":38203},{\"name\":\"minter\",\"outputs\":[{\"type\":\"address\",\"name\":\"\"}],\"inputs\":[],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":1811},{\"name\":\"crv_token\",\"outputs\":[{\"type\":\"address\",\"name\":\"\"}],\"inputs\":[],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":1841},{\"name\":\"lp_token\",\"outputs\":[{\"type\":\"address\",\"name\":\"\"}],\"inputs\":[],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":1871},{\"name\":\"controller\",\"outputs\":[{\"type\":\"address\",\"name\":\"\"}],\"inputs\":[],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":1901},{\"name\":\"voting_escrow\",\"outputs\":[{\"type\":\"address\",\"name\":\"\"}],\"inputs\":[],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":1931},{\"name\":\"future_epoch_time\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\"}],\"inputs\":[],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":1961},{\"name\":\"balanceOf\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\"}],\"inputs\":[{\"type\":\"address\",\"name\":\"arg0\"}],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":2206},{\"name\":\"totalSupply\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\"}],\"inputs\":[],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":2021},{\"name\":\"name\",\"outputs\":[{\"type\":\"string\",\"name\":\"\"}],\"inputs\":[],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":8453},{\"name\":\"symbol\",\"outputs\":[{\"type\":\"string\",\"name\":\"\"}],\"inputs\":[],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":7506},{\"name\":\"approved_to_deposit\",\"outputs\":[{\"type\":\"bool\",\"name\":\"\"}],\"inputs\":[{\"type\":\"address\",\"name\":\"arg0\"},{\"type\":\"address\",\"name\":\"arg1\"}],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":2541},{\"name\":\"working_balances\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\"}],\"inputs\":[{\"type\":\"address\",\"name\":\"arg0\"}],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":2356},{\"name\":\"working_supply\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\"}],\"inputs\":[],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":2171},{\"name\":\"period\",\"outputs\":[{\"type\":\"int128\",\"name\":\"\"}],\"inputs\":[],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":2201},{\"name\":\"period_timestamp\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\"}],\"inputs\":[{\"type\":\"uint256\",\"name\":\"arg0\"}],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":2340},{\"name\":\"integrate_inv_supply\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\"}],\"inputs\":[{\"type\":\"uint256\",\"name\":\"arg0\"}],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":2370},{\"name\":\"integrate_inv_supply_of\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\"}],\"inputs\":[{\"type\":\"address\",\"name\":\"arg0\"}],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":2506},{\"name\":\"integrate_checkpoint_of\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\"}],\"inputs\":[{\"type\":\"address\",\"name\":\"arg0\"}],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":2536},{\"name\":\"integrate_fraction\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\"}],\"inputs\":[{\"type\":\"address\",\"name\":\"arg0\"}],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":2566},{\"name\":\"inflation_rate\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\"}],\"inputs\":[],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":2381},{\"name\":\"reward_contract\",\"outputs\":[{\"type\":\"address\",\"name\":\"\"}],\"inputs\":[],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":2411},{\"name\":\"reward_tokens\",\"outputs\":[{\"type\":\"address\",\"name\":\"\"}],\"inputs\":[{\"type\":\"uint256\",\"name\":\"arg0\"}],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":2550},{\"name\":\"reward_integral\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\"}],\"inputs\":[{\"type\":\"address\",\"name\":\"arg0\"}],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":2686},{\"name\":\"reward_integral_for\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\"}],\"inputs\":[{\"type\":\"address\",\"name\":\"arg0\"},{\"type\":\"address\",\"name\":\"arg1\"}],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":2931},{\"name\":\"admin\",\"outputs\":[{\"type\":\"address\",\"name\":\"\"}],\"inputs\":[],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":2531},{\"name\":\"future_admin\",\"outputs\":[{\"type\":\"address\",\"name\":\"\"}],\"inputs\":[],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":2561},{\"name\":\"is_killed\",\"outputs\":[{\"type\":\"bool\",\"name\":\"\"}],\"inputs\":[],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":2591}]",
}

CurveLiquidityGaugeMetaData contains all meta data concerning the CurveLiquidityGauge contract.

View Source
var CurveLpTokenABI = CurveLpTokenMetaData.ABI

CurveLpTokenABI is the input ABI used to generate the binding from. Deprecated: Use CurveLpTokenMetaData.ABI instead.

View Source
var CurveLpTokenMetaData = &bind.MetaData{
	ABI: "[{\"name\":\"Transfer\",\"inputs\":[{\"type\":\"address\",\"name\":\"_from\",\"indexed\":true},{\"type\":\"address\",\"name\":\"_to\",\"indexed\":true},{\"type\":\"uint256\",\"name\":\"_value\",\"indexed\":false}],\"anonymous\":false,\"type\":\"event\"},{\"name\":\"Approval\",\"inputs\":[{\"type\":\"address\",\"name\":\"_owner\",\"indexed\":true},{\"type\":\"address\",\"name\":\"_spender\",\"indexed\":true},{\"type\":\"uint256\",\"name\":\"_value\",\"indexed\":false}],\"anonymous\":false,\"type\":\"event\"},{\"outputs\":[],\"inputs\":[{\"type\":\"string\",\"name\":\"_name\"},{\"type\":\"string\",\"name\":\"_symbol\"},{\"type\":\"uint256\",\"name\":\"_decimals\"},{\"type\":\"uint256\",\"name\":\"_supply\"}],\"constant\":false,\"payable\":false,\"type\":\"constructor\"},{\"name\":\"set_minter\",\"outputs\":[],\"inputs\":[{\"type\":\"address\",\"name\":\"_minter\"}],\"constant\":false,\"payable\":false,\"type\":\"function\",\"gas\":36247},{\"name\":\"totalSupply\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"out\"}],\"inputs\":[],\"constant\":true,\"payable\":false,\"type\":\"function\",\"gas\":1181},{\"name\":\"allowance\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"out\"}],\"inputs\":[{\"type\":\"address\",\"name\":\"_owner\"},{\"type\":\"address\",\"name\":\"_spender\"}],\"constant\":true,\"payable\":false,\"type\":\"function\",\"gas\":1519},{\"name\":\"transfer\",\"outputs\":[{\"type\":\"bool\",\"name\":\"out\"}],\"inputs\":[{\"type\":\"address\",\"name\":\"_to\"},{\"type\":\"uint256\",\"name\":\"_value\"}],\"constant\":false,\"payable\":false,\"type\":\"function\",\"gas\":74802},{\"name\":\"transferFrom\",\"outputs\":[{\"type\":\"bool\",\"name\":\"out\"}],\"inputs\":[{\"type\":\"address\",\"name\":\"_from\"},{\"type\":\"address\",\"name\":\"_to\"},{\"type\":\"uint256\",\"name\":\"_value\"}],\"constant\":false,\"payable\":false,\"type\":\"function\",\"gas\":111953},{\"name\":\"approve\",\"outputs\":[{\"type\":\"bool\",\"name\":\"out\"}],\"inputs\":[{\"type\":\"address\",\"name\":\"_spender\"},{\"type\":\"uint256\",\"name\":\"_value\"}],\"constant\":false,\"payable\":false,\"type\":\"function\",\"gas\":39012},{\"name\":\"mint\",\"outputs\":[],\"inputs\":[{\"type\":\"address\",\"name\":\"_to\"},{\"type\":\"uint256\",\"name\":\"_value\"}],\"constant\":false,\"payable\":false,\"type\":\"function\",\"gas\":75733},{\"name\":\"burn\",\"outputs\":[],\"inputs\":[{\"type\":\"uint256\",\"name\":\"_value\"}],\"constant\":false,\"payable\":false,\"type\":\"function\",\"gas\":76623},{\"name\":\"burnFrom\",\"outputs\":[],\"inputs\":[{\"type\":\"address\",\"name\":\"_to\"},{\"type\":\"uint256\",\"name\":\"_value\"}],\"constant\":false,\"payable\":false,\"type\":\"function\",\"gas\":76696},{\"name\":\"name\",\"outputs\":[{\"type\":\"string\",\"name\":\"out\"}],\"inputs\":[],\"constant\":true,\"payable\":false,\"type\":\"function\",\"gas\":7853},{\"name\":\"symbol\",\"outputs\":[{\"type\":\"string\",\"name\":\"out\"}],\"inputs\":[],\"constant\":true,\"payable\":false,\"type\":\"function\",\"gas\":6906},{\"name\":\"decimals\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"out\"}],\"inputs\":[],\"constant\":true,\"payable\":false,\"type\":\"function\",\"gas\":1511},{\"name\":\"balanceOf\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"out\"}],\"inputs\":[{\"type\":\"address\",\"name\":\"arg0\"}],\"constant\":true,\"payable\":false,\"type\":\"function\",\"gas\":1695}]",
}

CurveLpTokenMetaData contains all meta data concerning the CurveLpToken contract.

View Source
var CurveMetaPoolFactoryABI = CurveMetaPoolFactoryMetaData.ABI

CurveMetaPoolFactoryABI is the input ABI used to generate the binding from. Deprecated: Use CurveMetaPoolFactoryMetaData.ABI instead.

View Source
var CurveMetaPoolFactoryMetaData = &bind.MetaData{
	ABI: "[{\"name\":\"BasePoolAdded\",\"inputs\":[{\"name\":\"base_pool\",\"type\":\"address\",\"indexed\":false}],\"anonymous\":false,\"type\":\"event\"},{\"name\":\"PlainPoolDeployed\",\"inputs\":[{\"name\":\"coins\",\"type\":\"address[4]\",\"indexed\":false},{\"name\":\"A\",\"type\":\"uint256\",\"indexed\":false},{\"name\":\"fee\",\"type\":\"uint256\",\"indexed\":false},{\"name\":\"deployer\",\"type\":\"address\",\"indexed\":false}],\"anonymous\":false,\"type\":\"event\"},{\"name\":\"MetaPoolDeployed\",\"inputs\":[{\"name\":\"coin\",\"type\":\"address\",\"indexed\":false},{\"name\":\"base_pool\",\"type\":\"address\",\"indexed\":false},{\"name\":\"A\",\"type\":\"uint256\",\"indexed\":false},{\"name\":\"fee\",\"type\":\"uint256\",\"indexed\":false},{\"name\":\"deployer\",\"type\":\"address\",\"indexed\":false}],\"anonymous\":false,\"type\":\"event\"},{\"name\":\"LiquidityGaugeDeployed\",\"inputs\":[{\"name\":\"pool\",\"type\":\"address\",\"indexed\":false},{\"name\":\"gauge\",\"type\":\"address\",\"indexed\":false}],\"anonymous\":false,\"type\":\"event\"},{\"stateMutability\":\"nonpayable\",\"type\":\"constructor\",\"inputs\":[{\"name\":\"_fee_receiver\",\"type\":\"address\"}],\"outputs\":[]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"metapool_implementations\",\"inputs\":[{\"name\":\"_base_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address[10]\"}],\"gas\":21716},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"find_pool_for_coins\",\"inputs\":[{\"name\":\"_from\",\"type\":\"address\"},{\"name\":\"_to\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"find_pool_for_coins\",\"inputs\":[{\"name\":\"_from\",\"type\":\"address\"},{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"i\",\"type\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_base_pool\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"gas\":2663},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_n_coins\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"gas\":2699},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_meta_n_coins\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"},{\"name\":\"\",\"type\":\"uint256\"}],\"gas\":5201},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_coins\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address[4]\"}],\"gas\":9164},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_underlying_coins\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address[8]\"}],\"gas\":21345},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_decimals\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256[4]\"}],\"gas\":20185},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_underlying_decimals\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256[8]\"}],\"gas\":19730},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_metapool_rates\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256[2]\"}],\"gas\":5281},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_balances\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256[4]\"}],\"gas\":20435},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_underlying_balances\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256[8]\"}],\"gas\":39733},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_A\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"gas\":3135},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_fees\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"},{\"name\":\"\",\"type\":\"uint256\"}],\"gas\":5821},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_admin_balances\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256[4]\"}],\"gas\":13535},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_coin_indices\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"},{\"name\":\"_from\",\"type\":\"address\"},{\"name\":\"_to\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"int128\"},{\"name\":\"\",\"type\":\"int128\"},{\"name\":\"\",\"type\":\"bool\"}],\"gas\":33407},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_gauge\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"gas\":3089},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_implementation_address\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"gas\":3119},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"is_meta\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"gas\":3152},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_pool_asset_type\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"gas\":5450},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_fee_receiver\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"gas\":5480},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"deploy_plain_pool\",\"inputs\":[{\"name\":\"_name\",\"type\":\"string\"},{\"name\":\"_symbol\",\"type\":\"string\"},{\"name\":\"_coins\",\"type\":\"address[4]\"},{\"name\":\"_A\",\"type\":\"uint256\"},{\"name\":\"_fee\",\"type\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}]},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"deploy_plain_pool\",\"inputs\":[{\"name\":\"_name\",\"type\":\"string\"},{\"name\":\"_symbol\",\"type\":\"string\"},{\"name\":\"_coins\",\"type\":\"address[4]\"},{\"name\":\"_A\",\"type\":\"uint256\"},{\"name\":\"_fee\",\"type\":\"uint256\"},{\"name\":\"_asset_type\",\"type\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}]},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"deploy_plain_pool\",\"inputs\":[{\"name\":\"_name\",\"type\":\"string\"},{\"name\":\"_symbol\",\"type\":\"string\"},{\"name\":\"_coins\",\"type\":\"address[4]\"},{\"name\":\"_A\",\"type\":\"uint256\"},{\"name\":\"_fee\",\"type\":\"uint256\"},{\"name\":\"_asset_type\",\"type\":\"uint256\"},{\"name\":\"_implementation_idx\",\"type\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}]},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"deploy_metapool\",\"inputs\":[{\"name\":\"_base_pool\",\"type\":\"address\"},{\"name\":\"_name\",\"type\":\"string\"},{\"name\":\"_symbol\",\"type\":\"string\"},{\"name\":\"_coin\",\"type\":\"address\"},{\"name\":\"_A\",\"type\":\"uint256\"},{\"name\":\"_fee\",\"type\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}]},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"deploy_metapool\",\"inputs\":[{\"name\":\"_base_pool\",\"type\":\"address\"},{\"name\":\"_name\",\"type\":\"string\"},{\"name\":\"_symbol\",\"type\":\"string\"},{\"name\":\"_coin\",\"type\":\"address\"},{\"name\":\"_A\",\"type\":\"uint256\"},{\"name\":\"_fee\",\"type\":\"uint256\"},{\"name\":\"_implementation_idx\",\"type\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}]},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"deploy_gauge\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"gas\":93079},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"add_base_pool\",\"inputs\":[{\"name\":\"_base_pool\",\"type\":\"address\"},{\"name\":\"_fee_receiver\",\"type\":\"address\"},{\"name\":\"_asset_type\",\"type\":\"uint256\"},{\"name\":\"_implementations\",\"type\":\"address[10]\"}],\"outputs\":[],\"gas\":1206132},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"set_metapool_implementations\",\"inputs\":[{\"name\":\"_base_pool\",\"type\":\"address\"},{\"name\":\"_implementations\",\"type\":\"address[10]\"}],\"outputs\":[],\"gas\":382072},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"set_plain_implementations\",\"inputs\":[{\"name\":\"_n_coins\",\"type\":\"uint256\"},{\"name\":\"_implementations\",\"type\":\"address[10]\"}],\"outputs\":[],\"gas\":379687},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"set_gauge_implementation\",\"inputs\":[{\"name\":\"_gauge_implementation\",\"type\":\"address\"}],\"outputs\":[],\"gas\":38355},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"batch_set_pool_asset_type\",\"inputs\":[{\"name\":\"_pools\",\"type\":\"address[32]\"},{\"name\":\"_asset_types\",\"type\":\"uint256[32]\"}],\"outputs\":[],\"gas\":1139545},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"commit_transfer_ownership\",\"inputs\":[{\"name\":\"_addr\",\"type\":\"address\"}],\"outputs\":[],\"gas\":38415},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"accept_transfer_ownership\",\"inputs\":[],\"outputs\":[],\"gas\":58366},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"set_manager\",\"inputs\":[{\"name\":\"_manager\",\"type\":\"address\"}],\"outputs\":[],\"gas\":40996},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"set_fee_receiver\",\"inputs\":[{\"name\":\"_base_pool\",\"type\":\"address\"},{\"name\":\"_fee_receiver\",\"type\":\"address\"}],\"outputs\":[],\"gas\":38770},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"convert_metapool_fees\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"gas\":12880},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"add_existing_metapools\",\"inputs\":[{\"name\":\"_pools\",\"type\":\"address[10]\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"gas\":8610792},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"admin\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"gas\":3438},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"future_admin\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"gas\":3468},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"manager\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"gas\":3498},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"pool_list\",\"inputs\":[{\"name\":\"arg0\",\"type\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"gas\":3573},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"pool_count\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"gas\":3558},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"base_pool_list\",\"inputs\":[{\"name\":\"arg0\",\"type\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"gas\":3633},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"base_pool_count\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"gas\":3618},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"base_pool_assets\",\"inputs\":[{\"name\":\"arg0\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"gas\":3863},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"plain_implementations\",\"inputs\":[{\"name\":\"arg0\",\"type\":\"uint256\"},{\"name\":\"arg1\",\"type\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"gas\":3838},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"gauge_implementation\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"gas\":3708}]",
}

CurveMetaPoolFactoryMetaData contains all meta data concerning the CurveMetaPoolFactory contract.

View Source
var CurvePoolABI = CurvePoolMetaData.ABI

CurvePoolABI is the input ABI used to generate the binding from. Deprecated: Use CurvePoolMetaData.ABI instead.

View Source
var CurvePoolInfoGetterABI = CurvePoolInfoGetterMetaData.ABI

CurvePoolInfoGetterABI is the input ABI used to generate the binding from. Deprecated: Use CurvePoolInfoGetterMetaData.ABI instead.

View Source
var CurvePoolInfoGetterMetaData = &bind.MetaData{
	ABI: "[{\"name\":\"BasePoolAdded\",\"inputs\":[{\"name\":\"base_pool\",\"type\":\"address\",\"indexed\":false}],\"anonymous\":false,\"type\":\"event\"},{\"name\":\"PlainPoolDeployed\",\"inputs\":[{\"name\":\"coins\",\"type\":\"address[4]\",\"indexed\":false},{\"name\":\"A\",\"type\":\"uint256\",\"indexed\":false},{\"name\":\"fee\",\"type\":\"uint256\",\"indexed\":false},{\"name\":\"deployer\",\"type\":\"address\",\"indexed\":false}],\"anonymous\":false,\"type\":\"event\"},{\"name\":\"MetaPoolDeployed\",\"inputs\":[{\"name\":\"coin\",\"type\":\"address\",\"indexed\":false},{\"name\":\"base_pool\",\"type\":\"address\",\"indexed\":false},{\"name\":\"A\",\"type\":\"uint256\",\"indexed\":false},{\"name\":\"fee\",\"type\":\"uint256\",\"indexed\":false},{\"name\":\"deployer\",\"type\":\"address\",\"indexed\":false}],\"anonymous\":false,\"type\":\"event\"},{\"name\":\"LiquidityGaugeDeployed\",\"inputs\":[{\"name\":\"pool\",\"type\":\"address\",\"indexed\":false},{\"name\":\"gauge\",\"type\":\"address\",\"indexed\":false}],\"anonymous\":false,\"type\":\"event\"},{\"stateMutability\":\"nonpayable\",\"type\":\"constructor\",\"inputs\":[{\"name\":\"_fee_receiver\",\"type\":\"address\"}],\"outputs\":[]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"metapool_implementations\",\"inputs\":[{\"name\":\"_base_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address[10]\"}],\"gas\":21716},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"find_pool_for_coins\",\"inputs\":[{\"name\":\"_from\",\"type\":\"address\"},{\"name\":\"_to\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"find_pool_for_coins\",\"inputs\":[{\"name\":\"_from\",\"type\":\"address\"},{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"i\",\"type\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_base_pool\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"gas\":2663},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_n_coins\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"gas\":2699},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_meta_n_coins\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"},{\"name\":\"\",\"type\":\"uint256\"}],\"gas\":5201},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_coins\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address[4]\"}],\"gas\":9164},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_underlying_coins\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address[8]\"}],\"gas\":21345},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_decimals\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256[4]\"}],\"gas\":20185},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_underlying_decimals\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256[8]\"}],\"gas\":19730},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_metapool_rates\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256[2]\"}],\"gas\":5281},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_balances\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256[4]\"}],\"gas\":20435},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_underlying_balances\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256[8]\"}],\"gas\":39733},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_A\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"gas\":3135},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_fees\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"},{\"name\":\"\",\"type\":\"uint256\"}],\"gas\":5821},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_admin_balances\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256[4]\"}],\"gas\":13535},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_coin_indices\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"},{\"name\":\"_from\",\"type\":\"address\"},{\"name\":\"_to\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"int128\"},{\"name\":\"\",\"type\":\"int128\"},{\"name\":\"\",\"type\":\"bool\"}],\"gas\":33407},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_gauge\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"gas\":3089},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_implementation_address\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"gas\":3119},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"is_meta\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"gas\":3152},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_pool_asset_type\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"gas\":5450},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_fee_receiver\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"gas\":5480},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"deploy_plain_pool\",\"inputs\":[{\"name\":\"_name\",\"type\":\"string\"},{\"name\":\"_symbol\",\"type\":\"string\"},{\"name\":\"_coins\",\"type\":\"address[4]\"},{\"name\":\"_A\",\"type\":\"uint256\"},{\"name\":\"_fee\",\"type\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}]},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"deploy_plain_pool\",\"inputs\":[{\"name\":\"_name\",\"type\":\"string\"},{\"name\":\"_symbol\",\"type\":\"string\"},{\"name\":\"_coins\",\"type\":\"address[4]\"},{\"name\":\"_A\",\"type\":\"uint256\"},{\"name\":\"_fee\",\"type\":\"uint256\"},{\"name\":\"_asset_type\",\"type\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}]},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"deploy_plain_pool\",\"inputs\":[{\"name\":\"_name\",\"type\":\"string\"},{\"name\":\"_symbol\",\"type\":\"string\"},{\"name\":\"_coins\",\"type\":\"address[4]\"},{\"name\":\"_A\",\"type\":\"uint256\"},{\"name\":\"_fee\",\"type\":\"uint256\"},{\"name\":\"_asset_type\",\"type\":\"uint256\"},{\"name\":\"_implementation_idx\",\"type\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}]},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"deploy_metapool\",\"inputs\":[{\"name\":\"_base_pool\",\"type\":\"address\"},{\"name\":\"_name\",\"type\":\"string\"},{\"name\":\"_symbol\",\"type\":\"string\"},{\"name\":\"_coin\",\"type\":\"address\"},{\"name\":\"_A\",\"type\":\"uint256\"},{\"name\":\"_fee\",\"type\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}]},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"deploy_metapool\",\"inputs\":[{\"name\":\"_base_pool\",\"type\":\"address\"},{\"name\":\"_name\",\"type\":\"string\"},{\"name\":\"_symbol\",\"type\":\"string\"},{\"name\":\"_coin\",\"type\":\"address\"},{\"name\":\"_A\",\"type\":\"uint256\"},{\"name\":\"_fee\",\"type\":\"uint256\"},{\"name\":\"_implementation_idx\",\"type\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}]},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"deploy_gauge\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"gas\":93079},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"add_base_pool\",\"inputs\":[{\"name\":\"_base_pool\",\"type\":\"address\"},{\"name\":\"_fee_receiver\",\"type\":\"address\"},{\"name\":\"_asset_type\",\"type\":\"uint256\"},{\"name\":\"_implementations\",\"type\":\"address[10]\"}],\"outputs\":[],\"gas\":1206132},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"set_metapool_implementations\",\"inputs\":[{\"name\":\"_base_pool\",\"type\":\"address\"},{\"name\":\"_implementations\",\"type\":\"address[10]\"}],\"outputs\":[],\"gas\":382072},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"set_plain_implementations\",\"inputs\":[{\"name\":\"_n_coins\",\"type\":\"uint256\"},{\"name\":\"_implementations\",\"type\":\"address[10]\"}],\"outputs\":[],\"gas\":379687},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"set_gauge_implementation\",\"inputs\":[{\"name\":\"_gauge_implementation\",\"type\":\"address\"}],\"outputs\":[],\"gas\":38355},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"batch_set_pool_asset_type\",\"inputs\":[{\"name\":\"_pools\",\"type\":\"address[32]\"},{\"name\":\"_asset_types\",\"type\":\"uint256[32]\"}],\"outputs\":[],\"gas\":1139545},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"commit_transfer_ownership\",\"inputs\":[{\"name\":\"_addr\",\"type\":\"address\"}],\"outputs\":[],\"gas\":38415},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"accept_transfer_ownership\",\"inputs\":[],\"outputs\":[],\"gas\":58366},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"set_manager\",\"inputs\":[{\"name\":\"_manager\",\"type\":\"address\"}],\"outputs\":[],\"gas\":40996},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"set_fee_receiver\",\"inputs\":[{\"name\":\"_base_pool\",\"type\":\"address\"},{\"name\":\"_fee_receiver\",\"type\":\"address\"}],\"outputs\":[],\"gas\":38770},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"convert_metapool_fees\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"gas\":12880},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"add_existing_metapools\",\"inputs\":[{\"name\":\"_pools\",\"type\":\"address[10]\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"gas\":8610792},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"admin\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"gas\":3438},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"future_admin\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"gas\":3468},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"manager\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"gas\":3498},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"pool_list\",\"inputs\":[{\"name\":\"arg0\",\"type\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"gas\":3573},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"pool_count\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"gas\":3558},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"base_pool_list\",\"inputs\":[{\"name\":\"arg0\",\"type\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"gas\":3633},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"base_pool_count\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"gas\":3618},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"base_pool_assets\",\"inputs\":[{\"name\":\"arg0\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"gas\":3863},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"plain_implementations\",\"inputs\":[{\"name\":\"arg0\",\"type\":\"uint256\"},{\"name\":\"arg1\",\"type\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"gas\":3838},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"gauge_implementation\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"gas\":3708}]",
}

CurvePoolInfoGetterMetaData contains all meta data concerning the CurvePoolInfoGetter contract.

View Source
var CurvePoolMetaData = &bind.MetaData{
	ABI: "[{\"name\":\"Transfer\",\"inputs\":[{\"name\":\"sender\",\"type\":\"address\",\"indexed\":true},{\"name\":\"receiver\",\"type\":\"address\",\"indexed\":true},{\"name\":\"value\",\"type\":\"uint256\",\"indexed\":false}],\"anonymous\":false,\"type\":\"event\"},{\"name\":\"Approval\",\"inputs\":[{\"name\":\"owner\",\"type\":\"address\",\"indexed\":true},{\"name\":\"spender\",\"type\":\"address\",\"indexed\":true},{\"name\":\"value\",\"type\":\"uint256\",\"indexed\":false}],\"anonymous\":false,\"type\":\"event\"},{\"name\":\"TokenExchange\",\"inputs\":[{\"name\":\"buyer\",\"type\":\"address\",\"indexed\":true},{\"name\":\"sold_id\",\"type\":\"int128\",\"indexed\":false},{\"name\":\"tokens_sold\",\"type\":\"uint256\",\"indexed\":false},{\"name\":\"bought_id\",\"type\":\"int128\",\"indexed\":false},{\"name\":\"tokens_bought\",\"type\":\"uint256\",\"indexed\":false}],\"anonymous\":false,\"type\":\"event\"},{\"name\":\"AddLiquidity\",\"inputs\":[{\"name\":\"provider\",\"type\":\"address\",\"indexed\":true},{\"name\":\"token_amounts\",\"type\":\"uint256[2]\",\"indexed\":false},{\"name\":\"fees\",\"type\":\"uint256[2]\",\"indexed\":false},{\"name\":\"invariant\",\"type\":\"uint256\",\"indexed\":false},{\"name\":\"token_supply\",\"type\":\"uint256\",\"indexed\":false}],\"anonymous\":false,\"type\":\"event\"},{\"name\":\"RemoveLiquidity\",\"inputs\":[{\"name\":\"provider\",\"type\":\"address\",\"indexed\":true},{\"name\":\"token_amounts\",\"type\":\"uint256[2]\",\"indexed\":false},{\"name\":\"fees\",\"type\":\"uint256[2]\",\"indexed\":false},{\"name\":\"token_supply\",\"type\":\"uint256\",\"indexed\":false}],\"anonymous\":false,\"type\":\"event\"},{\"name\":\"RemoveLiquidityOne\",\"inputs\":[{\"name\":\"provider\",\"type\":\"address\",\"indexed\":true},{\"name\":\"token_amount\",\"type\":\"uint256\",\"indexed\":false},{\"name\":\"coin_amount\",\"type\":\"uint256\",\"indexed\":false},{\"name\":\"token_supply\",\"type\":\"uint256\",\"indexed\":false}],\"anonymous\":false,\"type\":\"event\"},{\"name\":\"RemoveLiquidityImbalance\",\"inputs\":[{\"name\":\"provider\",\"type\":\"address\",\"indexed\":true},{\"name\":\"token_amounts\",\"type\":\"uint256[2]\",\"indexed\":false},{\"name\":\"fees\",\"type\":\"uint256[2]\",\"indexed\":false},{\"name\":\"invariant\",\"type\":\"uint256\",\"indexed\":false},{\"name\":\"token_supply\",\"type\":\"uint256\",\"indexed\":false}],\"anonymous\":false,\"type\":\"event\"},{\"name\":\"RampA\",\"inputs\":[{\"name\":\"old_A\",\"type\":\"uint256\",\"indexed\":false},{\"name\":\"new_A\",\"type\":\"uint256\",\"indexed\":false},{\"name\":\"initial_time\",\"type\":\"uint256\",\"indexed\":false},{\"name\":\"future_time\",\"type\":\"uint256\",\"indexed\":false}],\"anonymous\":false,\"type\":\"event\"},{\"name\":\"StopRampA\",\"inputs\":[{\"name\":\"A\",\"type\":\"uint256\",\"indexed\":false},{\"name\":\"t\",\"type\":\"uint256\",\"indexed\":false}],\"anonymous\":false,\"type\":\"event\"},{\"stateMutability\":\"nonpayable\",\"type\":\"constructor\",\"inputs\":[],\"outputs\":[]},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"initialize\",\"inputs\":[{\"name\":\"_name\",\"type\":\"string\"},{\"name\":\"_symbol\",\"type\":\"string\"},{\"name\":\"_coins\",\"type\":\"address[4]\"},{\"name\":\"_rate_multipliers\",\"type\":\"uint256[4]\"},{\"name\":\"_A\",\"type\":\"uint256\"},{\"name\":\"_fee\",\"type\":\"uint256\"}],\"outputs\":[],\"gas\":471502},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"decimals\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"gas\":318},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"transfer\",\"inputs\":[{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"gas\":77977},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"transferFrom\",\"inputs\":[{\"name\":\"_from\",\"type\":\"address\"},{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"gas\":115912},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"approve\",\"inputs\":[{\"name\":\"_spender\",\"type\":\"address\"},{\"name\":\"_value\",\"type\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"gas\":37851},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_balances\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256[2]\"}],\"gas\":4707},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"admin_fee\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"gas\":468},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"A\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"gas\":10764},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"A_precise\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"gas\":10726},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_virtual_price\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"gas\":848656},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"calc_token_amount\",\"inputs\":[{\"name\":\"_amounts\",\"type\":\"uint256[2]\"},{\"name\":\"_is_deposit\",\"type\":\"bool\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"gas\":3336308},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"add_liquidity\",\"inputs\":[{\"name\":\"_amounts\",\"type\":\"uint256[2]\"},{\"name\":\"_min_mint_amount\",\"type\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}]},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"add_liquidity\",\"inputs\":[{\"name\":\"_amounts\",\"type\":\"uint256[2]\"},{\"name\":\"_min_mint_amount\",\"type\":\"uint256\"},{\"name\":\"_receiver\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_dy\",\"inputs\":[{\"name\":\"i\",\"type\":\"int128\"},{\"name\":\"j\",\"type\":\"int128\"},{\"name\":\"dx\",\"type\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"gas\":2117591},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"exchange\",\"inputs\":[{\"name\":\"i\",\"type\":\"int128\"},{\"name\":\"j\",\"type\":\"int128\"},{\"name\":\"_dx\",\"type\":\"uint256\"},{\"name\":\"_min_dy\",\"type\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}]},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"exchange\",\"inputs\":[{\"name\":\"i\",\"type\":\"int128\"},{\"name\":\"j\",\"type\":\"int128\"},{\"name\":\"_dx\",\"type\":\"uint256\"},{\"name\":\"_min_dy\",\"type\":\"uint256\"},{\"name\":\"_receiver\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}]},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"remove_liquidity\",\"inputs\":[{\"name\":\"_burn_amount\",\"type\":\"uint256\"},{\"name\":\"_min_amounts\",\"type\":\"uint256[2]\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256[2]\"}]},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"remove_liquidity\",\"inputs\":[{\"name\":\"_burn_amount\",\"type\":\"uint256\"},{\"name\":\"_min_amounts\",\"type\":\"uint256[2]\"},{\"name\":\"_receiver\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256[2]\"}]},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"remove_liquidity_imbalance\",\"inputs\":[{\"name\":\"_amounts\",\"type\":\"uint256[2]\"},{\"name\":\"_max_burn_amount\",\"type\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}]},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"remove_liquidity_imbalance\",\"inputs\":[{\"name\":\"_amounts\",\"type\":\"uint256[2]\"},{\"name\":\"_max_burn_amount\",\"type\":\"uint256\"},{\"name\":\"_receiver\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"calc_withdraw_one_coin\",\"inputs\":[{\"name\":\"_burn_amount\",\"type\":\"uint256\"},{\"name\":\"i\",\"type\":\"int128\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"gas\":1100},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"remove_liquidity_one_coin\",\"inputs\":[{\"name\":\"_burn_amount\",\"type\":\"uint256\"},{\"name\":\"i\",\"type\":\"int128\"},{\"name\":\"_min_received\",\"type\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}]},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"remove_liquidity_one_coin\",\"inputs\":[{\"name\":\"_burn_amount\",\"type\":\"uint256\"},{\"name\":\"i\",\"type\":\"int128\"},{\"name\":\"_min_received\",\"type\":\"uint256\"},{\"name\":\"_receiver\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}]},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"ramp_A\",\"inputs\":[{\"name\":\"_future_A\",\"type\":\"uint256\"},{\"name\":\"_future_time\",\"type\":\"uint256\"}],\"outputs\":[],\"gas\":162101},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"stop_ramp_A\",\"inputs\":[],\"outputs\":[],\"gas\":157565},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"admin_balances\",\"inputs\":[{\"name\":\"i\",\"type\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"gas\":7740},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"withdraw_admin_fees\",\"inputs\":[],\"outputs\":[],\"gas\":33182},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"coins\",\"inputs\":[{\"name\":\"arg0\",\"type\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"gas\":3093},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"balances\",\"inputs\":[{\"name\":\"arg0\",\"type\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"gas\":3123},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"fee\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"gas\":3108},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"initial_A\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"gas\":3138},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"future_A\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"gas\":3168},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"initial_A_time\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"gas\":3198},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"future_A_time\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"gas\":3228},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"name\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"gas\":13488},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"symbol\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"gas\":11241},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"balanceOf\",\"inputs\":[{\"name\":\"arg0\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"gas\":3533},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"allowance\",\"inputs\":[{\"name\":\"arg0\",\"type\":\"address\"},{\"name\":\"arg1\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"gas\":3778},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"totalSupply\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"gas\":3378}]",
}

CurvePoolMetaData contains all meta data concerning the CurvePool contract.

View Source
var CurveRegistryABI = CurveRegistryMetaData.ABI

CurveRegistryABI is the input ABI used to generate the binding from. Deprecated: Use CurveRegistryMetaData.ABI instead.

View Source
var CurveRegistryMetaData = &bind.MetaData{
	ABI: "[{\"name\":\"PoolAdded\",\"inputs\":[{\"name\":\"pool\",\"type\":\"address\",\"indexed\":true},{\"name\":\"rate_method_id\",\"type\":\"bytes\",\"indexed\":false}],\"anonymous\":false,\"type\":\"event\"},{\"name\":\"PoolRemoved\",\"inputs\":[{\"name\":\"pool\",\"type\":\"address\",\"indexed\":true}],\"anonymous\":false,\"type\":\"event\"},{\"stateMutability\":\"nonpayable\",\"type\":\"constructor\",\"inputs\":[{\"name\":\"_address_provider\",\"type\":\"address\"},{\"name\":\"_gauge_controller\",\"type\":\"address\"}],\"outputs\":[]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"find_pool_for_coins\",\"inputs\":[{\"name\":\"_from\",\"type\":\"address\"},{\"name\":\"_to\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"find_pool_for_coins\",\"inputs\":[{\"name\":\"_from\",\"type\":\"address\"},{\"name\":\"_to\",\"type\":\"address\"},{\"name\":\"i\",\"type\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}]},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_n_coins\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256[2]\"}],\"gas\":1521},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_coins\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address[8]\"}],\"gas\":12102},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_underlying_coins\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address[8]\"}],\"gas\":12194},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_decimals\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256[8]\"}],\"gas\":7874},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_underlying_decimals\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256[8]\"}],\"gas\":7966},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_rates\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256[8]\"}],\"gas\":36992},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_gauges\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address[10]\"},{\"name\":\"\",\"type\":\"int128[10]\"}],\"gas\":20157},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_balances\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256[8]\"}],\"gas\":16583},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_underlying_balances\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256[8]\"}],\"gas\":162842},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_virtual_price_from_lp_token\",\"inputs\":[{\"name\":\"_token\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"gas\":1927},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_A\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"gas\":1045},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_parameters\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"A\",\"type\":\"uint256\"},{\"name\":\"future_A\",\"type\":\"uint256\"},{\"name\":\"fee\",\"type\":\"uint256\"},{\"name\":\"admin_fee\",\"type\":\"uint256\"},{\"name\":\"future_fee\",\"type\":\"uint256\"},{\"name\":\"future_admin_fee\",\"type\":\"uint256\"},{\"name\":\"future_owner\",\"type\":\"address\"},{\"name\":\"initial_A\",\"type\":\"uint256\"},{\"name\":\"initial_A_time\",\"type\":\"uint256\"},{\"name\":\"future_A_time\",\"type\":\"uint256\"}],\"gas\":6305},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_fees\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256[2]\"}],\"gas\":1450},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_admin_balances\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256[8]\"}],\"gas\":36454},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_coin_indices\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"},{\"name\":\"_from\",\"type\":\"address\"},{\"name\":\"_to\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"int128\"},{\"name\":\"\",\"type\":\"int128\"},{\"name\":\"\",\"type\":\"bool\"}],\"gas\":27131},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"estimate_gas_used\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"},{\"name\":\"_from\",\"type\":\"address\"},{\"name\":\"_to\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"gas\":32004},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"is_meta\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"gas\":1900},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_pool_name\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"gas\":8323},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_coin_swap_count\",\"inputs\":[{\"name\":\"_coin\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"gas\":1951},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_coin_swap_complement\",\"inputs\":[{\"name\":\"_coin\",\"type\":\"address\"},{\"name\":\"_index\",\"type\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"gas\":2090},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_pool_asset_type\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"gas\":2011},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"add_pool\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"},{\"name\":\"_n_coins\",\"type\":\"uint256\"},{\"name\":\"_lp_token\",\"type\":\"address\"},{\"name\":\"_rate_info\",\"type\":\"bytes32\"},{\"name\":\"_decimals\",\"type\":\"uint256\"},{\"name\":\"_underlying_decimals\",\"type\":\"uint256\"},{\"name\":\"_has_initial_A\",\"type\":\"bool\"},{\"name\":\"_is_v1\",\"type\":\"bool\"},{\"name\":\"_name\",\"type\":\"string\"}],\"outputs\":[],\"gas\":61485845},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"add_pool_without_underlying\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"},{\"name\":\"_n_coins\",\"type\":\"uint256\"},{\"name\":\"_lp_token\",\"type\":\"address\"},{\"name\":\"_rate_info\",\"type\":\"bytes32\"},{\"name\":\"_decimals\",\"type\":\"uint256\"},{\"name\":\"_use_rates\",\"type\":\"uint256\"},{\"name\":\"_has_initial_A\",\"type\":\"bool\"},{\"name\":\"_is_v1\",\"type\":\"bool\"},{\"name\":\"_name\",\"type\":\"string\"}],\"outputs\":[],\"gas\":31306062},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"add_metapool\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"},{\"name\":\"_n_coins\",\"type\":\"uint256\"},{\"name\":\"_lp_token\",\"type\":\"address\"},{\"name\":\"_decimals\",\"type\":\"uint256\"},{\"name\":\"_name\",\"type\":\"string\"}],\"outputs\":[]},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"add_metapool\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"},{\"name\":\"_n_coins\",\"type\":\"uint256\"},{\"name\":\"_lp_token\",\"type\":\"address\"},{\"name\":\"_decimals\",\"type\":\"uint256\"},{\"name\":\"_name\",\"type\":\"string\"},{\"name\":\"_base_pool\",\"type\":\"address\"}],\"outputs\":[]},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"remove_pool\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"}],\"outputs\":[],\"gas\":779731418758},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"set_pool_gas_estimates\",\"inputs\":[{\"name\":\"_addr\",\"type\":\"address[5]\"},{\"name\":\"_amount\",\"type\":\"uint256[2][5]\"}],\"outputs\":[],\"gas\":390460},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"set_coin_gas_estimates\",\"inputs\":[{\"name\":\"_addr\",\"type\":\"address[10]\"},{\"name\":\"_amount\",\"type\":\"uint256[10]\"}],\"outputs\":[],\"gas\":392047},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"set_gas_estimate_contract\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"},{\"name\":\"_estimator\",\"type\":\"address\"}],\"outputs\":[],\"gas\":72629},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"set_liquidity_gauges\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"},{\"name\":\"_liquidity_gauges\",\"type\":\"address[10]\"}],\"outputs\":[],\"gas\":400675},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"set_pool_asset_type\",\"inputs\":[{\"name\":\"_pool\",\"type\":\"address\"},{\"name\":\"_asset_type\",\"type\":\"uint256\"}],\"outputs\":[],\"gas\":72667},{\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"name\":\"batch_set_pool_asset_type\",\"inputs\":[{\"name\":\"_pools\",\"type\":\"address[32]\"},{\"name\":\"_asset_types\",\"type\":\"uint256[32]\"}],\"outputs\":[],\"gas\":1173447},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"address_provider\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"gas\":2048},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"gauge_controller\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"gas\":2078},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"pool_list\",\"inputs\":[{\"name\":\"arg0\",\"type\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"gas\":2217},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"pool_count\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"gas\":2138},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"coin_count\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"gas\":2168},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_coin\",\"inputs\":[{\"name\":\"arg0\",\"type\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"gas\":2307},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_pool_from_lp_token\",\"inputs\":[{\"name\":\"arg0\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"gas\":2443},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"get_lp_token\",\"inputs\":[{\"name\":\"arg0\",\"type\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"gas\":2473},{\"stateMutability\":\"view\",\"type\":\"function\",\"name\":\"last_updated\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"gas\":2288}]",
}

CurveRegistryMetaData contains all meta data concerning the CurveRegistry contract.

View Source
var CurveStakingRewardsABI = CurveStakingRewardsMetaData.ABI

CurveStakingRewardsABI is the input ABI used to generate the binding from. Deprecated: Use CurveStakingRewardsMetaData.ABI instead.

View Source
var CurveStakingRewardsMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_rewardsDistribution\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_rewardsToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_stakingToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_rewardsDuration\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"oldOwner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnerChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnerNominated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"isPaused\",\"type\":\"bool\"}],\"name\":\"PauseChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Recovered\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"reward\",\"type\":\"uint256\"}],\"name\":\"RewardAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"reward\",\"type\":\"uint256\"}],\"name\":\"RewardPaid\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newDuration\",\"type\":\"uint256\"}],\"name\":\"RewardsDurationUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Staked\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Withdrawn\",\"type\":\"event\"},{\"constant\":false,\"inputs\":[],\"name\":\"acceptOwnership\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"earned\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"exit\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"getReward\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getRewardForDuration\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"lastPauseTime\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"lastTimeRewardApplicable\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"lastUpdateTime\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"nominateNewOwner\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"nominatedOwner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"reward\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"rewardHolder\",\"type\":\"address\"}],\"name\":\"notifyRewardAmount\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"paused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"periodFinish\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenAmount\",\"type\":\"uint256\"}],\"name\":\"recoverERC20\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"rewardPerToken\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"rewardPerTokenStored\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"rewardRate\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"rewards\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"rewardsDistribution\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"rewardsDuration\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"rewardsToken\",\"outputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"bool\",\"name\":\"_paused\",\"type\":\"bool\"}],\"name\":\"setPaused\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_rewardsDistribution\",\"type\":\"address\"}],\"name\":\"setRewardsDistribution\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_rewardsDuration\",\"type\":\"uint256\"}],\"name\":\"setRewardsDuration\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"stake\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"stakingToken\",\"outputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"userRewardPerTokenPaid\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"withdraw\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

CurveStakingRewardsMetaData contains all meta data concerning the CurveStakingRewards contract.

View Source
var CurveVecrvABI = CurveVecrvMetaData.ABI

CurveVecrvABI is the input ABI used to generate the binding from. Deprecated: Use CurveVecrvMetaData.ABI instead.

View Source
var CurveVecrvMetaData = &bind.MetaData{
	ABI: "[{\"name\":\"CommitOwnership\",\"inputs\":[{\"type\":\"address\",\"name\":\"admin\",\"indexed\":false}],\"anonymous\":false,\"type\":\"event\"},{\"name\":\"ApplyOwnership\",\"inputs\":[{\"type\":\"address\",\"name\":\"admin\",\"indexed\":false}],\"anonymous\":false,\"type\":\"event\"},{\"name\":\"Deposit\",\"inputs\":[{\"type\":\"address\",\"name\":\"provider\",\"indexed\":true},{\"type\":\"uint256\",\"name\":\"value\",\"indexed\":false},{\"type\":\"uint256\",\"name\":\"locktime\",\"indexed\":true},{\"type\":\"int128\",\"name\":\"type\",\"indexed\":false},{\"type\":\"uint256\",\"name\":\"ts\",\"indexed\":false}],\"anonymous\":false,\"type\":\"event\"},{\"name\":\"Withdraw\",\"inputs\":[{\"type\":\"address\",\"name\":\"provider\",\"indexed\":true},{\"type\":\"uint256\",\"name\":\"value\",\"indexed\":false},{\"type\":\"uint256\",\"name\":\"ts\",\"indexed\":false}],\"anonymous\":false,\"type\":\"event\"},{\"name\":\"Supply\",\"inputs\":[{\"type\":\"uint256\",\"name\":\"prevSupply\",\"indexed\":false},{\"type\":\"uint256\",\"name\":\"supply\",\"indexed\":false}],\"anonymous\":false,\"type\":\"event\"},{\"outputs\":[],\"inputs\":[{\"type\":\"address\",\"name\":\"token_addr\"},{\"type\":\"string\",\"name\":\"_name\"},{\"type\":\"string\",\"name\":\"_symbol\"},{\"type\":\"string\",\"name\":\"_version\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"name\":\"commit_transfer_ownership\",\"outputs\":[],\"inputs\":[{\"type\":\"address\",\"name\":\"addr\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"gas\":37597},{\"name\":\"apply_transfer_ownership\",\"outputs\":[],\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"gas\":38497},{\"name\":\"commit_smart_wallet_checker\",\"outputs\":[],\"inputs\":[{\"type\":\"address\",\"name\":\"addr\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"gas\":36307},{\"name\":\"apply_smart_wallet_checker\",\"outputs\":[],\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"gas\":37095},{\"name\":\"get_last_user_slope\",\"outputs\":[{\"type\":\"int128\",\"name\":\"\"}],\"inputs\":[{\"type\":\"address\",\"name\":\"addr\"}],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":2569},{\"name\":\"user_point_history__ts\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\"}],\"inputs\":[{\"type\":\"address\",\"name\":\"_addr\"},{\"type\":\"uint256\",\"name\":\"_idx\"}],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":1672},{\"name\":\"locked__end\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\"}],\"inputs\":[{\"type\":\"address\",\"name\":\"_addr\"}],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":1593},{\"name\":\"checkpoint\",\"outputs\":[],\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"gas\":37052342},{\"name\":\"deposit_for\",\"outputs\":[],\"inputs\":[{\"type\":\"address\",\"name\":\"_addr\"},{\"type\":\"uint256\",\"name\":\"_value\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"gas\":74279891},{\"name\":\"create_lock\",\"outputs\":[],\"inputs\":[{\"type\":\"uint256\",\"name\":\"_value\"},{\"type\":\"uint256\",\"name\":\"_unlock_time\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"gas\":74281465},{\"name\":\"increase_amount\",\"outputs\":[],\"inputs\":[{\"type\":\"uint256\",\"name\":\"_value\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"gas\":74280830},{\"name\":\"increase_unlock_time\",\"outputs\":[],\"inputs\":[{\"type\":\"uint256\",\"name\":\"_unlock_time\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"gas\":74281578},{\"name\":\"withdraw\",\"outputs\":[],\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"gas\":37223566},{\"name\":\"balanceOf\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\"}],\"inputs\":[{\"type\":\"address\",\"name\":\"addr\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"name\":\"balanceOf\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\"}],\"inputs\":[{\"type\":\"address\",\"name\":\"addr\"},{\"type\":\"uint256\",\"name\":\"_t\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"name\":\"balanceOfAt\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\"}],\"inputs\":[{\"type\":\"address\",\"name\":\"addr\"},{\"type\":\"uint256\",\"name\":\"_block\"}],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":514333},{\"name\":\"totalSupply\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\"}],\"inputs\":[],\"stateMutability\":\"view\",\"type\":\"function\"},{\"name\":\"totalSupply\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\"}],\"inputs\":[{\"type\":\"uint256\",\"name\":\"t\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"name\":\"totalSupplyAt\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\"}],\"inputs\":[{\"type\":\"uint256\",\"name\":\"_block\"}],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":812560},{\"name\":\"changeController\",\"outputs\":[],\"inputs\":[{\"type\":\"address\",\"name\":\"_newController\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"gas\":36907},{\"name\":\"token\",\"outputs\":[{\"type\":\"address\",\"name\":\"\"}],\"inputs\":[],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":1841},{\"name\":\"supply\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\"}],\"inputs\":[],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":1871},{\"name\":\"locked\",\"outputs\":[{\"type\":\"int128\",\"name\":\"amount\"},{\"type\":\"uint256\",\"name\":\"end\"}],\"inputs\":[{\"type\":\"address\",\"name\":\"arg0\"}],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":3359},{\"name\":\"epoch\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\"}],\"inputs\":[],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":1931},{\"name\":\"point_history\",\"outputs\":[{\"type\":\"int128\",\"name\":\"bias\"},{\"type\":\"int128\",\"name\":\"slope\"},{\"type\":\"uint256\",\"name\":\"ts\"},{\"type\":\"uint256\",\"name\":\"blk\"}],\"inputs\":[{\"type\":\"uint256\",\"name\":\"arg0\"}],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":5550},{\"name\":\"user_point_history\",\"outputs\":[{\"type\":\"int128\",\"name\":\"bias\"},{\"type\":\"int128\",\"name\":\"slope\"},{\"type\":\"uint256\",\"name\":\"ts\"},{\"type\":\"uint256\",\"name\":\"blk\"}],\"inputs\":[{\"type\":\"address\",\"name\":\"arg0\"},{\"type\":\"uint256\",\"name\":\"arg1\"}],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":6079},{\"name\":\"user_point_epoch\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\"}],\"inputs\":[{\"type\":\"address\",\"name\":\"arg0\"}],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":2175},{\"name\":\"slope_changes\",\"outputs\":[{\"type\":\"int128\",\"name\":\"\"}],\"inputs\":[{\"type\":\"uint256\",\"name\":\"arg0\"}],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":2166},{\"name\":\"controller\",\"outputs\":[{\"type\":\"address\",\"name\":\"\"}],\"inputs\":[],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":2081},{\"name\":\"transfersEnabled\",\"outputs\":[{\"type\":\"bool\",\"name\":\"\"}],\"inputs\":[],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":2111},{\"name\":\"name\",\"outputs\":[{\"type\":\"string\",\"name\":\"\"}],\"inputs\":[],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":8543},{\"name\":\"symbol\",\"outputs\":[{\"type\":\"string\",\"name\":\"\"}],\"inputs\":[],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":7596},{\"name\":\"version\",\"outputs\":[{\"type\":\"string\",\"name\":\"\"}],\"inputs\":[],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":7626},{\"name\":\"decimals\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\"}],\"inputs\":[],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":2231},{\"name\":\"future_smart_wallet_checker\",\"outputs\":[{\"type\":\"address\",\"name\":\"\"}],\"inputs\":[],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":2261},{\"name\":\"smart_wallet_checker\",\"outputs\":[{\"type\":\"address\",\"name\":\"\"}],\"inputs\":[],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":2291},{\"name\":\"admin\",\"outputs\":[{\"type\":\"address\",\"name\":\"\"}],\"inputs\":[],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":2321},{\"name\":\"future_admin\",\"outputs\":[{\"type\":\"address\",\"name\":\"\"}],\"inputs\":[],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":2351}]",
}

CurveVecrvMetaData contains all meta data concerning the CurveVecrv contract.

View Source
var CurveVestingCrvABI = CurveVestingCrvMetaData.ABI

CurveVestingCrvABI is the input ABI used to generate the binding from. Deprecated: Use CurveVestingCrvMetaData.ABI instead.

View Source
var CurveVestingCrvMetaData = &bind.MetaData{
	ABI: "[{\"name\":\"Fund\",\"inputs\":[{\"type\":\"address\",\"name\":\"recipient\",\"indexed\":true},{\"type\":\"uint256\",\"name\":\"amount\",\"indexed\":false}],\"anonymous\":false,\"type\":\"event\"},{\"name\":\"Claim\",\"inputs\":[{\"type\":\"address\",\"name\":\"recipient\",\"indexed\":true},{\"type\":\"uint256\",\"name\":\"claimed\",\"indexed\":false}],\"anonymous\":false,\"type\":\"event\"},{\"name\":\"ToggleDisable\",\"inputs\":[{\"type\":\"address\",\"name\":\"recipient\",\"indexed\":false},{\"type\":\"bool\",\"name\":\"disabled\",\"indexed\":false}],\"anonymous\":false,\"type\":\"event\"},{\"name\":\"CommitOwnership\",\"inputs\":[{\"type\":\"address\",\"name\":\"admin\",\"indexed\":false}],\"anonymous\":false,\"type\":\"event\"},{\"name\":\"ApplyOwnership\",\"inputs\":[{\"type\":\"address\",\"name\":\"admin\",\"indexed\":false}],\"anonymous\":false,\"type\":\"event\"},{\"outputs\":[],\"inputs\":[{\"type\":\"address\",\"name\":\"_token\"},{\"type\":\"uint256\",\"name\":\"_start_time\"},{\"type\":\"uint256\",\"name\":\"_end_time\"},{\"type\":\"bool\",\"name\":\"_can_disable\"},{\"type\":\"address[4]\",\"name\":\"_fund_admins\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"name\":\"add_tokens\",\"outputs\":[],\"inputs\":[{\"type\":\"uint256\",\"name\":\"_amount\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"gas\":39108},{\"name\":\"fund\",\"outputs\":[],\"inputs\":[{\"type\":\"address[100]\",\"name\":\"_recipients\"},{\"type\":\"uint256[100]\",\"name\":\"_amounts\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"gas\":3962646},{\"name\":\"toggle_disable\",\"outputs\":[],\"inputs\":[{\"type\":\"address\",\"name\":\"_recipient\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"gas\":40280},{\"name\":\"disable_can_disable\",\"outputs\":[],\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"gas\":21295},{\"name\":\"disable_fund_admins\",\"outputs\":[],\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"gas\":21325},{\"name\":\"vestedSupply\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\"}],\"inputs\":[],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":4468},{\"name\":\"lockedSupply\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\"}],\"inputs\":[],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":5465},{\"name\":\"vestedOf\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\"}],\"inputs\":[{\"type\":\"address\",\"name\":\"_recipient\"}],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":5163},{\"name\":\"balanceOf\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\"}],\"inputs\":[{\"type\":\"address\",\"name\":\"_recipient\"}],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":6275},{\"name\":\"lockedOf\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\"}],\"inputs\":[{\"type\":\"address\",\"name\":\"_recipient\"}],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":6305},{\"name\":\"claim\",\"outputs\":[],\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"name\":\"claim\",\"outputs\":[],\"inputs\":[{\"type\":\"address\",\"name\":\"addr\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"name\":\"commit_transfer_ownership\",\"outputs\":[{\"type\":\"bool\",\"name\":\"\"}],\"inputs\":[{\"type\":\"address\",\"name\":\"addr\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"gas\":38032},{\"name\":\"apply_transfer_ownership\",\"outputs\":[{\"type\":\"bool\",\"name\":\"\"}],\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\",\"gas\":38932},{\"name\":\"token\",\"outputs\":[{\"type\":\"address\",\"name\":\"\"}],\"inputs\":[],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":1601},{\"name\":\"start_time\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\"}],\"inputs\":[],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":1631},{\"name\":\"end_time\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\"}],\"inputs\":[],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":1661},{\"name\":\"initial_locked\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\"}],\"inputs\":[{\"type\":\"address\",\"name\":\"arg0\"}],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":1845},{\"name\":\"total_claimed\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\"}],\"inputs\":[{\"type\":\"address\",\"name\":\"arg0\"}],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":1875},{\"name\":\"initial_locked_supply\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\"}],\"inputs\":[],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":1751},{\"name\":\"unallocated_supply\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\"}],\"inputs\":[],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":1781},{\"name\":\"can_disable\",\"outputs\":[{\"type\":\"bool\",\"name\":\"\"}],\"inputs\":[],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":1811},{\"name\":\"disabled_at\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"\"}],\"inputs\":[{\"type\":\"address\",\"name\":\"arg0\"}],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":1995},{\"name\":\"admin\",\"outputs\":[{\"type\":\"address\",\"name\":\"\"}],\"inputs\":[],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":1871},{\"name\":\"future_admin\",\"outputs\":[{\"type\":\"address\",\"name\":\"\"}],\"inputs\":[],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":1901},{\"name\":\"fund_admins_enabled\",\"outputs\":[{\"type\":\"bool\",\"name\":\"\"}],\"inputs\":[],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":1931},{\"name\":\"fund_admins\",\"outputs\":[{\"type\":\"bool\",\"name\":\"\"}],\"inputs\":[{\"type\":\"address\",\"name\":\"arg0\"}],\"stateMutability\":\"view\",\"type\":\"function\",\"gas\":2115}]",
}

CurveVestingCrvMetaData contains all meta data concerning the CurveVestingCrv contract.

Functions

This section is empty.

Types

type CurveCryptoSwapFactory

type CurveCryptoSwapFactory struct {
	CurveCryptoSwapFactoryCaller     // Read-only binding to the contract
	CurveCryptoSwapFactoryTransactor // Write-only binding to the contract
	CurveCryptoSwapFactoryFilterer   // Log filterer for contract events
}

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

func NewCurveCryptoSwapFactory

func NewCurveCryptoSwapFactory(address common.Address, backend bind.ContractBackend) (*CurveCryptoSwapFactory, error)

NewCurveCryptoSwapFactory creates a new instance of CurveCryptoSwapFactory, bound to a specific deployed contract.

type CurveCryptoSwapFactoryCaller

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

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

func NewCurveCryptoSwapFactoryCaller

func NewCurveCryptoSwapFactoryCaller(address common.Address, caller bind.ContractCaller) (*CurveCryptoSwapFactoryCaller, error)

NewCurveCryptoSwapFactoryCaller creates a new read-only instance of CurveCryptoSwapFactory, bound to a specific deployed contract.

func (*CurveCryptoSwapFactoryCaller) Admin

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactoryCaller) Admin(opts *bind.CallOpts) (common.Address, error)

Admin is a free data retrieval call binding the contract method 0xf851a440.

Solidity: function admin() view returns(address)

func (*CurveCryptoSwapFactoryCaller) FeeReceiver

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactoryCaller) FeeReceiver(opts *bind.CallOpts) (common.Address, error)

FeeReceiver is a free data retrieval call binding the contract method 0xcab4d3db.

Solidity: function fee_receiver() view returns(address)

func (*CurveCryptoSwapFactoryCaller) FindPoolForCoins

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactoryCaller) FindPoolForCoins(opts *bind.CallOpts, _from common.Address, _to common.Address) (common.Address, error)

FindPoolForCoins is a free data retrieval call binding the contract method 0xa87df06c.

Solidity: function find_pool_for_coins(address _from, address _to) view returns(address)

func (*CurveCryptoSwapFactoryCaller) FindPoolForCoins0

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactoryCaller) FindPoolForCoins0(opts *bind.CallOpts, _from common.Address, _to common.Address, i *big.Int) (common.Address, error)

FindPoolForCoins0 is a free data retrieval call binding the contract method 0x6982eb0b.

Solidity: function find_pool_for_coins(address _from, address _to, uint256 i) view returns(address)

func (*CurveCryptoSwapFactoryCaller) FutureAdmin

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactoryCaller) FutureAdmin(opts *bind.CallOpts) (common.Address, error)

FutureAdmin is a free data retrieval call binding the contract method 0x17f7182a.

Solidity: function future_admin() view returns(address)

func (*CurveCryptoSwapFactoryCaller) GaugeImplementation

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactoryCaller) GaugeImplementation(opts *bind.CallOpts) (common.Address, error)

GaugeImplementation is a free data retrieval call binding the contract method 0x8df24207.

Solidity: function gauge_implementation() view returns(address)

func (*CurveCryptoSwapFactoryCaller) GetBalances

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactoryCaller) GetBalances(opts *bind.CallOpts, _pool common.Address) ([2]*big.Int, error)

GetBalances is a free data retrieval call binding the contract method 0x92e3cc2d.

Solidity: function get_balances(address _pool) view returns(uint256[2])

func (*CurveCryptoSwapFactoryCaller) GetCoinIndices

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactoryCaller) GetCoinIndices(opts *bind.CallOpts, _pool common.Address, _from common.Address, _to common.Address) (*big.Int, *big.Int, error)

GetCoinIndices is a free data retrieval call binding the contract method 0xeb85226d.

Solidity: function get_coin_indices(address _pool, address _from, address _to) view returns(uint256, uint256)

func (*CurveCryptoSwapFactoryCaller) GetCoins

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactoryCaller) GetCoins(opts *bind.CallOpts, _pool common.Address) ([2]common.Address, error)

GetCoins is a free data retrieval call binding the contract method 0x9ac90d3d.

Solidity: function get_coins(address _pool) view returns(address[2])

func (*CurveCryptoSwapFactoryCaller) GetDecimals

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactoryCaller) GetDecimals(opts *bind.CallOpts, _pool common.Address) ([2]*big.Int, error)

GetDecimals is a free data retrieval call binding the contract method 0x52b51555.

Solidity: function get_decimals(address _pool) view returns(uint256[2])

func (*CurveCryptoSwapFactoryCaller) GetEthIndex

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactoryCaller) GetEthIndex(opts *bind.CallOpts, _pool common.Address) (*big.Int, error)

GetEthIndex is a free data retrieval call binding the contract method 0xccb15605.

Solidity: function get_eth_index(address _pool) view returns(uint256)

func (*CurveCryptoSwapFactoryCaller) GetGauge

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactoryCaller) GetGauge(opts *bind.CallOpts, _pool common.Address) (common.Address, error)

GetGauge is a free data retrieval call binding the contract method 0xdaf297b9.

Solidity: function get_gauge(address _pool) view returns(address)

func (*CurveCryptoSwapFactoryCaller) GetToken

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactoryCaller) GetToken(opts *bind.CallOpts, _pool common.Address) (common.Address, error)

GetToken is a free data retrieval call binding the contract method 0x977d9122.

Solidity: function get_token(address _pool) view returns(address)

func (*CurveCryptoSwapFactoryCaller) PoolCount

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactoryCaller) PoolCount(opts *bind.CallOpts) (*big.Int, error)

PoolCount is a free data retrieval call binding the contract method 0x956aae3a.

Solidity: function pool_count() view returns(uint256)

func (*CurveCryptoSwapFactoryCaller) PoolImplementation

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactoryCaller) PoolImplementation(opts *bind.CallOpts) (common.Address, error)

PoolImplementation is a free data retrieval call binding the contract method 0x2489a2c3.

Solidity: function pool_implementation() view returns(address)

func (*CurveCryptoSwapFactoryCaller) PoolList

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactoryCaller) PoolList(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)

PoolList is a free data retrieval call binding the contract method 0x3a1d5d8e.

Solidity: function pool_list(uint256 arg0) view returns(address)

func (*CurveCryptoSwapFactoryCaller) TokenImplementation

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactoryCaller) TokenImplementation(opts *bind.CallOpts) (common.Address, error)

TokenImplementation is a free data retrieval call binding the contract method 0x35214d81.

Solidity: function token_implementation() view returns(address)

type CurveCryptoSwapFactoryCallerRaw

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

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

func (*CurveCryptoSwapFactoryCallerRaw) Call

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactoryCallerRaw) 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 CurveCryptoSwapFactoryCallerSession

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

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

func (*CurveCryptoSwapFactoryCallerSession) Admin

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactoryCallerSession) Admin() (common.Address, error)

Admin is a free data retrieval call binding the contract method 0xf851a440.

Solidity: function admin() view returns(address)

func (*CurveCryptoSwapFactoryCallerSession) FeeReceiver

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactoryCallerSession) FeeReceiver() (common.Address, error)

FeeReceiver is a free data retrieval call binding the contract method 0xcab4d3db.

Solidity: function fee_receiver() view returns(address)

func (*CurveCryptoSwapFactoryCallerSession) FindPoolForCoins

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactoryCallerSession) FindPoolForCoins(_from common.Address, _to common.Address) (common.Address, error)

FindPoolForCoins is a free data retrieval call binding the contract method 0xa87df06c.

Solidity: function find_pool_for_coins(address _from, address _to) view returns(address)

func (*CurveCryptoSwapFactoryCallerSession) FindPoolForCoins0

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactoryCallerSession) FindPoolForCoins0(_from common.Address, _to common.Address, i *big.Int) (common.Address, error)

FindPoolForCoins0 is a free data retrieval call binding the contract method 0x6982eb0b.

Solidity: function find_pool_for_coins(address _from, address _to, uint256 i) view returns(address)

func (*CurveCryptoSwapFactoryCallerSession) FutureAdmin

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactoryCallerSession) FutureAdmin() (common.Address, error)

FutureAdmin is a free data retrieval call binding the contract method 0x17f7182a.

Solidity: function future_admin() view returns(address)

func (*CurveCryptoSwapFactoryCallerSession) GaugeImplementation

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactoryCallerSession) GaugeImplementation() (common.Address, error)

GaugeImplementation is a free data retrieval call binding the contract method 0x8df24207.

Solidity: function gauge_implementation() view returns(address)

func (*CurveCryptoSwapFactoryCallerSession) GetBalances

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactoryCallerSession) GetBalances(_pool common.Address) ([2]*big.Int, error)

GetBalances is a free data retrieval call binding the contract method 0x92e3cc2d.

Solidity: function get_balances(address _pool) view returns(uint256[2])

func (*CurveCryptoSwapFactoryCallerSession) GetCoinIndices

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactoryCallerSession) GetCoinIndices(_pool common.Address, _from common.Address, _to common.Address) (*big.Int, *big.Int, error)

GetCoinIndices is a free data retrieval call binding the contract method 0xeb85226d.

Solidity: function get_coin_indices(address _pool, address _from, address _to) view returns(uint256, uint256)

func (*CurveCryptoSwapFactoryCallerSession) GetCoins

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactoryCallerSession) GetCoins(_pool common.Address) ([2]common.Address, error)

GetCoins is a free data retrieval call binding the contract method 0x9ac90d3d.

Solidity: function get_coins(address _pool) view returns(address[2])

func (*CurveCryptoSwapFactoryCallerSession) GetDecimals

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactoryCallerSession) GetDecimals(_pool common.Address) ([2]*big.Int, error)

GetDecimals is a free data retrieval call binding the contract method 0x52b51555.

Solidity: function get_decimals(address _pool) view returns(uint256[2])

func (*CurveCryptoSwapFactoryCallerSession) GetEthIndex

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactoryCallerSession) GetEthIndex(_pool common.Address) (*big.Int, error)

GetEthIndex is a free data retrieval call binding the contract method 0xccb15605.

Solidity: function get_eth_index(address _pool) view returns(uint256)

func (*CurveCryptoSwapFactoryCallerSession) GetGauge

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactoryCallerSession) GetGauge(_pool common.Address) (common.Address, error)

GetGauge is a free data retrieval call binding the contract method 0xdaf297b9.

Solidity: function get_gauge(address _pool) view returns(address)

func (*CurveCryptoSwapFactoryCallerSession) GetToken

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactoryCallerSession) GetToken(_pool common.Address) (common.Address, error)

GetToken is a free data retrieval call binding the contract method 0x977d9122.

Solidity: function get_token(address _pool) view returns(address)

func (*CurveCryptoSwapFactoryCallerSession) PoolCount

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactoryCallerSession) PoolCount() (*big.Int, error)

PoolCount is a free data retrieval call binding the contract method 0x956aae3a.

Solidity: function pool_count() view returns(uint256)

func (*CurveCryptoSwapFactoryCallerSession) PoolImplementation

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactoryCallerSession) PoolImplementation() (common.Address, error)

PoolImplementation is a free data retrieval call binding the contract method 0x2489a2c3.

Solidity: function pool_implementation() view returns(address)

func (*CurveCryptoSwapFactoryCallerSession) PoolList

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactoryCallerSession) PoolList(arg0 *big.Int) (common.Address, error)

PoolList is a free data retrieval call binding the contract method 0x3a1d5d8e.

Solidity: function pool_list(uint256 arg0) view returns(address)

func (*CurveCryptoSwapFactoryCallerSession) TokenImplementation

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactoryCallerSession) TokenImplementation() (common.Address, error)

TokenImplementation is a free data retrieval call binding the contract method 0x35214d81.

Solidity: function token_implementation() view returns(address)

type CurveCryptoSwapFactoryCryptoPoolDeployed

type CurveCryptoSwapFactoryCryptoPoolDeployed struct {
	Token              common.Address
	Coins              [2]common.Address
	A                  *big.Int
	Gamma              *big.Int
	MidFee             *big.Int
	OutFee             *big.Int
	AllowedExtraProfit *big.Int
	FeeGamma           *big.Int
	AdjustmentStep     *big.Int
	AdminFee           *big.Int
	MaHalfTime         *big.Int
	InitialPrice       *big.Int
	Deployer           common.Address
	Raw                types.Log // Blockchain specific contextual infos
}

CurveCryptoSwapFactoryCryptoPoolDeployed represents a CryptoPoolDeployed event raised by the CurveCryptoSwapFactory contract.

type CurveCryptoSwapFactoryCryptoPoolDeployedIterator

type CurveCryptoSwapFactoryCryptoPoolDeployedIterator struct {
	Event *CurveCryptoSwapFactoryCryptoPoolDeployed // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CurveCryptoSwapFactoryCryptoPoolDeployedIterator is returned from FilterCryptoPoolDeployed and is used to iterate over the raw logs and unpacked data for CryptoPoolDeployed events raised by the CurveCryptoSwapFactory contract.

func (*CurveCryptoSwapFactoryCryptoPoolDeployedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CurveCryptoSwapFactoryCryptoPoolDeployedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurveCryptoSwapFactoryCryptoPoolDeployedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CurveCryptoSwapFactoryFilterer

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

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

func NewCurveCryptoSwapFactoryFilterer

func NewCurveCryptoSwapFactoryFilterer(address common.Address, filterer bind.ContractFilterer) (*CurveCryptoSwapFactoryFilterer, error)

NewCurveCryptoSwapFactoryFilterer creates a new log filterer instance of CurveCryptoSwapFactory, bound to a specific deployed contract.

func (*CurveCryptoSwapFactoryFilterer) FilterCryptoPoolDeployed

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactoryFilterer) FilterCryptoPoolDeployed(opts *bind.FilterOpts) (*CurveCryptoSwapFactoryCryptoPoolDeployedIterator, error)

FilterCryptoPoolDeployed is a free log retrieval operation binding the contract event 0x0394cb40d7dbe28dad1d4ee890bdd35bbb0d89e17924a80a542535e83d54ba14.

Solidity: event CryptoPoolDeployed(address token, address[2] coins, uint256 A, uint256 gamma, uint256 mid_fee, uint256 out_fee, uint256 allowed_extra_profit, uint256 fee_gamma, uint256 adjustment_step, uint256 admin_fee, uint256 ma_half_time, uint256 initial_price, address deployer)

func (*CurveCryptoSwapFactoryFilterer) FilterLiquidityGaugeDeployed

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactoryFilterer) FilterLiquidityGaugeDeployed(opts *bind.FilterOpts) (*CurveCryptoSwapFactoryLiquidityGaugeDeployedIterator, error)

FilterLiquidityGaugeDeployed is a free log retrieval operation binding the contract event 0x1d6247eae69b5feb96b30be78552f35de45f61fdb6d6d7e1b08aae159b6226af.

Solidity: event LiquidityGaugeDeployed(address pool, address token, address gauge)

func (*CurveCryptoSwapFactoryFilterer) FilterTransferOwnership

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactoryFilterer) FilterTransferOwnership(opts *bind.FilterOpts) (*CurveCryptoSwapFactoryTransferOwnershipIterator, error)

FilterTransferOwnership is a free log retrieval operation binding the contract event 0x5c486528ec3e3f0ea91181cff8116f02bfa350e03b8b6f12e00765adbb5af85c.

Solidity: event TransferOwnership(address _old_owner, address _new_owner)

func (*CurveCryptoSwapFactoryFilterer) FilterUpdateFeeReceiver

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactoryFilterer) FilterUpdateFeeReceiver(opts *bind.FilterOpts) (*CurveCryptoSwapFactoryUpdateFeeReceiverIterator, error)

FilterUpdateFeeReceiver is a free log retrieval operation binding the contract event 0x2861448678f0be67f11bfb5481b3e3b4cfeb3acc6126ad60a05f95bfc6530666.

Solidity: event UpdateFeeReceiver(address _old_fee_receiver, address _new_fee_receiver)

func (*CurveCryptoSwapFactoryFilterer) FilterUpdateGaugeImplementation

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactoryFilterer) FilterUpdateGaugeImplementation(opts *bind.FilterOpts) (*CurveCryptoSwapFactoryUpdateGaugeImplementationIterator, error)

FilterUpdateGaugeImplementation is a free log retrieval operation binding the contract event 0x1fd705f9c77053962a503f2f2f57f0862b4c3af687c25615c13817a86946c359.

Solidity: event UpdateGaugeImplementation(address _old_gauge_implementation, address _new_gauge_implementation)

func (*CurveCryptoSwapFactoryFilterer) FilterUpdatePoolImplementation

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactoryFilterer) FilterUpdatePoolImplementation(opts *bind.FilterOpts) (*CurveCryptoSwapFactoryUpdatePoolImplementationIterator, error)

FilterUpdatePoolImplementation is a free log retrieval operation binding the contract event 0x0617fd31aa5ab95ec80eefc1eb61a2c477aa419d1d761b4e46f5f077e47852aa.

Solidity: event UpdatePoolImplementation(address _old_pool_implementation, address _new_pool_implementation)

func (*CurveCryptoSwapFactoryFilterer) FilterUpdateTokenImplementation

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactoryFilterer) FilterUpdateTokenImplementation(opts *bind.FilterOpts) (*CurveCryptoSwapFactoryUpdateTokenImplementationIterator, error)

FilterUpdateTokenImplementation is a free log retrieval operation binding the contract event 0x1cc4f8e20b0cd3e5109eb156cadcfd3a5496ac0794c6085ca02afd7d710dd566.

Solidity: event UpdateTokenImplementation(address _old_token_implementation, address _new_token_implementation)

func (*CurveCryptoSwapFactoryFilterer) ParseCryptoPoolDeployed

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactoryFilterer) ParseCryptoPoolDeployed(log types.Log) (*CurveCryptoSwapFactoryCryptoPoolDeployed, error)

ParseCryptoPoolDeployed is a log parse operation binding the contract event 0x0394cb40d7dbe28dad1d4ee890bdd35bbb0d89e17924a80a542535e83d54ba14.

Solidity: event CryptoPoolDeployed(address token, address[2] coins, uint256 A, uint256 gamma, uint256 mid_fee, uint256 out_fee, uint256 allowed_extra_profit, uint256 fee_gamma, uint256 adjustment_step, uint256 admin_fee, uint256 ma_half_time, uint256 initial_price, address deployer)

func (*CurveCryptoSwapFactoryFilterer) ParseLiquidityGaugeDeployed

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactoryFilterer) ParseLiquidityGaugeDeployed(log types.Log) (*CurveCryptoSwapFactoryLiquidityGaugeDeployed, error)

ParseLiquidityGaugeDeployed is a log parse operation binding the contract event 0x1d6247eae69b5feb96b30be78552f35de45f61fdb6d6d7e1b08aae159b6226af.

Solidity: event LiquidityGaugeDeployed(address pool, address token, address gauge)

func (*CurveCryptoSwapFactoryFilterer) ParseTransferOwnership

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactoryFilterer) ParseTransferOwnership(log types.Log) (*CurveCryptoSwapFactoryTransferOwnership, error)

ParseTransferOwnership is a log parse operation binding the contract event 0x5c486528ec3e3f0ea91181cff8116f02bfa350e03b8b6f12e00765adbb5af85c.

Solidity: event TransferOwnership(address _old_owner, address _new_owner)

func (*CurveCryptoSwapFactoryFilterer) ParseUpdateFeeReceiver

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactoryFilterer) ParseUpdateFeeReceiver(log types.Log) (*CurveCryptoSwapFactoryUpdateFeeReceiver, error)

ParseUpdateFeeReceiver is a log parse operation binding the contract event 0x2861448678f0be67f11bfb5481b3e3b4cfeb3acc6126ad60a05f95bfc6530666.

Solidity: event UpdateFeeReceiver(address _old_fee_receiver, address _new_fee_receiver)

func (*CurveCryptoSwapFactoryFilterer) ParseUpdateGaugeImplementation

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactoryFilterer) ParseUpdateGaugeImplementation(log types.Log) (*CurveCryptoSwapFactoryUpdateGaugeImplementation, error)

ParseUpdateGaugeImplementation is a log parse operation binding the contract event 0x1fd705f9c77053962a503f2f2f57f0862b4c3af687c25615c13817a86946c359.

Solidity: event UpdateGaugeImplementation(address _old_gauge_implementation, address _new_gauge_implementation)

func (*CurveCryptoSwapFactoryFilterer) ParseUpdatePoolImplementation

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactoryFilterer) ParseUpdatePoolImplementation(log types.Log) (*CurveCryptoSwapFactoryUpdatePoolImplementation, error)

ParseUpdatePoolImplementation is a log parse operation binding the contract event 0x0617fd31aa5ab95ec80eefc1eb61a2c477aa419d1d761b4e46f5f077e47852aa.

Solidity: event UpdatePoolImplementation(address _old_pool_implementation, address _new_pool_implementation)

func (*CurveCryptoSwapFactoryFilterer) ParseUpdateTokenImplementation

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactoryFilterer) ParseUpdateTokenImplementation(log types.Log) (*CurveCryptoSwapFactoryUpdateTokenImplementation, error)

ParseUpdateTokenImplementation is a log parse operation binding the contract event 0x1cc4f8e20b0cd3e5109eb156cadcfd3a5496ac0794c6085ca02afd7d710dd566.

Solidity: event UpdateTokenImplementation(address _old_token_implementation, address _new_token_implementation)

func (*CurveCryptoSwapFactoryFilterer) WatchCryptoPoolDeployed

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactoryFilterer) WatchCryptoPoolDeployed(opts *bind.WatchOpts, sink chan<- *CurveCryptoSwapFactoryCryptoPoolDeployed) (event.Subscription, error)

WatchCryptoPoolDeployed is a free log subscription operation binding the contract event 0x0394cb40d7dbe28dad1d4ee890bdd35bbb0d89e17924a80a542535e83d54ba14.

Solidity: event CryptoPoolDeployed(address token, address[2] coins, uint256 A, uint256 gamma, uint256 mid_fee, uint256 out_fee, uint256 allowed_extra_profit, uint256 fee_gamma, uint256 adjustment_step, uint256 admin_fee, uint256 ma_half_time, uint256 initial_price, address deployer)

func (*CurveCryptoSwapFactoryFilterer) WatchLiquidityGaugeDeployed

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactoryFilterer) WatchLiquidityGaugeDeployed(opts *bind.WatchOpts, sink chan<- *CurveCryptoSwapFactoryLiquidityGaugeDeployed) (event.Subscription, error)

WatchLiquidityGaugeDeployed is a free log subscription operation binding the contract event 0x1d6247eae69b5feb96b30be78552f35de45f61fdb6d6d7e1b08aae159b6226af.

Solidity: event LiquidityGaugeDeployed(address pool, address token, address gauge)

func (*CurveCryptoSwapFactoryFilterer) WatchTransferOwnership

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactoryFilterer) WatchTransferOwnership(opts *bind.WatchOpts, sink chan<- *CurveCryptoSwapFactoryTransferOwnership) (event.Subscription, error)

WatchTransferOwnership is a free log subscription operation binding the contract event 0x5c486528ec3e3f0ea91181cff8116f02bfa350e03b8b6f12e00765adbb5af85c.

Solidity: event TransferOwnership(address _old_owner, address _new_owner)

func (*CurveCryptoSwapFactoryFilterer) WatchUpdateFeeReceiver

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactoryFilterer) WatchUpdateFeeReceiver(opts *bind.WatchOpts, sink chan<- *CurveCryptoSwapFactoryUpdateFeeReceiver) (event.Subscription, error)

WatchUpdateFeeReceiver is a free log subscription operation binding the contract event 0x2861448678f0be67f11bfb5481b3e3b4cfeb3acc6126ad60a05f95bfc6530666.

Solidity: event UpdateFeeReceiver(address _old_fee_receiver, address _new_fee_receiver)

func (*CurveCryptoSwapFactoryFilterer) WatchUpdateGaugeImplementation

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactoryFilterer) WatchUpdateGaugeImplementation(opts *bind.WatchOpts, sink chan<- *CurveCryptoSwapFactoryUpdateGaugeImplementation) (event.Subscription, error)

WatchUpdateGaugeImplementation is a free log subscription operation binding the contract event 0x1fd705f9c77053962a503f2f2f57f0862b4c3af687c25615c13817a86946c359.

Solidity: event UpdateGaugeImplementation(address _old_gauge_implementation, address _new_gauge_implementation)

func (*CurveCryptoSwapFactoryFilterer) WatchUpdatePoolImplementation

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactoryFilterer) WatchUpdatePoolImplementation(opts *bind.WatchOpts, sink chan<- *CurveCryptoSwapFactoryUpdatePoolImplementation) (event.Subscription, error)

WatchUpdatePoolImplementation is a free log subscription operation binding the contract event 0x0617fd31aa5ab95ec80eefc1eb61a2c477aa419d1d761b4e46f5f077e47852aa.

Solidity: event UpdatePoolImplementation(address _old_pool_implementation, address _new_pool_implementation)

func (*CurveCryptoSwapFactoryFilterer) WatchUpdateTokenImplementation

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactoryFilterer) WatchUpdateTokenImplementation(opts *bind.WatchOpts, sink chan<- *CurveCryptoSwapFactoryUpdateTokenImplementation) (event.Subscription, error)

WatchUpdateTokenImplementation is a free log subscription operation binding the contract event 0x1cc4f8e20b0cd3e5109eb156cadcfd3a5496ac0794c6085ca02afd7d710dd566.

Solidity: event UpdateTokenImplementation(address _old_token_implementation, address _new_token_implementation)

type CurveCryptoSwapFactoryLiquidityGaugeDeployed

type CurveCryptoSwapFactoryLiquidityGaugeDeployed struct {
	Pool  common.Address
	Token common.Address
	Gauge common.Address
	Raw   types.Log // Blockchain specific contextual infos
}

CurveCryptoSwapFactoryLiquidityGaugeDeployed represents a LiquidityGaugeDeployed event raised by the CurveCryptoSwapFactory contract.

type CurveCryptoSwapFactoryLiquidityGaugeDeployedIterator

type CurveCryptoSwapFactoryLiquidityGaugeDeployedIterator struct {
	Event *CurveCryptoSwapFactoryLiquidityGaugeDeployed // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CurveCryptoSwapFactoryLiquidityGaugeDeployedIterator is returned from FilterLiquidityGaugeDeployed and is used to iterate over the raw logs and unpacked data for LiquidityGaugeDeployed events raised by the CurveCryptoSwapFactory contract.

func (*CurveCryptoSwapFactoryLiquidityGaugeDeployedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CurveCryptoSwapFactoryLiquidityGaugeDeployedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurveCryptoSwapFactoryLiquidityGaugeDeployedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CurveCryptoSwapFactoryRaw

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

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

func (*CurveCryptoSwapFactoryRaw) Call

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactoryRaw) 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 (*CurveCryptoSwapFactoryRaw) Transact

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

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

func (*CurveCryptoSwapFactoryRaw) Transfer

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactoryRaw) 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 CurveCryptoSwapFactorySession

type CurveCryptoSwapFactorySession struct {
	Contract     *CurveCryptoSwapFactory // 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
}

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

func (*CurveCryptoSwapFactorySession) AcceptTransferOwnership

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactorySession) AcceptTransferOwnership() (*types.Transaction, error)

AcceptTransferOwnership is a paid mutator transaction binding the contract method 0xe5ea47b8.

Solidity: function accept_transfer_ownership() returns()

func (*CurveCryptoSwapFactorySession) Admin

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactorySession) Admin() (common.Address, error)

Admin is a free data retrieval call binding the contract method 0xf851a440.

Solidity: function admin() view returns(address)

func (*CurveCryptoSwapFactorySession) CommitTransferOwnership

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactorySession) CommitTransferOwnership(_addr common.Address) (*types.Transaction, error)

CommitTransferOwnership is a paid mutator transaction binding the contract method 0x6b441a40.

Solidity: function commit_transfer_ownership(address _addr) returns()

func (*CurveCryptoSwapFactorySession) DeployGauge

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactorySession) DeployGauge(_pool common.Address) (*types.Transaction, error)

DeployGauge is a paid mutator transaction binding the contract method 0x96bebb34.

Solidity: function deploy_gauge(address _pool) returns(address)

func (*CurveCryptoSwapFactorySession) DeployPool

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactorySession) DeployPool(_name string, _symbol string, _coins [2]common.Address, A *big.Int, gamma *big.Int, mid_fee *big.Int, out_fee *big.Int, allowed_extra_profit *big.Int, fee_gamma *big.Int, adjustment_step *big.Int, admin_fee *big.Int, ma_half_time *big.Int, initial_price *big.Int) (*types.Transaction, error)

DeployPool is a paid mutator transaction binding the contract method 0xc955fa04.

Solidity: function deploy_pool(string _name, string _symbol, address[2] _coins, uint256 A, uint256 gamma, uint256 mid_fee, uint256 out_fee, uint256 allowed_extra_profit, uint256 fee_gamma, uint256 adjustment_step, uint256 admin_fee, uint256 ma_half_time, uint256 initial_price) returns(address)

func (*CurveCryptoSwapFactorySession) FeeReceiver

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactorySession) FeeReceiver() (common.Address, error)

FeeReceiver is a free data retrieval call binding the contract method 0xcab4d3db.

Solidity: function fee_receiver() view returns(address)

func (*CurveCryptoSwapFactorySession) FindPoolForCoins

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactorySession) FindPoolForCoins(_from common.Address, _to common.Address) (common.Address, error)

FindPoolForCoins is a free data retrieval call binding the contract method 0xa87df06c.

Solidity: function find_pool_for_coins(address _from, address _to) view returns(address)

func (*CurveCryptoSwapFactorySession) FindPoolForCoins0

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactorySession) FindPoolForCoins0(_from common.Address, _to common.Address, i *big.Int) (common.Address, error)

FindPoolForCoins0 is a free data retrieval call binding the contract method 0x6982eb0b.

Solidity: function find_pool_for_coins(address _from, address _to, uint256 i) view returns(address)

func (*CurveCryptoSwapFactorySession) FutureAdmin

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactorySession) FutureAdmin() (common.Address, error)

FutureAdmin is a free data retrieval call binding the contract method 0x17f7182a.

Solidity: function future_admin() view returns(address)

func (*CurveCryptoSwapFactorySession) GaugeImplementation

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactorySession) GaugeImplementation() (common.Address, error)

GaugeImplementation is a free data retrieval call binding the contract method 0x8df24207.

Solidity: function gauge_implementation() view returns(address)

func (*CurveCryptoSwapFactorySession) GetBalances

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactorySession) GetBalances(_pool common.Address) ([2]*big.Int, error)

GetBalances is a free data retrieval call binding the contract method 0x92e3cc2d.

Solidity: function get_balances(address _pool) view returns(uint256[2])

func (*CurveCryptoSwapFactorySession) GetCoinIndices

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactorySession) GetCoinIndices(_pool common.Address, _from common.Address, _to common.Address) (*big.Int, *big.Int, error)

GetCoinIndices is a free data retrieval call binding the contract method 0xeb85226d.

Solidity: function get_coin_indices(address _pool, address _from, address _to) view returns(uint256, uint256)

func (*CurveCryptoSwapFactorySession) GetCoins

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactorySession) GetCoins(_pool common.Address) ([2]common.Address, error)

GetCoins is a free data retrieval call binding the contract method 0x9ac90d3d.

Solidity: function get_coins(address _pool) view returns(address[2])

func (*CurveCryptoSwapFactorySession) GetDecimals

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactorySession) GetDecimals(_pool common.Address) ([2]*big.Int, error)

GetDecimals is a free data retrieval call binding the contract method 0x52b51555.

Solidity: function get_decimals(address _pool) view returns(uint256[2])

func (*CurveCryptoSwapFactorySession) GetEthIndex

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactorySession) GetEthIndex(_pool common.Address) (*big.Int, error)

GetEthIndex is a free data retrieval call binding the contract method 0xccb15605.

Solidity: function get_eth_index(address _pool) view returns(uint256)

func (*CurveCryptoSwapFactorySession) GetGauge

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactorySession) GetGauge(_pool common.Address) (common.Address, error)

GetGauge is a free data retrieval call binding the contract method 0xdaf297b9.

Solidity: function get_gauge(address _pool) view returns(address)

func (*CurveCryptoSwapFactorySession) GetToken

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactorySession) GetToken(_pool common.Address) (common.Address, error)

GetToken is a free data retrieval call binding the contract method 0x977d9122.

Solidity: function get_token(address _pool) view returns(address)

func (*CurveCryptoSwapFactorySession) PoolCount

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactorySession) PoolCount() (*big.Int, error)

PoolCount is a free data retrieval call binding the contract method 0x956aae3a.

Solidity: function pool_count() view returns(uint256)

func (*CurveCryptoSwapFactorySession) PoolImplementation

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactorySession) PoolImplementation() (common.Address, error)

PoolImplementation is a free data retrieval call binding the contract method 0x2489a2c3.

Solidity: function pool_implementation() view returns(address)

func (*CurveCryptoSwapFactorySession) PoolList

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactorySession) PoolList(arg0 *big.Int) (common.Address, error)

PoolList is a free data retrieval call binding the contract method 0x3a1d5d8e.

Solidity: function pool_list(uint256 arg0) view returns(address)

func (*CurveCryptoSwapFactorySession) SetFeeReceiver

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactorySession) SetFeeReceiver(_fee_receiver common.Address) (*types.Transaction, error)

SetFeeReceiver is a paid mutator transaction binding the contract method 0xe41ab771.

Solidity: function set_fee_receiver(address _fee_receiver) returns()

func (*CurveCryptoSwapFactorySession) SetGaugeImplementation

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactorySession) SetGaugeImplementation(_gauge_implementation common.Address) (*types.Transaction, error)

SetGaugeImplementation is a paid mutator transaction binding the contract method 0x8f03182c.

Solidity: function set_gauge_implementation(address _gauge_implementation) returns()

func (*CurveCryptoSwapFactorySession) SetPoolImplementation

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactorySession) SetPoolImplementation(_pool_implementation common.Address) (*types.Transaction, error)

SetPoolImplementation is a paid mutator transaction binding the contract method 0x9ed796d0.

Solidity: function set_pool_implementation(address _pool_implementation) returns()

func (*CurveCryptoSwapFactorySession) SetTokenImplementation

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactorySession) SetTokenImplementation(_token_implementation common.Address) (*types.Transaction, error)

SetTokenImplementation is a paid mutator transaction binding the contract method 0x653023c2.

Solidity: function set_token_implementation(address _token_implementation) returns()

func (*CurveCryptoSwapFactorySession) TokenImplementation

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactorySession) TokenImplementation() (common.Address, error)

TokenImplementation is a free data retrieval call binding the contract method 0x35214d81.

Solidity: function token_implementation() view returns(address)

type CurveCryptoSwapFactoryTransactor

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

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

func NewCurveCryptoSwapFactoryTransactor

func NewCurveCryptoSwapFactoryTransactor(address common.Address, transactor bind.ContractTransactor) (*CurveCryptoSwapFactoryTransactor, error)

NewCurveCryptoSwapFactoryTransactor creates a new write-only instance of CurveCryptoSwapFactory, bound to a specific deployed contract.

func (*CurveCryptoSwapFactoryTransactor) AcceptTransferOwnership

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactoryTransactor) AcceptTransferOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

AcceptTransferOwnership is a paid mutator transaction binding the contract method 0xe5ea47b8.

Solidity: function accept_transfer_ownership() returns()

func (*CurveCryptoSwapFactoryTransactor) CommitTransferOwnership

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactoryTransactor) CommitTransferOwnership(opts *bind.TransactOpts, _addr common.Address) (*types.Transaction, error)

CommitTransferOwnership is a paid mutator transaction binding the contract method 0x6b441a40.

Solidity: function commit_transfer_ownership(address _addr) returns()

func (*CurveCryptoSwapFactoryTransactor) DeployGauge

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactoryTransactor) DeployGauge(opts *bind.TransactOpts, _pool common.Address) (*types.Transaction, error)

DeployGauge is a paid mutator transaction binding the contract method 0x96bebb34.

Solidity: function deploy_gauge(address _pool) returns(address)

func (*CurveCryptoSwapFactoryTransactor) DeployPool

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactoryTransactor) DeployPool(opts *bind.TransactOpts, _name string, _symbol string, _coins [2]common.Address, A *big.Int, gamma *big.Int, mid_fee *big.Int, out_fee *big.Int, allowed_extra_profit *big.Int, fee_gamma *big.Int, adjustment_step *big.Int, admin_fee *big.Int, ma_half_time *big.Int, initial_price *big.Int) (*types.Transaction, error)

DeployPool is a paid mutator transaction binding the contract method 0xc955fa04.

Solidity: function deploy_pool(string _name, string _symbol, address[2] _coins, uint256 A, uint256 gamma, uint256 mid_fee, uint256 out_fee, uint256 allowed_extra_profit, uint256 fee_gamma, uint256 adjustment_step, uint256 admin_fee, uint256 ma_half_time, uint256 initial_price) returns(address)

func (*CurveCryptoSwapFactoryTransactor) SetFeeReceiver

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactoryTransactor) SetFeeReceiver(opts *bind.TransactOpts, _fee_receiver common.Address) (*types.Transaction, error)

SetFeeReceiver is a paid mutator transaction binding the contract method 0xe41ab771.

Solidity: function set_fee_receiver(address _fee_receiver) returns()

func (*CurveCryptoSwapFactoryTransactor) SetGaugeImplementation

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactoryTransactor) SetGaugeImplementation(opts *bind.TransactOpts, _gauge_implementation common.Address) (*types.Transaction, error)

SetGaugeImplementation is a paid mutator transaction binding the contract method 0x8f03182c.

Solidity: function set_gauge_implementation(address _gauge_implementation) returns()

func (*CurveCryptoSwapFactoryTransactor) SetPoolImplementation

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactoryTransactor) SetPoolImplementation(opts *bind.TransactOpts, _pool_implementation common.Address) (*types.Transaction, error)

SetPoolImplementation is a paid mutator transaction binding the contract method 0x9ed796d0.

Solidity: function set_pool_implementation(address _pool_implementation) returns()

func (*CurveCryptoSwapFactoryTransactor) SetTokenImplementation

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactoryTransactor) SetTokenImplementation(opts *bind.TransactOpts, _token_implementation common.Address) (*types.Transaction, error)

SetTokenImplementation is a paid mutator transaction binding the contract method 0x653023c2.

Solidity: function set_token_implementation(address _token_implementation) returns()

type CurveCryptoSwapFactoryTransactorRaw

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

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

func (*CurveCryptoSwapFactoryTransactorRaw) Transact

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

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

func (*CurveCryptoSwapFactoryTransactorRaw) Transfer

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactoryTransactorRaw) 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 CurveCryptoSwapFactoryTransactorSession

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

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

func (*CurveCryptoSwapFactoryTransactorSession) AcceptTransferOwnership

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactoryTransactorSession) AcceptTransferOwnership() (*types.Transaction, error)

AcceptTransferOwnership is a paid mutator transaction binding the contract method 0xe5ea47b8.

Solidity: function accept_transfer_ownership() returns()

func (*CurveCryptoSwapFactoryTransactorSession) CommitTransferOwnership

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactoryTransactorSession) CommitTransferOwnership(_addr common.Address) (*types.Transaction, error)

CommitTransferOwnership is a paid mutator transaction binding the contract method 0x6b441a40.

Solidity: function commit_transfer_ownership(address _addr) returns()

func (*CurveCryptoSwapFactoryTransactorSession) DeployGauge

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactoryTransactorSession) DeployGauge(_pool common.Address) (*types.Transaction, error)

DeployGauge is a paid mutator transaction binding the contract method 0x96bebb34.

Solidity: function deploy_gauge(address _pool) returns(address)

func (*CurveCryptoSwapFactoryTransactorSession) DeployPool

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactoryTransactorSession) DeployPool(_name string, _symbol string, _coins [2]common.Address, A *big.Int, gamma *big.Int, mid_fee *big.Int, out_fee *big.Int, allowed_extra_profit *big.Int, fee_gamma *big.Int, adjustment_step *big.Int, admin_fee *big.Int, ma_half_time *big.Int, initial_price *big.Int) (*types.Transaction, error)

DeployPool is a paid mutator transaction binding the contract method 0xc955fa04.

Solidity: function deploy_pool(string _name, string _symbol, address[2] _coins, uint256 A, uint256 gamma, uint256 mid_fee, uint256 out_fee, uint256 allowed_extra_profit, uint256 fee_gamma, uint256 adjustment_step, uint256 admin_fee, uint256 ma_half_time, uint256 initial_price) returns(address)

func (*CurveCryptoSwapFactoryTransactorSession) SetFeeReceiver

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactoryTransactorSession) SetFeeReceiver(_fee_receiver common.Address) (*types.Transaction, error)

SetFeeReceiver is a paid mutator transaction binding the contract method 0xe41ab771.

Solidity: function set_fee_receiver(address _fee_receiver) returns()

func (*CurveCryptoSwapFactoryTransactorSession) SetGaugeImplementation

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactoryTransactorSession) SetGaugeImplementation(_gauge_implementation common.Address) (*types.Transaction, error)

SetGaugeImplementation is a paid mutator transaction binding the contract method 0x8f03182c.

Solidity: function set_gauge_implementation(address _gauge_implementation) returns()

func (*CurveCryptoSwapFactoryTransactorSession) SetPoolImplementation

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactoryTransactorSession) SetPoolImplementation(_pool_implementation common.Address) (*types.Transaction, error)

SetPoolImplementation is a paid mutator transaction binding the contract method 0x9ed796d0.

Solidity: function set_pool_implementation(address _pool_implementation) returns()

func (*CurveCryptoSwapFactoryTransactorSession) SetTokenImplementation

func (_CurveCryptoSwapFactory *CurveCryptoSwapFactoryTransactorSession) SetTokenImplementation(_token_implementation common.Address) (*types.Transaction, error)

SetTokenImplementation is a paid mutator transaction binding the contract method 0x653023c2.

Solidity: function set_token_implementation(address _token_implementation) returns()

type CurveCryptoSwapFactoryTransferOwnership

type CurveCryptoSwapFactoryTransferOwnership struct {
	OldOwner common.Address
	NewOwner common.Address
	Raw      types.Log // Blockchain specific contextual infos
}

CurveCryptoSwapFactoryTransferOwnership represents a TransferOwnership event raised by the CurveCryptoSwapFactory contract.

type CurveCryptoSwapFactoryTransferOwnershipIterator

type CurveCryptoSwapFactoryTransferOwnershipIterator struct {
	Event *CurveCryptoSwapFactoryTransferOwnership // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CurveCryptoSwapFactoryTransferOwnershipIterator is returned from FilterTransferOwnership and is used to iterate over the raw logs and unpacked data for TransferOwnership events raised by the CurveCryptoSwapFactory contract.

func (*CurveCryptoSwapFactoryTransferOwnershipIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CurveCryptoSwapFactoryTransferOwnershipIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurveCryptoSwapFactoryTransferOwnershipIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CurveCryptoSwapFactoryUpdateFeeReceiver

type CurveCryptoSwapFactoryUpdateFeeReceiver struct {
	OldFeeReceiver common.Address
	NewFeeReceiver common.Address
	Raw            types.Log // Blockchain specific contextual infos
}

CurveCryptoSwapFactoryUpdateFeeReceiver represents a UpdateFeeReceiver event raised by the CurveCryptoSwapFactory contract.

type CurveCryptoSwapFactoryUpdateFeeReceiverIterator

type CurveCryptoSwapFactoryUpdateFeeReceiverIterator struct {
	Event *CurveCryptoSwapFactoryUpdateFeeReceiver // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CurveCryptoSwapFactoryUpdateFeeReceiverIterator is returned from FilterUpdateFeeReceiver and is used to iterate over the raw logs and unpacked data for UpdateFeeReceiver events raised by the CurveCryptoSwapFactory contract.

func (*CurveCryptoSwapFactoryUpdateFeeReceiverIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CurveCryptoSwapFactoryUpdateFeeReceiverIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurveCryptoSwapFactoryUpdateFeeReceiverIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CurveCryptoSwapFactoryUpdateGaugeImplementation

type CurveCryptoSwapFactoryUpdateGaugeImplementation struct {
	OldGaugeImplementation common.Address
	NewGaugeImplementation common.Address
	Raw                    types.Log // Blockchain specific contextual infos
}

CurveCryptoSwapFactoryUpdateGaugeImplementation represents a UpdateGaugeImplementation event raised by the CurveCryptoSwapFactory contract.

type CurveCryptoSwapFactoryUpdateGaugeImplementationIterator

type CurveCryptoSwapFactoryUpdateGaugeImplementationIterator struct {
	Event *CurveCryptoSwapFactoryUpdateGaugeImplementation // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CurveCryptoSwapFactoryUpdateGaugeImplementationIterator is returned from FilterUpdateGaugeImplementation and is used to iterate over the raw logs and unpacked data for UpdateGaugeImplementation events raised by the CurveCryptoSwapFactory contract.

func (*CurveCryptoSwapFactoryUpdateGaugeImplementationIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CurveCryptoSwapFactoryUpdateGaugeImplementationIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurveCryptoSwapFactoryUpdateGaugeImplementationIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CurveCryptoSwapFactoryUpdatePoolImplementation

type CurveCryptoSwapFactoryUpdatePoolImplementation struct {
	OldPoolImplementation common.Address
	NewPoolImplementation common.Address
	Raw                   types.Log // Blockchain specific contextual infos
}

CurveCryptoSwapFactoryUpdatePoolImplementation represents a UpdatePoolImplementation event raised by the CurveCryptoSwapFactory contract.

type CurveCryptoSwapFactoryUpdatePoolImplementationIterator

type CurveCryptoSwapFactoryUpdatePoolImplementationIterator struct {
	Event *CurveCryptoSwapFactoryUpdatePoolImplementation // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CurveCryptoSwapFactoryUpdatePoolImplementationIterator is returned from FilterUpdatePoolImplementation and is used to iterate over the raw logs and unpacked data for UpdatePoolImplementation events raised by the CurveCryptoSwapFactory contract.

func (*CurveCryptoSwapFactoryUpdatePoolImplementationIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CurveCryptoSwapFactoryUpdatePoolImplementationIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurveCryptoSwapFactoryUpdatePoolImplementationIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CurveCryptoSwapFactoryUpdateTokenImplementation

type CurveCryptoSwapFactoryUpdateTokenImplementation struct {
	OldTokenImplementation common.Address
	NewTokenImplementation common.Address
	Raw                    types.Log // Blockchain specific contextual infos
}

CurveCryptoSwapFactoryUpdateTokenImplementation represents a UpdateTokenImplementation event raised by the CurveCryptoSwapFactory contract.

type CurveCryptoSwapFactoryUpdateTokenImplementationIterator

type CurveCryptoSwapFactoryUpdateTokenImplementationIterator struct {
	Event *CurveCryptoSwapFactoryUpdateTokenImplementation // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CurveCryptoSwapFactoryUpdateTokenImplementationIterator is returned from FilterUpdateTokenImplementation and is used to iterate over the raw logs and unpacked data for UpdateTokenImplementation events raised by the CurveCryptoSwapFactory contract.

func (*CurveCryptoSwapFactoryUpdateTokenImplementationIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CurveCryptoSwapFactoryUpdateTokenImplementationIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurveCryptoSwapFactoryUpdateTokenImplementationIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CurveCryptoSwapRegistry

type CurveCryptoSwapRegistry struct {
	CurveCryptoSwapRegistryCaller     // Read-only binding to the contract
	CurveCryptoSwapRegistryTransactor // Write-only binding to the contract
	CurveCryptoSwapRegistryFilterer   // Log filterer for contract events
}

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

func NewCurveCryptoSwapRegistry

func NewCurveCryptoSwapRegistry(address common.Address, backend bind.ContractBackend) (*CurveCryptoSwapRegistry, error)

NewCurveCryptoSwapRegistry creates a new instance of CurveCryptoSwapRegistry, bound to a specific deployed contract.

type CurveCryptoSwapRegistryCaller

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

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

func NewCurveCryptoSwapRegistryCaller

func NewCurveCryptoSwapRegistryCaller(address common.Address, caller bind.ContractCaller) (*CurveCryptoSwapRegistryCaller, error)

NewCurveCryptoSwapRegistryCaller creates a new read-only instance of CurveCryptoSwapRegistry, bound to a specific deployed contract.

func (*CurveCryptoSwapRegistryCaller) AddressProvider

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistryCaller) AddressProvider(opts *bind.CallOpts) (common.Address, error)

AddressProvider is a free data retrieval call binding the contract method 0xce50c2e7.

Solidity: function address_provider() view returns(address)

func (*CurveCryptoSwapRegistryCaller) CoinCount

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistryCaller) CoinCount(opts *bind.CallOpts) (*big.Int, error)

CoinCount is a free data retrieval call binding the contract method 0x5075770f.

Solidity: function coin_count() view returns(uint256)

func (*CurveCryptoSwapRegistryCaller) FindPoolForCoins

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistryCaller) FindPoolForCoins(opts *bind.CallOpts, _from common.Address, _to common.Address) (common.Address, error)

FindPoolForCoins is a free data retrieval call binding the contract method 0xa87df06c.

Solidity: function find_pool_for_coins(address _from, address _to) view returns(address)

func (*CurveCryptoSwapRegistryCaller) FindPoolForCoins0

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistryCaller) FindPoolForCoins0(opts *bind.CallOpts, _from common.Address, _to common.Address, i *big.Int) (common.Address, error)

FindPoolForCoins0 is a free data retrieval call binding the contract method 0x6982eb0b.

Solidity: function find_pool_for_coins(address _from, address _to, uint256 i) view returns(address)

func (*CurveCryptoSwapRegistryCaller) GetA

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistryCaller) GetA(opts *bind.CallOpts, _pool common.Address) (*big.Int, error)

GetA is a free data retrieval call binding the contract method 0x55b30b19.

Solidity: function get_A(address _pool) view returns(uint256)

func (*CurveCryptoSwapRegistryCaller) GetAdminBalances

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistryCaller) GetAdminBalances(opts *bind.CallOpts, _pool common.Address) ([8]*big.Int, error)

GetAdminBalances is a free data retrieval call binding the contract method 0xc11e45b8.

Solidity: function get_admin_balances(address _pool) view returns(uint256[8])

func (*CurveCryptoSwapRegistryCaller) GetBalances

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistryCaller) GetBalances(opts *bind.CallOpts, _pool common.Address) ([8]*big.Int, error)

GetBalances is a free data retrieval call binding the contract method 0x92e3cc2d.

Solidity: function get_balances(address _pool) view returns(uint256[8])

func (*CurveCryptoSwapRegistryCaller) GetCoin

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistryCaller) GetCoin(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)

GetCoin is a free data retrieval call binding the contract method 0x45f0db24.

Solidity: function get_coin(uint256 arg0) view returns(address)

func (*CurveCryptoSwapRegistryCaller) GetCoinIndices

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistryCaller) GetCoinIndices(opts *bind.CallOpts, _pool common.Address, _from common.Address, _to common.Address) (*big.Int, *big.Int, error)

GetCoinIndices is a free data retrieval call binding the contract method 0xeb85226d.

Solidity: function get_coin_indices(address _pool, address _from, address _to) view returns(uint256, uint256)

func (*CurveCryptoSwapRegistryCaller) GetCoinSwapComplement

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistryCaller) GetCoinSwapComplement(opts *bind.CallOpts, _coin common.Address, _index *big.Int) (common.Address, error)

GetCoinSwapComplement is a free data retrieval call binding the contract method 0x5d211982.

Solidity: function get_coin_swap_complement(address _coin, uint256 _index) view returns(address)

func (*CurveCryptoSwapRegistryCaller) GetCoinSwapCount

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistryCaller) GetCoinSwapCount(opts *bind.CallOpts, _coin common.Address) (*big.Int, error)

GetCoinSwapCount is a free data retrieval call binding the contract method 0x98aede16.

Solidity: function get_coin_swap_count(address _coin) view returns(uint256)

func (*CurveCryptoSwapRegistryCaller) GetCoins

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistryCaller) GetCoins(opts *bind.CallOpts, _pool common.Address) ([8]common.Address, error)

GetCoins is a free data retrieval call binding the contract method 0x9ac90d3d.

Solidity: function get_coins(address _pool) view returns(address[8])

func (*CurveCryptoSwapRegistryCaller) GetD

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistryCaller) GetD(opts *bind.CallOpts, _pool common.Address) (*big.Int, error)

GetD is a free data retrieval call binding the contract method 0xe3663c99.

Solidity: function get_D(address _pool) view returns(uint256)

func (*CurveCryptoSwapRegistryCaller) GetDecimals

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistryCaller) GetDecimals(opts *bind.CallOpts, _pool common.Address) ([8]*big.Int, error)

GetDecimals is a free data retrieval call binding the contract method 0x52b51555.

Solidity: function get_decimals(address _pool) view returns(uint256[8])

func (*CurveCryptoSwapRegistryCaller) GetFees

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistryCaller) GetFees(opts *bind.CallOpts, _pool common.Address) ([4]*big.Int, error)

GetFees is a free data retrieval call binding the contract method 0x7cdb72b0.

Solidity: function get_fees(address _pool) view returns(uint256[4])

func (*CurveCryptoSwapRegistryCaller) GetGamma

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistryCaller) GetGamma(opts *bind.CallOpts, _pool common.Address) (*big.Int, error)

GetGamma is a free data retrieval call binding the contract method 0x7c400ccf.

Solidity: function get_gamma(address _pool) view returns(uint256)

func (*CurveCryptoSwapRegistryCaller) GetGauges

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistryCaller) GetGauges(opts *bind.CallOpts, _pool common.Address) ([10]common.Address, [10]*big.Int, error)

GetGauges is a free data retrieval call binding the contract method 0x56059ffb.

Solidity: function get_gauges(address _pool) view returns(address[10], int128[10])

func (*CurveCryptoSwapRegistryCaller) GetLpToken

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistryCaller) GetLpToken(opts *bind.CallOpts, arg0 common.Address) (common.Address, error)

GetLpToken is a free data retrieval call binding the contract method 0x37951049.

Solidity: function get_lp_token(address arg0) view returns(address)

func (*CurveCryptoSwapRegistryCaller) GetNCoins

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistryCaller) GetNCoins(opts *bind.CallOpts, _pool common.Address) (*big.Int, error)

GetNCoins is a free data retrieval call binding the contract method 0x940494f1.

Solidity: function get_n_coins(address _pool) view returns(uint256)

func (*CurveCryptoSwapRegistryCaller) GetPoolFromLpToken

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistryCaller) GetPoolFromLpToken(opts *bind.CallOpts, arg0 common.Address) (common.Address, error)

GetPoolFromLpToken is a free data retrieval call binding the contract method 0xbdf475c3.

Solidity: function get_pool_from_lp_token(address arg0) view returns(address)

func (*CurveCryptoSwapRegistryCaller) GetPoolName

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistryCaller) GetPoolName(opts *bind.CallOpts, _pool common.Address) (string, error)

GetPoolName is a free data retrieval call binding the contract method 0x5c911741.

Solidity: function get_pool_name(address _pool) view returns(string)

func (*CurveCryptoSwapRegistryCaller) GetVirtualPriceFromLpToken

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistryCaller) GetVirtualPriceFromLpToken(opts *bind.CallOpts, _token common.Address) (*big.Int, error)

GetVirtualPriceFromLpToken is a free data retrieval call binding the contract method 0xc5b7074a.

Solidity: function get_virtual_price_from_lp_token(address _token) view returns(uint256)

func (*CurveCryptoSwapRegistryCaller) GetZap

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistryCaller) GetZap(opts *bind.CallOpts, arg0 common.Address) (common.Address, error)

GetZap is a free data retrieval call binding the contract method 0x55335d7b.

Solidity: function get_zap(address arg0) view returns(address)

func (*CurveCryptoSwapRegistryCaller) LastUpdated

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistryCaller) LastUpdated(opts *bind.CallOpts) (*big.Int, error)

LastUpdated is a free data retrieval call binding the contract method 0x68900961.

Solidity: function last_updated() view returns(uint256)

func (*CurveCryptoSwapRegistryCaller) PoolCount

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistryCaller) PoolCount(opts *bind.CallOpts) (*big.Int, error)

PoolCount is a free data retrieval call binding the contract method 0x956aae3a.

Solidity: function pool_count() view returns(uint256)

func (*CurveCryptoSwapRegistryCaller) PoolList

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistryCaller) PoolList(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)

PoolList is a free data retrieval call binding the contract method 0x3a1d5d8e.

Solidity: function pool_list(uint256 arg0) view returns(address)

type CurveCryptoSwapRegistryCallerRaw

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

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

func (*CurveCryptoSwapRegistryCallerRaw) Call

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistryCallerRaw) 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 CurveCryptoSwapRegistryCallerSession

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

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

func (*CurveCryptoSwapRegistryCallerSession) AddressProvider

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistryCallerSession) AddressProvider() (common.Address, error)

AddressProvider is a free data retrieval call binding the contract method 0xce50c2e7.

Solidity: function address_provider() view returns(address)

func (*CurveCryptoSwapRegistryCallerSession) CoinCount

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistryCallerSession) CoinCount() (*big.Int, error)

CoinCount is a free data retrieval call binding the contract method 0x5075770f.

Solidity: function coin_count() view returns(uint256)

func (*CurveCryptoSwapRegistryCallerSession) FindPoolForCoins

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistryCallerSession) FindPoolForCoins(_from common.Address, _to common.Address) (common.Address, error)

FindPoolForCoins is a free data retrieval call binding the contract method 0xa87df06c.

Solidity: function find_pool_for_coins(address _from, address _to) view returns(address)

func (*CurveCryptoSwapRegistryCallerSession) FindPoolForCoins0

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistryCallerSession) FindPoolForCoins0(_from common.Address, _to common.Address, i *big.Int) (common.Address, error)

FindPoolForCoins0 is a free data retrieval call binding the contract method 0x6982eb0b.

Solidity: function find_pool_for_coins(address _from, address _to, uint256 i) view returns(address)

func (*CurveCryptoSwapRegistryCallerSession) GetA

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistryCallerSession) GetA(_pool common.Address) (*big.Int, error)

GetA is a free data retrieval call binding the contract method 0x55b30b19.

Solidity: function get_A(address _pool) view returns(uint256)

func (*CurveCryptoSwapRegistryCallerSession) GetAdminBalances

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistryCallerSession) GetAdminBalances(_pool common.Address) ([8]*big.Int, error)

GetAdminBalances is a free data retrieval call binding the contract method 0xc11e45b8.

Solidity: function get_admin_balances(address _pool) view returns(uint256[8])

func (*CurveCryptoSwapRegistryCallerSession) GetBalances

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistryCallerSession) GetBalances(_pool common.Address) ([8]*big.Int, error)

GetBalances is a free data retrieval call binding the contract method 0x92e3cc2d.

Solidity: function get_balances(address _pool) view returns(uint256[8])

func (*CurveCryptoSwapRegistryCallerSession) GetCoin

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistryCallerSession) GetCoin(arg0 *big.Int) (common.Address, error)

GetCoin is a free data retrieval call binding the contract method 0x45f0db24.

Solidity: function get_coin(uint256 arg0) view returns(address)

func (*CurveCryptoSwapRegistryCallerSession) GetCoinIndices

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistryCallerSession) GetCoinIndices(_pool common.Address, _from common.Address, _to common.Address) (*big.Int, *big.Int, error)

GetCoinIndices is a free data retrieval call binding the contract method 0xeb85226d.

Solidity: function get_coin_indices(address _pool, address _from, address _to) view returns(uint256, uint256)

func (*CurveCryptoSwapRegistryCallerSession) GetCoinSwapComplement

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistryCallerSession) GetCoinSwapComplement(_coin common.Address, _index *big.Int) (common.Address, error)

GetCoinSwapComplement is a free data retrieval call binding the contract method 0x5d211982.

Solidity: function get_coin_swap_complement(address _coin, uint256 _index) view returns(address)

func (*CurveCryptoSwapRegistryCallerSession) GetCoinSwapCount

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistryCallerSession) GetCoinSwapCount(_coin common.Address) (*big.Int, error)

GetCoinSwapCount is a free data retrieval call binding the contract method 0x98aede16.

Solidity: function get_coin_swap_count(address _coin) view returns(uint256)

func (*CurveCryptoSwapRegistryCallerSession) GetCoins

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistryCallerSession) GetCoins(_pool common.Address) ([8]common.Address, error)

GetCoins is a free data retrieval call binding the contract method 0x9ac90d3d.

Solidity: function get_coins(address _pool) view returns(address[8])

func (*CurveCryptoSwapRegistryCallerSession) GetD

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistryCallerSession) GetD(_pool common.Address) (*big.Int, error)

GetD is a free data retrieval call binding the contract method 0xe3663c99.

Solidity: function get_D(address _pool) view returns(uint256)

func (*CurveCryptoSwapRegistryCallerSession) GetDecimals

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistryCallerSession) GetDecimals(_pool common.Address) ([8]*big.Int, error)

GetDecimals is a free data retrieval call binding the contract method 0x52b51555.

Solidity: function get_decimals(address _pool) view returns(uint256[8])

func (*CurveCryptoSwapRegistryCallerSession) GetFees

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistryCallerSession) GetFees(_pool common.Address) ([4]*big.Int, error)

GetFees is a free data retrieval call binding the contract method 0x7cdb72b0.

Solidity: function get_fees(address _pool) view returns(uint256[4])

func (*CurveCryptoSwapRegistryCallerSession) GetGamma

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistryCallerSession) GetGamma(_pool common.Address) (*big.Int, error)

GetGamma is a free data retrieval call binding the contract method 0x7c400ccf.

Solidity: function get_gamma(address _pool) view returns(uint256)

func (*CurveCryptoSwapRegistryCallerSession) GetGauges

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistryCallerSession) GetGauges(_pool common.Address) ([10]common.Address, [10]*big.Int, error)

GetGauges is a free data retrieval call binding the contract method 0x56059ffb.

Solidity: function get_gauges(address _pool) view returns(address[10], int128[10])

func (*CurveCryptoSwapRegistryCallerSession) GetLpToken

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistryCallerSession) GetLpToken(arg0 common.Address) (common.Address, error)

GetLpToken is a free data retrieval call binding the contract method 0x37951049.

Solidity: function get_lp_token(address arg0) view returns(address)

func (*CurveCryptoSwapRegistryCallerSession) GetNCoins

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistryCallerSession) GetNCoins(_pool common.Address) (*big.Int, error)

GetNCoins is a free data retrieval call binding the contract method 0x940494f1.

Solidity: function get_n_coins(address _pool) view returns(uint256)

func (*CurveCryptoSwapRegistryCallerSession) GetPoolFromLpToken

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistryCallerSession) GetPoolFromLpToken(arg0 common.Address) (common.Address, error)

GetPoolFromLpToken is a free data retrieval call binding the contract method 0xbdf475c3.

Solidity: function get_pool_from_lp_token(address arg0) view returns(address)

func (*CurveCryptoSwapRegistryCallerSession) GetPoolName

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistryCallerSession) GetPoolName(_pool common.Address) (string, error)

GetPoolName is a free data retrieval call binding the contract method 0x5c911741.

Solidity: function get_pool_name(address _pool) view returns(string)

func (*CurveCryptoSwapRegistryCallerSession) GetVirtualPriceFromLpToken

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistryCallerSession) GetVirtualPriceFromLpToken(_token common.Address) (*big.Int, error)

GetVirtualPriceFromLpToken is a free data retrieval call binding the contract method 0xc5b7074a.

Solidity: function get_virtual_price_from_lp_token(address _token) view returns(uint256)

func (*CurveCryptoSwapRegistryCallerSession) GetZap

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistryCallerSession) GetZap(arg0 common.Address) (common.Address, error)

GetZap is a free data retrieval call binding the contract method 0x55335d7b.

Solidity: function get_zap(address arg0) view returns(address)

func (*CurveCryptoSwapRegistryCallerSession) LastUpdated

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistryCallerSession) LastUpdated() (*big.Int, error)

LastUpdated is a free data retrieval call binding the contract method 0x68900961.

Solidity: function last_updated() view returns(uint256)

func (*CurveCryptoSwapRegistryCallerSession) PoolCount

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistryCallerSession) PoolCount() (*big.Int, error)

PoolCount is a free data retrieval call binding the contract method 0x956aae3a.

Solidity: function pool_count() view returns(uint256)

func (*CurveCryptoSwapRegistryCallerSession) PoolList

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistryCallerSession) PoolList(arg0 *big.Int) (common.Address, error)

PoolList is a free data retrieval call binding the contract method 0x3a1d5d8e.

Solidity: function pool_list(uint256 arg0) view returns(address)

type CurveCryptoSwapRegistryFilterer

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

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

func NewCurveCryptoSwapRegistryFilterer

func NewCurveCryptoSwapRegistryFilterer(address common.Address, filterer bind.ContractFilterer) (*CurveCryptoSwapRegistryFilterer, error)

NewCurveCryptoSwapRegistryFilterer creates a new log filterer instance of CurveCryptoSwapRegistry, bound to a specific deployed contract.

func (*CurveCryptoSwapRegistryFilterer) FilterPoolAdded

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistryFilterer) FilterPoolAdded(opts *bind.FilterOpts, pool []common.Address) (*CurveCryptoSwapRegistryPoolAddedIterator, error)

FilterPoolAdded is a free log retrieval operation binding the contract event 0x73cca62ab1b520c9715bf4e6c71e3e518c754e7148f65102f43289a7df0efea6.

Solidity: event PoolAdded(address indexed pool)

func (*CurveCryptoSwapRegistryFilterer) FilterPoolRemoved

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistryFilterer) FilterPoolRemoved(opts *bind.FilterOpts, pool []common.Address) (*CurveCryptoSwapRegistryPoolRemovedIterator, error)

FilterPoolRemoved is a free log retrieval operation binding the contract event 0x4106dfdaa577573db51c0ca93f766dbedfa0758faa2e7f5bcdb7c142be803c3f.

Solidity: event PoolRemoved(address indexed pool)

func (*CurveCryptoSwapRegistryFilterer) ParsePoolAdded

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistryFilterer) ParsePoolAdded(log types.Log) (*CurveCryptoSwapRegistryPoolAdded, error)

ParsePoolAdded is a log parse operation binding the contract event 0x73cca62ab1b520c9715bf4e6c71e3e518c754e7148f65102f43289a7df0efea6.

Solidity: event PoolAdded(address indexed pool)

func (*CurveCryptoSwapRegistryFilterer) ParsePoolRemoved

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistryFilterer) ParsePoolRemoved(log types.Log) (*CurveCryptoSwapRegistryPoolRemoved, error)

ParsePoolRemoved is a log parse operation binding the contract event 0x4106dfdaa577573db51c0ca93f766dbedfa0758faa2e7f5bcdb7c142be803c3f.

Solidity: event PoolRemoved(address indexed pool)

func (*CurveCryptoSwapRegistryFilterer) WatchPoolAdded

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistryFilterer) WatchPoolAdded(opts *bind.WatchOpts, sink chan<- *CurveCryptoSwapRegistryPoolAdded, pool []common.Address) (event.Subscription, error)

WatchPoolAdded is a free log subscription operation binding the contract event 0x73cca62ab1b520c9715bf4e6c71e3e518c754e7148f65102f43289a7df0efea6.

Solidity: event PoolAdded(address indexed pool)

func (*CurveCryptoSwapRegistryFilterer) WatchPoolRemoved

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistryFilterer) WatchPoolRemoved(opts *bind.WatchOpts, sink chan<- *CurveCryptoSwapRegistryPoolRemoved, pool []common.Address) (event.Subscription, error)

WatchPoolRemoved is a free log subscription operation binding the contract event 0x4106dfdaa577573db51c0ca93f766dbedfa0758faa2e7f5bcdb7c142be803c3f.

Solidity: event PoolRemoved(address indexed pool)

type CurveCryptoSwapRegistryPoolAdded

type CurveCryptoSwapRegistryPoolAdded struct {
	Pool common.Address
	Raw  types.Log // Blockchain specific contextual infos
}

CurveCryptoSwapRegistryPoolAdded represents a PoolAdded event raised by the CurveCryptoSwapRegistry contract.

type CurveCryptoSwapRegistryPoolAddedIterator

type CurveCryptoSwapRegistryPoolAddedIterator struct {
	Event *CurveCryptoSwapRegistryPoolAdded // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CurveCryptoSwapRegistryPoolAddedIterator is returned from FilterPoolAdded and is used to iterate over the raw logs and unpacked data for PoolAdded events raised by the CurveCryptoSwapRegistry contract.

func (*CurveCryptoSwapRegistryPoolAddedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CurveCryptoSwapRegistryPoolAddedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurveCryptoSwapRegistryPoolAddedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CurveCryptoSwapRegistryPoolRemoved

type CurveCryptoSwapRegistryPoolRemoved struct {
	Pool common.Address
	Raw  types.Log // Blockchain specific contextual infos
}

CurveCryptoSwapRegistryPoolRemoved represents a PoolRemoved event raised by the CurveCryptoSwapRegistry contract.

type CurveCryptoSwapRegistryPoolRemovedIterator

type CurveCryptoSwapRegistryPoolRemovedIterator struct {
	Event *CurveCryptoSwapRegistryPoolRemoved // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CurveCryptoSwapRegistryPoolRemovedIterator is returned from FilterPoolRemoved and is used to iterate over the raw logs and unpacked data for PoolRemoved events raised by the CurveCryptoSwapRegistry contract.

func (*CurveCryptoSwapRegistryPoolRemovedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CurveCryptoSwapRegistryPoolRemovedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurveCryptoSwapRegistryPoolRemovedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CurveCryptoSwapRegistryRaw

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

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

func (*CurveCryptoSwapRegistryRaw) Call

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistryRaw) 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 (*CurveCryptoSwapRegistryRaw) Transact

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

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

func (*CurveCryptoSwapRegistryRaw) Transfer

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistryRaw) 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 CurveCryptoSwapRegistrySession

type CurveCryptoSwapRegistrySession struct {
	Contract     *CurveCryptoSwapRegistry // 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
}

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

func (*CurveCryptoSwapRegistrySession) AddPool

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistrySession) AddPool(_pool common.Address, _n_coins *big.Int, _lp_token common.Address, _gauge common.Address, _zap common.Address, _decimals *big.Int, _name string) (*types.Transaction, error)

AddPool is a paid mutator transaction binding the contract method 0xc927255f.

Solidity: function add_pool(address _pool, uint256 _n_coins, address _lp_token, address _gauge, address _zap, uint256 _decimals, string _name) returns()

func (*CurveCryptoSwapRegistrySession) AddressProvider

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistrySession) AddressProvider() (common.Address, error)

AddressProvider is a free data retrieval call binding the contract method 0xce50c2e7.

Solidity: function address_provider() view returns(address)

func (*CurveCryptoSwapRegistrySession) BatchSetLiquidityGauges

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistrySession) BatchSetLiquidityGauges(_pools [10]common.Address, _liquidity_gauges [10]common.Address) (*types.Transaction, error)

BatchSetLiquidityGauges is a paid mutator transaction binding the contract method 0xfec61ef5.

Solidity: function batch_set_liquidity_gauges(address[10] _pools, address[10] _liquidity_gauges) returns()

func (*CurveCryptoSwapRegistrySession) CoinCount

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistrySession) CoinCount() (*big.Int, error)

CoinCount is a free data retrieval call binding the contract method 0x5075770f.

Solidity: function coin_count() view returns(uint256)

func (*CurveCryptoSwapRegistrySession) FindPoolForCoins

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistrySession) FindPoolForCoins(_from common.Address, _to common.Address) (common.Address, error)

FindPoolForCoins is a free data retrieval call binding the contract method 0xa87df06c.

Solidity: function find_pool_for_coins(address _from, address _to) view returns(address)

func (*CurveCryptoSwapRegistrySession) FindPoolForCoins0

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistrySession) FindPoolForCoins0(_from common.Address, _to common.Address, i *big.Int) (common.Address, error)

FindPoolForCoins0 is a free data retrieval call binding the contract method 0x6982eb0b.

Solidity: function find_pool_for_coins(address _from, address _to, uint256 i) view returns(address)

func (*CurveCryptoSwapRegistrySession) GetA

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistrySession) GetA(_pool common.Address) (*big.Int, error)

GetA is a free data retrieval call binding the contract method 0x55b30b19.

Solidity: function get_A(address _pool) view returns(uint256)

func (*CurveCryptoSwapRegistrySession) GetAdminBalances

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistrySession) GetAdminBalances(_pool common.Address) ([8]*big.Int, error)

GetAdminBalances is a free data retrieval call binding the contract method 0xc11e45b8.

Solidity: function get_admin_balances(address _pool) view returns(uint256[8])

func (*CurveCryptoSwapRegistrySession) GetBalances

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistrySession) GetBalances(_pool common.Address) ([8]*big.Int, error)

GetBalances is a free data retrieval call binding the contract method 0x92e3cc2d.

Solidity: function get_balances(address _pool) view returns(uint256[8])

func (*CurveCryptoSwapRegistrySession) GetCoin

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistrySession) GetCoin(arg0 *big.Int) (common.Address, error)

GetCoin is a free data retrieval call binding the contract method 0x45f0db24.

Solidity: function get_coin(uint256 arg0) view returns(address)

func (*CurveCryptoSwapRegistrySession) GetCoinIndices

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistrySession) GetCoinIndices(_pool common.Address, _from common.Address, _to common.Address) (*big.Int, *big.Int, error)

GetCoinIndices is a free data retrieval call binding the contract method 0xeb85226d.

Solidity: function get_coin_indices(address _pool, address _from, address _to) view returns(uint256, uint256)

func (*CurveCryptoSwapRegistrySession) GetCoinSwapComplement

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistrySession) GetCoinSwapComplement(_coin common.Address, _index *big.Int) (common.Address, error)

GetCoinSwapComplement is a free data retrieval call binding the contract method 0x5d211982.

Solidity: function get_coin_swap_complement(address _coin, uint256 _index) view returns(address)

func (*CurveCryptoSwapRegistrySession) GetCoinSwapCount

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistrySession) GetCoinSwapCount(_coin common.Address) (*big.Int, error)

GetCoinSwapCount is a free data retrieval call binding the contract method 0x98aede16.

Solidity: function get_coin_swap_count(address _coin) view returns(uint256)

func (*CurveCryptoSwapRegistrySession) GetCoins

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistrySession) GetCoins(_pool common.Address) ([8]common.Address, error)

GetCoins is a free data retrieval call binding the contract method 0x9ac90d3d.

Solidity: function get_coins(address _pool) view returns(address[8])

func (*CurveCryptoSwapRegistrySession) GetD

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistrySession) GetD(_pool common.Address) (*big.Int, error)

GetD is a free data retrieval call binding the contract method 0xe3663c99.

Solidity: function get_D(address _pool) view returns(uint256)

func (*CurveCryptoSwapRegistrySession) GetDecimals

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistrySession) GetDecimals(_pool common.Address) ([8]*big.Int, error)

GetDecimals is a free data retrieval call binding the contract method 0x52b51555.

Solidity: function get_decimals(address _pool) view returns(uint256[8])

func (*CurveCryptoSwapRegistrySession) GetFees

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistrySession) GetFees(_pool common.Address) ([4]*big.Int, error)

GetFees is a free data retrieval call binding the contract method 0x7cdb72b0.

Solidity: function get_fees(address _pool) view returns(uint256[4])

func (*CurveCryptoSwapRegistrySession) GetGamma

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistrySession) GetGamma(_pool common.Address) (*big.Int, error)

GetGamma is a free data retrieval call binding the contract method 0x7c400ccf.

Solidity: function get_gamma(address _pool) view returns(uint256)

func (*CurveCryptoSwapRegistrySession) GetGauges

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistrySession) GetGauges(_pool common.Address) ([10]common.Address, [10]*big.Int, error)

GetGauges is a free data retrieval call binding the contract method 0x56059ffb.

Solidity: function get_gauges(address _pool) view returns(address[10], int128[10])

func (*CurveCryptoSwapRegistrySession) GetLpToken

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistrySession) GetLpToken(arg0 common.Address) (common.Address, error)

GetLpToken is a free data retrieval call binding the contract method 0x37951049.

Solidity: function get_lp_token(address arg0) view returns(address)

func (*CurveCryptoSwapRegistrySession) GetNCoins

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistrySession) GetNCoins(_pool common.Address) (*big.Int, error)

GetNCoins is a free data retrieval call binding the contract method 0x940494f1.

Solidity: function get_n_coins(address _pool) view returns(uint256)

func (*CurveCryptoSwapRegistrySession) GetPoolFromLpToken

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistrySession) GetPoolFromLpToken(arg0 common.Address) (common.Address, error)

GetPoolFromLpToken is a free data retrieval call binding the contract method 0xbdf475c3.

Solidity: function get_pool_from_lp_token(address arg0) view returns(address)

func (*CurveCryptoSwapRegistrySession) GetPoolName

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistrySession) GetPoolName(_pool common.Address) (string, error)

GetPoolName is a free data retrieval call binding the contract method 0x5c911741.

Solidity: function get_pool_name(address _pool) view returns(string)

func (*CurveCryptoSwapRegistrySession) GetVirtualPriceFromLpToken

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistrySession) GetVirtualPriceFromLpToken(_token common.Address) (*big.Int, error)

GetVirtualPriceFromLpToken is a free data retrieval call binding the contract method 0xc5b7074a.

Solidity: function get_virtual_price_from_lp_token(address _token) view returns(uint256)

func (*CurveCryptoSwapRegistrySession) GetZap

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistrySession) GetZap(arg0 common.Address) (common.Address, error)

GetZap is a free data retrieval call binding the contract method 0x55335d7b.

Solidity: function get_zap(address arg0) view returns(address)

func (*CurveCryptoSwapRegistrySession) LastUpdated

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistrySession) LastUpdated() (*big.Int, error)

LastUpdated is a free data retrieval call binding the contract method 0x68900961.

Solidity: function last_updated() view returns(uint256)

func (*CurveCryptoSwapRegistrySession) PoolCount

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistrySession) PoolCount() (*big.Int, error)

PoolCount is a free data retrieval call binding the contract method 0x956aae3a.

Solidity: function pool_count() view returns(uint256)

func (*CurveCryptoSwapRegistrySession) PoolList

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistrySession) PoolList(arg0 *big.Int) (common.Address, error)

PoolList is a free data retrieval call binding the contract method 0x3a1d5d8e.

Solidity: function pool_list(uint256 arg0) view returns(address)

func (*CurveCryptoSwapRegistrySession) RemovePool

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistrySession) RemovePool(_pool common.Address) (*types.Transaction, error)

RemovePool is a paid mutator transaction binding the contract method 0x474932b0.

Solidity: function remove_pool(address _pool) returns()

func (*CurveCryptoSwapRegistrySession) SetLiquidityGauges

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistrySession) SetLiquidityGauges(_pool common.Address, _liquidity_gauges [10]common.Address) (*types.Transaction, error)

SetLiquidityGauges is a paid mutator transaction binding the contract method 0xef6b9788.

Solidity: function set_liquidity_gauges(address _pool, address[10] _liquidity_gauges) returns()

type CurveCryptoSwapRegistryTransactor

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

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

func NewCurveCryptoSwapRegistryTransactor

func NewCurveCryptoSwapRegistryTransactor(address common.Address, transactor bind.ContractTransactor) (*CurveCryptoSwapRegistryTransactor, error)

NewCurveCryptoSwapRegistryTransactor creates a new write-only instance of CurveCryptoSwapRegistry, bound to a specific deployed contract.

func (*CurveCryptoSwapRegistryTransactor) AddPool

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistryTransactor) AddPool(opts *bind.TransactOpts, _pool common.Address, _n_coins *big.Int, _lp_token common.Address, _gauge common.Address, _zap common.Address, _decimals *big.Int, _name string) (*types.Transaction, error)

AddPool is a paid mutator transaction binding the contract method 0xc927255f.

Solidity: function add_pool(address _pool, uint256 _n_coins, address _lp_token, address _gauge, address _zap, uint256 _decimals, string _name) returns()

func (*CurveCryptoSwapRegistryTransactor) BatchSetLiquidityGauges

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistryTransactor) BatchSetLiquidityGauges(opts *bind.TransactOpts, _pools [10]common.Address, _liquidity_gauges [10]common.Address) (*types.Transaction, error)

BatchSetLiquidityGauges is a paid mutator transaction binding the contract method 0xfec61ef5.

Solidity: function batch_set_liquidity_gauges(address[10] _pools, address[10] _liquidity_gauges) returns()

func (*CurveCryptoSwapRegistryTransactor) RemovePool

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistryTransactor) RemovePool(opts *bind.TransactOpts, _pool common.Address) (*types.Transaction, error)

RemovePool is a paid mutator transaction binding the contract method 0x474932b0.

Solidity: function remove_pool(address _pool) returns()

func (*CurveCryptoSwapRegistryTransactor) SetLiquidityGauges

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistryTransactor) SetLiquidityGauges(opts *bind.TransactOpts, _pool common.Address, _liquidity_gauges [10]common.Address) (*types.Transaction, error)

SetLiquidityGauges is a paid mutator transaction binding the contract method 0xef6b9788.

Solidity: function set_liquidity_gauges(address _pool, address[10] _liquidity_gauges) returns()

type CurveCryptoSwapRegistryTransactorRaw

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

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

func (*CurveCryptoSwapRegistryTransactorRaw) Transact

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

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

func (*CurveCryptoSwapRegistryTransactorRaw) Transfer

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistryTransactorRaw) 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 CurveCryptoSwapRegistryTransactorSession

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

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

func (*CurveCryptoSwapRegistryTransactorSession) AddPool

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistryTransactorSession) AddPool(_pool common.Address, _n_coins *big.Int, _lp_token common.Address, _gauge common.Address, _zap common.Address, _decimals *big.Int, _name string) (*types.Transaction, error)

AddPool is a paid mutator transaction binding the contract method 0xc927255f.

Solidity: function add_pool(address _pool, uint256 _n_coins, address _lp_token, address _gauge, address _zap, uint256 _decimals, string _name) returns()

func (*CurveCryptoSwapRegistryTransactorSession) BatchSetLiquidityGauges

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistryTransactorSession) BatchSetLiquidityGauges(_pools [10]common.Address, _liquidity_gauges [10]common.Address) (*types.Transaction, error)

BatchSetLiquidityGauges is a paid mutator transaction binding the contract method 0xfec61ef5.

Solidity: function batch_set_liquidity_gauges(address[10] _pools, address[10] _liquidity_gauges) returns()

func (*CurveCryptoSwapRegistryTransactorSession) RemovePool

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistryTransactorSession) RemovePool(_pool common.Address) (*types.Transaction, error)

RemovePool is a paid mutator transaction binding the contract method 0x474932b0.

Solidity: function remove_pool(address _pool) returns()

func (*CurveCryptoSwapRegistryTransactorSession) SetLiquidityGauges

func (_CurveCryptoSwapRegistry *CurveCryptoSwapRegistryTransactorSession) SetLiquidityGauges(_pool common.Address, _liquidity_gauges [10]common.Address) (*types.Transaction, error)

SetLiquidityGauges is a paid mutator transaction binding the contract method 0xef6b9788.

Solidity: function set_liquidity_gauges(address _pool, address[10] _liquidity_gauges) returns()

type CurveFactory

type CurveFactory struct {
	CurveFactoryCaller     // Read-only binding to the contract
	CurveFactoryTransactor // Write-only binding to the contract
	CurveFactoryFilterer   // Log filterer for contract events
}

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

func NewCurveFactory

func NewCurveFactory(address common.Address, backend bind.ContractBackend) (*CurveFactory, error)

NewCurveFactory creates a new instance of CurveFactory, bound to a specific deployed contract.

type CurveFactoryBasePoolAdded

type CurveFactoryBasePoolAdded struct {
	BasePool common.Address
	Raw      types.Log // Blockchain specific contextual infos
}

CurveFactoryBasePoolAdded represents a BasePoolAdded event raised by the CurveFactory contract.

type CurveFactoryBasePoolAddedIterator

type CurveFactoryBasePoolAddedIterator struct {
	Event *CurveFactoryBasePoolAdded // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CurveFactoryBasePoolAddedIterator is returned from FilterBasePoolAdded and is used to iterate over the raw logs and unpacked data for BasePoolAdded events raised by the CurveFactory contract.

func (*CurveFactoryBasePoolAddedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CurveFactoryBasePoolAddedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurveFactoryBasePoolAddedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CurveFactoryCaller

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

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

func NewCurveFactoryCaller

func NewCurveFactoryCaller(address common.Address, caller bind.ContractCaller) (*CurveFactoryCaller, error)

NewCurveFactoryCaller creates a new read-only instance of CurveFactory, bound to a specific deployed contract.

func (*CurveFactoryCaller) Admin

func (_CurveFactory *CurveFactoryCaller) Admin(opts *bind.CallOpts) (common.Address, error)

Admin is a free data retrieval call binding the contract method 0xf851a440.

Solidity: function admin() view returns(address)

func (*CurveFactoryCaller) BasePoolAssets

func (_CurveFactory *CurveFactoryCaller) BasePoolAssets(opts *bind.CallOpts, arg0 common.Address) (bool, error)

BasePoolAssets is a free data retrieval call binding the contract method 0x10a002df.

Solidity: function base_pool_assets(address arg0) view returns(bool)

func (*CurveFactoryCaller) BasePoolCount

func (_CurveFactory *CurveFactoryCaller) BasePoolCount(opts *bind.CallOpts) (*big.Int, error)

BasePoolCount is a free data retrieval call binding the contract method 0xde5e4a3b.

Solidity: function base_pool_count() view returns(uint256)

func (*CurveFactoryCaller) BasePoolList

func (_CurveFactory *CurveFactoryCaller) BasePoolList(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)

BasePoolList is a free data retrieval call binding the contract method 0x22fe5671.

Solidity: function base_pool_list(uint256 arg0) view returns(address)

func (*CurveFactoryCaller) FindPoolForCoins

func (_CurveFactory *CurveFactoryCaller) FindPoolForCoins(opts *bind.CallOpts, _from common.Address, _to common.Address) (common.Address, error)

FindPoolForCoins is a free data retrieval call binding the contract method 0xa87df06c.

Solidity: function find_pool_for_coins(address _from, address _to) view returns(address)

func (*CurveFactoryCaller) FindPoolForCoins0

func (_CurveFactory *CurveFactoryCaller) FindPoolForCoins0(opts *bind.CallOpts, _from common.Address, _to common.Address, i *big.Int) (common.Address, error)

FindPoolForCoins0 is a free data retrieval call binding the contract method 0x6982eb0b.

Solidity: function find_pool_for_coins(address _from, address _to, uint256 i) view returns(address)

func (*CurveFactoryCaller) FutureAdmin

func (_CurveFactory *CurveFactoryCaller) FutureAdmin(opts *bind.CallOpts) (common.Address, error)

FutureAdmin is a free data retrieval call binding the contract method 0x17f7182a.

Solidity: function future_admin() view returns(address)

func (*CurveFactoryCaller) GaugeImplementation

func (_CurveFactory *CurveFactoryCaller) GaugeImplementation(opts *bind.CallOpts) (common.Address, error)

GaugeImplementation is a free data retrieval call binding the contract method 0x8df24207.

Solidity: function gauge_implementation() view returns(address)

func (*CurveFactoryCaller) GetA

func (_CurveFactory *CurveFactoryCaller) GetA(opts *bind.CallOpts, _pool common.Address) (*big.Int, error)

GetA is a free data retrieval call binding the contract method 0x55b30b19.

Solidity: function get_A(address _pool) view returns(uint256)

func (*CurveFactoryCaller) GetAdminBalances

func (_CurveFactory *CurveFactoryCaller) GetAdminBalances(opts *bind.CallOpts, _pool common.Address) ([4]*big.Int, error)

GetAdminBalances is a free data retrieval call binding the contract method 0xc11e45b8.

Solidity: function get_admin_balances(address _pool) view returns(uint256[4])

func (*CurveFactoryCaller) GetBalances

func (_CurveFactory *CurveFactoryCaller) GetBalances(opts *bind.CallOpts, _pool common.Address) ([4]*big.Int, error)

GetBalances is a free data retrieval call binding the contract method 0x92e3cc2d.

Solidity: function get_balances(address _pool) view returns(uint256[4])

func (*CurveFactoryCaller) GetBasePool

func (_CurveFactory *CurveFactoryCaller) GetBasePool(opts *bind.CallOpts, _pool common.Address) (common.Address, error)

GetBasePool is a free data retrieval call binding the contract method 0x6f20d6dd.

Solidity: function get_base_pool(address _pool) view returns(address)

func (*CurveFactoryCaller) GetCoinIndices

func (_CurveFactory *CurveFactoryCaller) GetCoinIndices(opts *bind.CallOpts, _pool common.Address, _from common.Address, _to common.Address) (*big.Int, *big.Int, bool, error)

GetCoinIndices is a free data retrieval call binding the contract method 0xeb85226d.

Solidity: function get_coin_indices(address _pool, address _from, address _to) view returns(int128, int128, bool)

func (*CurveFactoryCaller) GetCoins

func (_CurveFactory *CurveFactoryCaller) GetCoins(opts *bind.CallOpts, _pool common.Address) ([4]common.Address, error)

GetCoins is a free data retrieval call binding the contract method 0x9ac90d3d.

Solidity: function get_coins(address _pool) view returns(address[4])

func (*CurveFactoryCaller) GetDecimals

func (_CurveFactory *CurveFactoryCaller) GetDecimals(opts *bind.CallOpts, _pool common.Address) ([4]*big.Int, error)

GetDecimals is a free data retrieval call binding the contract method 0x52b51555.

Solidity: function get_decimals(address _pool) view returns(uint256[4])

func (*CurveFactoryCaller) GetFeeReceiver

func (_CurveFactory *CurveFactoryCaller) GetFeeReceiver(opts *bind.CallOpts, _pool common.Address) (common.Address, error)

GetFeeReceiver is a free data retrieval call binding the contract method 0x154aa8f5.

Solidity: function get_fee_receiver(address _pool) view returns(address)

func (*CurveFactoryCaller) GetFees

func (_CurveFactory *CurveFactoryCaller) GetFees(opts *bind.CallOpts, _pool common.Address) (*big.Int, *big.Int, error)

GetFees is a free data retrieval call binding the contract method 0x7cdb72b0.

Solidity: function get_fees(address _pool) view returns(uint256, uint256)

func (*CurveFactoryCaller) GetGauge

func (_CurveFactory *CurveFactoryCaller) GetGauge(opts *bind.CallOpts, _pool common.Address) (common.Address, error)

GetGauge is a free data retrieval call binding the contract method 0xdaf297b9.

Solidity: function get_gauge(address _pool) view returns(address)

func (*CurveFactoryCaller) GetImplementationAddress

func (_CurveFactory *CurveFactoryCaller) GetImplementationAddress(opts *bind.CallOpts, _pool common.Address) (common.Address, error)

GetImplementationAddress is a free data retrieval call binding the contract method 0x510d98a4.

Solidity: function get_implementation_address(address _pool) view returns(address)

func (*CurveFactoryCaller) GetMetaNCoins

func (_CurveFactory *CurveFactoryCaller) GetMetaNCoins(opts *bind.CallOpts, _pool common.Address) (*big.Int, *big.Int, error)

GetMetaNCoins is a free data retrieval call binding the contract method 0xeb73f37d.

Solidity: function get_meta_n_coins(address _pool) view returns(uint256, uint256)

func (*CurveFactoryCaller) GetMetapoolRates

func (_CurveFactory *CurveFactoryCaller) GetMetapoolRates(opts *bind.CallOpts, _pool common.Address) ([2]*big.Int, error)

GetMetapoolRates is a free data retrieval call binding the contract method 0x06d8f160.

Solidity: function get_metapool_rates(address _pool) view returns(uint256[2])

func (*CurveFactoryCaller) GetNCoins

func (_CurveFactory *CurveFactoryCaller) GetNCoins(opts *bind.CallOpts, _pool common.Address) (*big.Int, error)

GetNCoins is a free data retrieval call binding the contract method 0x940494f1.

Solidity: function get_n_coins(address _pool) view returns(uint256)

func (*CurveFactoryCaller) GetPoolAssetType

func (_CurveFactory *CurveFactoryCaller) GetPoolAssetType(opts *bind.CallOpts, _pool common.Address) (*big.Int, error)

GetPoolAssetType is a free data retrieval call binding the contract method 0x66d3966c.

Solidity: function get_pool_asset_type(address _pool) view returns(uint256)

func (*CurveFactoryCaller) GetUnderlyingBalances

func (_CurveFactory *CurveFactoryCaller) GetUnderlyingBalances(opts *bind.CallOpts, _pool common.Address) ([8]*big.Int, error)

GetUnderlyingBalances is a free data retrieval call binding the contract method 0x59f4f351.

Solidity: function get_underlying_balances(address _pool) view returns(uint256[8])

func (*CurveFactoryCaller) GetUnderlyingCoins

func (_CurveFactory *CurveFactoryCaller) GetUnderlyingCoins(opts *bind.CallOpts, _pool common.Address) ([8]common.Address, error)

GetUnderlyingCoins is a free data retrieval call binding the contract method 0xa77576ef.

Solidity: function get_underlying_coins(address _pool) view returns(address[8])

func (*CurveFactoryCaller) GetUnderlyingDecimals

func (_CurveFactory *CurveFactoryCaller) GetUnderlyingDecimals(opts *bind.CallOpts, _pool common.Address) ([8]*big.Int, error)

GetUnderlyingDecimals is a free data retrieval call binding the contract method 0x4cb088f1.

Solidity: function get_underlying_decimals(address _pool) view returns(uint256[8])

func (*CurveFactoryCaller) IsMeta

func (_CurveFactory *CurveFactoryCaller) IsMeta(opts *bind.CallOpts, _pool common.Address) (bool, error)

IsMeta is a free data retrieval call binding the contract method 0xe4d332a9.

Solidity: function is_meta(address _pool) view returns(bool)

func (*CurveFactoryCaller) Manager

func (_CurveFactory *CurveFactoryCaller) Manager(opts *bind.CallOpts) (common.Address, error)

Manager is a free data retrieval call binding the contract method 0x481c6a75.

Solidity: function manager() view returns(address)

func (*CurveFactoryCaller) MetapoolImplementations

func (_CurveFactory *CurveFactoryCaller) MetapoolImplementations(opts *bind.CallOpts, _base_pool common.Address) ([10]common.Address, error)

MetapoolImplementations is a free data retrieval call binding the contract method 0x970fa3f3.

Solidity: function metapool_implementations(address _base_pool) view returns(address[10])

func (*CurveFactoryCaller) PlainImplementations

func (_CurveFactory *CurveFactoryCaller) PlainImplementations(opts *bind.CallOpts, arg0 *big.Int, arg1 *big.Int) (common.Address, error)

PlainImplementations is a free data retrieval call binding the contract method 0x31a4f865.

Solidity: function plain_implementations(uint256 arg0, uint256 arg1) view returns(address)

func (*CurveFactoryCaller) PoolCount

func (_CurveFactory *CurveFactoryCaller) PoolCount(opts *bind.CallOpts) (*big.Int, error)

PoolCount is a free data retrieval call binding the contract method 0x956aae3a.

Solidity: function pool_count() view returns(uint256)

func (*CurveFactoryCaller) PoolList

func (_CurveFactory *CurveFactoryCaller) PoolList(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)

PoolList is a free data retrieval call binding the contract method 0x3a1d5d8e.

Solidity: function pool_list(uint256 arg0) view returns(address)

type CurveFactoryCallerRaw

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

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

func (*CurveFactoryCallerRaw) Call

func (_CurveFactory *CurveFactoryCallerRaw) 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 CurveFactoryCallerSession

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

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

func (*CurveFactoryCallerSession) Admin

func (_CurveFactory *CurveFactoryCallerSession) Admin() (common.Address, error)

Admin is a free data retrieval call binding the contract method 0xf851a440.

Solidity: function admin() view returns(address)

func (*CurveFactoryCallerSession) BasePoolAssets

func (_CurveFactory *CurveFactoryCallerSession) BasePoolAssets(arg0 common.Address) (bool, error)

BasePoolAssets is a free data retrieval call binding the contract method 0x10a002df.

Solidity: function base_pool_assets(address arg0) view returns(bool)

func (*CurveFactoryCallerSession) BasePoolCount

func (_CurveFactory *CurveFactoryCallerSession) BasePoolCount() (*big.Int, error)

BasePoolCount is a free data retrieval call binding the contract method 0xde5e4a3b.

Solidity: function base_pool_count() view returns(uint256)

func (*CurveFactoryCallerSession) BasePoolList

func (_CurveFactory *CurveFactoryCallerSession) BasePoolList(arg0 *big.Int) (common.Address, error)

BasePoolList is a free data retrieval call binding the contract method 0x22fe5671.

Solidity: function base_pool_list(uint256 arg0) view returns(address)

func (*CurveFactoryCallerSession) FindPoolForCoins

func (_CurveFactory *CurveFactoryCallerSession) FindPoolForCoins(_from common.Address, _to common.Address) (common.Address, error)

FindPoolForCoins is a free data retrieval call binding the contract method 0xa87df06c.

Solidity: function find_pool_for_coins(address _from, address _to) view returns(address)

func (*CurveFactoryCallerSession) FindPoolForCoins0

func (_CurveFactory *CurveFactoryCallerSession) FindPoolForCoins0(_from common.Address, _to common.Address, i *big.Int) (common.Address, error)

FindPoolForCoins0 is a free data retrieval call binding the contract method 0x6982eb0b.

Solidity: function find_pool_for_coins(address _from, address _to, uint256 i) view returns(address)

func (*CurveFactoryCallerSession) FutureAdmin

func (_CurveFactory *CurveFactoryCallerSession) FutureAdmin() (common.Address, error)

FutureAdmin is a free data retrieval call binding the contract method 0x17f7182a.

Solidity: function future_admin() view returns(address)

func (*CurveFactoryCallerSession) GaugeImplementation

func (_CurveFactory *CurveFactoryCallerSession) GaugeImplementation() (common.Address, error)

GaugeImplementation is a free data retrieval call binding the contract method 0x8df24207.

Solidity: function gauge_implementation() view returns(address)

func (*CurveFactoryCallerSession) GetA

func (_CurveFactory *CurveFactoryCallerSession) GetA(_pool common.Address) (*big.Int, error)

GetA is a free data retrieval call binding the contract method 0x55b30b19.

Solidity: function get_A(address _pool) view returns(uint256)

func (*CurveFactoryCallerSession) GetAdminBalances

func (_CurveFactory *CurveFactoryCallerSession) GetAdminBalances(_pool common.Address) ([4]*big.Int, error)

GetAdminBalances is a free data retrieval call binding the contract method 0xc11e45b8.

Solidity: function get_admin_balances(address _pool) view returns(uint256[4])

func (*CurveFactoryCallerSession) GetBalances

func (_CurveFactory *CurveFactoryCallerSession) GetBalances(_pool common.Address) ([4]*big.Int, error)

GetBalances is a free data retrieval call binding the contract method 0x92e3cc2d.

Solidity: function get_balances(address _pool) view returns(uint256[4])

func (*CurveFactoryCallerSession) GetBasePool

func (_CurveFactory *CurveFactoryCallerSession) GetBasePool(_pool common.Address) (common.Address, error)

GetBasePool is a free data retrieval call binding the contract method 0x6f20d6dd.

Solidity: function get_base_pool(address _pool) view returns(address)

func (*CurveFactoryCallerSession) GetCoinIndices

func (_CurveFactory *CurveFactoryCallerSession) GetCoinIndices(_pool common.Address, _from common.Address, _to common.Address) (*big.Int, *big.Int, bool, error)

GetCoinIndices is a free data retrieval call binding the contract method 0xeb85226d.

Solidity: function get_coin_indices(address _pool, address _from, address _to) view returns(int128, int128, bool)

func (*CurveFactoryCallerSession) GetCoins

func (_CurveFactory *CurveFactoryCallerSession) GetCoins(_pool common.Address) ([4]common.Address, error)

GetCoins is a free data retrieval call binding the contract method 0x9ac90d3d.

Solidity: function get_coins(address _pool) view returns(address[4])

func (*CurveFactoryCallerSession) GetDecimals

func (_CurveFactory *CurveFactoryCallerSession) GetDecimals(_pool common.Address) ([4]*big.Int, error)

GetDecimals is a free data retrieval call binding the contract method 0x52b51555.

Solidity: function get_decimals(address _pool) view returns(uint256[4])

func (*CurveFactoryCallerSession) GetFeeReceiver

func (_CurveFactory *CurveFactoryCallerSession) GetFeeReceiver(_pool common.Address) (common.Address, error)

GetFeeReceiver is a free data retrieval call binding the contract method 0x154aa8f5.

Solidity: function get_fee_receiver(address _pool) view returns(address)

func (*CurveFactoryCallerSession) GetFees

func (_CurveFactory *CurveFactoryCallerSession) GetFees(_pool common.Address) (*big.Int, *big.Int, error)

GetFees is a free data retrieval call binding the contract method 0x7cdb72b0.

Solidity: function get_fees(address _pool) view returns(uint256, uint256)

func (*CurveFactoryCallerSession) GetGauge

func (_CurveFactory *CurveFactoryCallerSession) GetGauge(_pool common.Address) (common.Address, error)

GetGauge is a free data retrieval call binding the contract method 0xdaf297b9.

Solidity: function get_gauge(address _pool) view returns(address)

func (*CurveFactoryCallerSession) GetImplementationAddress

func (_CurveFactory *CurveFactoryCallerSession) GetImplementationAddress(_pool common.Address) (common.Address, error)

GetImplementationAddress is a free data retrieval call binding the contract method 0x510d98a4.

Solidity: function get_implementation_address(address _pool) view returns(address)

func (*CurveFactoryCallerSession) GetMetaNCoins

func (_CurveFactory *CurveFactoryCallerSession) GetMetaNCoins(_pool common.Address) (*big.Int, *big.Int, error)

GetMetaNCoins is a free data retrieval call binding the contract method 0xeb73f37d.

Solidity: function get_meta_n_coins(address _pool) view returns(uint256, uint256)

func (*CurveFactoryCallerSession) GetMetapoolRates

func (_CurveFactory *CurveFactoryCallerSession) GetMetapoolRates(_pool common.Address) ([2]*big.Int, error)

GetMetapoolRates is a free data retrieval call binding the contract method 0x06d8f160.

Solidity: function get_metapool_rates(address _pool) view returns(uint256[2])

func (*CurveFactoryCallerSession) GetNCoins

func (_CurveFactory *CurveFactoryCallerSession) GetNCoins(_pool common.Address) (*big.Int, error)

GetNCoins is a free data retrieval call binding the contract method 0x940494f1.

Solidity: function get_n_coins(address _pool) view returns(uint256)

func (*CurveFactoryCallerSession) GetPoolAssetType

func (_CurveFactory *CurveFactoryCallerSession) GetPoolAssetType(_pool common.Address) (*big.Int, error)

GetPoolAssetType is a free data retrieval call binding the contract method 0x66d3966c.

Solidity: function get_pool_asset_type(address _pool) view returns(uint256)

func (*CurveFactoryCallerSession) GetUnderlyingBalances

func (_CurveFactory *CurveFactoryCallerSession) GetUnderlyingBalances(_pool common.Address) ([8]*big.Int, error)

GetUnderlyingBalances is a free data retrieval call binding the contract method 0x59f4f351.

Solidity: function get_underlying_balances(address _pool) view returns(uint256[8])

func (*CurveFactoryCallerSession) GetUnderlyingCoins

func (_CurveFactory *CurveFactoryCallerSession) GetUnderlyingCoins(_pool common.Address) ([8]common.Address, error)

GetUnderlyingCoins is a free data retrieval call binding the contract method 0xa77576ef.

Solidity: function get_underlying_coins(address _pool) view returns(address[8])

func (*CurveFactoryCallerSession) GetUnderlyingDecimals

func (_CurveFactory *CurveFactoryCallerSession) GetUnderlyingDecimals(_pool common.Address) ([8]*big.Int, error)

GetUnderlyingDecimals is a free data retrieval call binding the contract method 0x4cb088f1.

Solidity: function get_underlying_decimals(address _pool) view returns(uint256[8])

func (*CurveFactoryCallerSession) IsMeta

func (_CurveFactory *CurveFactoryCallerSession) IsMeta(_pool common.Address) (bool, error)

IsMeta is a free data retrieval call binding the contract method 0xe4d332a9.

Solidity: function is_meta(address _pool) view returns(bool)

func (*CurveFactoryCallerSession) Manager

func (_CurveFactory *CurveFactoryCallerSession) Manager() (common.Address, error)

Manager is a free data retrieval call binding the contract method 0x481c6a75.

Solidity: function manager() view returns(address)

func (*CurveFactoryCallerSession) MetapoolImplementations

func (_CurveFactory *CurveFactoryCallerSession) MetapoolImplementations(_base_pool common.Address) ([10]common.Address, error)

MetapoolImplementations is a free data retrieval call binding the contract method 0x970fa3f3.

Solidity: function metapool_implementations(address _base_pool) view returns(address[10])

func (*CurveFactoryCallerSession) PlainImplementations

func (_CurveFactory *CurveFactoryCallerSession) PlainImplementations(arg0 *big.Int, arg1 *big.Int) (common.Address, error)

PlainImplementations is a free data retrieval call binding the contract method 0x31a4f865.

Solidity: function plain_implementations(uint256 arg0, uint256 arg1) view returns(address)

func (*CurveFactoryCallerSession) PoolCount

func (_CurveFactory *CurveFactoryCallerSession) PoolCount() (*big.Int, error)

PoolCount is a free data retrieval call binding the contract method 0x956aae3a.

Solidity: function pool_count() view returns(uint256)

func (*CurveFactoryCallerSession) PoolList

func (_CurveFactory *CurveFactoryCallerSession) PoolList(arg0 *big.Int) (common.Address, error)

PoolList is a free data retrieval call binding the contract method 0x3a1d5d8e.

Solidity: function pool_list(uint256 arg0) view returns(address)

type CurveFactoryFilterer

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

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

func NewCurveFactoryFilterer

func NewCurveFactoryFilterer(address common.Address, filterer bind.ContractFilterer) (*CurveFactoryFilterer, error)

NewCurveFactoryFilterer creates a new log filterer instance of CurveFactory, bound to a specific deployed contract.

func (*CurveFactoryFilterer) FilterBasePoolAdded

func (_CurveFactory *CurveFactoryFilterer) FilterBasePoolAdded(opts *bind.FilterOpts) (*CurveFactoryBasePoolAddedIterator, error)

FilterBasePoolAdded is a free log retrieval operation binding the contract event 0xcc6afdfec79da6be08142ecee25cf14b665961e25d30d8eba45959be9547635f.

Solidity: event BasePoolAdded(address base_pool)

func (*CurveFactoryFilterer) FilterLiquidityGaugeDeployed

func (_CurveFactory *CurveFactoryFilterer) FilterLiquidityGaugeDeployed(opts *bind.FilterOpts) (*CurveFactoryLiquidityGaugeDeployedIterator, error)

FilterLiquidityGaugeDeployed is a free log retrieval operation binding the contract event 0x656bb34c20491970a8c163f3bd62ead82022b379c3924960ec60f6dbfc5aab3b.

Solidity: event LiquidityGaugeDeployed(address pool, address gauge)

func (*CurveFactoryFilterer) FilterMetaPoolDeployed

func (_CurveFactory *CurveFactoryFilterer) FilterMetaPoolDeployed(opts *bind.FilterOpts) (*CurveFactoryMetaPoolDeployedIterator, error)

FilterMetaPoolDeployed is a free log retrieval operation binding the contract event 0x01f31cd2abdeb4e5e10ba500f2db0f937d9e8c735ab04681925441b4ea37eda5.

Solidity: event MetaPoolDeployed(address coin, address base_pool, uint256 A, uint256 fee, address deployer)

func (*CurveFactoryFilterer) FilterPlainPoolDeployed

func (_CurveFactory *CurveFactoryFilterer) FilterPlainPoolDeployed(opts *bind.FilterOpts) (*CurveFactoryPlainPoolDeployedIterator, error)

FilterPlainPoolDeployed is a free log retrieval operation binding the contract event 0x5b4a28c940282b5bf183df6a046b8119cf6edeb62859f75e835eb7ba834cce8d.

Solidity: event PlainPoolDeployed(address[4] coins, uint256 A, uint256 fee, address deployer)

func (*CurveFactoryFilterer) ParseBasePoolAdded

func (_CurveFactory *CurveFactoryFilterer) ParseBasePoolAdded(log types.Log) (*CurveFactoryBasePoolAdded, error)

ParseBasePoolAdded is a log parse operation binding the contract event 0xcc6afdfec79da6be08142ecee25cf14b665961e25d30d8eba45959be9547635f.

Solidity: event BasePoolAdded(address base_pool)

func (*CurveFactoryFilterer) ParseLiquidityGaugeDeployed

func (_CurveFactory *CurveFactoryFilterer) ParseLiquidityGaugeDeployed(log types.Log) (*CurveFactoryLiquidityGaugeDeployed, error)

ParseLiquidityGaugeDeployed is a log parse operation binding the contract event 0x656bb34c20491970a8c163f3bd62ead82022b379c3924960ec60f6dbfc5aab3b.

Solidity: event LiquidityGaugeDeployed(address pool, address gauge)

func (*CurveFactoryFilterer) ParseMetaPoolDeployed

func (_CurveFactory *CurveFactoryFilterer) ParseMetaPoolDeployed(log types.Log) (*CurveFactoryMetaPoolDeployed, error)

ParseMetaPoolDeployed is a log parse operation binding the contract event 0x01f31cd2abdeb4e5e10ba500f2db0f937d9e8c735ab04681925441b4ea37eda5.

Solidity: event MetaPoolDeployed(address coin, address base_pool, uint256 A, uint256 fee, address deployer)

func (*CurveFactoryFilterer) ParsePlainPoolDeployed

func (_CurveFactory *CurveFactoryFilterer) ParsePlainPoolDeployed(log types.Log) (*CurveFactoryPlainPoolDeployed, error)

ParsePlainPoolDeployed is a log parse operation binding the contract event 0x5b4a28c940282b5bf183df6a046b8119cf6edeb62859f75e835eb7ba834cce8d.

Solidity: event PlainPoolDeployed(address[4] coins, uint256 A, uint256 fee, address deployer)

func (*CurveFactoryFilterer) WatchBasePoolAdded

func (_CurveFactory *CurveFactoryFilterer) WatchBasePoolAdded(opts *bind.WatchOpts, sink chan<- *CurveFactoryBasePoolAdded) (event.Subscription, error)

WatchBasePoolAdded is a free log subscription operation binding the contract event 0xcc6afdfec79da6be08142ecee25cf14b665961e25d30d8eba45959be9547635f.

Solidity: event BasePoolAdded(address base_pool)

func (*CurveFactoryFilterer) WatchLiquidityGaugeDeployed

func (_CurveFactory *CurveFactoryFilterer) WatchLiquidityGaugeDeployed(opts *bind.WatchOpts, sink chan<- *CurveFactoryLiquidityGaugeDeployed) (event.Subscription, error)

WatchLiquidityGaugeDeployed is a free log subscription operation binding the contract event 0x656bb34c20491970a8c163f3bd62ead82022b379c3924960ec60f6dbfc5aab3b.

Solidity: event LiquidityGaugeDeployed(address pool, address gauge)

func (*CurveFactoryFilterer) WatchMetaPoolDeployed

func (_CurveFactory *CurveFactoryFilterer) WatchMetaPoolDeployed(opts *bind.WatchOpts, sink chan<- *CurveFactoryMetaPoolDeployed) (event.Subscription, error)

WatchMetaPoolDeployed is a free log subscription operation binding the contract event 0x01f31cd2abdeb4e5e10ba500f2db0f937d9e8c735ab04681925441b4ea37eda5.

Solidity: event MetaPoolDeployed(address coin, address base_pool, uint256 A, uint256 fee, address deployer)

func (*CurveFactoryFilterer) WatchPlainPoolDeployed

func (_CurveFactory *CurveFactoryFilterer) WatchPlainPoolDeployed(opts *bind.WatchOpts, sink chan<- *CurveFactoryPlainPoolDeployed) (event.Subscription, error)

WatchPlainPoolDeployed is a free log subscription operation binding the contract event 0x5b4a28c940282b5bf183df6a046b8119cf6edeb62859f75e835eb7ba834cce8d.

Solidity: event PlainPoolDeployed(address[4] coins, uint256 A, uint256 fee, address deployer)

type CurveFactoryLiquidityGaugeDeployed

type CurveFactoryLiquidityGaugeDeployed struct {
	Pool  common.Address
	Gauge common.Address
	Raw   types.Log // Blockchain specific contextual infos
}

CurveFactoryLiquidityGaugeDeployed represents a LiquidityGaugeDeployed event raised by the CurveFactory contract.

type CurveFactoryLiquidityGaugeDeployedIterator

type CurveFactoryLiquidityGaugeDeployedIterator struct {
	Event *CurveFactoryLiquidityGaugeDeployed // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CurveFactoryLiquidityGaugeDeployedIterator is returned from FilterLiquidityGaugeDeployed and is used to iterate over the raw logs and unpacked data for LiquidityGaugeDeployed events raised by the CurveFactory contract.

func (*CurveFactoryLiquidityGaugeDeployedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CurveFactoryLiquidityGaugeDeployedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurveFactoryLiquidityGaugeDeployedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CurveFactoryMetaPoolDeployed

type CurveFactoryMetaPoolDeployed struct {
	Coin     common.Address
	BasePool common.Address
	A        *big.Int
	Fee      *big.Int
	Deployer common.Address
	Raw      types.Log // Blockchain specific contextual infos
}

CurveFactoryMetaPoolDeployed represents a MetaPoolDeployed event raised by the CurveFactory contract.

type CurveFactoryMetaPoolDeployedIterator

type CurveFactoryMetaPoolDeployedIterator struct {
	Event *CurveFactoryMetaPoolDeployed // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CurveFactoryMetaPoolDeployedIterator is returned from FilterMetaPoolDeployed and is used to iterate over the raw logs and unpacked data for MetaPoolDeployed events raised by the CurveFactory contract.

func (*CurveFactoryMetaPoolDeployedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CurveFactoryMetaPoolDeployedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurveFactoryMetaPoolDeployedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CurveFactoryPlainPoolDeployed

type CurveFactoryPlainPoolDeployed struct {
	Coins    [4]common.Address
	A        *big.Int
	Fee      *big.Int
	Deployer common.Address
	Raw      types.Log // Blockchain specific contextual infos
}

CurveFactoryPlainPoolDeployed represents a PlainPoolDeployed event raised by the CurveFactory contract.

type CurveFactoryPlainPoolDeployedIterator

type CurveFactoryPlainPoolDeployedIterator struct {
	Event *CurveFactoryPlainPoolDeployed // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CurveFactoryPlainPoolDeployedIterator is returned from FilterPlainPoolDeployed and is used to iterate over the raw logs and unpacked data for PlainPoolDeployed events raised by the CurveFactory contract.

func (*CurveFactoryPlainPoolDeployedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CurveFactoryPlainPoolDeployedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurveFactoryPlainPoolDeployedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CurveFactoryRaw

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

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

func (*CurveFactoryRaw) Call

func (_CurveFactory *CurveFactoryRaw) 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 (*CurveFactoryRaw) Transact

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

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

func (*CurveFactoryRaw) Transfer

func (_CurveFactory *CurveFactoryRaw) 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 CurveFactorySession

type CurveFactorySession struct {
	Contract     *CurveFactory     // 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
}

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

func (*CurveFactorySession) AcceptTransferOwnership

func (_CurveFactory *CurveFactorySession) AcceptTransferOwnership() (*types.Transaction, error)

AcceptTransferOwnership is a paid mutator transaction binding the contract method 0xe5ea47b8.

Solidity: function accept_transfer_ownership() returns()

func (*CurveFactorySession) AddBasePool

func (_CurveFactory *CurveFactorySession) AddBasePool(_base_pool common.Address, _fee_receiver common.Address, _asset_type *big.Int, _implementations [10]common.Address) (*types.Transaction, error)

AddBasePool is a paid mutator transaction binding the contract method 0x2fc05653.

Solidity: function add_base_pool(address _base_pool, address _fee_receiver, uint256 _asset_type, address[10] _implementations) returns()

func (*CurveFactorySession) AddExistingMetapools

func (_CurveFactory *CurveFactorySession) AddExistingMetapools(_pools [10]common.Address) (*types.Transaction, error)

AddExistingMetapools is a paid mutator transaction binding the contract method 0xdb89fabc.

Solidity: function add_existing_metapools(address[10] _pools) returns(bool)

func (*CurveFactorySession) Admin

func (_CurveFactory *CurveFactorySession) Admin() (common.Address, error)

Admin is a free data retrieval call binding the contract method 0xf851a440.

Solidity: function admin() view returns(address)

func (*CurveFactorySession) BasePoolAssets

func (_CurveFactory *CurveFactorySession) BasePoolAssets(arg0 common.Address) (bool, error)

BasePoolAssets is a free data retrieval call binding the contract method 0x10a002df.

Solidity: function base_pool_assets(address arg0) view returns(bool)

func (*CurveFactorySession) BasePoolCount

func (_CurveFactory *CurveFactorySession) BasePoolCount() (*big.Int, error)

BasePoolCount is a free data retrieval call binding the contract method 0xde5e4a3b.

Solidity: function base_pool_count() view returns(uint256)

func (*CurveFactorySession) BasePoolList

func (_CurveFactory *CurveFactorySession) BasePoolList(arg0 *big.Int) (common.Address, error)

BasePoolList is a free data retrieval call binding the contract method 0x22fe5671.

Solidity: function base_pool_list(uint256 arg0) view returns(address)

func (*CurveFactorySession) BatchSetPoolAssetType

func (_CurveFactory *CurveFactorySession) BatchSetPoolAssetType(_pools [32]common.Address, _asset_types [32]*big.Int) (*types.Transaction, error)

BatchSetPoolAssetType is a paid mutator transaction binding the contract method 0x7542f078.

Solidity: function batch_set_pool_asset_type(address[32] _pools, uint256[32] _asset_types) returns()

func (*CurveFactorySession) CommitTransferOwnership

func (_CurveFactory *CurveFactorySession) CommitTransferOwnership(_addr common.Address) (*types.Transaction, error)

CommitTransferOwnership is a paid mutator transaction binding the contract method 0x6b441a40.

Solidity: function commit_transfer_ownership(address _addr) returns()

func (*CurveFactorySession) ConvertMetapoolFees

func (_CurveFactory *CurveFactorySession) ConvertMetapoolFees() (*types.Transaction, error)

ConvertMetapoolFees is a paid mutator transaction binding the contract method 0xbcc981d2.

Solidity: function convert_metapool_fees() returns(bool)

func (*CurveFactorySession) DeployGauge

func (_CurveFactory *CurveFactorySession) DeployGauge(_pool common.Address) (*types.Transaction, error)

DeployGauge is a paid mutator transaction binding the contract method 0x96bebb34.

Solidity: function deploy_gauge(address _pool) returns(address)

func (*CurveFactorySession) DeployMetapool

func (_CurveFactory *CurveFactorySession) DeployMetapool(_base_pool common.Address, _name string, _symbol string, _coin common.Address, _A *big.Int, _fee *big.Int) (*types.Transaction, error)

DeployMetapool is a paid mutator transaction binding the contract method 0xe339eb4f.

Solidity: function deploy_metapool(address _base_pool, string _name, string _symbol, address _coin, uint256 _A, uint256 _fee) returns(address)

func (*CurveFactorySession) DeployMetapool0

func (_CurveFactory *CurveFactorySession) DeployMetapool0(_base_pool common.Address, _name string, _symbol string, _coin common.Address, _A *big.Int, _fee *big.Int, _implementation_idx *big.Int) (*types.Transaction, error)

DeployMetapool0 is a paid mutator transaction binding the contract method 0xde7fe3bf.

Solidity: function deploy_metapool(address _base_pool, string _name, string _symbol, address _coin, uint256 _A, uint256 _fee, uint256 _implementation_idx) returns(address)

func (*CurveFactorySession) DeployPlainPool

func (_CurveFactory *CurveFactorySession) DeployPlainPool(_name string, _symbol string, _coins [4]common.Address, _A *big.Int, _fee *big.Int) (*types.Transaction, error)

DeployPlainPool is a paid mutator transaction binding the contract method 0xcd419bb5.

Solidity: function deploy_plain_pool(string _name, string _symbol, address[4] _coins, uint256 _A, uint256 _fee) returns(address)

func (*CurveFactorySession) DeployPlainPool0

func (_CurveFactory *CurveFactorySession) DeployPlainPool0(_name string, _symbol string, _coins [4]common.Address, _A *big.Int, _fee *big.Int, _asset_type *big.Int) (*types.Transaction, error)

DeployPlainPool0 is a paid mutator transaction binding the contract method 0x5c16487b.

Solidity: function deploy_plain_pool(string _name, string _symbol, address[4] _coins, uint256 _A, uint256 _fee, uint256 _asset_type) returns(address)

func (*CurveFactorySession) DeployPlainPool1

func (_CurveFactory *CurveFactorySession) DeployPlainPool1(_name string, _symbol string, _coins [4]common.Address, _A *big.Int, _fee *big.Int, _asset_type *big.Int, _implementation_idx *big.Int) (*types.Transaction, error)

DeployPlainPool1 is a paid mutator transaction binding the contract method 0x52f2db69.

Solidity: function deploy_plain_pool(string _name, string _symbol, address[4] _coins, uint256 _A, uint256 _fee, uint256 _asset_type, uint256 _implementation_idx) returns(address)

func (*CurveFactorySession) FindPoolForCoins

func (_CurveFactory *CurveFactorySession) FindPoolForCoins(_from common.Address, _to common.Address) (common.Address, error)

FindPoolForCoins is a free data retrieval call binding the contract method 0xa87df06c.

Solidity: function find_pool_for_coins(address _from, address _to) view returns(address)

func (*CurveFactorySession) FindPoolForCoins0

func (_CurveFactory *CurveFactorySession) FindPoolForCoins0(_from common.Address, _to common.Address, i *big.Int) (common.Address, error)

FindPoolForCoins0 is a free data retrieval call binding the contract method 0x6982eb0b.

Solidity: function find_pool_for_coins(address _from, address _to, uint256 i) view returns(address)

func (*CurveFactorySession) FutureAdmin

func (_CurveFactory *CurveFactorySession) FutureAdmin() (common.Address, error)

FutureAdmin is a free data retrieval call binding the contract method 0x17f7182a.

Solidity: function future_admin() view returns(address)

func (*CurveFactorySession) GaugeImplementation

func (_CurveFactory *CurveFactorySession) GaugeImplementation() (common.Address, error)

GaugeImplementation is a free data retrieval call binding the contract method 0x8df24207.

Solidity: function gauge_implementation() view returns(address)

func (*CurveFactorySession) GetA

func (_CurveFactory *CurveFactorySession) GetA(_pool common.Address) (*big.Int, error)

GetA is a free data retrieval call binding the contract method 0x55b30b19.

Solidity: function get_A(address _pool) view returns(uint256)

func (*CurveFactorySession) GetAdminBalances

func (_CurveFactory *CurveFactorySession) GetAdminBalances(_pool common.Address) ([4]*big.Int, error)

GetAdminBalances is a free data retrieval call binding the contract method 0xc11e45b8.

Solidity: function get_admin_balances(address _pool) view returns(uint256[4])

func (*CurveFactorySession) GetBalances

func (_CurveFactory *CurveFactorySession) GetBalances(_pool common.Address) ([4]*big.Int, error)

GetBalances is a free data retrieval call binding the contract method 0x92e3cc2d.

Solidity: function get_balances(address _pool) view returns(uint256[4])

func (*CurveFactorySession) GetBasePool

func (_CurveFactory *CurveFactorySession) GetBasePool(_pool common.Address) (common.Address, error)

GetBasePool is a free data retrieval call binding the contract method 0x6f20d6dd.

Solidity: function get_base_pool(address _pool) view returns(address)

func (*CurveFactorySession) GetCoinIndices

func (_CurveFactory *CurveFactorySession) GetCoinIndices(_pool common.Address, _from common.Address, _to common.Address) (*big.Int, *big.Int, bool, error)

GetCoinIndices is a free data retrieval call binding the contract method 0xeb85226d.

Solidity: function get_coin_indices(address _pool, address _from, address _to) view returns(int128, int128, bool)

func (*CurveFactorySession) GetCoins

func (_CurveFactory *CurveFactorySession) GetCoins(_pool common.Address) ([4]common.Address, error)

GetCoins is a free data retrieval call binding the contract method 0x9ac90d3d.

Solidity: function get_coins(address _pool) view returns(address[4])

func (*CurveFactorySession) GetDecimals

func (_CurveFactory *CurveFactorySession) GetDecimals(_pool common.Address) ([4]*big.Int, error)

GetDecimals is a free data retrieval call binding the contract method 0x52b51555.

Solidity: function get_decimals(address _pool) view returns(uint256[4])

func (*CurveFactorySession) GetFeeReceiver

func (_CurveFactory *CurveFactorySession) GetFeeReceiver(_pool common.Address) (common.Address, error)

GetFeeReceiver is a free data retrieval call binding the contract method 0x154aa8f5.

Solidity: function get_fee_receiver(address _pool) view returns(address)

func (*CurveFactorySession) GetFees

func (_CurveFactory *CurveFactorySession) GetFees(_pool common.Address) (*big.Int, *big.Int, error)

GetFees is a free data retrieval call binding the contract method 0x7cdb72b0.

Solidity: function get_fees(address _pool) view returns(uint256, uint256)

func (*CurveFactorySession) GetGauge

func (_CurveFactory *CurveFactorySession) GetGauge(_pool common.Address) (common.Address, error)

GetGauge is a free data retrieval call binding the contract method 0xdaf297b9.

Solidity: function get_gauge(address _pool) view returns(address)

func (*CurveFactorySession) GetImplementationAddress

func (_CurveFactory *CurveFactorySession) GetImplementationAddress(_pool common.Address) (common.Address, error)

GetImplementationAddress is a free data retrieval call binding the contract method 0x510d98a4.

Solidity: function get_implementation_address(address _pool) view returns(address)

func (*CurveFactorySession) GetMetaNCoins

func (_CurveFactory *CurveFactorySession) GetMetaNCoins(_pool common.Address) (*big.Int, *big.Int, error)

GetMetaNCoins is a free data retrieval call binding the contract method 0xeb73f37d.

Solidity: function get_meta_n_coins(address _pool) view returns(uint256, uint256)

func (*CurveFactorySession) GetMetapoolRates

func (_CurveFactory *CurveFactorySession) GetMetapoolRates(_pool common.Address) ([2]*big.Int, error)

GetMetapoolRates is a free data retrieval call binding the contract method 0x06d8f160.

Solidity: function get_metapool_rates(address _pool) view returns(uint256[2])

func (*CurveFactorySession) GetNCoins

func (_CurveFactory *CurveFactorySession) GetNCoins(_pool common.Address) (*big.Int, error)

GetNCoins is a free data retrieval call binding the contract method 0x940494f1.

Solidity: function get_n_coins(address _pool) view returns(uint256)

func (*CurveFactorySession) GetPoolAssetType

func (_CurveFactory *CurveFactorySession) GetPoolAssetType(_pool common.Address) (*big.Int, error)

GetPoolAssetType is a free data retrieval call binding the contract method 0x66d3966c.

Solidity: function get_pool_asset_type(address _pool) view returns(uint256)

func (*CurveFactorySession) GetUnderlyingBalances

func (_CurveFactory *CurveFactorySession) GetUnderlyingBalances(_pool common.Address) ([8]*big.Int, error)

GetUnderlyingBalances is a free data retrieval call binding the contract method 0x59f4f351.

Solidity: function get_underlying_balances(address _pool) view returns(uint256[8])

func (*CurveFactorySession) GetUnderlyingCoins

func (_CurveFactory *CurveFactorySession) GetUnderlyingCoins(_pool common.Address) ([8]common.Address, error)

GetUnderlyingCoins is a free data retrieval call binding the contract method 0xa77576ef.

Solidity: function get_underlying_coins(address _pool) view returns(address[8])

func (*CurveFactorySession) GetUnderlyingDecimals

func (_CurveFactory *CurveFactorySession) GetUnderlyingDecimals(_pool common.Address) ([8]*big.Int, error)

GetUnderlyingDecimals is a free data retrieval call binding the contract method 0x4cb088f1.

Solidity: function get_underlying_decimals(address _pool) view returns(uint256[8])

func (*CurveFactorySession) IsMeta

func (_CurveFactory *CurveFactorySession) IsMeta(_pool common.Address) (bool, error)

IsMeta is a free data retrieval call binding the contract method 0xe4d332a9.

Solidity: function is_meta(address _pool) view returns(bool)

func (*CurveFactorySession) Manager

func (_CurveFactory *CurveFactorySession) Manager() (common.Address, error)

Manager is a free data retrieval call binding the contract method 0x481c6a75.

Solidity: function manager() view returns(address)

func (*CurveFactorySession) MetapoolImplementations

func (_CurveFactory *CurveFactorySession) MetapoolImplementations(_base_pool common.Address) ([10]common.Address, error)

MetapoolImplementations is a free data retrieval call binding the contract method 0x970fa3f3.

Solidity: function metapool_implementations(address _base_pool) view returns(address[10])

func (*CurveFactorySession) PlainImplementations

func (_CurveFactory *CurveFactorySession) PlainImplementations(arg0 *big.Int, arg1 *big.Int) (common.Address, error)

PlainImplementations is a free data retrieval call binding the contract method 0x31a4f865.

Solidity: function plain_implementations(uint256 arg0, uint256 arg1) view returns(address)

func (*CurveFactorySession) PoolCount

func (_CurveFactory *CurveFactorySession) PoolCount() (*big.Int, error)

PoolCount is a free data retrieval call binding the contract method 0x956aae3a.

Solidity: function pool_count() view returns(uint256)

func (*CurveFactorySession) PoolList

func (_CurveFactory *CurveFactorySession) PoolList(arg0 *big.Int) (common.Address, error)

PoolList is a free data retrieval call binding the contract method 0x3a1d5d8e.

Solidity: function pool_list(uint256 arg0) view returns(address)

func (*CurveFactorySession) SetFeeReceiver

func (_CurveFactory *CurveFactorySession) SetFeeReceiver(_base_pool common.Address, _fee_receiver common.Address) (*types.Transaction, error)

SetFeeReceiver is a paid mutator transaction binding the contract method 0x36d2b77a.

Solidity: function set_fee_receiver(address _base_pool, address _fee_receiver) returns()

func (*CurveFactorySession) SetGaugeImplementation

func (_CurveFactory *CurveFactorySession) SetGaugeImplementation(_gauge_implementation common.Address) (*types.Transaction, error)

SetGaugeImplementation is a paid mutator transaction binding the contract method 0x8f03182c.

Solidity: function set_gauge_implementation(address _gauge_implementation) returns()

func (*CurveFactorySession) SetManager

func (_CurveFactory *CurveFactorySession) SetManager(_manager common.Address) (*types.Transaction, error)

SetManager is a paid mutator transaction binding the contract method 0x9aece83e.

Solidity: function set_manager(address _manager) returns()

func (*CurveFactorySession) SetMetapoolImplementations

func (_CurveFactory *CurveFactorySession) SetMetapoolImplementations(_base_pool common.Address, _implementations [10]common.Address) (*types.Transaction, error)

SetMetapoolImplementations is a paid mutator transaction binding the contract method 0xcb956b46.

Solidity: function set_metapool_implementations(address _base_pool, address[10] _implementations) returns()

func (*CurveFactorySession) SetPlainImplementations

func (_CurveFactory *CurveFactorySession) SetPlainImplementations(_n_coins *big.Int, _implementations [10]common.Address) (*types.Transaction, error)

SetPlainImplementations is a paid mutator transaction binding the contract method 0x9ddbf4b9.

Solidity: function set_plain_implementations(uint256 _n_coins, address[10] _implementations) returns()

type CurveFactoryTransactor

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

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

func NewCurveFactoryTransactor

func NewCurveFactoryTransactor(address common.Address, transactor bind.ContractTransactor) (*CurveFactoryTransactor, error)

NewCurveFactoryTransactor creates a new write-only instance of CurveFactory, bound to a specific deployed contract.

func (*CurveFactoryTransactor) AcceptTransferOwnership

func (_CurveFactory *CurveFactoryTransactor) AcceptTransferOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

AcceptTransferOwnership is a paid mutator transaction binding the contract method 0xe5ea47b8.

Solidity: function accept_transfer_ownership() returns()

func (*CurveFactoryTransactor) AddBasePool

func (_CurveFactory *CurveFactoryTransactor) AddBasePool(opts *bind.TransactOpts, _base_pool common.Address, _fee_receiver common.Address, _asset_type *big.Int, _implementations [10]common.Address) (*types.Transaction, error)

AddBasePool is a paid mutator transaction binding the contract method 0x2fc05653.

Solidity: function add_base_pool(address _base_pool, address _fee_receiver, uint256 _asset_type, address[10] _implementations) returns()

func (*CurveFactoryTransactor) AddExistingMetapools

func (_CurveFactory *CurveFactoryTransactor) AddExistingMetapools(opts *bind.TransactOpts, _pools [10]common.Address) (*types.Transaction, error)

AddExistingMetapools is a paid mutator transaction binding the contract method 0xdb89fabc.

Solidity: function add_existing_metapools(address[10] _pools) returns(bool)

func (*CurveFactoryTransactor) BatchSetPoolAssetType

func (_CurveFactory *CurveFactoryTransactor) BatchSetPoolAssetType(opts *bind.TransactOpts, _pools [32]common.Address, _asset_types [32]*big.Int) (*types.Transaction, error)

BatchSetPoolAssetType is a paid mutator transaction binding the contract method 0x7542f078.

Solidity: function batch_set_pool_asset_type(address[32] _pools, uint256[32] _asset_types) returns()

func (*CurveFactoryTransactor) CommitTransferOwnership

func (_CurveFactory *CurveFactoryTransactor) CommitTransferOwnership(opts *bind.TransactOpts, _addr common.Address) (*types.Transaction, error)

CommitTransferOwnership is a paid mutator transaction binding the contract method 0x6b441a40.

Solidity: function commit_transfer_ownership(address _addr) returns()

func (*CurveFactoryTransactor) ConvertMetapoolFees

func (_CurveFactory *CurveFactoryTransactor) ConvertMetapoolFees(opts *bind.TransactOpts) (*types.Transaction, error)

ConvertMetapoolFees is a paid mutator transaction binding the contract method 0xbcc981d2.

Solidity: function convert_metapool_fees() returns(bool)

func (*CurveFactoryTransactor) DeployGauge

func (_CurveFactory *CurveFactoryTransactor) DeployGauge(opts *bind.TransactOpts, _pool common.Address) (*types.Transaction, error)

DeployGauge is a paid mutator transaction binding the contract method 0x96bebb34.

Solidity: function deploy_gauge(address _pool) returns(address)

func (*CurveFactoryTransactor) DeployMetapool

func (_CurveFactory *CurveFactoryTransactor) DeployMetapool(opts *bind.TransactOpts, _base_pool common.Address, _name string, _symbol string, _coin common.Address, _A *big.Int, _fee *big.Int) (*types.Transaction, error)

DeployMetapool is a paid mutator transaction binding the contract method 0xe339eb4f.

Solidity: function deploy_metapool(address _base_pool, string _name, string _symbol, address _coin, uint256 _A, uint256 _fee) returns(address)

func (*CurveFactoryTransactor) DeployMetapool0

func (_CurveFactory *CurveFactoryTransactor) DeployMetapool0(opts *bind.TransactOpts, _base_pool common.Address, _name string, _symbol string, _coin common.Address, _A *big.Int, _fee *big.Int, _implementation_idx *big.Int) (*types.Transaction, error)

DeployMetapool0 is a paid mutator transaction binding the contract method 0xde7fe3bf.

Solidity: function deploy_metapool(address _base_pool, string _name, string _symbol, address _coin, uint256 _A, uint256 _fee, uint256 _implementation_idx) returns(address)

func (*CurveFactoryTransactor) DeployPlainPool

func (_CurveFactory *CurveFactoryTransactor) DeployPlainPool(opts *bind.TransactOpts, _name string, _symbol string, _coins [4]common.Address, _A *big.Int, _fee *big.Int) (*types.Transaction, error)

DeployPlainPool is a paid mutator transaction binding the contract method 0xcd419bb5.

Solidity: function deploy_plain_pool(string _name, string _symbol, address[4] _coins, uint256 _A, uint256 _fee) returns(address)

func (*CurveFactoryTransactor) DeployPlainPool0

func (_CurveFactory *CurveFactoryTransactor) DeployPlainPool0(opts *bind.TransactOpts, _name string, _symbol string, _coins [4]common.Address, _A *big.Int, _fee *big.Int, _asset_type *big.Int) (*types.Transaction, error)

DeployPlainPool0 is a paid mutator transaction binding the contract method 0x5c16487b.

Solidity: function deploy_plain_pool(string _name, string _symbol, address[4] _coins, uint256 _A, uint256 _fee, uint256 _asset_type) returns(address)

func (*CurveFactoryTransactor) DeployPlainPool1

func (_CurveFactory *CurveFactoryTransactor) DeployPlainPool1(opts *bind.TransactOpts, _name string, _symbol string, _coins [4]common.Address, _A *big.Int, _fee *big.Int, _asset_type *big.Int, _implementation_idx *big.Int) (*types.Transaction, error)

DeployPlainPool1 is a paid mutator transaction binding the contract method 0x52f2db69.

Solidity: function deploy_plain_pool(string _name, string _symbol, address[4] _coins, uint256 _A, uint256 _fee, uint256 _asset_type, uint256 _implementation_idx) returns(address)

func (*CurveFactoryTransactor) SetFeeReceiver

func (_CurveFactory *CurveFactoryTransactor) SetFeeReceiver(opts *bind.TransactOpts, _base_pool common.Address, _fee_receiver common.Address) (*types.Transaction, error)

SetFeeReceiver is a paid mutator transaction binding the contract method 0x36d2b77a.

Solidity: function set_fee_receiver(address _base_pool, address _fee_receiver) returns()

func (*CurveFactoryTransactor) SetGaugeImplementation

func (_CurveFactory *CurveFactoryTransactor) SetGaugeImplementation(opts *bind.TransactOpts, _gauge_implementation common.Address) (*types.Transaction, error)

SetGaugeImplementation is a paid mutator transaction binding the contract method 0x8f03182c.

Solidity: function set_gauge_implementation(address _gauge_implementation) returns()

func (*CurveFactoryTransactor) SetManager

func (_CurveFactory *CurveFactoryTransactor) SetManager(opts *bind.TransactOpts, _manager common.Address) (*types.Transaction, error)

SetManager is a paid mutator transaction binding the contract method 0x9aece83e.

Solidity: function set_manager(address _manager) returns()

func (*CurveFactoryTransactor) SetMetapoolImplementations

func (_CurveFactory *CurveFactoryTransactor) SetMetapoolImplementations(opts *bind.TransactOpts, _base_pool common.Address, _implementations [10]common.Address) (*types.Transaction, error)

SetMetapoolImplementations is a paid mutator transaction binding the contract method 0xcb956b46.

Solidity: function set_metapool_implementations(address _base_pool, address[10] _implementations) returns()

func (*CurveFactoryTransactor) SetPlainImplementations

func (_CurveFactory *CurveFactoryTransactor) SetPlainImplementations(opts *bind.TransactOpts, _n_coins *big.Int, _implementations [10]common.Address) (*types.Transaction, error)

SetPlainImplementations is a paid mutator transaction binding the contract method 0x9ddbf4b9.

Solidity: function set_plain_implementations(uint256 _n_coins, address[10] _implementations) returns()

type CurveFactoryTransactorRaw

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

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

func (*CurveFactoryTransactorRaw) Transact

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

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

func (*CurveFactoryTransactorRaw) Transfer

func (_CurveFactory *CurveFactoryTransactorRaw) 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 CurveFactoryTransactorSession

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

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

func (*CurveFactoryTransactorSession) AcceptTransferOwnership

func (_CurveFactory *CurveFactoryTransactorSession) AcceptTransferOwnership() (*types.Transaction, error)

AcceptTransferOwnership is a paid mutator transaction binding the contract method 0xe5ea47b8.

Solidity: function accept_transfer_ownership() returns()

func (*CurveFactoryTransactorSession) AddBasePool

func (_CurveFactory *CurveFactoryTransactorSession) AddBasePool(_base_pool common.Address, _fee_receiver common.Address, _asset_type *big.Int, _implementations [10]common.Address) (*types.Transaction, error)

AddBasePool is a paid mutator transaction binding the contract method 0x2fc05653.

Solidity: function add_base_pool(address _base_pool, address _fee_receiver, uint256 _asset_type, address[10] _implementations) returns()

func (*CurveFactoryTransactorSession) AddExistingMetapools

func (_CurveFactory *CurveFactoryTransactorSession) AddExistingMetapools(_pools [10]common.Address) (*types.Transaction, error)

AddExistingMetapools is a paid mutator transaction binding the contract method 0xdb89fabc.

Solidity: function add_existing_metapools(address[10] _pools) returns(bool)

func (*CurveFactoryTransactorSession) BatchSetPoolAssetType

func (_CurveFactory *CurveFactoryTransactorSession) BatchSetPoolAssetType(_pools [32]common.Address, _asset_types [32]*big.Int) (*types.Transaction, error)

BatchSetPoolAssetType is a paid mutator transaction binding the contract method 0x7542f078.

Solidity: function batch_set_pool_asset_type(address[32] _pools, uint256[32] _asset_types) returns()

func (*CurveFactoryTransactorSession) CommitTransferOwnership

func (_CurveFactory *CurveFactoryTransactorSession) CommitTransferOwnership(_addr common.Address) (*types.Transaction, error)

CommitTransferOwnership is a paid mutator transaction binding the contract method 0x6b441a40.

Solidity: function commit_transfer_ownership(address _addr) returns()

func (*CurveFactoryTransactorSession) ConvertMetapoolFees

func (_CurveFactory *CurveFactoryTransactorSession) ConvertMetapoolFees() (*types.Transaction, error)

ConvertMetapoolFees is a paid mutator transaction binding the contract method 0xbcc981d2.

Solidity: function convert_metapool_fees() returns(bool)

func (*CurveFactoryTransactorSession) DeployGauge

func (_CurveFactory *CurveFactoryTransactorSession) DeployGauge(_pool common.Address) (*types.Transaction, error)

DeployGauge is a paid mutator transaction binding the contract method 0x96bebb34.

Solidity: function deploy_gauge(address _pool) returns(address)

func (*CurveFactoryTransactorSession) DeployMetapool

func (_CurveFactory *CurveFactoryTransactorSession) DeployMetapool(_base_pool common.Address, _name string, _symbol string, _coin common.Address, _A *big.Int, _fee *big.Int) (*types.Transaction, error)

DeployMetapool is a paid mutator transaction binding the contract method 0xe339eb4f.

Solidity: function deploy_metapool(address _base_pool, string _name, string _symbol, address _coin, uint256 _A, uint256 _fee) returns(address)

func (*CurveFactoryTransactorSession) DeployMetapool0

func (_CurveFactory *CurveFactoryTransactorSession) DeployMetapool0(_base_pool common.Address, _name string, _symbol string, _coin common.Address, _A *big.Int, _fee *big.Int, _implementation_idx *big.Int) (*types.Transaction, error)

DeployMetapool0 is a paid mutator transaction binding the contract method 0xde7fe3bf.

Solidity: function deploy_metapool(address _base_pool, string _name, string _symbol, address _coin, uint256 _A, uint256 _fee, uint256 _implementation_idx) returns(address)

func (*CurveFactoryTransactorSession) DeployPlainPool

func (_CurveFactory *CurveFactoryTransactorSession) DeployPlainPool(_name string, _symbol string, _coins [4]common.Address, _A *big.Int, _fee *big.Int) (*types.Transaction, error)

DeployPlainPool is a paid mutator transaction binding the contract method 0xcd419bb5.

Solidity: function deploy_plain_pool(string _name, string _symbol, address[4] _coins, uint256 _A, uint256 _fee) returns(address)

func (*CurveFactoryTransactorSession) DeployPlainPool0

func (_CurveFactory *CurveFactoryTransactorSession) DeployPlainPool0(_name string, _symbol string, _coins [4]common.Address, _A *big.Int, _fee *big.Int, _asset_type *big.Int) (*types.Transaction, error)

DeployPlainPool0 is a paid mutator transaction binding the contract method 0x5c16487b.

Solidity: function deploy_plain_pool(string _name, string _symbol, address[4] _coins, uint256 _A, uint256 _fee, uint256 _asset_type) returns(address)

func (*CurveFactoryTransactorSession) DeployPlainPool1

func (_CurveFactory *CurveFactoryTransactorSession) DeployPlainPool1(_name string, _symbol string, _coins [4]common.Address, _A *big.Int, _fee *big.Int, _asset_type *big.Int, _implementation_idx *big.Int) (*types.Transaction, error)

DeployPlainPool1 is a paid mutator transaction binding the contract method 0x52f2db69.

Solidity: function deploy_plain_pool(string _name, string _symbol, address[4] _coins, uint256 _A, uint256 _fee, uint256 _asset_type, uint256 _implementation_idx) returns(address)

func (*CurveFactoryTransactorSession) SetFeeReceiver

func (_CurveFactory *CurveFactoryTransactorSession) SetFeeReceiver(_base_pool common.Address, _fee_receiver common.Address) (*types.Transaction, error)

SetFeeReceiver is a paid mutator transaction binding the contract method 0x36d2b77a.

Solidity: function set_fee_receiver(address _base_pool, address _fee_receiver) returns()

func (*CurveFactoryTransactorSession) SetGaugeImplementation

func (_CurveFactory *CurveFactoryTransactorSession) SetGaugeImplementation(_gauge_implementation common.Address) (*types.Transaction, error)

SetGaugeImplementation is a paid mutator transaction binding the contract method 0x8f03182c.

Solidity: function set_gauge_implementation(address _gauge_implementation) returns()

func (*CurveFactoryTransactorSession) SetManager

func (_CurveFactory *CurveFactoryTransactorSession) SetManager(_manager common.Address) (*types.Transaction, error)

SetManager is a paid mutator transaction binding the contract method 0x9aece83e.

Solidity: function set_manager(address _manager) returns()

func (*CurveFactoryTransactorSession) SetMetapoolImplementations

func (_CurveFactory *CurveFactoryTransactorSession) SetMetapoolImplementations(_base_pool common.Address, _implementations [10]common.Address) (*types.Transaction, error)

SetMetapoolImplementations is a paid mutator transaction binding the contract method 0xcb956b46.

Solidity: function set_metapool_implementations(address _base_pool, address[10] _implementations) returns()

func (*CurveFactoryTransactorSession) SetPlainImplementations

func (_CurveFactory *CurveFactoryTransactorSession) SetPlainImplementations(_n_coins *big.Int, _implementations [10]common.Address) (*types.Transaction, error)

SetPlainImplementations is a paid mutator transaction binding the contract method 0x9ddbf4b9.

Solidity: function set_plain_implementations(uint256 _n_coins, address[10] _implementations) returns()

type CurveLiquidityGauge

type CurveLiquidityGauge struct {
	CurveLiquidityGaugeCaller     // Read-only binding to the contract
	CurveLiquidityGaugeTransactor // Write-only binding to the contract
	CurveLiquidityGaugeFilterer   // Log filterer for contract events
}

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

func NewCurveLiquidityGauge

func NewCurveLiquidityGauge(address common.Address, backend bind.ContractBackend) (*CurveLiquidityGauge, error)

NewCurveLiquidityGauge creates a new instance of CurveLiquidityGauge, bound to a specific deployed contract.

type CurveLiquidityGaugeApplyOwnership

type CurveLiquidityGaugeApplyOwnership struct {
	Admin common.Address
	Raw   types.Log // Blockchain specific contextual infos
}

CurveLiquidityGaugeApplyOwnership represents a ApplyOwnership event raised by the CurveLiquidityGauge contract.

type CurveLiquidityGaugeApplyOwnershipIterator

type CurveLiquidityGaugeApplyOwnershipIterator struct {
	Event *CurveLiquidityGaugeApplyOwnership // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CurveLiquidityGaugeApplyOwnershipIterator is returned from FilterApplyOwnership and is used to iterate over the raw logs and unpacked data for ApplyOwnership events raised by the CurveLiquidityGauge contract.

func (*CurveLiquidityGaugeApplyOwnershipIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CurveLiquidityGaugeApplyOwnershipIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurveLiquidityGaugeApplyOwnershipIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CurveLiquidityGaugeApproval

type CurveLiquidityGaugeApproval struct {
	Owner   common.Address
	Spender common.Address
	Value   *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

CurveLiquidityGaugeApproval represents a Approval event raised by the CurveLiquidityGauge contract.

type CurveLiquidityGaugeApprovalIterator

type CurveLiquidityGaugeApprovalIterator struct {
	Event *CurveLiquidityGaugeApproval // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CurveLiquidityGaugeApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the CurveLiquidityGauge contract.

func (*CurveLiquidityGaugeApprovalIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CurveLiquidityGaugeApprovalIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurveLiquidityGaugeApprovalIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CurveLiquidityGaugeCaller

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

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

func NewCurveLiquidityGaugeCaller

func NewCurveLiquidityGaugeCaller(address common.Address, caller bind.ContractCaller) (*CurveLiquidityGaugeCaller, error)

NewCurveLiquidityGaugeCaller creates a new read-only instance of CurveLiquidityGauge, bound to a specific deployed contract.

func (*CurveLiquidityGaugeCaller) Admin

func (_CurveLiquidityGauge *CurveLiquidityGaugeCaller) Admin(opts *bind.CallOpts) (common.Address, error)

Admin is a free data retrieval call binding the contract method 0xf851a440.

Solidity: function admin() view returns(address)

func (*CurveLiquidityGaugeCaller) Allowance

func (_CurveLiquidityGauge *CurveLiquidityGaugeCaller) Allowance(opts *bind.CallOpts, _owner common.Address, _spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address _owner, address _spender) view returns(uint256)

func (*CurveLiquidityGaugeCaller) ApprovedToDeposit

func (_CurveLiquidityGauge *CurveLiquidityGaugeCaller) ApprovedToDeposit(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (bool, error)

ApprovedToDeposit is a free data retrieval call binding the contract method 0xe1522536.

Solidity: function approved_to_deposit(address arg0, address arg1) view returns(bool)

func (*CurveLiquidityGaugeCaller) BalanceOf

func (_CurveLiquidityGauge *CurveLiquidityGaugeCaller) BalanceOf(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address arg0) view returns(uint256)

func (*CurveLiquidityGaugeCaller) ClaimableTokens

func (_CurveLiquidityGauge *CurveLiquidityGaugeCaller) ClaimableTokens(opts *bind.CallOpts, addr common.Address) (*big.Int, error)

ClaimableTokens is a free data retrieval call binding the contract method 0x33134583.

Solidity: function claimable_tokens(address addr) view returns(uint256)

func (*CurveLiquidityGaugeCaller) Controller

func (_CurveLiquidityGauge *CurveLiquidityGaugeCaller) Controller(opts *bind.CallOpts) (common.Address, error)

Controller is a free data retrieval call binding the contract method 0xf77c4791.

Solidity: function controller() view returns(address)

func (*CurveLiquidityGaugeCaller) CrvToken

func (_CurveLiquidityGauge *CurveLiquidityGaugeCaller) CrvToken(opts *bind.CallOpts) (common.Address, error)

CrvToken is a free data retrieval call binding the contract method 0x76d8b117.

Solidity: function crv_token() view returns(address)

func (*CurveLiquidityGaugeCaller) Decimals

func (_CurveLiquidityGauge *CurveLiquidityGaugeCaller) Decimals(opts *bind.CallOpts) (*big.Int, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint256)

func (*CurveLiquidityGaugeCaller) FutureAdmin

func (_CurveLiquidityGauge *CurveLiquidityGaugeCaller) FutureAdmin(opts *bind.CallOpts) (common.Address, error)

FutureAdmin is a free data retrieval call binding the contract method 0x17f7182a.

Solidity: function future_admin() view returns(address)

func (*CurveLiquidityGaugeCaller) FutureEpochTime

func (_CurveLiquidityGauge *CurveLiquidityGaugeCaller) FutureEpochTime(opts *bind.CallOpts) (*big.Int, error)

FutureEpochTime is a free data retrieval call binding the contract method 0xbe5d1be9.

Solidity: function future_epoch_time() view returns(uint256)

func (*CurveLiquidityGaugeCaller) InflationRate

func (_CurveLiquidityGauge *CurveLiquidityGaugeCaller) InflationRate(opts *bind.CallOpts) (*big.Int, error)

InflationRate is a free data retrieval call binding the contract method 0x180692d0.

Solidity: function inflation_rate() view returns(uint256)

func (*CurveLiquidityGaugeCaller) IntegrateCheckpoint

func (_CurveLiquidityGauge *CurveLiquidityGaugeCaller) IntegrateCheckpoint(opts *bind.CallOpts) (*big.Int, error)

IntegrateCheckpoint is a free data retrieval call binding the contract method 0xd31f3f6d.

Solidity: function integrate_checkpoint() view returns(uint256)

func (*CurveLiquidityGaugeCaller) IntegrateCheckpointOf

func (_CurveLiquidityGauge *CurveLiquidityGaugeCaller) IntegrateCheckpointOf(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

IntegrateCheckpointOf is a free data retrieval call binding the contract method 0x9bd324f2.

Solidity: function integrate_checkpoint_of(address arg0) view returns(uint256)

func (*CurveLiquidityGaugeCaller) IntegrateFraction

func (_CurveLiquidityGauge *CurveLiquidityGaugeCaller) IntegrateFraction(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

IntegrateFraction is a free data retrieval call binding the contract method 0x09400707.

Solidity: function integrate_fraction(address arg0) view returns(uint256)

func (*CurveLiquidityGaugeCaller) IntegrateInvSupply

func (_CurveLiquidityGauge *CurveLiquidityGaugeCaller) IntegrateInvSupply(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)

IntegrateInvSupply is a free data retrieval call binding the contract method 0xfec8ee0c.

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

func (*CurveLiquidityGaugeCaller) IntegrateInvSupplyOf

func (_CurveLiquidityGauge *CurveLiquidityGaugeCaller) IntegrateInvSupplyOf(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

IntegrateInvSupplyOf is a free data retrieval call binding the contract method 0xde263bfa.

Solidity: function integrate_inv_supply_of(address arg0) view returns(uint256)

func (*CurveLiquidityGaugeCaller) IsKilled

func (_CurveLiquidityGauge *CurveLiquidityGaugeCaller) 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 (*CurveLiquidityGaugeCaller) LpToken

func (_CurveLiquidityGauge *CurveLiquidityGaugeCaller) 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 (*CurveLiquidityGaugeCaller) Minter

func (_CurveLiquidityGauge *CurveLiquidityGaugeCaller) Minter(opts *bind.CallOpts) (common.Address, error)

Minter is a free data retrieval call binding the contract method 0x07546172.

Solidity: function minter() view returns(address)

func (*CurveLiquidityGaugeCaller) Name

func (_CurveLiquidityGauge *CurveLiquidityGaugeCaller) Name(opts *bind.CallOpts) (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*CurveLiquidityGaugeCaller) Period

func (_CurveLiquidityGauge *CurveLiquidityGaugeCaller) Period(opts *bind.CallOpts) (*big.Int, error)

Period is a free data retrieval call binding the contract method 0xef78d4fd.

Solidity: function period() view returns(int128)

func (*CurveLiquidityGaugeCaller) PeriodTimestamp

func (_CurveLiquidityGauge *CurveLiquidityGaugeCaller) PeriodTimestamp(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)

PeriodTimestamp is a free data retrieval call binding the contract method 0x7598108c.

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

func (*CurveLiquidityGaugeCaller) RewardContract

func (_CurveLiquidityGauge *CurveLiquidityGaugeCaller) RewardContract(opts *bind.CallOpts) (common.Address, error)

RewardContract is a free data retrieval call binding the contract method 0xbf88a6ff.

Solidity: function reward_contract() view returns(address)

func (*CurveLiquidityGaugeCaller) RewardIntegral

func (_CurveLiquidityGauge *CurveLiquidityGaugeCaller) RewardIntegral(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

RewardIntegral is a free data retrieval call binding the contract method 0x73861fb3.

Solidity: function reward_integral(address arg0) view returns(uint256)

func (*CurveLiquidityGaugeCaller) RewardIntegralFor

func (_CurveLiquidityGauge *CurveLiquidityGaugeCaller) RewardIntegralFor(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)

RewardIntegralFor is a free data retrieval call binding the contract method 0xf05cc058.

Solidity: function reward_integral_for(address arg0, address arg1) view returns(uint256)

func (*CurveLiquidityGaugeCaller) RewardTokens

func (_CurveLiquidityGauge *CurveLiquidityGaugeCaller) RewardTokens(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)

RewardTokens is a free data retrieval call binding the contract method 0x54c49fe9.

Solidity: function reward_tokens(uint256 arg0) view returns(address)

func (*CurveLiquidityGaugeCaller) Symbol

func (_CurveLiquidityGauge *CurveLiquidityGaugeCaller) Symbol(opts *bind.CallOpts) (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*CurveLiquidityGaugeCaller) TotalSupply

func (_CurveLiquidityGauge *CurveLiquidityGaugeCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*CurveLiquidityGaugeCaller) VotingEscrow

func (_CurveLiquidityGauge *CurveLiquidityGaugeCaller) VotingEscrow(opts *bind.CallOpts) (common.Address, error)

VotingEscrow is a free data retrieval call binding the contract method 0xdfe05031.

Solidity: function voting_escrow() view returns(address)

func (*CurveLiquidityGaugeCaller) WorkingBalances

func (_CurveLiquidityGauge *CurveLiquidityGaugeCaller) WorkingBalances(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

WorkingBalances is a free data retrieval call binding the contract method 0x13ecb1ca.

Solidity: function working_balances(address arg0) view returns(uint256)

func (*CurveLiquidityGaugeCaller) WorkingSupply

func (_CurveLiquidityGauge *CurveLiquidityGaugeCaller) WorkingSupply(opts *bind.CallOpts) (*big.Int, error)

WorkingSupply is a free data retrieval call binding the contract method 0x17e28089.

Solidity: function working_supply() view returns(uint256)

type CurveLiquidityGaugeCallerRaw

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

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

func (*CurveLiquidityGaugeCallerRaw) Call

func (_CurveLiquidityGauge *CurveLiquidityGaugeCallerRaw) 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 CurveLiquidityGaugeCallerSession

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

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

func (*CurveLiquidityGaugeCallerSession) Admin

func (_CurveLiquidityGauge *CurveLiquidityGaugeCallerSession) Admin() (common.Address, error)

Admin is a free data retrieval call binding the contract method 0xf851a440.

Solidity: function admin() view returns(address)

func (*CurveLiquidityGaugeCallerSession) Allowance

func (_CurveLiquidityGauge *CurveLiquidityGaugeCallerSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address _owner, address _spender) view returns(uint256)

func (*CurveLiquidityGaugeCallerSession) ApprovedToDeposit

func (_CurveLiquidityGauge *CurveLiquidityGaugeCallerSession) ApprovedToDeposit(arg0 common.Address, arg1 common.Address) (bool, error)

ApprovedToDeposit is a free data retrieval call binding the contract method 0xe1522536.

Solidity: function approved_to_deposit(address arg0, address arg1) view returns(bool)

func (*CurveLiquidityGaugeCallerSession) BalanceOf

func (_CurveLiquidityGauge *CurveLiquidityGaugeCallerSession) BalanceOf(arg0 common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address arg0) view returns(uint256)

func (*CurveLiquidityGaugeCallerSession) ClaimableTokens

func (_CurveLiquidityGauge *CurveLiquidityGaugeCallerSession) ClaimableTokens(addr common.Address) (*big.Int, error)

ClaimableTokens is a free data retrieval call binding the contract method 0x33134583.

Solidity: function claimable_tokens(address addr) view returns(uint256)

func (*CurveLiquidityGaugeCallerSession) Controller

func (_CurveLiquidityGauge *CurveLiquidityGaugeCallerSession) Controller() (common.Address, error)

Controller is a free data retrieval call binding the contract method 0xf77c4791.

Solidity: function controller() view returns(address)

func (*CurveLiquidityGaugeCallerSession) CrvToken

func (_CurveLiquidityGauge *CurveLiquidityGaugeCallerSession) CrvToken() (common.Address, error)

CrvToken is a free data retrieval call binding the contract method 0x76d8b117.

Solidity: function crv_token() view returns(address)

func (*CurveLiquidityGaugeCallerSession) Decimals

func (_CurveLiquidityGauge *CurveLiquidityGaugeCallerSession) Decimals() (*big.Int, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint256)

func (*CurveLiquidityGaugeCallerSession) FutureAdmin

func (_CurveLiquidityGauge *CurveLiquidityGaugeCallerSession) FutureAdmin() (common.Address, error)

FutureAdmin is a free data retrieval call binding the contract method 0x17f7182a.

Solidity: function future_admin() view returns(address)

func (*CurveLiquidityGaugeCallerSession) FutureEpochTime

func (_CurveLiquidityGauge *CurveLiquidityGaugeCallerSession) FutureEpochTime() (*big.Int, error)

FutureEpochTime is a free data retrieval call binding the contract method 0xbe5d1be9.

Solidity: function future_epoch_time() view returns(uint256)

func (*CurveLiquidityGaugeCallerSession) InflationRate

func (_CurveLiquidityGauge *CurveLiquidityGaugeCallerSession) InflationRate() (*big.Int, error)

InflationRate is a free data retrieval call binding the contract method 0x180692d0.

Solidity: function inflation_rate() view returns(uint256)

func (*CurveLiquidityGaugeCallerSession) IntegrateCheckpoint

func (_CurveLiquidityGauge *CurveLiquidityGaugeCallerSession) IntegrateCheckpoint() (*big.Int, error)

IntegrateCheckpoint is a free data retrieval call binding the contract method 0xd31f3f6d.

Solidity: function integrate_checkpoint() view returns(uint256)

func (*CurveLiquidityGaugeCallerSession) IntegrateCheckpointOf

func (_CurveLiquidityGauge *CurveLiquidityGaugeCallerSession) IntegrateCheckpointOf(arg0 common.Address) (*big.Int, error)

IntegrateCheckpointOf is a free data retrieval call binding the contract method 0x9bd324f2.

Solidity: function integrate_checkpoint_of(address arg0) view returns(uint256)

func (*CurveLiquidityGaugeCallerSession) IntegrateFraction

func (_CurveLiquidityGauge *CurveLiquidityGaugeCallerSession) IntegrateFraction(arg0 common.Address) (*big.Int, error)

IntegrateFraction is a free data retrieval call binding the contract method 0x09400707.

Solidity: function integrate_fraction(address arg0) view returns(uint256)

func (*CurveLiquidityGaugeCallerSession) IntegrateInvSupply

func (_CurveLiquidityGauge *CurveLiquidityGaugeCallerSession) IntegrateInvSupply(arg0 *big.Int) (*big.Int, error)

IntegrateInvSupply is a free data retrieval call binding the contract method 0xfec8ee0c.

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

func (*CurveLiquidityGaugeCallerSession) IntegrateInvSupplyOf

func (_CurveLiquidityGauge *CurveLiquidityGaugeCallerSession) IntegrateInvSupplyOf(arg0 common.Address) (*big.Int, error)

IntegrateInvSupplyOf is a free data retrieval call binding the contract method 0xde263bfa.

Solidity: function integrate_inv_supply_of(address arg0) view returns(uint256)

func (*CurveLiquidityGaugeCallerSession) IsKilled

func (_CurveLiquidityGauge *CurveLiquidityGaugeCallerSession) IsKilled() (bool, error)

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

Solidity: function is_killed() view returns(bool)

func (*CurveLiquidityGaugeCallerSession) LpToken

func (_CurveLiquidityGauge *CurveLiquidityGaugeCallerSession) LpToken() (common.Address, error)

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

Solidity: function lp_token() view returns(address)

func (*CurveLiquidityGaugeCallerSession) Minter

func (_CurveLiquidityGauge *CurveLiquidityGaugeCallerSession) Minter() (common.Address, error)

Minter is a free data retrieval call binding the contract method 0x07546172.

Solidity: function minter() view returns(address)

func (*CurveLiquidityGaugeCallerSession) Name

func (_CurveLiquidityGauge *CurveLiquidityGaugeCallerSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*CurveLiquidityGaugeCallerSession) Period

func (_CurveLiquidityGauge *CurveLiquidityGaugeCallerSession) Period() (*big.Int, error)

Period is a free data retrieval call binding the contract method 0xef78d4fd.

Solidity: function period() view returns(int128)

func (*CurveLiquidityGaugeCallerSession) PeriodTimestamp

func (_CurveLiquidityGauge *CurveLiquidityGaugeCallerSession) PeriodTimestamp(arg0 *big.Int) (*big.Int, error)

PeriodTimestamp is a free data retrieval call binding the contract method 0x7598108c.

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

func (*CurveLiquidityGaugeCallerSession) RewardContract

func (_CurveLiquidityGauge *CurveLiquidityGaugeCallerSession) RewardContract() (common.Address, error)

RewardContract is a free data retrieval call binding the contract method 0xbf88a6ff.

Solidity: function reward_contract() view returns(address)

func (*CurveLiquidityGaugeCallerSession) RewardIntegral

func (_CurveLiquidityGauge *CurveLiquidityGaugeCallerSession) RewardIntegral(arg0 common.Address) (*big.Int, error)

RewardIntegral is a free data retrieval call binding the contract method 0x73861fb3.

Solidity: function reward_integral(address arg0) view returns(uint256)

func (*CurveLiquidityGaugeCallerSession) RewardIntegralFor

func (_CurveLiquidityGauge *CurveLiquidityGaugeCallerSession) RewardIntegralFor(arg0 common.Address, arg1 common.Address) (*big.Int, error)

RewardIntegralFor is a free data retrieval call binding the contract method 0xf05cc058.

Solidity: function reward_integral_for(address arg0, address arg1) view returns(uint256)

func (*CurveLiquidityGaugeCallerSession) RewardTokens

func (_CurveLiquidityGauge *CurveLiquidityGaugeCallerSession) RewardTokens(arg0 *big.Int) (common.Address, error)

RewardTokens is a free data retrieval call binding the contract method 0x54c49fe9.

Solidity: function reward_tokens(uint256 arg0) view returns(address)

func (*CurveLiquidityGaugeCallerSession) Symbol

func (_CurveLiquidityGauge *CurveLiquidityGaugeCallerSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*CurveLiquidityGaugeCallerSession) TotalSupply

func (_CurveLiquidityGauge *CurveLiquidityGaugeCallerSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*CurveLiquidityGaugeCallerSession) VotingEscrow

func (_CurveLiquidityGauge *CurveLiquidityGaugeCallerSession) VotingEscrow() (common.Address, error)

VotingEscrow is a free data retrieval call binding the contract method 0xdfe05031.

Solidity: function voting_escrow() view returns(address)

func (*CurveLiquidityGaugeCallerSession) WorkingBalances

func (_CurveLiquidityGauge *CurveLiquidityGaugeCallerSession) WorkingBalances(arg0 common.Address) (*big.Int, error)

WorkingBalances is a free data retrieval call binding the contract method 0x13ecb1ca.

Solidity: function working_balances(address arg0) view returns(uint256)

func (*CurveLiquidityGaugeCallerSession) WorkingSupply

func (_CurveLiquidityGauge *CurveLiquidityGaugeCallerSession) WorkingSupply() (*big.Int, error)

WorkingSupply is a free data retrieval call binding the contract method 0x17e28089.

Solidity: function working_supply() view returns(uint256)

type CurveLiquidityGaugeCommitOwnership

type CurveLiquidityGaugeCommitOwnership struct {
	Admin common.Address
	Raw   types.Log // Blockchain specific contextual infos
}

CurveLiquidityGaugeCommitOwnership represents a CommitOwnership event raised by the CurveLiquidityGauge contract.

type CurveLiquidityGaugeCommitOwnershipIterator

type CurveLiquidityGaugeCommitOwnershipIterator struct {
	Event *CurveLiquidityGaugeCommitOwnership // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CurveLiquidityGaugeCommitOwnershipIterator is returned from FilterCommitOwnership and is used to iterate over the raw logs and unpacked data for CommitOwnership events raised by the CurveLiquidityGauge contract.

func (*CurveLiquidityGaugeCommitOwnershipIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CurveLiquidityGaugeCommitOwnershipIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurveLiquidityGaugeCommitOwnershipIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CurveLiquidityGaugeDeposit

type CurveLiquidityGaugeDeposit struct {
	Provider common.Address
	Value    *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

CurveLiquidityGaugeDeposit represents a Deposit event raised by the CurveLiquidityGauge contract.

type CurveLiquidityGaugeDepositIterator

type CurveLiquidityGaugeDepositIterator struct {
	Event *CurveLiquidityGaugeDeposit // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CurveLiquidityGaugeDepositIterator is returned from FilterDeposit and is used to iterate over the raw logs and unpacked data for Deposit events raised by the CurveLiquidityGauge contract.

func (*CurveLiquidityGaugeDepositIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CurveLiquidityGaugeDepositIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurveLiquidityGaugeDepositIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CurveLiquidityGaugeFilterer

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

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

func NewCurveLiquidityGaugeFilterer

func NewCurveLiquidityGaugeFilterer(address common.Address, filterer bind.ContractFilterer) (*CurveLiquidityGaugeFilterer, error)

NewCurveLiquidityGaugeFilterer creates a new log filterer instance of CurveLiquidityGauge, bound to a specific deployed contract.

func (*CurveLiquidityGaugeFilterer) FilterApplyOwnership

func (_CurveLiquidityGauge *CurveLiquidityGaugeFilterer) FilterApplyOwnership(opts *bind.FilterOpts) (*CurveLiquidityGaugeApplyOwnershipIterator, error)

FilterApplyOwnership is a free log retrieval operation binding the contract event 0xebee2d5739011062cb4f14113f3b36bf0ffe3da5c0568f64189d1012a1189105.

Solidity: event ApplyOwnership(address admin)

func (*CurveLiquidityGaugeFilterer) FilterApproval

func (_CurveLiquidityGauge *CurveLiquidityGaugeFilterer) FilterApproval(opts *bind.FilterOpts, _owner []common.Address, _spender []common.Address) (*CurveLiquidityGaugeApprovalIterator, error)

FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed _owner, address indexed _spender, uint256 _value)

func (*CurveLiquidityGaugeFilterer) FilterCommitOwnership

func (_CurveLiquidityGauge *CurveLiquidityGaugeFilterer) FilterCommitOwnership(opts *bind.FilterOpts) (*CurveLiquidityGaugeCommitOwnershipIterator, error)

FilterCommitOwnership is a free log retrieval operation binding the contract event 0x2f56810a6bf40af059b96d3aea4db54081f378029a518390491093a7b67032e9.

Solidity: event CommitOwnership(address admin)

func (*CurveLiquidityGaugeFilterer) FilterDeposit

func (_CurveLiquidityGauge *CurveLiquidityGaugeFilterer) FilterDeposit(opts *bind.FilterOpts, provider []common.Address) (*CurveLiquidityGaugeDepositIterator, error)

FilterDeposit is a free log retrieval operation binding the contract event 0xe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c.

Solidity: event Deposit(address indexed provider, uint256 value)

func (*CurveLiquidityGaugeFilterer) FilterTransfer

func (_CurveLiquidityGauge *CurveLiquidityGaugeFilterer) FilterTransfer(opts *bind.FilterOpts, _from []common.Address, _to []common.Address) (*CurveLiquidityGaugeTransferIterator, error)

FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed _from, address indexed _to, uint256 _value)

func (*CurveLiquidityGaugeFilterer) FilterUpdateLiquidityLimit

func (_CurveLiquidityGauge *CurveLiquidityGaugeFilterer) FilterUpdateLiquidityLimit(opts *bind.FilterOpts) (*CurveLiquidityGaugeUpdateLiquidityLimitIterator, error)

FilterUpdateLiquidityLimit is a free log retrieval operation binding the contract event 0x7ecd84343f76a23d2227290e0288da3251b045541698e575a5515af4f04197a3.

Solidity: event UpdateLiquidityLimit(address user, uint256 original_balance, uint256 original_supply, uint256 working_balance, uint256 working_supply)

func (*CurveLiquidityGaugeFilterer) FilterWithdraw

func (_CurveLiquidityGauge *CurveLiquidityGaugeFilterer) FilterWithdraw(opts *bind.FilterOpts, provider []common.Address) (*CurveLiquidityGaugeWithdrawIterator, error)

FilterWithdraw is a free log retrieval operation binding the contract event 0x884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364.

Solidity: event Withdraw(address indexed provider, uint256 value)

func (*CurveLiquidityGaugeFilterer) ParseApplyOwnership

func (_CurveLiquidityGauge *CurveLiquidityGaugeFilterer) ParseApplyOwnership(log types.Log) (*CurveLiquidityGaugeApplyOwnership, error)

ParseApplyOwnership is a log parse operation binding the contract event 0xebee2d5739011062cb4f14113f3b36bf0ffe3da5c0568f64189d1012a1189105.

Solidity: event ApplyOwnership(address admin)

func (*CurveLiquidityGaugeFilterer) ParseApproval

func (_CurveLiquidityGauge *CurveLiquidityGaugeFilterer) ParseApproval(log types.Log) (*CurveLiquidityGaugeApproval, error)

ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed _owner, address indexed _spender, uint256 _value)

func (*CurveLiquidityGaugeFilterer) ParseCommitOwnership

func (_CurveLiquidityGauge *CurveLiquidityGaugeFilterer) ParseCommitOwnership(log types.Log) (*CurveLiquidityGaugeCommitOwnership, error)

ParseCommitOwnership is a log parse operation binding the contract event 0x2f56810a6bf40af059b96d3aea4db54081f378029a518390491093a7b67032e9.

Solidity: event CommitOwnership(address admin)

func (*CurveLiquidityGaugeFilterer) ParseDeposit

func (_CurveLiquidityGauge *CurveLiquidityGaugeFilterer) ParseDeposit(log types.Log) (*CurveLiquidityGaugeDeposit, error)

ParseDeposit is a log parse operation binding the contract event 0xe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c.

Solidity: event Deposit(address indexed provider, uint256 value)

func (*CurveLiquidityGaugeFilterer) ParseTransfer

func (_CurveLiquidityGauge *CurveLiquidityGaugeFilterer) ParseTransfer(log types.Log) (*CurveLiquidityGaugeTransfer, error)

ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed _from, address indexed _to, uint256 _value)

func (*CurveLiquidityGaugeFilterer) ParseUpdateLiquidityLimit

func (_CurveLiquidityGauge *CurveLiquidityGaugeFilterer) ParseUpdateLiquidityLimit(log types.Log) (*CurveLiquidityGaugeUpdateLiquidityLimit, error)

ParseUpdateLiquidityLimit is a log parse operation binding the contract event 0x7ecd84343f76a23d2227290e0288da3251b045541698e575a5515af4f04197a3.

Solidity: event UpdateLiquidityLimit(address user, uint256 original_balance, uint256 original_supply, uint256 working_balance, uint256 working_supply)

func (*CurveLiquidityGaugeFilterer) ParseWithdraw

func (_CurveLiquidityGauge *CurveLiquidityGaugeFilterer) ParseWithdraw(log types.Log) (*CurveLiquidityGaugeWithdraw, error)

ParseWithdraw is a log parse operation binding the contract event 0x884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364.

Solidity: event Withdraw(address indexed provider, uint256 value)

func (*CurveLiquidityGaugeFilterer) WatchApplyOwnership

func (_CurveLiquidityGauge *CurveLiquidityGaugeFilterer) WatchApplyOwnership(opts *bind.WatchOpts, sink chan<- *CurveLiquidityGaugeApplyOwnership) (event.Subscription, error)

WatchApplyOwnership is a free log subscription operation binding the contract event 0xebee2d5739011062cb4f14113f3b36bf0ffe3da5c0568f64189d1012a1189105.

Solidity: event ApplyOwnership(address admin)

func (*CurveLiquidityGaugeFilterer) WatchApproval

func (_CurveLiquidityGauge *CurveLiquidityGaugeFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *CurveLiquidityGaugeApproval, _owner []common.Address, _spender []common.Address) (event.Subscription, error)

WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed _owner, address indexed _spender, uint256 _value)

func (*CurveLiquidityGaugeFilterer) WatchCommitOwnership

func (_CurveLiquidityGauge *CurveLiquidityGaugeFilterer) WatchCommitOwnership(opts *bind.WatchOpts, sink chan<- *CurveLiquidityGaugeCommitOwnership) (event.Subscription, error)

WatchCommitOwnership is a free log subscription operation binding the contract event 0x2f56810a6bf40af059b96d3aea4db54081f378029a518390491093a7b67032e9.

Solidity: event CommitOwnership(address admin)

func (*CurveLiquidityGaugeFilterer) WatchDeposit

func (_CurveLiquidityGauge *CurveLiquidityGaugeFilterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *CurveLiquidityGaugeDeposit, provider []common.Address) (event.Subscription, error)

WatchDeposit is a free log subscription operation binding the contract event 0xe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c.

Solidity: event Deposit(address indexed provider, uint256 value)

func (*CurveLiquidityGaugeFilterer) WatchTransfer

func (_CurveLiquidityGauge *CurveLiquidityGaugeFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *CurveLiquidityGaugeTransfer, _from []common.Address, _to []common.Address) (event.Subscription, error)

WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed _from, address indexed _to, uint256 _value)

func (*CurveLiquidityGaugeFilterer) WatchUpdateLiquidityLimit

func (_CurveLiquidityGauge *CurveLiquidityGaugeFilterer) WatchUpdateLiquidityLimit(opts *bind.WatchOpts, sink chan<- *CurveLiquidityGaugeUpdateLiquidityLimit) (event.Subscription, error)

WatchUpdateLiquidityLimit is a free log subscription operation binding the contract event 0x7ecd84343f76a23d2227290e0288da3251b045541698e575a5515af4f04197a3.

Solidity: event UpdateLiquidityLimit(address user, uint256 original_balance, uint256 original_supply, uint256 working_balance, uint256 working_supply)

func (*CurveLiquidityGaugeFilterer) WatchWithdraw

func (_CurveLiquidityGauge *CurveLiquidityGaugeFilterer) WatchWithdraw(opts *bind.WatchOpts, sink chan<- *CurveLiquidityGaugeWithdraw, provider []common.Address) (event.Subscription, error)

WatchWithdraw is a free log subscription operation binding the contract event 0x884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364.

Solidity: event Withdraw(address indexed provider, uint256 value)

type CurveLiquidityGaugeRaw

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

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

func (*CurveLiquidityGaugeRaw) Call

func (_CurveLiquidityGauge *CurveLiquidityGaugeRaw) 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 (*CurveLiquidityGaugeRaw) Transact

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

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

func (*CurveLiquidityGaugeRaw) Transfer

func (_CurveLiquidityGauge *CurveLiquidityGaugeRaw) 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 CurveLiquidityGaugeSession

type CurveLiquidityGaugeSession struct {
	Contract     *CurveLiquidityGauge // 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
}

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

func (*CurveLiquidityGaugeSession) AcceptTransferOwnership

func (_CurveLiquidityGauge *CurveLiquidityGaugeSession) AcceptTransferOwnership() (*types.Transaction, error)

AcceptTransferOwnership is a paid mutator transaction binding the contract method 0xe5ea47b8.

Solidity: function accept_transfer_ownership() returns()

func (*CurveLiquidityGaugeSession) Admin

func (_CurveLiquidityGauge *CurveLiquidityGaugeSession) Admin() (common.Address, error)

Admin is a free data retrieval call binding the contract method 0xf851a440.

Solidity: function admin() view returns(address)

func (*CurveLiquidityGaugeSession) Allowance

func (_CurveLiquidityGauge *CurveLiquidityGaugeSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address _owner, address _spender) view returns(uint256)

func (*CurveLiquidityGaugeSession) Approve

func (_CurveLiquidityGauge *CurveLiquidityGaugeSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address _spender, uint256 _value) returns(bool)

func (*CurveLiquidityGaugeSession) ApprovedToDeposit

func (_CurveLiquidityGauge *CurveLiquidityGaugeSession) ApprovedToDeposit(arg0 common.Address, arg1 common.Address) (bool, error)

ApprovedToDeposit is a free data retrieval call binding the contract method 0xe1522536.

Solidity: function approved_to_deposit(address arg0, address arg1) view returns(bool)

func (*CurveLiquidityGaugeSession) BalanceOf

func (_CurveLiquidityGauge *CurveLiquidityGaugeSession) BalanceOf(arg0 common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address arg0) view returns(uint256)

func (*CurveLiquidityGaugeSession) ClaimHistoricRewards

func (_CurveLiquidityGauge *CurveLiquidityGaugeSession) ClaimHistoricRewards(_reward_tokens [8]common.Address) (*types.Transaction, error)

ClaimHistoricRewards is a paid mutator transaction binding the contract method 0xb9fa7a69.

Solidity: function claim_historic_rewards(address[8] _reward_tokens) returns()

func (*CurveLiquidityGaugeSession) ClaimHistoricRewards0

func (_CurveLiquidityGauge *CurveLiquidityGaugeSession) ClaimHistoricRewards0(_reward_tokens [8]common.Address, _addr common.Address) (*types.Transaction, error)

ClaimHistoricRewards0 is a paid mutator transaction binding the contract method 0x7a22ef67.

Solidity: function claim_historic_rewards(address[8] _reward_tokens, address _addr) returns()

func (*CurveLiquidityGaugeSession) ClaimRewards

func (_CurveLiquidityGauge *CurveLiquidityGaugeSession) ClaimRewards() (*types.Transaction, error)

ClaimRewards is a paid mutator transaction binding the contract method 0xe6f1daf2.

Solidity: function claim_rewards() returns()

func (*CurveLiquidityGaugeSession) ClaimRewards0

func (_CurveLiquidityGauge *CurveLiquidityGaugeSession) ClaimRewards0(_addr common.Address) (*types.Transaction, error)

ClaimRewards0 is a paid mutator transaction binding the contract method 0x84e9bd7e.

Solidity: function claim_rewards(address _addr) returns()

func (*CurveLiquidityGaugeSession) ClaimableReward

func (_CurveLiquidityGauge *CurveLiquidityGaugeSession) ClaimableReward(_addr common.Address, _token common.Address) (*types.Transaction, error)

ClaimableReward is a paid mutator transaction binding the contract method 0x33fd6f74.

Solidity: function claimable_reward(address _addr, address _token) returns(uint256)

func (*CurveLiquidityGaugeSession) ClaimableTokens

func (_CurveLiquidityGauge *CurveLiquidityGaugeSession) ClaimableTokens(addr common.Address) (*big.Int, error)

ClaimableTokens is a free data retrieval call binding the contract method 0x33134583.

Solidity: function claimable_tokens(address addr) view returns(uint256)

func (*CurveLiquidityGaugeSession) CommitTransferOwnership

func (_CurveLiquidityGauge *CurveLiquidityGaugeSession) CommitTransferOwnership(addr common.Address) (*types.Transaction, error)

CommitTransferOwnership is a paid mutator transaction binding the contract method 0x6b441a40.

Solidity: function commit_transfer_ownership(address addr) returns()

func (*CurveLiquidityGaugeSession) Controller

func (_CurveLiquidityGauge *CurveLiquidityGaugeSession) Controller() (common.Address, error)

Controller is a free data retrieval call binding the contract method 0xf77c4791.

Solidity: function controller() view returns(address)

func (*CurveLiquidityGaugeSession) CrvToken

func (_CurveLiquidityGauge *CurveLiquidityGaugeSession) CrvToken() (common.Address, error)

CrvToken is a free data retrieval call binding the contract method 0x76d8b117.

Solidity: function crv_token() view returns(address)

func (*CurveLiquidityGaugeSession) Decimals

func (_CurveLiquidityGauge *CurveLiquidityGaugeSession) Decimals() (*big.Int, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint256)

func (*CurveLiquidityGaugeSession) DecreaseAllowance

func (_CurveLiquidityGauge *CurveLiquidityGaugeSession) DecreaseAllowance(_spender common.Address, _subtracted_value *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address _spender, uint256 _subtracted_value) returns(bool)

func (*CurveLiquidityGaugeSession) Deposit

func (_CurveLiquidityGauge *CurveLiquidityGaugeSession) Deposit(_value *big.Int) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0xb6b55f25.

Solidity: function deposit(uint256 _value) returns()

func (*CurveLiquidityGaugeSession) Deposit0

func (_CurveLiquidityGauge *CurveLiquidityGaugeSession) Deposit0(_value *big.Int, _addr common.Address) (*types.Transaction, error)

Deposit0 is a paid mutator transaction binding the contract method 0x6e553f65.

Solidity: function deposit(uint256 _value, address _addr) returns()

func (*CurveLiquidityGaugeSession) FutureAdmin

func (_CurveLiquidityGauge *CurveLiquidityGaugeSession) FutureAdmin() (common.Address, error)

FutureAdmin is a free data retrieval call binding the contract method 0x17f7182a.

Solidity: function future_admin() view returns(address)

func (*CurveLiquidityGaugeSession) FutureEpochTime

func (_CurveLiquidityGauge *CurveLiquidityGaugeSession) FutureEpochTime() (*big.Int, error)

FutureEpochTime is a free data retrieval call binding the contract method 0xbe5d1be9.

Solidity: function future_epoch_time() view returns(uint256)

func (*CurveLiquidityGaugeSession) IncreaseAllowance

func (_CurveLiquidityGauge *CurveLiquidityGaugeSession) IncreaseAllowance(_spender common.Address, _added_value *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address _spender, uint256 _added_value) returns(bool)

func (*CurveLiquidityGaugeSession) InflationRate

func (_CurveLiquidityGauge *CurveLiquidityGaugeSession) InflationRate() (*big.Int, error)

InflationRate is a free data retrieval call binding the contract method 0x180692d0.

Solidity: function inflation_rate() view returns(uint256)

func (*CurveLiquidityGaugeSession) IntegrateCheckpoint

func (_CurveLiquidityGauge *CurveLiquidityGaugeSession) IntegrateCheckpoint() (*big.Int, error)

IntegrateCheckpoint is a free data retrieval call binding the contract method 0xd31f3f6d.

Solidity: function integrate_checkpoint() view returns(uint256)

func (*CurveLiquidityGaugeSession) IntegrateCheckpointOf

func (_CurveLiquidityGauge *CurveLiquidityGaugeSession) IntegrateCheckpointOf(arg0 common.Address) (*big.Int, error)

IntegrateCheckpointOf is a free data retrieval call binding the contract method 0x9bd324f2.

Solidity: function integrate_checkpoint_of(address arg0) view returns(uint256)

func (*CurveLiquidityGaugeSession) IntegrateFraction

func (_CurveLiquidityGauge *CurveLiquidityGaugeSession) IntegrateFraction(arg0 common.Address) (*big.Int, error)

IntegrateFraction is a free data retrieval call binding the contract method 0x09400707.

Solidity: function integrate_fraction(address arg0) view returns(uint256)

func (*CurveLiquidityGaugeSession) IntegrateInvSupply

func (_CurveLiquidityGauge *CurveLiquidityGaugeSession) IntegrateInvSupply(arg0 *big.Int) (*big.Int, error)

IntegrateInvSupply is a free data retrieval call binding the contract method 0xfec8ee0c.

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

func (*CurveLiquidityGaugeSession) IntegrateInvSupplyOf

func (_CurveLiquidityGauge *CurveLiquidityGaugeSession) IntegrateInvSupplyOf(arg0 common.Address) (*big.Int, error)

IntegrateInvSupplyOf is a free data retrieval call binding the contract method 0xde263bfa.

Solidity: function integrate_inv_supply_of(address arg0) view returns(uint256)

func (*CurveLiquidityGaugeSession) IsKilled

func (_CurveLiquidityGauge *CurveLiquidityGaugeSession) IsKilled() (bool, error)

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

Solidity: function is_killed() view returns(bool)

func (*CurveLiquidityGaugeSession) Kick

func (_CurveLiquidityGauge *CurveLiquidityGaugeSession) Kick(addr common.Address) (*types.Transaction, error)

Kick is a paid mutator transaction binding the contract method 0x96c55175.

Solidity: function kick(address addr) returns()

func (*CurveLiquidityGaugeSession) LpToken

func (_CurveLiquidityGauge *CurveLiquidityGaugeSession) LpToken() (common.Address, error)

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

Solidity: function lp_token() view returns(address)

func (*CurveLiquidityGaugeSession) Minter

func (_CurveLiquidityGauge *CurveLiquidityGaugeSession) Minter() (common.Address, error)

Minter is a free data retrieval call binding the contract method 0x07546172.

Solidity: function minter() view returns(address)

func (*CurveLiquidityGaugeSession) Name

func (_CurveLiquidityGauge *CurveLiquidityGaugeSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*CurveLiquidityGaugeSession) Period

func (_CurveLiquidityGauge *CurveLiquidityGaugeSession) Period() (*big.Int, error)

Period is a free data retrieval call binding the contract method 0xef78d4fd.

Solidity: function period() view returns(int128)

func (*CurveLiquidityGaugeSession) PeriodTimestamp

func (_CurveLiquidityGauge *CurveLiquidityGaugeSession) PeriodTimestamp(arg0 *big.Int) (*big.Int, error)

PeriodTimestamp is a free data retrieval call binding the contract method 0x7598108c.

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

func (*CurveLiquidityGaugeSession) RewardContract

func (_CurveLiquidityGauge *CurveLiquidityGaugeSession) RewardContract() (common.Address, error)

RewardContract is a free data retrieval call binding the contract method 0xbf88a6ff.

Solidity: function reward_contract() view returns(address)

func (*CurveLiquidityGaugeSession) RewardIntegral

func (_CurveLiquidityGauge *CurveLiquidityGaugeSession) RewardIntegral(arg0 common.Address) (*big.Int, error)

RewardIntegral is a free data retrieval call binding the contract method 0x73861fb3.

Solidity: function reward_integral(address arg0) view returns(uint256)

func (*CurveLiquidityGaugeSession) RewardIntegralFor

func (_CurveLiquidityGauge *CurveLiquidityGaugeSession) RewardIntegralFor(arg0 common.Address, arg1 common.Address) (*big.Int, error)

RewardIntegralFor is a free data retrieval call binding the contract method 0xf05cc058.

Solidity: function reward_integral_for(address arg0, address arg1) view returns(uint256)

func (*CurveLiquidityGaugeSession) RewardTokens

func (_CurveLiquidityGauge *CurveLiquidityGaugeSession) RewardTokens(arg0 *big.Int) (common.Address, error)

RewardTokens is a free data retrieval call binding the contract method 0x54c49fe9.

Solidity: function reward_tokens(uint256 arg0) view returns(address)

func (*CurveLiquidityGaugeSession) SetApproveDeposit

func (_CurveLiquidityGauge *CurveLiquidityGaugeSession) SetApproveDeposit(addr common.Address, can_deposit bool) (*types.Transaction, error)

SetApproveDeposit is a paid mutator transaction binding the contract method 0x1d2747d4.

Solidity: function set_approve_deposit(address addr, bool can_deposit) returns()

func (*CurveLiquidityGaugeSession) SetKilled

func (_CurveLiquidityGauge *CurveLiquidityGaugeSession) SetKilled(_is_killed bool) (*types.Transaction, error)

SetKilled is a paid mutator transaction binding the contract method 0x90b22997.

Solidity: function set_killed(bool _is_killed) returns()

func (*CurveLiquidityGaugeSession) SetRewards

func (_CurveLiquidityGauge *CurveLiquidityGaugeSession) SetRewards(_reward_contract common.Address, _sigs [32]byte, _reward_tokens [8]common.Address) (*types.Transaction, error)

SetRewards is a paid mutator transaction binding the contract method 0x47d2d5d3.

Solidity: function set_rewards(address _reward_contract, bytes32 _sigs, address[8] _reward_tokens) returns()

func (*CurveLiquidityGaugeSession) Symbol

func (_CurveLiquidityGauge *CurveLiquidityGaugeSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*CurveLiquidityGaugeSession) TotalSupply

func (_CurveLiquidityGauge *CurveLiquidityGaugeSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*CurveLiquidityGaugeSession) Transfer

func (_CurveLiquidityGauge *CurveLiquidityGaugeSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address _to, uint256 _value) returns(bool)

func (*CurveLiquidityGaugeSession) TransferFrom

func (_CurveLiquidityGauge *CurveLiquidityGaugeSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address _from, address _to, uint256 _value) returns(bool)

func (*CurveLiquidityGaugeSession) UserCheckpoint

func (_CurveLiquidityGauge *CurveLiquidityGaugeSession) UserCheckpoint(addr common.Address) (*types.Transaction, error)

UserCheckpoint is a paid mutator transaction binding the contract method 0x4b820093.

Solidity: function user_checkpoint(address addr) returns(bool)

func (*CurveLiquidityGaugeSession) VotingEscrow

func (_CurveLiquidityGauge *CurveLiquidityGaugeSession) VotingEscrow() (common.Address, error)

VotingEscrow is a free data retrieval call binding the contract method 0xdfe05031.

Solidity: function voting_escrow() view returns(address)

func (*CurveLiquidityGaugeSession) Withdraw

func (_CurveLiquidityGauge *CurveLiquidityGaugeSession) Withdraw(_value *big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x2e1a7d4d.

Solidity: function withdraw(uint256 _value) returns()

func (*CurveLiquidityGaugeSession) WorkingBalances

func (_CurveLiquidityGauge *CurveLiquidityGaugeSession) WorkingBalances(arg0 common.Address) (*big.Int, error)

WorkingBalances is a free data retrieval call binding the contract method 0x13ecb1ca.

Solidity: function working_balances(address arg0) view returns(uint256)

func (*CurveLiquidityGaugeSession) WorkingSupply

func (_CurveLiquidityGauge *CurveLiquidityGaugeSession) WorkingSupply() (*big.Int, error)

WorkingSupply is a free data retrieval call binding the contract method 0x17e28089.

Solidity: function working_supply() view returns(uint256)

type CurveLiquidityGaugeTransactor

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

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

func NewCurveLiquidityGaugeTransactor

func NewCurveLiquidityGaugeTransactor(address common.Address, transactor bind.ContractTransactor) (*CurveLiquidityGaugeTransactor, error)

NewCurveLiquidityGaugeTransactor creates a new write-only instance of CurveLiquidityGauge, bound to a specific deployed contract.

func (*CurveLiquidityGaugeTransactor) AcceptTransferOwnership

func (_CurveLiquidityGauge *CurveLiquidityGaugeTransactor) AcceptTransferOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

AcceptTransferOwnership is a paid mutator transaction binding the contract method 0xe5ea47b8.

Solidity: function accept_transfer_ownership() returns()

func (*CurveLiquidityGaugeTransactor) Approve

func (_CurveLiquidityGauge *CurveLiquidityGaugeTransactor) Approve(opts *bind.TransactOpts, _spender common.Address, _value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address _spender, uint256 _value) returns(bool)

func (*CurveLiquidityGaugeTransactor) ClaimHistoricRewards

func (_CurveLiquidityGauge *CurveLiquidityGaugeTransactor) ClaimHistoricRewards(opts *bind.TransactOpts, _reward_tokens [8]common.Address) (*types.Transaction, error)

ClaimHistoricRewards is a paid mutator transaction binding the contract method 0xb9fa7a69.

Solidity: function claim_historic_rewards(address[8] _reward_tokens) returns()

func (*CurveLiquidityGaugeTransactor) ClaimHistoricRewards0

func (_CurveLiquidityGauge *CurveLiquidityGaugeTransactor) ClaimHistoricRewards0(opts *bind.TransactOpts, _reward_tokens [8]common.Address, _addr common.Address) (*types.Transaction, error)

ClaimHistoricRewards0 is a paid mutator transaction binding the contract method 0x7a22ef67.

Solidity: function claim_historic_rewards(address[8] _reward_tokens, address _addr) returns()

func (*CurveLiquidityGaugeTransactor) ClaimRewards

func (_CurveLiquidityGauge *CurveLiquidityGaugeTransactor) ClaimRewards(opts *bind.TransactOpts) (*types.Transaction, error)

ClaimRewards is a paid mutator transaction binding the contract method 0xe6f1daf2.

Solidity: function claim_rewards() returns()

func (*CurveLiquidityGaugeTransactor) ClaimRewards0

func (_CurveLiquidityGauge *CurveLiquidityGaugeTransactor) ClaimRewards0(opts *bind.TransactOpts, _addr common.Address) (*types.Transaction, error)

ClaimRewards0 is a paid mutator transaction binding the contract method 0x84e9bd7e.

Solidity: function claim_rewards(address _addr) returns()

func (*CurveLiquidityGaugeTransactor) ClaimableReward

func (_CurveLiquidityGauge *CurveLiquidityGaugeTransactor) ClaimableReward(opts *bind.TransactOpts, _addr common.Address, _token common.Address) (*types.Transaction, error)

ClaimableReward is a paid mutator transaction binding the contract method 0x33fd6f74.

Solidity: function claimable_reward(address _addr, address _token) returns(uint256)

func (*CurveLiquidityGaugeTransactor) CommitTransferOwnership

func (_CurveLiquidityGauge *CurveLiquidityGaugeTransactor) CommitTransferOwnership(opts *bind.TransactOpts, addr common.Address) (*types.Transaction, error)

CommitTransferOwnership is a paid mutator transaction binding the contract method 0x6b441a40.

Solidity: function commit_transfer_ownership(address addr) returns()

func (*CurveLiquidityGaugeTransactor) DecreaseAllowance

func (_CurveLiquidityGauge *CurveLiquidityGaugeTransactor) DecreaseAllowance(opts *bind.TransactOpts, _spender common.Address, _subtracted_value *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address _spender, uint256 _subtracted_value) returns(bool)

func (*CurveLiquidityGaugeTransactor) Deposit

func (_CurveLiquidityGauge *CurveLiquidityGaugeTransactor) Deposit(opts *bind.TransactOpts, _value *big.Int) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0xb6b55f25.

Solidity: function deposit(uint256 _value) returns()

func (*CurveLiquidityGaugeTransactor) Deposit0

func (_CurveLiquidityGauge *CurveLiquidityGaugeTransactor) Deposit0(opts *bind.TransactOpts, _value *big.Int, _addr common.Address) (*types.Transaction, error)

Deposit0 is a paid mutator transaction binding the contract method 0x6e553f65.

Solidity: function deposit(uint256 _value, address _addr) returns()

func (*CurveLiquidityGaugeTransactor) IncreaseAllowance

func (_CurveLiquidityGauge *CurveLiquidityGaugeTransactor) IncreaseAllowance(opts *bind.TransactOpts, _spender common.Address, _added_value *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address _spender, uint256 _added_value) returns(bool)

func (*CurveLiquidityGaugeTransactor) Kick

func (_CurveLiquidityGauge *CurveLiquidityGaugeTransactor) Kick(opts *bind.TransactOpts, addr common.Address) (*types.Transaction, error)

Kick is a paid mutator transaction binding the contract method 0x96c55175.

Solidity: function kick(address addr) returns()

func (*CurveLiquidityGaugeTransactor) SetApproveDeposit

func (_CurveLiquidityGauge *CurveLiquidityGaugeTransactor) SetApproveDeposit(opts *bind.TransactOpts, addr common.Address, can_deposit bool) (*types.Transaction, error)

SetApproveDeposit is a paid mutator transaction binding the contract method 0x1d2747d4.

Solidity: function set_approve_deposit(address addr, bool can_deposit) returns()

func (*CurveLiquidityGaugeTransactor) SetKilled

func (_CurveLiquidityGauge *CurveLiquidityGaugeTransactor) SetKilled(opts *bind.TransactOpts, _is_killed bool) (*types.Transaction, error)

SetKilled is a paid mutator transaction binding the contract method 0x90b22997.

Solidity: function set_killed(bool _is_killed) returns()

func (*CurveLiquidityGaugeTransactor) SetRewards

func (_CurveLiquidityGauge *CurveLiquidityGaugeTransactor) SetRewards(opts *bind.TransactOpts, _reward_contract common.Address, _sigs [32]byte, _reward_tokens [8]common.Address) (*types.Transaction, error)

SetRewards is a paid mutator transaction binding the contract method 0x47d2d5d3.

Solidity: function set_rewards(address _reward_contract, bytes32 _sigs, address[8] _reward_tokens) returns()

func (*CurveLiquidityGaugeTransactor) Transfer

func (_CurveLiquidityGauge *CurveLiquidityGaugeTransactor) Transfer(opts *bind.TransactOpts, _to common.Address, _value *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address _to, uint256 _value) returns(bool)

func (*CurveLiquidityGaugeTransactor) TransferFrom

func (_CurveLiquidityGauge *CurveLiquidityGaugeTransactor) TransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address _from, address _to, uint256 _value) returns(bool)

func (*CurveLiquidityGaugeTransactor) UserCheckpoint

func (_CurveLiquidityGauge *CurveLiquidityGaugeTransactor) UserCheckpoint(opts *bind.TransactOpts, addr common.Address) (*types.Transaction, error)

UserCheckpoint is a paid mutator transaction binding the contract method 0x4b820093.

Solidity: function user_checkpoint(address addr) returns(bool)

func (*CurveLiquidityGaugeTransactor) Withdraw

func (_CurveLiquidityGauge *CurveLiquidityGaugeTransactor) Withdraw(opts *bind.TransactOpts, _value *big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x2e1a7d4d.

Solidity: function withdraw(uint256 _value) returns()

type CurveLiquidityGaugeTransactorRaw

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

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

func (*CurveLiquidityGaugeTransactorRaw) Transact

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

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

func (*CurveLiquidityGaugeTransactorRaw) Transfer

func (_CurveLiquidityGauge *CurveLiquidityGaugeTransactorRaw) 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 CurveLiquidityGaugeTransactorSession

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

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

func (*CurveLiquidityGaugeTransactorSession) AcceptTransferOwnership

func (_CurveLiquidityGauge *CurveLiquidityGaugeTransactorSession) AcceptTransferOwnership() (*types.Transaction, error)

AcceptTransferOwnership is a paid mutator transaction binding the contract method 0xe5ea47b8.

Solidity: function accept_transfer_ownership() returns()

func (*CurveLiquidityGaugeTransactorSession) Approve

func (_CurveLiquidityGauge *CurveLiquidityGaugeTransactorSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address _spender, uint256 _value) returns(bool)

func (*CurveLiquidityGaugeTransactorSession) ClaimHistoricRewards

func (_CurveLiquidityGauge *CurveLiquidityGaugeTransactorSession) ClaimHistoricRewards(_reward_tokens [8]common.Address) (*types.Transaction, error)

ClaimHistoricRewards is a paid mutator transaction binding the contract method 0xb9fa7a69.

Solidity: function claim_historic_rewards(address[8] _reward_tokens) returns()

func (*CurveLiquidityGaugeTransactorSession) ClaimHistoricRewards0

func (_CurveLiquidityGauge *CurveLiquidityGaugeTransactorSession) ClaimHistoricRewards0(_reward_tokens [8]common.Address, _addr common.Address) (*types.Transaction, error)

ClaimHistoricRewards0 is a paid mutator transaction binding the contract method 0x7a22ef67.

Solidity: function claim_historic_rewards(address[8] _reward_tokens, address _addr) returns()

func (*CurveLiquidityGaugeTransactorSession) ClaimRewards

func (_CurveLiquidityGauge *CurveLiquidityGaugeTransactorSession) ClaimRewards() (*types.Transaction, error)

ClaimRewards is a paid mutator transaction binding the contract method 0xe6f1daf2.

Solidity: function claim_rewards() returns()

func (*CurveLiquidityGaugeTransactorSession) ClaimRewards0

func (_CurveLiquidityGauge *CurveLiquidityGaugeTransactorSession) ClaimRewards0(_addr common.Address) (*types.Transaction, error)

ClaimRewards0 is a paid mutator transaction binding the contract method 0x84e9bd7e.

Solidity: function claim_rewards(address _addr) returns()

func (*CurveLiquidityGaugeTransactorSession) ClaimableReward

func (_CurveLiquidityGauge *CurveLiquidityGaugeTransactorSession) ClaimableReward(_addr common.Address, _token common.Address) (*types.Transaction, error)

ClaimableReward is a paid mutator transaction binding the contract method 0x33fd6f74.

Solidity: function claimable_reward(address _addr, address _token) returns(uint256)

func (*CurveLiquidityGaugeTransactorSession) CommitTransferOwnership

func (_CurveLiquidityGauge *CurveLiquidityGaugeTransactorSession) CommitTransferOwnership(addr common.Address) (*types.Transaction, error)

CommitTransferOwnership is a paid mutator transaction binding the contract method 0x6b441a40.

Solidity: function commit_transfer_ownership(address addr) returns()

func (*CurveLiquidityGaugeTransactorSession) DecreaseAllowance

func (_CurveLiquidityGauge *CurveLiquidityGaugeTransactorSession) DecreaseAllowance(_spender common.Address, _subtracted_value *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address _spender, uint256 _subtracted_value) returns(bool)

func (*CurveLiquidityGaugeTransactorSession) Deposit

func (_CurveLiquidityGauge *CurveLiquidityGaugeTransactorSession) Deposit(_value *big.Int) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0xb6b55f25.

Solidity: function deposit(uint256 _value) returns()

func (*CurveLiquidityGaugeTransactorSession) Deposit0

func (_CurveLiquidityGauge *CurveLiquidityGaugeTransactorSession) Deposit0(_value *big.Int, _addr common.Address) (*types.Transaction, error)

Deposit0 is a paid mutator transaction binding the contract method 0x6e553f65.

Solidity: function deposit(uint256 _value, address _addr) returns()

func (*CurveLiquidityGaugeTransactorSession) IncreaseAllowance

func (_CurveLiquidityGauge *CurveLiquidityGaugeTransactorSession) IncreaseAllowance(_spender common.Address, _added_value *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address _spender, uint256 _added_value) returns(bool)

func (*CurveLiquidityGaugeTransactorSession) Kick

func (_CurveLiquidityGauge *CurveLiquidityGaugeTransactorSession) Kick(addr common.Address) (*types.Transaction, error)

Kick is a paid mutator transaction binding the contract method 0x96c55175.

Solidity: function kick(address addr) returns()

func (*CurveLiquidityGaugeTransactorSession) SetApproveDeposit

func (_CurveLiquidityGauge *CurveLiquidityGaugeTransactorSession) SetApproveDeposit(addr common.Address, can_deposit bool) (*types.Transaction, error)

SetApproveDeposit is a paid mutator transaction binding the contract method 0x1d2747d4.

Solidity: function set_approve_deposit(address addr, bool can_deposit) returns()

func (*CurveLiquidityGaugeTransactorSession) SetKilled

func (_CurveLiquidityGauge *CurveLiquidityGaugeTransactorSession) SetKilled(_is_killed bool) (*types.Transaction, error)

SetKilled is a paid mutator transaction binding the contract method 0x90b22997.

Solidity: function set_killed(bool _is_killed) returns()

func (*CurveLiquidityGaugeTransactorSession) SetRewards

func (_CurveLiquidityGauge *CurveLiquidityGaugeTransactorSession) SetRewards(_reward_contract common.Address, _sigs [32]byte, _reward_tokens [8]common.Address) (*types.Transaction, error)

SetRewards is a paid mutator transaction binding the contract method 0x47d2d5d3.

Solidity: function set_rewards(address _reward_contract, bytes32 _sigs, address[8] _reward_tokens) returns()

func (*CurveLiquidityGaugeTransactorSession) Transfer

func (_CurveLiquidityGauge *CurveLiquidityGaugeTransactorSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address _to, uint256 _value) returns(bool)

func (*CurveLiquidityGaugeTransactorSession) TransferFrom

func (_CurveLiquidityGauge *CurveLiquidityGaugeTransactorSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address _from, address _to, uint256 _value) returns(bool)

func (*CurveLiquidityGaugeTransactorSession) UserCheckpoint

func (_CurveLiquidityGauge *CurveLiquidityGaugeTransactorSession) UserCheckpoint(addr common.Address) (*types.Transaction, error)

UserCheckpoint is a paid mutator transaction binding the contract method 0x4b820093.

Solidity: function user_checkpoint(address addr) returns(bool)

func (*CurveLiquidityGaugeTransactorSession) Withdraw

func (_CurveLiquidityGauge *CurveLiquidityGaugeTransactorSession) Withdraw(_value *big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x2e1a7d4d.

Solidity: function withdraw(uint256 _value) returns()

type CurveLiquidityGaugeTransfer

type CurveLiquidityGaugeTransfer struct {
	From  common.Address
	To    common.Address
	Value *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

CurveLiquidityGaugeTransfer represents a Transfer event raised by the CurveLiquidityGauge contract.

type CurveLiquidityGaugeTransferIterator

type CurveLiquidityGaugeTransferIterator struct {
	Event *CurveLiquidityGaugeTransfer // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CurveLiquidityGaugeTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the CurveLiquidityGauge contract.

func (*CurveLiquidityGaugeTransferIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CurveLiquidityGaugeTransferIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurveLiquidityGaugeTransferIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CurveLiquidityGaugeUpdateLiquidityLimit

type CurveLiquidityGaugeUpdateLiquidityLimit struct {
	User            common.Address
	OriginalBalance *big.Int
	OriginalSupply  *big.Int
	WorkingBalance  *big.Int
	WorkingSupply   *big.Int
	Raw             types.Log // Blockchain specific contextual infos
}

CurveLiquidityGaugeUpdateLiquidityLimit represents a UpdateLiquidityLimit event raised by the CurveLiquidityGauge contract.

type CurveLiquidityGaugeUpdateLiquidityLimitIterator

type CurveLiquidityGaugeUpdateLiquidityLimitIterator struct {
	Event *CurveLiquidityGaugeUpdateLiquidityLimit // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CurveLiquidityGaugeUpdateLiquidityLimitIterator is returned from FilterUpdateLiquidityLimit and is used to iterate over the raw logs and unpacked data for UpdateLiquidityLimit events raised by the CurveLiquidityGauge contract.

func (*CurveLiquidityGaugeUpdateLiquidityLimitIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CurveLiquidityGaugeUpdateLiquidityLimitIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurveLiquidityGaugeUpdateLiquidityLimitIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CurveLiquidityGaugeWithdraw

type CurveLiquidityGaugeWithdraw struct {
	Provider common.Address
	Value    *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

CurveLiquidityGaugeWithdraw represents a Withdraw event raised by the CurveLiquidityGauge contract.

type CurveLiquidityGaugeWithdrawIterator

type CurveLiquidityGaugeWithdrawIterator struct {
	Event *CurveLiquidityGaugeWithdraw // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CurveLiquidityGaugeWithdrawIterator is returned from FilterWithdraw and is used to iterate over the raw logs and unpacked data for Withdraw events raised by the CurveLiquidityGauge contract.

func (*CurveLiquidityGaugeWithdrawIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CurveLiquidityGaugeWithdrawIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurveLiquidityGaugeWithdrawIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CurveLpToken

type CurveLpToken struct {
	CurveLpTokenCaller     // Read-only binding to the contract
	CurveLpTokenTransactor // Write-only binding to the contract
	CurveLpTokenFilterer   // Log filterer for contract events
}

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

func NewCurveLpToken

func NewCurveLpToken(address common.Address, backend bind.ContractBackend) (*CurveLpToken, error)

NewCurveLpToken creates a new instance of CurveLpToken, bound to a specific deployed contract.

type CurveLpTokenApproval

type CurveLpTokenApproval struct {
	Owner   common.Address
	Spender common.Address
	Value   *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

CurveLpTokenApproval represents a Approval event raised by the CurveLpToken contract.

type CurveLpTokenApprovalIterator

type CurveLpTokenApprovalIterator struct {
	Event *CurveLpTokenApproval // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CurveLpTokenApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the CurveLpToken contract.

func (*CurveLpTokenApprovalIterator) Close

func (it *CurveLpTokenApprovalIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*CurveLpTokenApprovalIterator) Error

func (it *CurveLpTokenApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurveLpTokenApprovalIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CurveLpTokenCaller

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

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

func NewCurveLpTokenCaller

func NewCurveLpTokenCaller(address common.Address, caller bind.ContractCaller) (*CurveLpTokenCaller, error)

NewCurveLpTokenCaller creates a new read-only instance of CurveLpToken, bound to a specific deployed contract.

func (*CurveLpTokenCaller) Allowance

func (_CurveLpToken *CurveLpTokenCaller) Allowance(opts *bind.CallOpts, _owner common.Address, _spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address _owner, address _spender) returns(uint256 out)

func (*CurveLpTokenCaller) BalanceOf

func (_CurveLpToken *CurveLpTokenCaller) BalanceOf(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address arg0) returns(uint256 out)

func (*CurveLpTokenCaller) Decimals

func (_CurveLpToken *CurveLpTokenCaller) Decimals(opts *bind.CallOpts) (*big.Int, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() returns(uint256 out)

func (*CurveLpTokenCaller) Name

func (_CurveLpToken *CurveLpTokenCaller) Name(opts *bind.CallOpts) (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() returns(string out)

func (*CurveLpTokenCaller) Symbol

func (_CurveLpToken *CurveLpTokenCaller) Symbol(opts *bind.CallOpts) (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() returns(string out)

func (*CurveLpTokenCaller) TotalSupply

func (_CurveLpToken *CurveLpTokenCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() returns(uint256 out)

type CurveLpTokenCallerRaw

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

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

func (*CurveLpTokenCallerRaw) Call

func (_CurveLpToken *CurveLpTokenCallerRaw) 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 CurveLpTokenCallerSession

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

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

func (*CurveLpTokenCallerSession) Allowance

func (_CurveLpToken *CurveLpTokenCallerSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address _owner, address _spender) returns(uint256 out)

func (*CurveLpTokenCallerSession) BalanceOf

func (_CurveLpToken *CurveLpTokenCallerSession) BalanceOf(arg0 common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address arg0) returns(uint256 out)

func (*CurveLpTokenCallerSession) Decimals

func (_CurveLpToken *CurveLpTokenCallerSession) Decimals() (*big.Int, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() returns(uint256 out)

func (*CurveLpTokenCallerSession) Name

func (_CurveLpToken *CurveLpTokenCallerSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() returns(string out)

func (*CurveLpTokenCallerSession) Symbol

func (_CurveLpToken *CurveLpTokenCallerSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() returns(string out)

func (*CurveLpTokenCallerSession) TotalSupply

func (_CurveLpToken *CurveLpTokenCallerSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() returns(uint256 out)

type CurveLpTokenFilterer

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

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

func NewCurveLpTokenFilterer

func NewCurveLpTokenFilterer(address common.Address, filterer bind.ContractFilterer) (*CurveLpTokenFilterer, error)

NewCurveLpTokenFilterer creates a new log filterer instance of CurveLpToken, bound to a specific deployed contract.

func (*CurveLpTokenFilterer) FilterApproval

func (_CurveLpToken *CurveLpTokenFilterer) FilterApproval(opts *bind.FilterOpts, _owner []common.Address, _spender []common.Address) (*CurveLpTokenApprovalIterator, error)

FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed _owner, address indexed _spender, uint256 _value)

func (*CurveLpTokenFilterer) FilterTransfer

func (_CurveLpToken *CurveLpTokenFilterer) FilterTransfer(opts *bind.FilterOpts, _from []common.Address, _to []common.Address) (*CurveLpTokenTransferIterator, error)

FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed _from, address indexed _to, uint256 _value)

func (*CurveLpTokenFilterer) ParseApproval

func (_CurveLpToken *CurveLpTokenFilterer) ParseApproval(log types.Log) (*CurveLpTokenApproval, error)

ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed _owner, address indexed _spender, uint256 _value)

func (*CurveLpTokenFilterer) ParseTransfer

func (_CurveLpToken *CurveLpTokenFilterer) ParseTransfer(log types.Log) (*CurveLpTokenTransfer, error)

ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed _from, address indexed _to, uint256 _value)

func (*CurveLpTokenFilterer) WatchApproval

func (_CurveLpToken *CurveLpTokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *CurveLpTokenApproval, _owner []common.Address, _spender []common.Address) (event.Subscription, error)

WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed _owner, address indexed _spender, uint256 _value)

func (*CurveLpTokenFilterer) WatchTransfer

func (_CurveLpToken *CurveLpTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *CurveLpTokenTransfer, _from []common.Address, _to []common.Address) (event.Subscription, error)

WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed _from, address indexed _to, uint256 _value)

type CurveLpTokenRaw

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

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

func (*CurveLpTokenRaw) Call

func (_CurveLpToken *CurveLpTokenRaw) 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 (*CurveLpTokenRaw) Transact

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

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

func (*CurveLpTokenRaw) Transfer

func (_CurveLpToken *CurveLpTokenRaw) 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 CurveLpTokenSession

type CurveLpTokenSession struct {
	Contract     *CurveLpToken     // 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
}

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

func (*CurveLpTokenSession) Allowance

func (_CurveLpToken *CurveLpTokenSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address _owner, address _spender) returns(uint256 out)

func (*CurveLpTokenSession) Approve

func (_CurveLpToken *CurveLpTokenSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address _spender, uint256 _value) returns(bool out)

func (*CurveLpTokenSession) BalanceOf

func (_CurveLpToken *CurveLpTokenSession) BalanceOf(arg0 common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address arg0) returns(uint256 out)

func (*CurveLpTokenSession) Burn

func (_CurveLpToken *CurveLpTokenSession) Burn(_value *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x42966c68.

Solidity: function burn(uint256 _value) returns()

func (*CurveLpTokenSession) BurnFrom

func (_CurveLpToken *CurveLpTokenSession) BurnFrom(_to common.Address, _value *big.Int) (*types.Transaction, error)

BurnFrom is a paid mutator transaction binding the contract method 0x79cc6790.

Solidity: function burnFrom(address _to, uint256 _value) returns()

func (*CurveLpTokenSession) Decimals

func (_CurveLpToken *CurveLpTokenSession) Decimals() (*big.Int, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() returns(uint256 out)

func (*CurveLpTokenSession) Mint

func (_CurveLpToken *CurveLpTokenSession) Mint(_to common.Address, _value *big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x40c10f19.

Solidity: function mint(address _to, uint256 _value) returns()

func (*CurveLpTokenSession) Name

func (_CurveLpToken *CurveLpTokenSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() returns(string out)

func (*CurveLpTokenSession) SetMinter

func (_CurveLpToken *CurveLpTokenSession) SetMinter(_minter common.Address) (*types.Transaction, error)

SetMinter is a paid mutator transaction binding the contract method 0x1652e9fc.

Solidity: function set_minter(address _minter) returns()

func (*CurveLpTokenSession) Symbol

func (_CurveLpToken *CurveLpTokenSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() returns(string out)

func (*CurveLpTokenSession) TotalSupply

func (_CurveLpToken *CurveLpTokenSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() returns(uint256 out)

func (*CurveLpTokenSession) Transfer

func (_CurveLpToken *CurveLpTokenSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address _to, uint256 _value) returns(bool out)

func (*CurveLpTokenSession) TransferFrom

func (_CurveLpToken *CurveLpTokenSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address _from, address _to, uint256 _value) returns(bool out)

type CurveLpTokenTransactor

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

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

func NewCurveLpTokenTransactor

func NewCurveLpTokenTransactor(address common.Address, transactor bind.ContractTransactor) (*CurveLpTokenTransactor, error)

NewCurveLpTokenTransactor creates a new write-only instance of CurveLpToken, bound to a specific deployed contract.

func (*CurveLpTokenTransactor) Approve

func (_CurveLpToken *CurveLpTokenTransactor) Approve(opts *bind.TransactOpts, _spender common.Address, _value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address _spender, uint256 _value) returns(bool out)

func (*CurveLpTokenTransactor) Burn

func (_CurveLpToken *CurveLpTokenTransactor) Burn(opts *bind.TransactOpts, _value *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x42966c68.

Solidity: function burn(uint256 _value) returns()

func (*CurveLpTokenTransactor) BurnFrom

func (_CurveLpToken *CurveLpTokenTransactor) BurnFrom(opts *bind.TransactOpts, _to common.Address, _value *big.Int) (*types.Transaction, error)

BurnFrom is a paid mutator transaction binding the contract method 0x79cc6790.

Solidity: function burnFrom(address _to, uint256 _value) returns()

func (*CurveLpTokenTransactor) Mint

func (_CurveLpToken *CurveLpTokenTransactor) Mint(opts *bind.TransactOpts, _to common.Address, _value *big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x40c10f19.

Solidity: function mint(address _to, uint256 _value) returns()

func (*CurveLpTokenTransactor) SetMinter

func (_CurveLpToken *CurveLpTokenTransactor) SetMinter(opts *bind.TransactOpts, _minter common.Address) (*types.Transaction, error)

SetMinter is a paid mutator transaction binding the contract method 0x1652e9fc.

Solidity: function set_minter(address _minter) returns()

func (*CurveLpTokenTransactor) Transfer

func (_CurveLpToken *CurveLpTokenTransactor) Transfer(opts *bind.TransactOpts, _to common.Address, _value *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address _to, uint256 _value) returns(bool out)

func (*CurveLpTokenTransactor) TransferFrom

func (_CurveLpToken *CurveLpTokenTransactor) TransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address _from, address _to, uint256 _value) returns(bool out)

type CurveLpTokenTransactorRaw

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

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

func (*CurveLpTokenTransactorRaw) Transact

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

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

func (*CurveLpTokenTransactorRaw) Transfer

func (_CurveLpToken *CurveLpTokenTransactorRaw) 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 CurveLpTokenTransactorSession

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

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

func (*CurveLpTokenTransactorSession) Approve

func (_CurveLpToken *CurveLpTokenTransactorSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address _spender, uint256 _value) returns(bool out)

func (*CurveLpTokenTransactorSession) Burn

func (_CurveLpToken *CurveLpTokenTransactorSession) Burn(_value *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x42966c68.

Solidity: function burn(uint256 _value) returns()

func (*CurveLpTokenTransactorSession) BurnFrom

func (_CurveLpToken *CurveLpTokenTransactorSession) BurnFrom(_to common.Address, _value *big.Int) (*types.Transaction, error)

BurnFrom is a paid mutator transaction binding the contract method 0x79cc6790.

Solidity: function burnFrom(address _to, uint256 _value) returns()

func (*CurveLpTokenTransactorSession) Mint

func (_CurveLpToken *CurveLpTokenTransactorSession) Mint(_to common.Address, _value *big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x40c10f19.

Solidity: function mint(address _to, uint256 _value) returns()

func (*CurveLpTokenTransactorSession) SetMinter

func (_CurveLpToken *CurveLpTokenTransactorSession) SetMinter(_minter common.Address) (*types.Transaction, error)

SetMinter is a paid mutator transaction binding the contract method 0x1652e9fc.

Solidity: function set_minter(address _minter) returns()

func (*CurveLpTokenTransactorSession) Transfer

func (_CurveLpToken *CurveLpTokenTransactorSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address _to, uint256 _value) returns(bool out)

func (*CurveLpTokenTransactorSession) TransferFrom

func (_CurveLpToken *CurveLpTokenTransactorSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address _from, address _to, uint256 _value) returns(bool out)

type CurveLpTokenTransfer

type CurveLpTokenTransfer struct {
	From  common.Address
	To    common.Address
	Value *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

CurveLpTokenTransfer represents a Transfer event raised by the CurveLpToken contract.

type CurveLpTokenTransferIterator

type CurveLpTokenTransferIterator struct {
	Event *CurveLpTokenTransfer // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CurveLpTokenTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the CurveLpToken contract.

func (*CurveLpTokenTransferIterator) Close

func (it *CurveLpTokenTransferIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*CurveLpTokenTransferIterator) Error

func (it *CurveLpTokenTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurveLpTokenTransferIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CurveMetaPoolFactory

type CurveMetaPoolFactory struct {
	CurveMetaPoolFactoryCaller     // Read-only binding to the contract
	CurveMetaPoolFactoryTransactor // Write-only binding to the contract
	CurveMetaPoolFactoryFilterer   // Log filterer for contract events
}

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

func NewCurveMetaPoolFactory

func NewCurveMetaPoolFactory(address common.Address, backend bind.ContractBackend) (*CurveMetaPoolFactory, error)

NewCurveMetaPoolFactory creates a new instance of CurveMetaPoolFactory, bound to a specific deployed contract.

type CurveMetaPoolFactoryBasePoolAdded

type CurveMetaPoolFactoryBasePoolAdded struct {
	BasePool common.Address
	Raw      types.Log // Blockchain specific contextual infos
}

CurveMetaPoolFactoryBasePoolAdded represents a BasePoolAdded event raised by the CurveMetaPoolFactory contract.

type CurveMetaPoolFactoryBasePoolAddedIterator

type CurveMetaPoolFactoryBasePoolAddedIterator struct {
	Event *CurveMetaPoolFactoryBasePoolAdded // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CurveMetaPoolFactoryBasePoolAddedIterator is returned from FilterBasePoolAdded and is used to iterate over the raw logs and unpacked data for BasePoolAdded events raised by the CurveMetaPoolFactory contract.

func (*CurveMetaPoolFactoryBasePoolAddedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CurveMetaPoolFactoryBasePoolAddedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurveMetaPoolFactoryBasePoolAddedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CurveMetaPoolFactoryCaller

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

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

func NewCurveMetaPoolFactoryCaller

func NewCurveMetaPoolFactoryCaller(address common.Address, caller bind.ContractCaller) (*CurveMetaPoolFactoryCaller, error)

NewCurveMetaPoolFactoryCaller creates a new read-only instance of CurveMetaPoolFactory, bound to a specific deployed contract.

func (*CurveMetaPoolFactoryCaller) Admin

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryCaller) Admin(opts *bind.CallOpts) (common.Address, error)

Admin is a free data retrieval call binding the contract method 0xf851a440.

Solidity: function admin() view returns(address)

func (*CurveMetaPoolFactoryCaller) BasePoolAssets

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryCaller) BasePoolAssets(opts *bind.CallOpts, arg0 common.Address) (bool, error)

BasePoolAssets is a free data retrieval call binding the contract method 0x10a002df.

Solidity: function base_pool_assets(address arg0) view returns(bool)

func (*CurveMetaPoolFactoryCaller) BasePoolCount

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryCaller) BasePoolCount(opts *bind.CallOpts) (*big.Int, error)

BasePoolCount is a free data retrieval call binding the contract method 0xde5e4a3b.

Solidity: function base_pool_count() view returns(uint256)

func (*CurveMetaPoolFactoryCaller) BasePoolList

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryCaller) BasePoolList(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)

BasePoolList is a free data retrieval call binding the contract method 0x22fe5671.

Solidity: function base_pool_list(uint256 arg0) view returns(address)

func (*CurveMetaPoolFactoryCaller) FindPoolForCoins

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryCaller) FindPoolForCoins(opts *bind.CallOpts, _from common.Address, _to common.Address) (common.Address, error)

FindPoolForCoins is a free data retrieval call binding the contract method 0xa87df06c.

Solidity: function find_pool_for_coins(address _from, address _to) view returns(address)

func (*CurveMetaPoolFactoryCaller) FindPoolForCoins0

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryCaller) FindPoolForCoins0(opts *bind.CallOpts, _from common.Address, _to common.Address, i *big.Int) (common.Address, error)

FindPoolForCoins0 is a free data retrieval call binding the contract method 0x6982eb0b.

Solidity: function find_pool_for_coins(address _from, address _to, uint256 i) view returns(address)

func (*CurveMetaPoolFactoryCaller) FutureAdmin

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryCaller) FutureAdmin(opts *bind.CallOpts) (common.Address, error)

FutureAdmin is a free data retrieval call binding the contract method 0x17f7182a.

Solidity: function future_admin() view returns(address)

func (*CurveMetaPoolFactoryCaller) GaugeImplementation

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryCaller) GaugeImplementation(opts *bind.CallOpts) (common.Address, error)

GaugeImplementation is a free data retrieval call binding the contract method 0x8df24207.

Solidity: function gauge_implementation() view returns(address)

func (*CurveMetaPoolFactoryCaller) GetA

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryCaller) GetA(opts *bind.CallOpts, _pool common.Address) (*big.Int, error)

GetA is a free data retrieval call binding the contract method 0x55b30b19.

Solidity: function get_A(address _pool) view returns(uint256)

func (*CurveMetaPoolFactoryCaller) GetAdminBalances

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryCaller) GetAdminBalances(opts *bind.CallOpts, _pool common.Address) ([4]*big.Int, error)

GetAdminBalances is a free data retrieval call binding the contract method 0xc11e45b8.

Solidity: function get_admin_balances(address _pool) view returns(uint256[4])

func (*CurveMetaPoolFactoryCaller) GetBalances

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryCaller) GetBalances(opts *bind.CallOpts, _pool common.Address) ([4]*big.Int, error)

GetBalances is a free data retrieval call binding the contract method 0x92e3cc2d.

Solidity: function get_balances(address _pool) view returns(uint256[4])

func (*CurveMetaPoolFactoryCaller) GetBasePool

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryCaller) GetBasePool(opts *bind.CallOpts, _pool common.Address) (common.Address, error)

GetBasePool is a free data retrieval call binding the contract method 0x6f20d6dd.

Solidity: function get_base_pool(address _pool) view returns(address)

func (*CurveMetaPoolFactoryCaller) GetCoinIndices

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryCaller) GetCoinIndices(opts *bind.CallOpts, _pool common.Address, _from common.Address, _to common.Address) (*big.Int, *big.Int, bool, error)

GetCoinIndices is a free data retrieval call binding the contract method 0xeb85226d.

Solidity: function get_coin_indices(address _pool, address _from, address _to) view returns(int128, int128, bool)

func (*CurveMetaPoolFactoryCaller) GetCoins

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryCaller) GetCoins(opts *bind.CallOpts, _pool common.Address) ([4]common.Address, error)

GetCoins is a free data retrieval call binding the contract method 0x9ac90d3d.

Solidity: function get_coins(address _pool) view returns(address[4])

func (*CurveMetaPoolFactoryCaller) GetDecimals

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryCaller) GetDecimals(opts *bind.CallOpts, _pool common.Address) ([4]*big.Int, error)

GetDecimals is a free data retrieval call binding the contract method 0x52b51555.

Solidity: function get_decimals(address _pool) view returns(uint256[4])

func (*CurveMetaPoolFactoryCaller) GetFeeReceiver

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryCaller) GetFeeReceiver(opts *bind.CallOpts, _pool common.Address) (common.Address, error)

GetFeeReceiver is a free data retrieval call binding the contract method 0x154aa8f5.

Solidity: function get_fee_receiver(address _pool) view returns(address)

func (*CurveMetaPoolFactoryCaller) GetFees

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryCaller) GetFees(opts *bind.CallOpts, _pool common.Address) (*big.Int, *big.Int, error)

GetFees is a free data retrieval call binding the contract method 0x7cdb72b0.

Solidity: function get_fees(address _pool) view returns(uint256, uint256)

func (*CurveMetaPoolFactoryCaller) GetGauge

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryCaller) GetGauge(opts *bind.CallOpts, _pool common.Address) (common.Address, error)

GetGauge is a free data retrieval call binding the contract method 0xdaf297b9.

Solidity: function get_gauge(address _pool) view returns(address)

func (*CurveMetaPoolFactoryCaller) GetImplementationAddress

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryCaller) GetImplementationAddress(opts *bind.CallOpts, _pool common.Address) (common.Address, error)

GetImplementationAddress is a free data retrieval call binding the contract method 0x510d98a4.

Solidity: function get_implementation_address(address _pool) view returns(address)

func (*CurveMetaPoolFactoryCaller) GetMetaNCoins

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryCaller) GetMetaNCoins(opts *bind.CallOpts, _pool common.Address) (*big.Int, *big.Int, error)

GetMetaNCoins is a free data retrieval call binding the contract method 0xeb73f37d.

Solidity: function get_meta_n_coins(address _pool) view returns(uint256, uint256)

func (*CurveMetaPoolFactoryCaller) GetMetapoolRates

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryCaller) GetMetapoolRates(opts *bind.CallOpts, _pool common.Address) ([2]*big.Int, error)

GetMetapoolRates is a free data retrieval call binding the contract method 0x06d8f160.

Solidity: function get_metapool_rates(address _pool) view returns(uint256[2])

func (*CurveMetaPoolFactoryCaller) GetNCoins

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryCaller) GetNCoins(opts *bind.CallOpts, _pool common.Address) (*big.Int, error)

GetNCoins is a free data retrieval call binding the contract method 0x940494f1.

Solidity: function get_n_coins(address _pool) view returns(uint256)

func (*CurveMetaPoolFactoryCaller) GetPoolAssetType

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryCaller) GetPoolAssetType(opts *bind.CallOpts, _pool common.Address) (*big.Int, error)

GetPoolAssetType is a free data retrieval call binding the contract method 0x66d3966c.

Solidity: function get_pool_asset_type(address _pool) view returns(uint256)

func (*CurveMetaPoolFactoryCaller) GetUnderlyingBalances

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryCaller) GetUnderlyingBalances(opts *bind.CallOpts, _pool common.Address) ([8]*big.Int, error)

GetUnderlyingBalances is a free data retrieval call binding the contract method 0x59f4f351.

Solidity: function get_underlying_balances(address _pool) view returns(uint256[8])

func (*CurveMetaPoolFactoryCaller) GetUnderlyingCoins

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryCaller) GetUnderlyingCoins(opts *bind.CallOpts, _pool common.Address) ([8]common.Address, error)

GetUnderlyingCoins is a free data retrieval call binding the contract method 0xa77576ef.

Solidity: function get_underlying_coins(address _pool) view returns(address[8])

func (*CurveMetaPoolFactoryCaller) GetUnderlyingDecimals

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryCaller) GetUnderlyingDecimals(opts *bind.CallOpts, _pool common.Address) ([8]*big.Int, error)

GetUnderlyingDecimals is a free data retrieval call binding the contract method 0x4cb088f1.

Solidity: function get_underlying_decimals(address _pool) view returns(uint256[8])

func (*CurveMetaPoolFactoryCaller) IsMeta

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryCaller) IsMeta(opts *bind.CallOpts, _pool common.Address) (bool, error)

IsMeta is a free data retrieval call binding the contract method 0xe4d332a9.

Solidity: function is_meta(address _pool) view returns(bool)

func (*CurveMetaPoolFactoryCaller) Manager

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryCaller) Manager(opts *bind.CallOpts) (common.Address, error)

Manager is a free data retrieval call binding the contract method 0x481c6a75.

Solidity: function manager() view returns(address)

func (*CurveMetaPoolFactoryCaller) MetapoolImplementations

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryCaller) MetapoolImplementations(opts *bind.CallOpts, _base_pool common.Address) ([10]common.Address, error)

MetapoolImplementations is a free data retrieval call binding the contract method 0x970fa3f3.

Solidity: function metapool_implementations(address _base_pool) view returns(address[10])

func (*CurveMetaPoolFactoryCaller) PlainImplementations

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryCaller) PlainImplementations(opts *bind.CallOpts, arg0 *big.Int, arg1 *big.Int) (common.Address, error)

PlainImplementations is a free data retrieval call binding the contract method 0x31a4f865.

Solidity: function plain_implementations(uint256 arg0, uint256 arg1) view returns(address)

func (*CurveMetaPoolFactoryCaller) PoolCount

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryCaller) PoolCount(opts *bind.CallOpts) (*big.Int, error)

PoolCount is a free data retrieval call binding the contract method 0x956aae3a.

Solidity: function pool_count() view returns(uint256)

func (*CurveMetaPoolFactoryCaller) PoolList

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryCaller) PoolList(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)

PoolList is a free data retrieval call binding the contract method 0x3a1d5d8e.

Solidity: function pool_list(uint256 arg0) view returns(address)

type CurveMetaPoolFactoryCallerRaw

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

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

func (*CurveMetaPoolFactoryCallerRaw) Call

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryCallerRaw) 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 CurveMetaPoolFactoryCallerSession

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

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

func (*CurveMetaPoolFactoryCallerSession) Admin

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryCallerSession) Admin() (common.Address, error)

Admin is a free data retrieval call binding the contract method 0xf851a440.

Solidity: function admin() view returns(address)

func (*CurveMetaPoolFactoryCallerSession) BasePoolAssets

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryCallerSession) BasePoolAssets(arg0 common.Address) (bool, error)

BasePoolAssets is a free data retrieval call binding the contract method 0x10a002df.

Solidity: function base_pool_assets(address arg0) view returns(bool)

func (*CurveMetaPoolFactoryCallerSession) BasePoolCount

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryCallerSession) BasePoolCount() (*big.Int, error)

BasePoolCount is a free data retrieval call binding the contract method 0xde5e4a3b.

Solidity: function base_pool_count() view returns(uint256)

func (*CurveMetaPoolFactoryCallerSession) BasePoolList

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryCallerSession) BasePoolList(arg0 *big.Int) (common.Address, error)

BasePoolList is a free data retrieval call binding the contract method 0x22fe5671.

Solidity: function base_pool_list(uint256 arg0) view returns(address)

func (*CurveMetaPoolFactoryCallerSession) FindPoolForCoins

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryCallerSession) FindPoolForCoins(_from common.Address, _to common.Address) (common.Address, error)

FindPoolForCoins is a free data retrieval call binding the contract method 0xa87df06c.

Solidity: function find_pool_for_coins(address _from, address _to) view returns(address)

func (*CurveMetaPoolFactoryCallerSession) FindPoolForCoins0

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryCallerSession) FindPoolForCoins0(_from common.Address, _to common.Address, i *big.Int) (common.Address, error)

FindPoolForCoins0 is a free data retrieval call binding the contract method 0x6982eb0b.

Solidity: function find_pool_for_coins(address _from, address _to, uint256 i) view returns(address)

func (*CurveMetaPoolFactoryCallerSession) FutureAdmin

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryCallerSession) FutureAdmin() (common.Address, error)

FutureAdmin is a free data retrieval call binding the contract method 0x17f7182a.

Solidity: function future_admin() view returns(address)

func (*CurveMetaPoolFactoryCallerSession) GaugeImplementation

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryCallerSession) GaugeImplementation() (common.Address, error)

GaugeImplementation is a free data retrieval call binding the contract method 0x8df24207.

Solidity: function gauge_implementation() view returns(address)

func (*CurveMetaPoolFactoryCallerSession) GetA

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryCallerSession) GetA(_pool common.Address) (*big.Int, error)

GetA is a free data retrieval call binding the contract method 0x55b30b19.

Solidity: function get_A(address _pool) view returns(uint256)

func (*CurveMetaPoolFactoryCallerSession) GetAdminBalances

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryCallerSession) GetAdminBalances(_pool common.Address) ([4]*big.Int, error)

GetAdminBalances is a free data retrieval call binding the contract method 0xc11e45b8.

Solidity: function get_admin_balances(address _pool) view returns(uint256[4])

func (*CurveMetaPoolFactoryCallerSession) GetBalances

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryCallerSession) GetBalances(_pool common.Address) ([4]*big.Int, error)

GetBalances is a free data retrieval call binding the contract method 0x92e3cc2d.

Solidity: function get_balances(address _pool) view returns(uint256[4])

func (*CurveMetaPoolFactoryCallerSession) GetBasePool

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryCallerSession) GetBasePool(_pool common.Address) (common.Address, error)

GetBasePool is a free data retrieval call binding the contract method 0x6f20d6dd.

Solidity: function get_base_pool(address _pool) view returns(address)

func (*CurveMetaPoolFactoryCallerSession) GetCoinIndices

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryCallerSession) GetCoinIndices(_pool common.Address, _from common.Address, _to common.Address) (*big.Int, *big.Int, bool, error)

GetCoinIndices is a free data retrieval call binding the contract method 0xeb85226d.

Solidity: function get_coin_indices(address _pool, address _from, address _to) view returns(int128, int128, bool)

func (*CurveMetaPoolFactoryCallerSession) GetCoins

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryCallerSession) GetCoins(_pool common.Address) ([4]common.Address, error)

GetCoins is a free data retrieval call binding the contract method 0x9ac90d3d.

Solidity: function get_coins(address _pool) view returns(address[4])

func (*CurveMetaPoolFactoryCallerSession) GetDecimals

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryCallerSession) GetDecimals(_pool common.Address) ([4]*big.Int, error)

GetDecimals is a free data retrieval call binding the contract method 0x52b51555.

Solidity: function get_decimals(address _pool) view returns(uint256[4])

func (*CurveMetaPoolFactoryCallerSession) GetFeeReceiver

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryCallerSession) GetFeeReceiver(_pool common.Address) (common.Address, error)

GetFeeReceiver is a free data retrieval call binding the contract method 0x154aa8f5.

Solidity: function get_fee_receiver(address _pool) view returns(address)

func (*CurveMetaPoolFactoryCallerSession) GetFees

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryCallerSession) GetFees(_pool common.Address) (*big.Int, *big.Int, error)

GetFees is a free data retrieval call binding the contract method 0x7cdb72b0.

Solidity: function get_fees(address _pool) view returns(uint256, uint256)

func (*CurveMetaPoolFactoryCallerSession) GetGauge

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryCallerSession) GetGauge(_pool common.Address) (common.Address, error)

GetGauge is a free data retrieval call binding the contract method 0xdaf297b9.

Solidity: function get_gauge(address _pool) view returns(address)

func (*CurveMetaPoolFactoryCallerSession) GetImplementationAddress

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryCallerSession) GetImplementationAddress(_pool common.Address) (common.Address, error)

GetImplementationAddress is a free data retrieval call binding the contract method 0x510d98a4.

Solidity: function get_implementation_address(address _pool) view returns(address)

func (*CurveMetaPoolFactoryCallerSession) GetMetaNCoins

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryCallerSession) GetMetaNCoins(_pool common.Address) (*big.Int, *big.Int, error)

GetMetaNCoins is a free data retrieval call binding the contract method 0xeb73f37d.

Solidity: function get_meta_n_coins(address _pool) view returns(uint256, uint256)

func (*CurveMetaPoolFactoryCallerSession) GetMetapoolRates

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryCallerSession) GetMetapoolRates(_pool common.Address) ([2]*big.Int, error)

GetMetapoolRates is a free data retrieval call binding the contract method 0x06d8f160.

Solidity: function get_metapool_rates(address _pool) view returns(uint256[2])

func (*CurveMetaPoolFactoryCallerSession) GetNCoins

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryCallerSession) GetNCoins(_pool common.Address) (*big.Int, error)

GetNCoins is a free data retrieval call binding the contract method 0x940494f1.

Solidity: function get_n_coins(address _pool) view returns(uint256)

func (*CurveMetaPoolFactoryCallerSession) GetPoolAssetType

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryCallerSession) GetPoolAssetType(_pool common.Address) (*big.Int, error)

GetPoolAssetType is a free data retrieval call binding the contract method 0x66d3966c.

Solidity: function get_pool_asset_type(address _pool) view returns(uint256)

func (*CurveMetaPoolFactoryCallerSession) GetUnderlyingBalances

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryCallerSession) GetUnderlyingBalances(_pool common.Address) ([8]*big.Int, error)

GetUnderlyingBalances is a free data retrieval call binding the contract method 0x59f4f351.

Solidity: function get_underlying_balances(address _pool) view returns(uint256[8])

func (*CurveMetaPoolFactoryCallerSession) GetUnderlyingCoins

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryCallerSession) GetUnderlyingCoins(_pool common.Address) ([8]common.Address, error)

GetUnderlyingCoins is a free data retrieval call binding the contract method 0xa77576ef.

Solidity: function get_underlying_coins(address _pool) view returns(address[8])

func (*CurveMetaPoolFactoryCallerSession) GetUnderlyingDecimals

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryCallerSession) GetUnderlyingDecimals(_pool common.Address) ([8]*big.Int, error)

GetUnderlyingDecimals is a free data retrieval call binding the contract method 0x4cb088f1.

Solidity: function get_underlying_decimals(address _pool) view returns(uint256[8])

func (*CurveMetaPoolFactoryCallerSession) IsMeta

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryCallerSession) IsMeta(_pool common.Address) (bool, error)

IsMeta is a free data retrieval call binding the contract method 0xe4d332a9.

Solidity: function is_meta(address _pool) view returns(bool)

func (*CurveMetaPoolFactoryCallerSession) Manager

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryCallerSession) Manager() (common.Address, error)

Manager is a free data retrieval call binding the contract method 0x481c6a75.

Solidity: function manager() view returns(address)

func (*CurveMetaPoolFactoryCallerSession) MetapoolImplementations

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryCallerSession) MetapoolImplementations(_base_pool common.Address) ([10]common.Address, error)

MetapoolImplementations is a free data retrieval call binding the contract method 0x970fa3f3.

Solidity: function metapool_implementations(address _base_pool) view returns(address[10])

func (*CurveMetaPoolFactoryCallerSession) PlainImplementations

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryCallerSession) PlainImplementations(arg0 *big.Int, arg1 *big.Int) (common.Address, error)

PlainImplementations is a free data retrieval call binding the contract method 0x31a4f865.

Solidity: function plain_implementations(uint256 arg0, uint256 arg1) view returns(address)

func (*CurveMetaPoolFactoryCallerSession) PoolCount

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryCallerSession) PoolCount() (*big.Int, error)

PoolCount is a free data retrieval call binding the contract method 0x956aae3a.

Solidity: function pool_count() view returns(uint256)

func (*CurveMetaPoolFactoryCallerSession) PoolList

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryCallerSession) PoolList(arg0 *big.Int) (common.Address, error)

PoolList is a free data retrieval call binding the contract method 0x3a1d5d8e.

Solidity: function pool_list(uint256 arg0) view returns(address)

type CurveMetaPoolFactoryFilterer

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

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

func NewCurveMetaPoolFactoryFilterer

func NewCurveMetaPoolFactoryFilterer(address common.Address, filterer bind.ContractFilterer) (*CurveMetaPoolFactoryFilterer, error)

NewCurveMetaPoolFactoryFilterer creates a new log filterer instance of CurveMetaPoolFactory, bound to a specific deployed contract.

func (*CurveMetaPoolFactoryFilterer) FilterBasePoolAdded

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryFilterer) FilterBasePoolAdded(opts *bind.FilterOpts) (*CurveMetaPoolFactoryBasePoolAddedIterator, error)

FilterBasePoolAdded is a free log retrieval operation binding the contract event 0xcc6afdfec79da6be08142ecee25cf14b665961e25d30d8eba45959be9547635f.

Solidity: event BasePoolAdded(address base_pool)

func (*CurveMetaPoolFactoryFilterer) FilterLiquidityGaugeDeployed

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryFilterer) FilterLiquidityGaugeDeployed(opts *bind.FilterOpts) (*CurveMetaPoolFactoryLiquidityGaugeDeployedIterator, error)

FilterLiquidityGaugeDeployed is a free log retrieval operation binding the contract event 0x656bb34c20491970a8c163f3bd62ead82022b379c3924960ec60f6dbfc5aab3b.

Solidity: event LiquidityGaugeDeployed(address pool, address gauge)

func (*CurveMetaPoolFactoryFilterer) FilterMetaPoolDeployed

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryFilterer) FilterMetaPoolDeployed(opts *bind.FilterOpts) (*CurveMetaPoolFactoryMetaPoolDeployedIterator, error)

FilterMetaPoolDeployed is a free log retrieval operation binding the contract event 0x01f31cd2abdeb4e5e10ba500f2db0f937d9e8c735ab04681925441b4ea37eda5.

Solidity: event MetaPoolDeployed(address coin, address base_pool, uint256 A, uint256 fee, address deployer)

func (*CurveMetaPoolFactoryFilterer) FilterPlainPoolDeployed

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryFilterer) FilterPlainPoolDeployed(opts *bind.FilterOpts) (*CurveMetaPoolFactoryPlainPoolDeployedIterator, error)

FilterPlainPoolDeployed is a free log retrieval operation binding the contract event 0x5b4a28c940282b5bf183df6a046b8119cf6edeb62859f75e835eb7ba834cce8d.

Solidity: event PlainPoolDeployed(address[4] coins, uint256 A, uint256 fee, address deployer)

func (*CurveMetaPoolFactoryFilterer) ParseBasePoolAdded

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryFilterer) ParseBasePoolAdded(log types.Log) (*CurveMetaPoolFactoryBasePoolAdded, error)

ParseBasePoolAdded is a log parse operation binding the contract event 0xcc6afdfec79da6be08142ecee25cf14b665961e25d30d8eba45959be9547635f.

Solidity: event BasePoolAdded(address base_pool)

func (*CurveMetaPoolFactoryFilterer) ParseLiquidityGaugeDeployed

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryFilterer) ParseLiquidityGaugeDeployed(log types.Log) (*CurveMetaPoolFactoryLiquidityGaugeDeployed, error)

ParseLiquidityGaugeDeployed is a log parse operation binding the contract event 0x656bb34c20491970a8c163f3bd62ead82022b379c3924960ec60f6dbfc5aab3b.

Solidity: event LiquidityGaugeDeployed(address pool, address gauge)

func (*CurveMetaPoolFactoryFilterer) ParseMetaPoolDeployed

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryFilterer) ParseMetaPoolDeployed(log types.Log) (*CurveMetaPoolFactoryMetaPoolDeployed, error)

ParseMetaPoolDeployed is a log parse operation binding the contract event 0x01f31cd2abdeb4e5e10ba500f2db0f937d9e8c735ab04681925441b4ea37eda5.

Solidity: event MetaPoolDeployed(address coin, address base_pool, uint256 A, uint256 fee, address deployer)

func (*CurveMetaPoolFactoryFilterer) ParsePlainPoolDeployed

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryFilterer) ParsePlainPoolDeployed(log types.Log) (*CurveMetaPoolFactoryPlainPoolDeployed, error)

ParsePlainPoolDeployed is a log parse operation binding the contract event 0x5b4a28c940282b5bf183df6a046b8119cf6edeb62859f75e835eb7ba834cce8d.

Solidity: event PlainPoolDeployed(address[4] coins, uint256 A, uint256 fee, address deployer)

func (*CurveMetaPoolFactoryFilterer) WatchBasePoolAdded

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryFilterer) WatchBasePoolAdded(opts *bind.WatchOpts, sink chan<- *CurveMetaPoolFactoryBasePoolAdded) (event.Subscription, error)

WatchBasePoolAdded is a free log subscription operation binding the contract event 0xcc6afdfec79da6be08142ecee25cf14b665961e25d30d8eba45959be9547635f.

Solidity: event BasePoolAdded(address base_pool)

func (*CurveMetaPoolFactoryFilterer) WatchLiquidityGaugeDeployed

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryFilterer) WatchLiquidityGaugeDeployed(opts *bind.WatchOpts, sink chan<- *CurveMetaPoolFactoryLiquidityGaugeDeployed) (event.Subscription, error)

WatchLiquidityGaugeDeployed is a free log subscription operation binding the contract event 0x656bb34c20491970a8c163f3bd62ead82022b379c3924960ec60f6dbfc5aab3b.

Solidity: event LiquidityGaugeDeployed(address pool, address gauge)

func (*CurveMetaPoolFactoryFilterer) WatchMetaPoolDeployed

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryFilterer) WatchMetaPoolDeployed(opts *bind.WatchOpts, sink chan<- *CurveMetaPoolFactoryMetaPoolDeployed) (event.Subscription, error)

WatchMetaPoolDeployed is a free log subscription operation binding the contract event 0x01f31cd2abdeb4e5e10ba500f2db0f937d9e8c735ab04681925441b4ea37eda5.

Solidity: event MetaPoolDeployed(address coin, address base_pool, uint256 A, uint256 fee, address deployer)

func (*CurveMetaPoolFactoryFilterer) WatchPlainPoolDeployed

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryFilterer) WatchPlainPoolDeployed(opts *bind.WatchOpts, sink chan<- *CurveMetaPoolFactoryPlainPoolDeployed) (event.Subscription, error)

WatchPlainPoolDeployed is a free log subscription operation binding the contract event 0x5b4a28c940282b5bf183df6a046b8119cf6edeb62859f75e835eb7ba834cce8d.

Solidity: event PlainPoolDeployed(address[4] coins, uint256 A, uint256 fee, address deployer)

type CurveMetaPoolFactoryLiquidityGaugeDeployed

type CurveMetaPoolFactoryLiquidityGaugeDeployed struct {
	Pool  common.Address
	Gauge common.Address
	Raw   types.Log // Blockchain specific contextual infos
}

CurveMetaPoolFactoryLiquidityGaugeDeployed represents a LiquidityGaugeDeployed event raised by the CurveMetaPoolFactory contract.

type CurveMetaPoolFactoryLiquidityGaugeDeployedIterator

type CurveMetaPoolFactoryLiquidityGaugeDeployedIterator struct {
	Event *CurveMetaPoolFactoryLiquidityGaugeDeployed // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CurveMetaPoolFactoryLiquidityGaugeDeployedIterator is returned from FilterLiquidityGaugeDeployed and is used to iterate over the raw logs and unpacked data for LiquidityGaugeDeployed events raised by the CurveMetaPoolFactory contract.

func (*CurveMetaPoolFactoryLiquidityGaugeDeployedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CurveMetaPoolFactoryLiquidityGaugeDeployedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurveMetaPoolFactoryLiquidityGaugeDeployedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CurveMetaPoolFactoryMetaPoolDeployed

type CurveMetaPoolFactoryMetaPoolDeployed struct {
	Coin     common.Address
	BasePool common.Address
	A        *big.Int
	Fee      *big.Int
	Deployer common.Address
	Raw      types.Log // Blockchain specific contextual infos
}

CurveMetaPoolFactoryMetaPoolDeployed represents a MetaPoolDeployed event raised by the CurveMetaPoolFactory contract.

type CurveMetaPoolFactoryMetaPoolDeployedIterator

type CurveMetaPoolFactoryMetaPoolDeployedIterator struct {
	Event *CurveMetaPoolFactoryMetaPoolDeployed // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CurveMetaPoolFactoryMetaPoolDeployedIterator is returned from FilterMetaPoolDeployed and is used to iterate over the raw logs and unpacked data for MetaPoolDeployed events raised by the CurveMetaPoolFactory contract.

func (*CurveMetaPoolFactoryMetaPoolDeployedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CurveMetaPoolFactoryMetaPoolDeployedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurveMetaPoolFactoryMetaPoolDeployedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CurveMetaPoolFactoryPlainPoolDeployed

type CurveMetaPoolFactoryPlainPoolDeployed struct {
	Coins    [4]common.Address
	A        *big.Int
	Fee      *big.Int
	Deployer common.Address
	Raw      types.Log // Blockchain specific contextual infos
}

CurveMetaPoolFactoryPlainPoolDeployed represents a PlainPoolDeployed event raised by the CurveMetaPoolFactory contract.

type CurveMetaPoolFactoryPlainPoolDeployedIterator

type CurveMetaPoolFactoryPlainPoolDeployedIterator struct {
	Event *CurveMetaPoolFactoryPlainPoolDeployed // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CurveMetaPoolFactoryPlainPoolDeployedIterator is returned from FilterPlainPoolDeployed and is used to iterate over the raw logs and unpacked data for PlainPoolDeployed events raised by the CurveMetaPoolFactory contract.

func (*CurveMetaPoolFactoryPlainPoolDeployedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CurveMetaPoolFactoryPlainPoolDeployedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurveMetaPoolFactoryPlainPoolDeployedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CurveMetaPoolFactoryRaw

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

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

func (*CurveMetaPoolFactoryRaw) Call

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryRaw) 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 (*CurveMetaPoolFactoryRaw) Transact

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

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

func (*CurveMetaPoolFactoryRaw) Transfer

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryRaw) 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 CurveMetaPoolFactorySession

type CurveMetaPoolFactorySession struct {
	Contract     *CurveMetaPoolFactory // 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
}

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

func (*CurveMetaPoolFactorySession) AcceptTransferOwnership

func (_CurveMetaPoolFactory *CurveMetaPoolFactorySession) AcceptTransferOwnership() (*types.Transaction, error)

AcceptTransferOwnership is a paid mutator transaction binding the contract method 0xe5ea47b8.

Solidity: function accept_transfer_ownership() returns()

func (*CurveMetaPoolFactorySession) AddBasePool

func (_CurveMetaPoolFactory *CurveMetaPoolFactorySession) AddBasePool(_base_pool common.Address, _fee_receiver common.Address, _asset_type *big.Int, _implementations [10]common.Address) (*types.Transaction, error)

AddBasePool is a paid mutator transaction binding the contract method 0x2fc05653.

Solidity: function add_base_pool(address _base_pool, address _fee_receiver, uint256 _asset_type, address[10] _implementations) returns()

func (*CurveMetaPoolFactorySession) AddExistingMetapools

func (_CurveMetaPoolFactory *CurveMetaPoolFactorySession) AddExistingMetapools(_pools [10]common.Address) (*types.Transaction, error)

AddExistingMetapools is a paid mutator transaction binding the contract method 0xdb89fabc.

Solidity: function add_existing_metapools(address[10] _pools) returns(bool)

func (*CurveMetaPoolFactorySession) Admin

func (_CurveMetaPoolFactory *CurveMetaPoolFactorySession) Admin() (common.Address, error)

Admin is a free data retrieval call binding the contract method 0xf851a440.

Solidity: function admin() view returns(address)

func (*CurveMetaPoolFactorySession) BasePoolAssets

func (_CurveMetaPoolFactory *CurveMetaPoolFactorySession) BasePoolAssets(arg0 common.Address) (bool, error)

BasePoolAssets is a free data retrieval call binding the contract method 0x10a002df.

Solidity: function base_pool_assets(address arg0) view returns(bool)

func (*CurveMetaPoolFactorySession) BasePoolCount

func (_CurveMetaPoolFactory *CurveMetaPoolFactorySession) BasePoolCount() (*big.Int, error)

BasePoolCount is a free data retrieval call binding the contract method 0xde5e4a3b.

Solidity: function base_pool_count() view returns(uint256)

func (*CurveMetaPoolFactorySession) BasePoolList

func (_CurveMetaPoolFactory *CurveMetaPoolFactorySession) BasePoolList(arg0 *big.Int) (common.Address, error)

BasePoolList is a free data retrieval call binding the contract method 0x22fe5671.

Solidity: function base_pool_list(uint256 arg0) view returns(address)

func (*CurveMetaPoolFactorySession) BatchSetPoolAssetType

func (_CurveMetaPoolFactory *CurveMetaPoolFactorySession) BatchSetPoolAssetType(_pools [32]common.Address, _asset_types [32]*big.Int) (*types.Transaction, error)

BatchSetPoolAssetType is a paid mutator transaction binding the contract method 0x7542f078.

Solidity: function batch_set_pool_asset_type(address[32] _pools, uint256[32] _asset_types) returns()

func (*CurveMetaPoolFactorySession) CommitTransferOwnership

func (_CurveMetaPoolFactory *CurveMetaPoolFactorySession) CommitTransferOwnership(_addr common.Address) (*types.Transaction, error)

CommitTransferOwnership is a paid mutator transaction binding the contract method 0x6b441a40.

Solidity: function commit_transfer_ownership(address _addr) returns()

func (*CurveMetaPoolFactorySession) ConvertMetapoolFees

func (_CurveMetaPoolFactory *CurveMetaPoolFactorySession) ConvertMetapoolFees() (*types.Transaction, error)

ConvertMetapoolFees is a paid mutator transaction binding the contract method 0xbcc981d2.

Solidity: function convert_metapool_fees() returns(bool)

func (*CurveMetaPoolFactorySession) DeployGauge

func (_CurveMetaPoolFactory *CurveMetaPoolFactorySession) DeployGauge(_pool common.Address) (*types.Transaction, error)

DeployGauge is a paid mutator transaction binding the contract method 0x96bebb34.

Solidity: function deploy_gauge(address _pool) returns(address)

func (*CurveMetaPoolFactorySession) DeployMetapool

func (_CurveMetaPoolFactory *CurveMetaPoolFactorySession) DeployMetapool(_base_pool common.Address, _name string, _symbol string, _coin common.Address, _A *big.Int, _fee *big.Int) (*types.Transaction, error)

DeployMetapool is a paid mutator transaction binding the contract method 0xe339eb4f.

Solidity: function deploy_metapool(address _base_pool, string _name, string _symbol, address _coin, uint256 _A, uint256 _fee) returns(address)

func (*CurveMetaPoolFactorySession) DeployMetapool0

func (_CurveMetaPoolFactory *CurveMetaPoolFactorySession) DeployMetapool0(_base_pool common.Address, _name string, _symbol string, _coin common.Address, _A *big.Int, _fee *big.Int, _implementation_idx *big.Int) (*types.Transaction, error)

DeployMetapool0 is a paid mutator transaction binding the contract method 0xde7fe3bf.

Solidity: function deploy_metapool(address _base_pool, string _name, string _symbol, address _coin, uint256 _A, uint256 _fee, uint256 _implementation_idx) returns(address)

func (*CurveMetaPoolFactorySession) DeployPlainPool

func (_CurveMetaPoolFactory *CurveMetaPoolFactorySession) DeployPlainPool(_name string, _symbol string, _coins [4]common.Address, _A *big.Int, _fee *big.Int) (*types.Transaction, error)

DeployPlainPool is a paid mutator transaction binding the contract method 0xcd419bb5.

Solidity: function deploy_plain_pool(string _name, string _symbol, address[4] _coins, uint256 _A, uint256 _fee) returns(address)

func (*CurveMetaPoolFactorySession) DeployPlainPool0

func (_CurveMetaPoolFactory *CurveMetaPoolFactorySession) DeployPlainPool0(_name string, _symbol string, _coins [4]common.Address, _A *big.Int, _fee *big.Int, _asset_type *big.Int) (*types.Transaction, error)

DeployPlainPool0 is a paid mutator transaction binding the contract method 0x5c16487b.

Solidity: function deploy_plain_pool(string _name, string _symbol, address[4] _coins, uint256 _A, uint256 _fee, uint256 _asset_type) returns(address)

func (*CurveMetaPoolFactorySession) DeployPlainPool1

func (_CurveMetaPoolFactory *CurveMetaPoolFactorySession) DeployPlainPool1(_name string, _symbol string, _coins [4]common.Address, _A *big.Int, _fee *big.Int, _asset_type *big.Int, _implementation_idx *big.Int) (*types.Transaction, error)

DeployPlainPool1 is a paid mutator transaction binding the contract method 0x52f2db69.

Solidity: function deploy_plain_pool(string _name, string _symbol, address[4] _coins, uint256 _A, uint256 _fee, uint256 _asset_type, uint256 _implementation_idx) returns(address)

func (*CurveMetaPoolFactorySession) FindPoolForCoins

func (_CurveMetaPoolFactory *CurveMetaPoolFactorySession) FindPoolForCoins(_from common.Address, _to common.Address) (common.Address, error)

FindPoolForCoins is a free data retrieval call binding the contract method 0xa87df06c.

Solidity: function find_pool_for_coins(address _from, address _to) view returns(address)

func (*CurveMetaPoolFactorySession) FindPoolForCoins0

func (_CurveMetaPoolFactory *CurveMetaPoolFactorySession) FindPoolForCoins0(_from common.Address, _to common.Address, i *big.Int) (common.Address, error)

FindPoolForCoins0 is a free data retrieval call binding the contract method 0x6982eb0b.

Solidity: function find_pool_for_coins(address _from, address _to, uint256 i) view returns(address)

func (*CurveMetaPoolFactorySession) FutureAdmin

func (_CurveMetaPoolFactory *CurveMetaPoolFactorySession) FutureAdmin() (common.Address, error)

FutureAdmin is a free data retrieval call binding the contract method 0x17f7182a.

Solidity: function future_admin() view returns(address)

func (*CurveMetaPoolFactorySession) GaugeImplementation

func (_CurveMetaPoolFactory *CurveMetaPoolFactorySession) GaugeImplementation() (common.Address, error)

GaugeImplementation is a free data retrieval call binding the contract method 0x8df24207.

Solidity: function gauge_implementation() view returns(address)

func (*CurveMetaPoolFactorySession) GetA

func (_CurveMetaPoolFactory *CurveMetaPoolFactorySession) GetA(_pool common.Address) (*big.Int, error)

GetA is a free data retrieval call binding the contract method 0x55b30b19.

Solidity: function get_A(address _pool) view returns(uint256)

func (*CurveMetaPoolFactorySession) GetAdminBalances

func (_CurveMetaPoolFactory *CurveMetaPoolFactorySession) GetAdminBalances(_pool common.Address) ([4]*big.Int, error)

GetAdminBalances is a free data retrieval call binding the contract method 0xc11e45b8.

Solidity: function get_admin_balances(address _pool) view returns(uint256[4])

func (*CurveMetaPoolFactorySession) GetBalances

func (_CurveMetaPoolFactory *CurveMetaPoolFactorySession) GetBalances(_pool common.Address) ([4]*big.Int, error)

GetBalances is a free data retrieval call binding the contract method 0x92e3cc2d.

Solidity: function get_balances(address _pool) view returns(uint256[4])

func (*CurveMetaPoolFactorySession) GetBasePool

func (_CurveMetaPoolFactory *CurveMetaPoolFactorySession) GetBasePool(_pool common.Address) (common.Address, error)

GetBasePool is a free data retrieval call binding the contract method 0x6f20d6dd.

Solidity: function get_base_pool(address _pool) view returns(address)

func (*CurveMetaPoolFactorySession) GetCoinIndices

func (_CurveMetaPoolFactory *CurveMetaPoolFactorySession) GetCoinIndices(_pool common.Address, _from common.Address, _to common.Address) (*big.Int, *big.Int, bool, error)

GetCoinIndices is a free data retrieval call binding the contract method 0xeb85226d.

Solidity: function get_coin_indices(address _pool, address _from, address _to) view returns(int128, int128, bool)

func (*CurveMetaPoolFactorySession) GetCoins

func (_CurveMetaPoolFactory *CurveMetaPoolFactorySession) GetCoins(_pool common.Address) ([4]common.Address, error)

GetCoins is a free data retrieval call binding the contract method 0x9ac90d3d.

Solidity: function get_coins(address _pool) view returns(address[4])

func (*CurveMetaPoolFactorySession) GetDecimals

func (_CurveMetaPoolFactory *CurveMetaPoolFactorySession) GetDecimals(_pool common.Address) ([4]*big.Int, error)

GetDecimals is a free data retrieval call binding the contract method 0x52b51555.

Solidity: function get_decimals(address _pool) view returns(uint256[4])

func (*CurveMetaPoolFactorySession) GetFeeReceiver

func (_CurveMetaPoolFactory *CurveMetaPoolFactorySession) GetFeeReceiver(_pool common.Address) (common.Address, error)

GetFeeReceiver is a free data retrieval call binding the contract method 0x154aa8f5.

Solidity: function get_fee_receiver(address _pool) view returns(address)

func (*CurveMetaPoolFactorySession) GetFees

func (_CurveMetaPoolFactory *CurveMetaPoolFactorySession) GetFees(_pool common.Address) (*big.Int, *big.Int, error)

GetFees is a free data retrieval call binding the contract method 0x7cdb72b0.

Solidity: function get_fees(address _pool) view returns(uint256, uint256)

func (*CurveMetaPoolFactorySession) GetGauge

func (_CurveMetaPoolFactory *CurveMetaPoolFactorySession) GetGauge(_pool common.Address) (common.Address, error)

GetGauge is a free data retrieval call binding the contract method 0xdaf297b9.

Solidity: function get_gauge(address _pool) view returns(address)

func (*CurveMetaPoolFactorySession) GetImplementationAddress

func (_CurveMetaPoolFactory *CurveMetaPoolFactorySession) GetImplementationAddress(_pool common.Address) (common.Address, error)

GetImplementationAddress is a free data retrieval call binding the contract method 0x510d98a4.

Solidity: function get_implementation_address(address _pool) view returns(address)

func (*CurveMetaPoolFactorySession) GetMetaNCoins

func (_CurveMetaPoolFactory *CurveMetaPoolFactorySession) GetMetaNCoins(_pool common.Address) (*big.Int, *big.Int, error)

GetMetaNCoins is a free data retrieval call binding the contract method 0xeb73f37d.

Solidity: function get_meta_n_coins(address _pool) view returns(uint256, uint256)

func (*CurveMetaPoolFactorySession) GetMetapoolRates

func (_CurveMetaPoolFactory *CurveMetaPoolFactorySession) GetMetapoolRates(_pool common.Address) ([2]*big.Int, error)

GetMetapoolRates is a free data retrieval call binding the contract method 0x06d8f160.

Solidity: function get_metapool_rates(address _pool) view returns(uint256[2])

func (*CurveMetaPoolFactorySession) GetNCoins

func (_CurveMetaPoolFactory *CurveMetaPoolFactorySession) GetNCoins(_pool common.Address) (*big.Int, error)

GetNCoins is a free data retrieval call binding the contract method 0x940494f1.

Solidity: function get_n_coins(address _pool) view returns(uint256)

func (*CurveMetaPoolFactorySession) GetPoolAssetType

func (_CurveMetaPoolFactory *CurveMetaPoolFactorySession) GetPoolAssetType(_pool common.Address) (*big.Int, error)

GetPoolAssetType is a free data retrieval call binding the contract method 0x66d3966c.

Solidity: function get_pool_asset_type(address _pool) view returns(uint256)

func (*CurveMetaPoolFactorySession) GetUnderlyingBalances

func (_CurveMetaPoolFactory *CurveMetaPoolFactorySession) GetUnderlyingBalances(_pool common.Address) ([8]*big.Int, error)

GetUnderlyingBalances is a free data retrieval call binding the contract method 0x59f4f351.

Solidity: function get_underlying_balances(address _pool) view returns(uint256[8])

func (*CurveMetaPoolFactorySession) GetUnderlyingCoins

func (_CurveMetaPoolFactory *CurveMetaPoolFactorySession) GetUnderlyingCoins(_pool common.Address) ([8]common.Address, error)

GetUnderlyingCoins is a free data retrieval call binding the contract method 0xa77576ef.

Solidity: function get_underlying_coins(address _pool) view returns(address[8])

func (*CurveMetaPoolFactorySession) GetUnderlyingDecimals

func (_CurveMetaPoolFactory *CurveMetaPoolFactorySession) GetUnderlyingDecimals(_pool common.Address) ([8]*big.Int, error)

GetUnderlyingDecimals is a free data retrieval call binding the contract method 0x4cb088f1.

Solidity: function get_underlying_decimals(address _pool) view returns(uint256[8])

func (*CurveMetaPoolFactorySession) IsMeta

func (_CurveMetaPoolFactory *CurveMetaPoolFactorySession) IsMeta(_pool common.Address) (bool, error)

IsMeta is a free data retrieval call binding the contract method 0xe4d332a9.

Solidity: function is_meta(address _pool) view returns(bool)

func (*CurveMetaPoolFactorySession) Manager

func (_CurveMetaPoolFactory *CurveMetaPoolFactorySession) Manager() (common.Address, error)

Manager is a free data retrieval call binding the contract method 0x481c6a75.

Solidity: function manager() view returns(address)

func (*CurveMetaPoolFactorySession) MetapoolImplementations

func (_CurveMetaPoolFactory *CurveMetaPoolFactorySession) MetapoolImplementations(_base_pool common.Address) ([10]common.Address, error)

MetapoolImplementations is a free data retrieval call binding the contract method 0x970fa3f3.

Solidity: function metapool_implementations(address _base_pool) view returns(address[10])

func (*CurveMetaPoolFactorySession) PlainImplementations

func (_CurveMetaPoolFactory *CurveMetaPoolFactorySession) PlainImplementations(arg0 *big.Int, arg1 *big.Int) (common.Address, error)

PlainImplementations is a free data retrieval call binding the contract method 0x31a4f865.

Solidity: function plain_implementations(uint256 arg0, uint256 arg1) view returns(address)

func (*CurveMetaPoolFactorySession) PoolCount

func (_CurveMetaPoolFactory *CurveMetaPoolFactorySession) PoolCount() (*big.Int, error)

PoolCount is a free data retrieval call binding the contract method 0x956aae3a.

Solidity: function pool_count() view returns(uint256)

func (*CurveMetaPoolFactorySession) PoolList

func (_CurveMetaPoolFactory *CurveMetaPoolFactorySession) PoolList(arg0 *big.Int) (common.Address, error)

PoolList is a free data retrieval call binding the contract method 0x3a1d5d8e.

Solidity: function pool_list(uint256 arg0) view returns(address)

func (*CurveMetaPoolFactorySession) SetFeeReceiver

func (_CurveMetaPoolFactory *CurveMetaPoolFactorySession) SetFeeReceiver(_base_pool common.Address, _fee_receiver common.Address) (*types.Transaction, error)

SetFeeReceiver is a paid mutator transaction binding the contract method 0x36d2b77a.

Solidity: function set_fee_receiver(address _base_pool, address _fee_receiver) returns()

func (*CurveMetaPoolFactorySession) SetGaugeImplementation

func (_CurveMetaPoolFactory *CurveMetaPoolFactorySession) SetGaugeImplementation(_gauge_implementation common.Address) (*types.Transaction, error)

SetGaugeImplementation is a paid mutator transaction binding the contract method 0x8f03182c.

Solidity: function set_gauge_implementation(address _gauge_implementation) returns()

func (*CurveMetaPoolFactorySession) SetManager

func (_CurveMetaPoolFactory *CurveMetaPoolFactorySession) SetManager(_manager common.Address) (*types.Transaction, error)

SetManager is a paid mutator transaction binding the contract method 0x9aece83e.

Solidity: function set_manager(address _manager) returns()

func (*CurveMetaPoolFactorySession) SetMetapoolImplementations

func (_CurveMetaPoolFactory *CurveMetaPoolFactorySession) SetMetapoolImplementations(_base_pool common.Address, _implementations [10]common.Address) (*types.Transaction, error)

SetMetapoolImplementations is a paid mutator transaction binding the contract method 0xcb956b46.

Solidity: function set_metapool_implementations(address _base_pool, address[10] _implementations) returns()

func (*CurveMetaPoolFactorySession) SetPlainImplementations

func (_CurveMetaPoolFactory *CurveMetaPoolFactorySession) SetPlainImplementations(_n_coins *big.Int, _implementations [10]common.Address) (*types.Transaction, error)

SetPlainImplementations is a paid mutator transaction binding the contract method 0x9ddbf4b9.

Solidity: function set_plain_implementations(uint256 _n_coins, address[10] _implementations) returns()

type CurveMetaPoolFactoryTransactor

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

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

func NewCurveMetaPoolFactoryTransactor

func NewCurveMetaPoolFactoryTransactor(address common.Address, transactor bind.ContractTransactor) (*CurveMetaPoolFactoryTransactor, error)

NewCurveMetaPoolFactoryTransactor creates a new write-only instance of CurveMetaPoolFactory, bound to a specific deployed contract.

func (*CurveMetaPoolFactoryTransactor) AcceptTransferOwnership

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryTransactor) AcceptTransferOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

AcceptTransferOwnership is a paid mutator transaction binding the contract method 0xe5ea47b8.

Solidity: function accept_transfer_ownership() returns()

func (*CurveMetaPoolFactoryTransactor) AddBasePool

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryTransactor) AddBasePool(opts *bind.TransactOpts, _base_pool common.Address, _fee_receiver common.Address, _asset_type *big.Int, _implementations [10]common.Address) (*types.Transaction, error)

AddBasePool is a paid mutator transaction binding the contract method 0x2fc05653.

Solidity: function add_base_pool(address _base_pool, address _fee_receiver, uint256 _asset_type, address[10] _implementations) returns()

func (*CurveMetaPoolFactoryTransactor) AddExistingMetapools

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryTransactor) AddExistingMetapools(opts *bind.TransactOpts, _pools [10]common.Address) (*types.Transaction, error)

AddExistingMetapools is a paid mutator transaction binding the contract method 0xdb89fabc.

Solidity: function add_existing_metapools(address[10] _pools) returns(bool)

func (*CurveMetaPoolFactoryTransactor) BatchSetPoolAssetType

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryTransactor) BatchSetPoolAssetType(opts *bind.TransactOpts, _pools [32]common.Address, _asset_types [32]*big.Int) (*types.Transaction, error)

BatchSetPoolAssetType is a paid mutator transaction binding the contract method 0x7542f078.

Solidity: function batch_set_pool_asset_type(address[32] _pools, uint256[32] _asset_types) returns()

func (*CurveMetaPoolFactoryTransactor) CommitTransferOwnership

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryTransactor) CommitTransferOwnership(opts *bind.TransactOpts, _addr common.Address) (*types.Transaction, error)

CommitTransferOwnership is a paid mutator transaction binding the contract method 0x6b441a40.

Solidity: function commit_transfer_ownership(address _addr) returns()

func (*CurveMetaPoolFactoryTransactor) ConvertMetapoolFees

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryTransactor) ConvertMetapoolFees(opts *bind.TransactOpts) (*types.Transaction, error)

ConvertMetapoolFees is a paid mutator transaction binding the contract method 0xbcc981d2.

Solidity: function convert_metapool_fees() returns(bool)

func (*CurveMetaPoolFactoryTransactor) DeployGauge

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryTransactor) DeployGauge(opts *bind.TransactOpts, _pool common.Address) (*types.Transaction, error)

DeployGauge is a paid mutator transaction binding the contract method 0x96bebb34.

Solidity: function deploy_gauge(address _pool) returns(address)

func (*CurveMetaPoolFactoryTransactor) DeployMetapool

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryTransactor) DeployMetapool(opts *bind.TransactOpts, _base_pool common.Address, _name string, _symbol string, _coin common.Address, _A *big.Int, _fee *big.Int) (*types.Transaction, error)

DeployMetapool is a paid mutator transaction binding the contract method 0xe339eb4f.

Solidity: function deploy_metapool(address _base_pool, string _name, string _symbol, address _coin, uint256 _A, uint256 _fee) returns(address)

func (*CurveMetaPoolFactoryTransactor) DeployMetapool0

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryTransactor) DeployMetapool0(opts *bind.TransactOpts, _base_pool common.Address, _name string, _symbol string, _coin common.Address, _A *big.Int, _fee *big.Int, _implementation_idx *big.Int) (*types.Transaction, error)

DeployMetapool0 is a paid mutator transaction binding the contract method 0xde7fe3bf.

Solidity: function deploy_metapool(address _base_pool, string _name, string _symbol, address _coin, uint256 _A, uint256 _fee, uint256 _implementation_idx) returns(address)

func (*CurveMetaPoolFactoryTransactor) DeployPlainPool

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryTransactor) DeployPlainPool(opts *bind.TransactOpts, _name string, _symbol string, _coins [4]common.Address, _A *big.Int, _fee *big.Int) (*types.Transaction, error)

DeployPlainPool is a paid mutator transaction binding the contract method 0xcd419bb5.

Solidity: function deploy_plain_pool(string _name, string _symbol, address[4] _coins, uint256 _A, uint256 _fee) returns(address)

func (*CurveMetaPoolFactoryTransactor) DeployPlainPool0

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryTransactor) DeployPlainPool0(opts *bind.TransactOpts, _name string, _symbol string, _coins [4]common.Address, _A *big.Int, _fee *big.Int, _asset_type *big.Int) (*types.Transaction, error)

DeployPlainPool0 is a paid mutator transaction binding the contract method 0x5c16487b.

Solidity: function deploy_plain_pool(string _name, string _symbol, address[4] _coins, uint256 _A, uint256 _fee, uint256 _asset_type) returns(address)

func (*CurveMetaPoolFactoryTransactor) DeployPlainPool1

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryTransactor) DeployPlainPool1(opts *bind.TransactOpts, _name string, _symbol string, _coins [4]common.Address, _A *big.Int, _fee *big.Int, _asset_type *big.Int, _implementation_idx *big.Int) (*types.Transaction, error)

DeployPlainPool1 is a paid mutator transaction binding the contract method 0x52f2db69.

Solidity: function deploy_plain_pool(string _name, string _symbol, address[4] _coins, uint256 _A, uint256 _fee, uint256 _asset_type, uint256 _implementation_idx) returns(address)

func (*CurveMetaPoolFactoryTransactor) SetFeeReceiver

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryTransactor) SetFeeReceiver(opts *bind.TransactOpts, _base_pool common.Address, _fee_receiver common.Address) (*types.Transaction, error)

SetFeeReceiver is a paid mutator transaction binding the contract method 0x36d2b77a.

Solidity: function set_fee_receiver(address _base_pool, address _fee_receiver) returns()

func (*CurveMetaPoolFactoryTransactor) SetGaugeImplementation

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryTransactor) SetGaugeImplementation(opts *bind.TransactOpts, _gauge_implementation common.Address) (*types.Transaction, error)

SetGaugeImplementation is a paid mutator transaction binding the contract method 0x8f03182c.

Solidity: function set_gauge_implementation(address _gauge_implementation) returns()

func (*CurveMetaPoolFactoryTransactor) SetManager

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryTransactor) SetManager(opts *bind.TransactOpts, _manager common.Address) (*types.Transaction, error)

SetManager is a paid mutator transaction binding the contract method 0x9aece83e.

Solidity: function set_manager(address _manager) returns()

func (*CurveMetaPoolFactoryTransactor) SetMetapoolImplementations

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryTransactor) SetMetapoolImplementations(opts *bind.TransactOpts, _base_pool common.Address, _implementations [10]common.Address) (*types.Transaction, error)

SetMetapoolImplementations is a paid mutator transaction binding the contract method 0xcb956b46.

Solidity: function set_metapool_implementations(address _base_pool, address[10] _implementations) returns()

func (*CurveMetaPoolFactoryTransactor) SetPlainImplementations

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryTransactor) SetPlainImplementations(opts *bind.TransactOpts, _n_coins *big.Int, _implementations [10]common.Address) (*types.Transaction, error)

SetPlainImplementations is a paid mutator transaction binding the contract method 0x9ddbf4b9.

Solidity: function set_plain_implementations(uint256 _n_coins, address[10] _implementations) returns()

type CurveMetaPoolFactoryTransactorRaw

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

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

func (*CurveMetaPoolFactoryTransactorRaw) Transact

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

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

func (*CurveMetaPoolFactoryTransactorRaw) Transfer

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryTransactorRaw) 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 CurveMetaPoolFactoryTransactorSession

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

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

func (*CurveMetaPoolFactoryTransactorSession) AcceptTransferOwnership

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryTransactorSession) AcceptTransferOwnership() (*types.Transaction, error)

AcceptTransferOwnership is a paid mutator transaction binding the contract method 0xe5ea47b8.

Solidity: function accept_transfer_ownership() returns()

func (*CurveMetaPoolFactoryTransactorSession) AddBasePool

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryTransactorSession) AddBasePool(_base_pool common.Address, _fee_receiver common.Address, _asset_type *big.Int, _implementations [10]common.Address) (*types.Transaction, error)

AddBasePool is a paid mutator transaction binding the contract method 0x2fc05653.

Solidity: function add_base_pool(address _base_pool, address _fee_receiver, uint256 _asset_type, address[10] _implementations) returns()

func (*CurveMetaPoolFactoryTransactorSession) AddExistingMetapools

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryTransactorSession) AddExistingMetapools(_pools [10]common.Address) (*types.Transaction, error)

AddExistingMetapools is a paid mutator transaction binding the contract method 0xdb89fabc.

Solidity: function add_existing_metapools(address[10] _pools) returns(bool)

func (*CurveMetaPoolFactoryTransactorSession) BatchSetPoolAssetType

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryTransactorSession) BatchSetPoolAssetType(_pools [32]common.Address, _asset_types [32]*big.Int) (*types.Transaction, error)

BatchSetPoolAssetType is a paid mutator transaction binding the contract method 0x7542f078.

Solidity: function batch_set_pool_asset_type(address[32] _pools, uint256[32] _asset_types) returns()

func (*CurveMetaPoolFactoryTransactorSession) CommitTransferOwnership

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryTransactorSession) CommitTransferOwnership(_addr common.Address) (*types.Transaction, error)

CommitTransferOwnership is a paid mutator transaction binding the contract method 0x6b441a40.

Solidity: function commit_transfer_ownership(address _addr) returns()

func (*CurveMetaPoolFactoryTransactorSession) ConvertMetapoolFees

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryTransactorSession) ConvertMetapoolFees() (*types.Transaction, error)

ConvertMetapoolFees is a paid mutator transaction binding the contract method 0xbcc981d2.

Solidity: function convert_metapool_fees() returns(bool)

func (*CurveMetaPoolFactoryTransactorSession) DeployGauge

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryTransactorSession) DeployGauge(_pool common.Address) (*types.Transaction, error)

DeployGauge is a paid mutator transaction binding the contract method 0x96bebb34.

Solidity: function deploy_gauge(address _pool) returns(address)

func (*CurveMetaPoolFactoryTransactorSession) DeployMetapool

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryTransactorSession) DeployMetapool(_base_pool common.Address, _name string, _symbol string, _coin common.Address, _A *big.Int, _fee *big.Int) (*types.Transaction, error)

DeployMetapool is a paid mutator transaction binding the contract method 0xe339eb4f.

Solidity: function deploy_metapool(address _base_pool, string _name, string _symbol, address _coin, uint256 _A, uint256 _fee) returns(address)

func (*CurveMetaPoolFactoryTransactorSession) DeployMetapool0

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryTransactorSession) DeployMetapool0(_base_pool common.Address, _name string, _symbol string, _coin common.Address, _A *big.Int, _fee *big.Int, _implementation_idx *big.Int) (*types.Transaction, error)

DeployMetapool0 is a paid mutator transaction binding the contract method 0xde7fe3bf.

Solidity: function deploy_metapool(address _base_pool, string _name, string _symbol, address _coin, uint256 _A, uint256 _fee, uint256 _implementation_idx) returns(address)

func (*CurveMetaPoolFactoryTransactorSession) DeployPlainPool

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryTransactorSession) DeployPlainPool(_name string, _symbol string, _coins [4]common.Address, _A *big.Int, _fee *big.Int) (*types.Transaction, error)

DeployPlainPool is a paid mutator transaction binding the contract method 0xcd419bb5.

Solidity: function deploy_plain_pool(string _name, string _symbol, address[4] _coins, uint256 _A, uint256 _fee) returns(address)

func (*CurveMetaPoolFactoryTransactorSession) DeployPlainPool0

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryTransactorSession) DeployPlainPool0(_name string, _symbol string, _coins [4]common.Address, _A *big.Int, _fee *big.Int, _asset_type *big.Int) (*types.Transaction, error)

DeployPlainPool0 is a paid mutator transaction binding the contract method 0x5c16487b.

Solidity: function deploy_plain_pool(string _name, string _symbol, address[4] _coins, uint256 _A, uint256 _fee, uint256 _asset_type) returns(address)

func (*CurveMetaPoolFactoryTransactorSession) DeployPlainPool1

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryTransactorSession) DeployPlainPool1(_name string, _symbol string, _coins [4]common.Address, _A *big.Int, _fee *big.Int, _asset_type *big.Int, _implementation_idx *big.Int) (*types.Transaction, error)

DeployPlainPool1 is a paid mutator transaction binding the contract method 0x52f2db69.

Solidity: function deploy_plain_pool(string _name, string _symbol, address[4] _coins, uint256 _A, uint256 _fee, uint256 _asset_type, uint256 _implementation_idx) returns(address)

func (*CurveMetaPoolFactoryTransactorSession) SetFeeReceiver

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryTransactorSession) SetFeeReceiver(_base_pool common.Address, _fee_receiver common.Address) (*types.Transaction, error)

SetFeeReceiver is a paid mutator transaction binding the contract method 0x36d2b77a.

Solidity: function set_fee_receiver(address _base_pool, address _fee_receiver) returns()

func (*CurveMetaPoolFactoryTransactorSession) SetGaugeImplementation

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryTransactorSession) SetGaugeImplementation(_gauge_implementation common.Address) (*types.Transaction, error)

SetGaugeImplementation is a paid mutator transaction binding the contract method 0x8f03182c.

Solidity: function set_gauge_implementation(address _gauge_implementation) returns()

func (*CurveMetaPoolFactoryTransactorSession) SetManager

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryTransactorSession) SetManager(_manager common.Address) (*types.Transaction, error)

SetManager is a paid mutator transaction binding the contract method 0x9aece83e.

Solidity: function set_manager(address _manager) returns()

func (*CurveMetaPoolFactoryTransactorSession) SetMetapoolImplementations

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryTransactorSession) SetMetapoolImplementations(_base_pool common.Address, _implementations [10]common.Address) (*types.Transaction, error)

SetMetapoolImplementations is a paid mutator transaction binding the contract method 0xcb956b46.

Solidity: function set_metapool_implementations(address _base_pool, address[10] _implementations) returns()

func (*CurveMetaPoolFactoryTransactorSession) SetPlainImplementations

func (_CurveMetaPoolFactory *CurveMetaPoolFactoryTransactorSession) SetPlainImplementations(_n_coins *big.Int, _implementations [10]common.Address) (*types.Transaction, error)

SetPlainImplementations is a paid mutator transaction binding the contract method 0x9ddbf4b9.

Solidity: function set_plain_implementations(uint256 _n_coins, address[10] _implementations) returns()

type CurvePool

type CurvePool struct {
	CurvePoolCaller     // Read-only binding to the contract
	CurvePoolTransactor // Write-only binding to the contract
	CurvePoolFilterer   // Log filterer for contract events
}

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

func NewCurvePool

func NewCurvePool(address common.Address, backend bind.ContractBackend) (*CurvePool, error)

NewCurvePool creates a new instance of CurvePool, bound to a specific deployed contract.

type CurvePoolAddLiquidity

type CurvePoolAddLiquidity struct {
	Provider     common.Address
	TokenAmounts [2]*big.Int
	Fees         [2]*big.Int
	Invariant    *big.Int
	TokenSupply  *big.Int
	Raw          types.Log // Blockchain specific contextual infos
}

CurvePoolAddLiquidity represents a AddLiquidity event raised by the CurvePool contract.

type CurvePoolAddLiquidityIterator

type CurvePoolAddLiquidityIterator struct {
	Event *CurvePoolAddLiquidity // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CurvePoolAddLiquidityIterator is returned from FilterAddLiquidity and is used to iterate over the raw logs and unpacked data for AddLiquidity events raised by the CurvePool contract.

func (*CurvePoolAddLiquidityIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CurvePoolAddLiquidityIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurvePoolAddLiquidityIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CurvePoolApproval

type CurvePoolApproval struct {
	Owner   common.Address
	Spender common.Address
	Value   *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

CurvePoolApproval represents a Approval event raised by the CurvePool contract.

type CurvePoolApprovalIterator

type CurvePoolApprovalIterator struct {
	Event *CurvePoolApproval // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CurvePoolApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the CurvePool contract.

func (*CurvePoolApprovalIterator) Close

func (it *CurvePoolApprovalIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*CurvePoolApprovalIterator) Error

func (it *CurvePoolApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurvePoolApprovalIterator) Next

func (it *CurvePoolApprovalIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CurvePoolCaller

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

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

func NewCurvePoolCaller

func NewCurvePoolCaller(address common.Address, caller bind.ContractCaller) (*CurvePoolCaller, error)

NewCurvePoolCaller creates a new read-only instance of CurvePool, bound to a specific deployed contract.

func (*CurvePoolCaller) A

func (_CurvePool *CurvePoolCaller) 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 (*CurvePoolCaller) APrecise

func (_CurvePool *CurvePoolCaller) 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 (*CurvePoolCaller) AdminBalances

func (_CurvePool *CurvePoolCaller) AdminBalances(opts *bind.CallOpts, i *big.Int) (*big.Int, error)

AdminBalances is a free data retrieval call binding the contract method 0xe2e7d264.

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

func (*CurvePoolCaller) AdminFee

func (_CurvePool *CurvePoolCaller) 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 (*CurvePoolCaller) Allowance

func (_CurvePool *CurvePoolCaller) Allowance(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address arg0, address arg1) view returns(uint256)

func (*CurvePoolCaller) BalanceOf

func (_CurvePool *CurvePoolCaller) BalanceOf(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address arg0) view returns(uint256)

func (*CurvePoolCaller) Balances

func (_CurvePool *CurvePoolCaller) 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 (*CurvePoolCaller) CalcTokenAmount

func (_CurvePool *CurvePoolCaller) 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 (*CurvePoolCaller) CalcWithdrawOneCoin

func (_CurvePool *CurvePoolCaller) CalcWithdrawOneCoin(opts *bind.CallOpts, _burn_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 _burn_amount, int128 i) view returns(uint256)

func (*CurvePoolCaller) Coins

func (_CurvePool *CurvePoolCaller) 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 (*CurvePoolCaller) Decimals

func (_CurvePool *CurvePoolCaller) Decimals(opts *bind.CallOpts) (*big.Int, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint256)

func (*CurvePoolCaller) Fee

func (_CurvePool *CurvePoolCaller) 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 (*CurvePoolCaller) FutureA

func (_CurvePool *CurvePoolCaller) 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 (*CurvePoolCaller) FutureATime

func (_CurvePool *CurvePoolCaller) 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 (*CurvePoolCaller) GetBalances

func (_CurvePool *CurvePoolCaller) GetBalances(opts *bind.CallOpts) ([2]*big.Int, error)

GetBalances is a free data retrieval call binding the contract method 0x14f05979.

Solidity: function get_balances() view returns(uint256[2])

func (*CurvePoolCaller) GetDy

func (_CurvePool *CurvePoolCaller) 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 (*CurvePoolCaller) GetVirtualPrice

func (_CurvePool *CurvePoolCaller) 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 (*CurvePoolCaller) InitialA

func (_CurvePool *CurvePoolCaller) 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 (*CurvePoolCaller) InitialATime

func (_CurvePool *CurvePoolCaller) 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 (*CurvePoolCaller) Name

func (_CurvePool *CurvePoolCaller) Name(opts *bind.CallOpts) (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*CurvePoolCaller) Symbol

func (_CurvePool *CurvePoolCaller) Symbol(opts *bind.CallOpts) (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*CurvePoolCaller) TotalSupply

func (_CurvePool *CurvePoolCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

type CurvePoolCallerRaw

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

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

func (*CurvePoolCallerRaw) Call

func (_CurvePool *CurvePoolCallerRaw) 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 CurvePoolCallerSession

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

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

func (*CurvePoolCallerSession) A

func (_CurvePool *CurvePoolCallerSession) A() (*big.Int, error)

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

Solidity: function A() view returns(uint256)

func (*CurvePoolCallerSession) APrecise

func (_CurvePool *CurvePoolCallerSession) APrecise() (*big.Int, error)

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

Solidity: function A_precise() view returns(uint256)

func (*CurvePoolCallerSession) AdminBalances

func (_CurvePool *CurvePoolCallerSession) AdminBalances(i *big.Int) (*big.Int, error)

AdminBalances is a free data retrieval call binding the contract method 0xe2e7d264.

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

func (*CurvePoolCallerSession) AdminFee

func (_CurvePool *CurvePoolCallerSession) AdminFee() (*big.Int, error)

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

Solidity: function admin_fee() view returns(uint256)

func (*CurvePoolCallerSession) Allowance

func (_CurvePool *CurvePoolCallerSession) Allowance(arg0 common.Address, arg1 common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address arg0, address arg1) view returns(uint256)

func (*CurvePoolCallerSession) BalanceOf

func (_CurvePool *CurvePoolCallerSession) BalanceOf(arg0 common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address arg0) view returns(uint256)

func (*CurvePoolCallerSession) Balances

func (_CurvePool *CurvePoolCallerSession) 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 (*CurvePoolCallerSession) CalcTokenAmount

func (_CurvePool *CurvePoolCallerSession) 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 (*CurvePoolCallerSession) CalcWithdrawOneCoin

func (_CurvePool *CurvePoolCallerSession) CalcWithdrawOneCoin(_burn_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 _burn_amount, int128 i) view returns(uint256)

func (*CurvePoolCallerSession) Coins

func (_CurvePool *CurvePoolCallerSession) 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 (*CurvePoolCallerSession) Decimals

func (_CurvePool *CurvePoolCallerSession) Decimals() (*big.Int, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint256)

func (*CurvePoolCallerSession) Fee

func (_CurvePool *CurvePoolCallerSession) Fee() (*big.Int, error)

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

Solidity: function fee() view returns(uint256)

func (*CurvePoolCallerSession) FutureA

func (_CurvePool *CurvePoolCallerSession) FutureA() (*big.Int, error)

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

Solidity: function future_A() view returns(uint256)

func (*CurvePoolCallerSession) FutureATime

func (_CurvePool *CurvePoolCallerSession) 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 (*CurvePoolCallerSession) GetBalances

func (_CurvePool *CurvePoolCallerSession) GetBalances() ([2]*big.Int, error)

GetBalances is a free data retrieval call binding the contract method 0x14f05979.

Solidity: function get_balances() view returns(uint256[2])

func (*CurvePoolCallerSession) GetDy

func (_CurvePool *CurvePoolCallerSession) 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 (*CurvePoolCallerSession) GetVirtualPrice

func (_CurvePool *CurvePoolCallerSession) 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 (*CurvePoolCallerSession) InitialA

func (_CurvePool *CurvePoolCallerSession) InitialA() (*big.Int, error)

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

Solidity: function initial_A() view returns(uint256)

func (*CurvePoolCallerSession) InitialATime

func (_CurvePool *CurvePoolCallerSession) 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 (*CurvePoolCallerSession) Name

func (_CurvePool *CurvePoolCallerSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*CurvePoolCallerSession) Symbol

func (_CurvePool *CurvePoolCallerSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*CurvePoolCallerSession) TotalSupply

func (_CurvePool *CurvePoolCallerSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

type CurvePoolFilterer

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

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

func NewCurvePoolFilterer

func NewCurvePoolFilterer(address common.Address, filterer bind.ContractFilterer) (*CurvePoolFilterer, error)

NewCurvePoolFilterer creates a new log filterer instance of CurvePool, bound to a specific deployed contract.

func (*CurvePoolFilterer) FilterAddLiquidity

func (_CurvePool *CurvePoolFilterer) FilterAddLiquidity(opts *bind.FilterOpts, provider []common.Address) (*CurvePoolAddLiquidityIterator, error)

FilterAddLiquidity is a free log retrieval operation binding the contract event 0x26f55a85081d24974e85c6c00045d0f0453991e95873f52bff0d21af4079a768.

Solidity: event AddLiquidity(address indexed provider, uint256[2] token_amounts, uint256[2] fees, uint256 invariant, uint256 token_supply)

func (*CurvePoolFilterer) FilterApproval

func (_CurvePool *CurvePoolFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*CurvePoolApprovalIterator, error)

FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*CurvePoolFilterer) FilterRampA

func (_CurvePool *CurvePoolFilterer) FilterRampA(opts *bind.FilterOpts) (*CurvePoolRampAIterator, error)

FilterRampA is a free log retrieval operation binding the contract event 0xa2b71ec6df949300b59aab36b55e189697b750119dd349fcfa8c0f779e83c254.

Solidity: event RampA(uint256 old_A, uint256 new_A, uint256 initial_time, uint256 future_time)

func (*CurvePoolFilterer) FilterRemoveLiquidity

func (_CurvePool *CurvePoolFilterer) FilterRemoveLiquidity(opts *bind.FilterOpts, provider []common.Address) (*CurvePoolRemoveLiquidityIterator, error)

FilterRemoveLiquidity is a free log retrieval operation binding the contract event 0x7c363854ccf79623411f8995b362bce5eddff18c927edc6f5dbbb5e05819a82c.

Solidity: event RemoveLiquidity(address indexed provider, uint256[2] token_amounts, uint256[2] fees, uint256 token_supply)

func (*CurvePoolFilterer) FilterRemoveLiquidityImbalance

func (_CurvePool *CurvePoolFilterer) FilterRemoveLiquidityImbalance(opts *bind.FilterOpts, provider []common.Address) (*CurvePoolRemoveLiquidityImbalanceIterator, error)

FilterRemoveLiquidityImbalance is a free log retrieval operation binding the contract event 0x2b5508378d7e19e0d5fa338419034731416c4f5b219a10379956f764317fd47e.

Solidity: event RemoveLiquidityImbalance(address indexed provider, uint256[2] token_amounts, uint256[2] fees, uint256 invariant, uint256 token_supply)

func (*CurvePoolFilterer) FilterRemoveLiquidityOne

func (_CurvePool *CurvePoolFilterer) FilterRemoveLiquidityOne(opts *bind.FilterOpts, provider []common.Address) (*CurvePoolRemoveLiquidityOneIterator, error)

FilterRemoveLiquidityOne is a free log retrieval operation binding the contract event 0x5ad056f2e28a8cec232015406b843668c1e36cda598127ec3b8c59b8c72773a0.

Solidity: event RemoveLiquidityOne(address indexed provider, uint256 token_amount, uint256 coin_amount, uint256 token_supply)

func (*CurvePoolFilterer) FilterStopRampA

func (_CurvePool *CurvePoolFilterer) FilterStopRampA(opts *bind.FilterOpts) (*CurvePoolStopRampAIterator, error)

FilterStopRampA is a free log retrieval operation binding the contract event 0x46e22fb3709ad289f62ce63d469248536dbc78d82b84a3d7e74ad606dc201938.

Solidity: event StopRampA(uint256 A, uint256 t)

func (*CurvePoolFilterer) FilterTokenExchange

func (_CurvePool *CurvePoolFilterer) FilterTokenExchange(opts *bind.FilterOpts, buyer []common.Address) (*CurvePoolTokenExchangeIterator, error)

FilterTokenExchange is a free log retrieval operation binding the contract event 0x8b3e96f2b889fa771c53c981b40daf005f63f637f1869f707052d15a3dd97140.

Solidity: event TokenExchange(address indexed buyer, int128 sold_id, uint256 tokens_sold, int128 bought_id, uint256 tokens_bought)

func (*CurvePoolFilterer) FilterTransfer

func (_CurvePool *CurvePoolFilterer) FilterTransfer(opts *bind.FilterOpts, sender []common.Address, receiver []common.Address) (*CurvePoolTransferIterator, error)

FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed sender, address indexed receiver, uint256 value)

func (*CurvePoolFilterer) ParseAddLiquidity

func (_CurvePool *CurvePoolFilterer) ParseAddLiquidity(log types.Log) (*CurvePoolAddLiquidity, error)

ParseAddLiquidity is a log parse operation binding the contract event 0x26f55a85081d24974e85c6c00045d0f0453991e95873f52bff0d21af4079a768.

Solidity: event AddLiquidity(address indexed provider, uint256[2] token_amounts, uint256[2] fees, uint256 invariant, uint256 token_supply)

func (*CurvePoolFilterer) ParseApproval

func (_CurvePool *CurvePoolFilterer) ParseApproval(log types.Log) (*CurvePoolApproval, error)

ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*CurvePoolFilterer) ParseRampA

func (_CurvePool *CurvePoolFilterer) ParseRampA(log types.Log) (*CurvePoolRampA, error)

ParseRampA is a log parse operation binding the contract event 0xa2b71ec6df949300b59aab36b55e189697b750119dd349fcfa8c0f779e83c254.

Solidity: event RampA(uint256 old_A, uint256 new_A, uint256 initial_time, uint256 future_time)

func (*CurvePoolFilterer) ParseRemoveLiquidity

func (_CurvePool *CurvePoolFilterer) ParseRemoveLiquidity(log types.Log) (*CurvePoolRemoveLiquidity, error)

ParseRemoveLiquidity is a log parse operation binding the contract event 0x7c363854ccf79623411f8995b362bce5eddff18c927edc6f5dbbb5e05819a82c.

Solidity: event RemoveLiquidity(address indexed provider, uint256[2] token_amounts, uint256[2] fees, uint256 token_supply)

func (*CurvePoolFilterer) ParseRemoveLiquidityImbalance

func (_CurvePool *CurvePoolFilterer) ParseRemoveLiquidityImbalance(log types.Log) (*CurvePoolRemoveLiquidityImbalance, error)

ParseRemoveLiquidityImbalance is a log parse operation binding the contract event 0x2b5508378d7e19e0d5fa338419034731416c4f5b219a10379956f764317fd47e.

Solidity: event RemoveLiquidityImbalance(address indexed provider, uint256[2] token_amounts, uint256[2] fees, uint256 invariant, uint256 token_supply)

func (*CurvePoolFilterer) ParseRemoveLiquidityOne

func (_CurvePool *CurvePoolFilterer) ParseRemoveLiquidityOne(log types.Log) (*CurvePoolRemoveLiquidityOne, error)

ParseRemoveLiquidityOne is a log parse operation binding the contract event 0x5ad056f2e28a8cec232015406b843668c1e36cda598127ec3b8c59b8c72773a0.

Solidity: event RemoveLiquidityOne(address indexed provider, uint256 token_amount, uint256 coin_amount, uint256 token_supply)

func (*CurvePoolFilterer) ParseStopRampA

func (_CurvePool *CurvePoolFilterer) ParseStopRampA(log types.Log) (*CurvePoolStopRampA, error)

ParseStopRampA is a log parse operation binding the contract event 0x46e22fb3709ad289f62ce63d469248536dbc78d82b84a3d7e74ad606dc201938.

Solidity: event StopRampA(uint256 A, uint256 t)

func (*CurvePoolFilterer) ParseTokenExchange

func (_CurvePool *CurvePoolFilterer) ParseTokenExchange(log types.Log) (*CurvePoolTokenExchange, error)

ParseTokenExchange is a log parse operation binding the contract event 0x8b3e96f2b889fa771c53c981b40daf005f63f637f1869f707052d15a3dd97140.

Solidity: event TokenExchange(address indexed buyer, int128 sold_id, uint256 tokens_sold, int128 bought_id, uint256 tokens_bought)

func (*CurvePoolFilterer) ParseTransfer

func (_CurvePool *CurvePoolFilterer) ParseTransfer(log types.Log) (*CurvePoolTransfer, error)

ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed sender, address indexed receiver, uint256 value)

func (*CurvePoolFilterer) WatchAddLiquidity

func (_CurvePool *CurvePoolFilterer) WatchAddLiquidity(opts *bind.WatchOpts, sink chan<- *CurvePoolAddLiquidity, provider []common.Address) (event.Subscription, error)

WatchAddLiquidity is a free log subscription operation binding the contract event 0x26f55a85081d24974e85c6c00045d0f0453991e95873f52bff0d21af4079a768.

Solidity: event AddLiquidity(address indexed provider, uint256[2] token_amounts, uint256[2] fees, uint256 invariant, uint256 token_supply)

func (*CurvePoolFilterer) WatchApproval

func (_CurvePool *CurvePoolFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *CurvePoolApproval, owner []common.Address, spender []common.Address) (event.Subscription, error)

WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*CurvePoolFilterer) WatchRampA

func (_CurvePool *CurvePoolFilterer) WatchRampA(opts *bind.WatchOpts, sink chan<- *CurvePoolRampA) (event.Subscription, error)

WatchRampA is a free log subscription operation binding the contract event 0xa2b71ec6df949300b59aab36b55e189697b750119dd349fcfa8c0f779e83c254.

Solidity: event RampA(uint256 old_A, uint256 new_A, uint256 initial_time, uint256 future_time)

func (*CurvePoolFilterer) WatchRemoveLiquidity

func (_CurvePool *CurvePoolFilterer) WatchRemoveLiquidity(opts *bind.WatchOpts, sink chan<- *CurvePoolRemoveLiquidity, provider []common.Address) (event.Subscription, error)

WatchRemoveLiquidity is a free log subscription operation binding the contract event 0x7c363854ccf79623411f8995b362bce5eddff18c927edc6f5dbbb5e05819a82c.

Solidity: event RemoveLiquidity(address indexed provider, uint256[2] token_amounts, uint256[2] fees, uint256 token_supply)

func (*CurvePoolFilterer) WatchRemoveLiquidityImbalance

func (_CurvePool *CurvePoolFilterer) WatchRemoveLiquidityImbalance(opts *bind.WatchOpts, sink chan<- *CurvePoolRemoveLiquidityImbalance, provider []common.Address) (event.Subscription, error)

WatchRemoveLiquidityImbalance is a free log subscription operation binding the contract event 0x2b5508378d7e19e0d5fa338419034731416c4f5b219a10379956f764317fd47e.

Solidity: event RemoveLiquidityImbalance(address indexed provider, uint256[2] token_amounts, uint256[2] fees, uint256 invariant, uint256 token_supply)

func (*CurvePoolFilterer) WatchRemoveLiquidityOne

func (_CurvePool *CurvePoolFilterer) WatchRemoveLiquidityOne(opts *bind.WatchOpts, sink chan<- *CurvePoolRemoveLiquidityOne, provider []common.Address) (event.Subscription, error)

WatchRemoveLiquidityOne is a free log subscription operation binding the contract event 0x5ad056f2e28a8cec232015406b843668c1e36cda598127ec3b8c59b8c72773a0.

Solidity: event RemoveLiquidityOne(address indexed provider, uint256 token_amount, uint256 coin_amount, uint256 token_supply)

func (*CurvePoolFilterer) WatchStopRampA

func (_CurvePool *CurvePoolFilterer) WatchStopRampA(opts *bind.WatchOpts, sink chan<- *CurvePoolStopRampA) (event.Subscription, error)

WatchStopRampA is a free log subscription operation binding the contract event 0x46e22fb3709ad289f62ce63d469248536dbc78d82b84a3d7e74ad606dc201938.

Solidity: event StopRampA(uint256 A, uint256 t)

func (*CurvePoolFilterer) WatchTokenExchange

func (_CurvePool *CurvePoolFilterer) WatchTokenExchange(opts *bind.WatchOpts, sink chan<- *CurvePoolTokenExchange, buyer []common.Address) (event.Subscription, error)

WatchTokenExchange is a free log subscription operation binding the contract event 0x8b3e96f2b889fa771c53c981b40daf005f63f637f1869f707052d15a3dd97140.

Solidity: event TokenExchange(address indexed buyer, int128 sold_id, uint256 tokens_sold, int128 bought_id, uint256 tokens_bought)

func (*CurvePoolFilterer) WatchTransfer

func (_CurvePool *CurvePoolFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *CurvePoolTransfer, sender []common.Address, receiver []common.Address) (event.Subscription, error)

WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed sender, address indexed receiver, uint256 value)

type CurvePoolInfoGetter

type CurvePoolInfoGetter struct {
	CurvePoolInfoGetterCaller     // Read-only binding to the contract
	CurvePoolInfoGetterTransactor // Write-only binding to the contract
	CurvePoolInfoGetterFilterer   // Log filterer for contract events
}

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

func NewCurvePoolInfoGetter

func NewCurvePoolInfoGetter(address common.Address, backend bind.ContractBackend) (*CurvePoolInfoGetter, error)

NewCurvePoolInfoGetter creates a new instance of CurvePoolInfoGetter, bound to a specific deployed contract.

type CurvePoolInfoGetterBasePoolAdded

type CurvePoolInfoGetterBasePoolAdded struct {
	BasePool common.Address
	Raw      types.Log // Blockchain specific contextual infos
}

CurvePoolInfoGetterBasePoolAdded represents a BasePoolAdded event raised by the CurvePoolInfoGetter contract.

type CurvePoolInfoGetterBasePoolAddedIterator

type CurvePoolInfoGetterBasePoolAddedIterator struct {
	Event *CurvePoolInfoGetterBasePoolAdded // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CurvePoolInfoGetterBasePoolAddedIterator is returned from FilterBasePoolAdded and is used to iterate over the raw logs and unpacked data for BasePoolAdded events raised by the CurvePoolInfoGetter contract.

func (*CurvePoolInfoGetterBasePoolAddedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CurvePoolInfoGetterBasePoolAddedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurvePoolInfoGetterBasePoolAddedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CurvePoolInfoGetterCaller

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

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

func NewCurvePoolInfoGetterCaller

func NewCurvePoolInfoGetterCaller(address common.Address, caller bind.ContractCaller) (*CurvePoolInfoGetterCaller, error)

NewCurvePoolInfoGetterCaller creates a new read-only instance of CurvePoolInfoGetter, bound to a specific deployed contract.

func (*CurvePoolInfoGetterCaller) Admin

func (_CurvePoolInfoGetter *CurvePoolInfoGetterCaller) Admin(opts *bind.CallOpts) (common.Address, error)

Admin is a free data retrieval call binding the contract method 0xf851a440.

Solidity: function admin() view returns(address)

func (*CurvePoolInfoGetterCaller) BasePoolAssets

func (_CurvePoolInfoGetter *CurvePoolInfoGetterCaller) BasePoolAssets(opts *bind.CallOpts, arg0 common.Address) (bool, error)

BasePoolAssets is a free data retrieval call binding the contract method 0x10a002df.

Solidity: function base_pool_assets(address arg0) view returns(bool)

func (*CurvePoolInfoGetterCaller) BasePoolCount

func (_CurvePoolInfoGetter *CurvePoolInfoGetterCaller) BasePoolCount(opts *bind.CallOpts) (*big.Int, error)

BasePoolCount is a free data retrieval call binding the contract method 0xde5e4a3b.

Solidity: function base_pool_count() view returns(uint256)

func (*CurvePoolInfoGetterCaller) BasePoolList

func (_CurvePoolInfoGetter *CurvePoolInfoGetterCaller) BasePoolList(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)

BasePoolList is a free data retrieval call binding the contract method 0x22fe5671.

Solidity: function base_pool_list(uint256 arg0) view returns(address)

func (*CurvePoolInfoGetterCaller) FindPoolForCoins

func (_CurvePoolInfoGetter *CurvePoolInfoGetterCaller) FindPoolForCoins(opts *bind.CallOpts, _from common.Address, _to common.Address) (common.Address, error)

FindPoolForCoins is a free data retrieval call binding the contract method 0xa87df06c.

Solidity: function find_pool_for_coins(address _from, address _to) view returns(address)

func (*CurvePoolInfoGetterCaller) FindPoolForCoins0

func (_CurvePoolInfoGetter *CurvePoolInfoGetterCaller) FindPoolForCoins0(opts *bind.CallOpts, _from common.Address, _to common.Address, i *big.Int) (common.Address, error)

FindPoolForCoins0 is a free data retrieval call binding the contract method 0x6982eb0b.

Solidity: function find_pool_for_coins(address _from, address _to, uint256 i) view returns(address)

func (*CurvePoolInfoGetterCaller) FutureAdmin

func (_CurvePoolInfoGetter *CurvePoolInfoGetterCaller) FutureAdmin(opts *bind.CallOpts) (common.Address, error)

FutureAdmin is a free data retrieval call binding the contract method 0x17f7182a.

Solidity: function future_admin() view returns(address)

func (*CurvePoolInfoGetterCaller) GaugeImplementation

func (_CurvePoolInfoGetter *CurvePoolInfoGetterCaller) GaugeImplementation(opts *bind.CallOpts) (common.Address, error)

GaugeImplementation is a free data retrieval call binding the contract method 0x8df24207.

Solidity: function gauge_implementation() view returns(address)

func (*CurvePoolInfoGetterCaller) GetA

func (_CurvePoolInfoGetter *CurvePoolInfoGetterCaller) GetA(opts *bind.CallOpts, _pool common.Address) (*big.Int, error)

GetA is a free data retrieval call binding the contract method 0x55b30b19.

Solidity: function get_A(address _pool) view returns(uint256)

func (*CurvePoolInfoGetterCaller) GetAdminBalances

func (_CurvePoolInfoGetter *CurvePoolInfoGetterCaller) GetAdminBalances(opts *bind.CallOpts, _pool common.Address) ([4]*big.Int, error)

GetAdminBalances is a free data retrieval call binding the contract method 0xc11e45b8.

Solidity: function get_admin_balances(address _pool) view returns(uint256[4])

func (*CurvePoolInfoGetterCaller) GetBalances

func (_CurvePoolInfoGetter *CurvePoolInfoGetterCaller) GetBalances(opts *bind.CallOpts, _pool common.Address) ([4]*big.Int, error)

GetBalances is a free data retrieval call binding the contract method 0x92e3cc2d.

Solidity: function get_balances(address _pool) view returns(uint256[4])

func (*CurvePoolInfoGetterCaller) GetBasePool

func (_CurvePoolInfoGetter *CurvePoolInfoGetterCaller) GetBasePool(opts *bind.CallOpts, _pool common.Address) (common.Address, error)

GetBasePool is a free data retrieval call binding the contract method 0x6f20d6dd.

Solidity: function get_base_pool(address _pool) view returns(address)

func (*CurvePoolInfoGetterCaller) GetCoinIndices

func (_CurvePoolInfoGetter *CurvePoolInfoGetterCaller) GetCoinIndices(opts *bind.CallOpts, _pool common.Address, _from common.Address, _to common.Address) (*big.Int, *big.Int, bool, error)

GetCoinIndices is a free data retrieval call binding the contract method 0xeb85226d.

Solidity: function get_coin_indices(address _pool, address _from, address _to) view returns(int128, int128, bool)

func (*CurvePoolInfoGetterCaller) GetCoins

func (_CurvePoolInfoGetter *CurvePoolInfoGetterCaller) GetCoins(opts *bind.CallOpts, _pool common.Address) ([4]common.Address, error)

GetCoins is a free data retrieval call binding the contract method 0x9ac90d3d.

Solidity: function get_coins(address _pool) view returns(address[4])

func (*CurvePoolInfoGetterCaller) GetDecimals

func (_CurvePoolInfoGetter *CurvePoolInfoGetterCaller) GetDecimals(opts *bind.CallOpts, _pool common.Address) ([4]*big.Int, error)

GetDecimals is a free data retrieval call binding the contract method 0x52b51555.

Solidity: function get_decimals(address _pool) view returns(uint256[4])

func (*CurvePoolInfoGetterCaller) GetFeeReceiver

func (_CurvePoolInfoGetter *CurvePoolInfoGetterCaller) GetFeeReceiver(opts *bind.CallOpts, _pool common.Address) (common.Address, error)

GetFeeReceiver is a free data retrieval call binding the contract method 0x154aa8f5.

Solidity: function get_fee_receiver(address _pool) view returns(address)

func (*CurvePoolInfoGetterCaller) GetFees

func (_CurvePoolInfoGetter *CurvePoolInfoGetterCaller) GetFees(opts *bind.CallOpts, _pool common.Address) (*big.Int, *big.Int, error)

GetFees is a free data retrieval call binding the contract method 0x7cdb72b0.

Solidity: function get_fees(address _pool) view returns(uint256, uint256)

func (*CurvePoolInfoGetterCaller) GetGauge

func (_CurvePoolInfoGetter *CurvePoolInfoGetterCaller) GetGauge(opts *bind.CallOpts, _pool common.Address) (common.Address, error)

GetGauge is a free data retrieval call binding the contract method 0xdaf297b9.

Solidity: function get_gauge(address _pool) view returns(address)

func (*CurvePoolInfoGetterCaller) GetImplementationAddress

func (_CurvePoolInfoGetter *CurvePoolInfoGetterCaller) GetImplementationAddress(opts *bind.CallOpts, _pool common.Address) (common.Address, error)

GetImplementationAddress is a free data retrieval call binding the contract method 0x510d98a4.

Solidity: function get_implementation_address(address _pool) view returns(address)

func (*CurvePoolInfoGetterCaller) GetMetaNCoins

func (_CurvePoolInfoGetter *CurvePoolInfoGetterCaller) GetMetaNCoins(opts *bind.CallOpts, _pool common.Address) (*big.Int, *big.Int, error)

GetMetaNCoins is a free data retrieval call binding the contract method 0xeb73f37d.

Solidity: function get_meta_n_coins(address _pool) view returns(uint256, uint256)

func (*CurvePoolInfoGetterCaller) GetMetapoolRates

func (_CurvePoolInfoGetter *CurvePoolInfoGetterCaller) GetMetapoolRates(opts *bind.CallOpts, _pool common.Address) ([2]*big.Int, error)

GetMetapoolRates is a free data retrieval call binding the contract method 0x06d8f160.

Solidity: function get_metapool_rates(address _pool) view returns(uint256[2])

func (*CurvePoolInfoGetterCaller) GetNCoins

func (_CurvePoolInfoGetter *CurvePoolInfoGetterCaller) GetNCoins(opts *bind.CallOpts, _pool common.Address) (*big.Int, error)

GetNCoins is a free data retrieval call binding the contract method 0x940494f1.

Solidity: function get_n_coins(address _pool) view returns(uint256)

func (*CurvePoolInfoGetterCaller) GetPoolAssetType

func (_CurvePoolInfoGetter *CurvePoolInfoGetterCaller) GetPoolAssetType(opts *bind.CallOpts, _pool common.Address) (*big.Int, error)

GetPoolAssetType is a free data retrieval call binding the contract method 0x66d3966c.

Solidity: function get_pool_asset_type(address _pool) view returns(uint256)

func (*CurvePoolInfoGetterCaller) GetUnderlyingBalances

func (_CurvePoolInfoGetter *CurvePoolInfoGetterCaller) GetUnderlyingBalances(opts *bind.CallOpts, _pool common.Address) ([8]*big.Int, error)

GetUnderlyingBalances is a free data retrieval call binding the contract method 0x59f4f351.

Solidity: function get_underlying_balances(address _pool) view returns(uint256[8])

func (*CurvePoolInfoGetterCaller) GetUnderlyingCoins

func (_CurvePoolInfoGetter *CurvePoolInfoGetterCaller) GetUnderlyingCoins(opts *bind.CallOpts, _pool common.Address) ([8]common.Address, error)

GetUnderlyingCoins is a free data retrieval call binding the contract method 0xa77576ef.

Solidity: function get_underlying_coins(address _pool) view returns(address[8])

func (*CurvePoolInfoGetterCaller) GetUnderlyingDecimals

func (_CurvePoolInfoGetter *CurvePoolInfoGetterCaller) GetUnderlyingDecimals(opts *bind.CallOpts, _pool common.Address) ([8]*big.Int, error)

GetUnderlyingDecimals is a free data retrieval call binding the contract method 0x4cb088f1.

Solidity: function get_underlying_decimals(address _pool) view returns(uint256[8])

func (*CurvePoolInfoGetterCaller) IsMeta

func (_CurvePoolInfoGetter *CurvePoolInfoGetterCaller) IsMeta(opts *bind.CallOpts, _pool common.Address) (bool, error)

IsMeta is a free data retrieval call binding the contract method 0xe4d332a9.

Solidity: function is_meta(address _pool) view returns(bool)

func (*CurvePoolInfoGetterCaller) Manager

func (_CurvePoolInfoGetter *CurvePoolInfoGetterCaller) Manager(opts *bind.CallOpts) (common.Address, error)

Manager is a free data retrieval call binding the contract method 0x481c6a75.

Solidity: function manager() view returns(address)

func (*CurvePoolInfoGetterCaller) MetapoolImplementations

func (_CurvePoolInfoGetter *CurvePoolInfoGetterCaller) MetapoolImplementations(opts *bind.CallOpts, _base_pool common.Address) ([10]common.Address, error)

MetapoolImplementations is a free data retrieval call binding the contract method 0x970fa3f3.

Solidity: function metapool_implementations(address _base_pool) view returns(address[10])

func (*CurvePoolInfoGetterCaller) PlainImplementations

func (_CurvePoolInfoGetter *CurvePoolInfoGetterCaller) PlainImplementations(opts *bind.CallOpts, arg0 *big.Int, arg1 *big.Int) (common.Address, error)

PlainImplementations is a free data retrieval call binding the contract method 0x31a4f865.

Solidity: function plain_implementations(uint256 arg0, uint256 arg1) view returns(address)

func (*CurvePoolInfoGetterCaller) PoolCount

func (_CurvePoolInfoGetter *CurvePoolInfoGetterCaller) PoolCount(opts *bind.CallOpts) (*big.Int, error)

PoolCount is a free data retrieval call binding the contract method 0x956aae3a.

Solidity: function pool_count() view returns(uint256)

func (*CurvePoolInfoGetterCaller) PoolList

func (_CurvePoolInfoGetter *CurvePoolInfoGetterCaller) PoolList(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)

PoolList is a free data retrieval call binding the contract method 0x3a1d5d8e.

Solidity: function pool_list(uint256 arg0) view returns(address)

type CurvePoolInfoGetterCallerRaw

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

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

func (*CurvePoolInfoGetterCallerRaw) Call

func (_CurvePoolInfoGetter *CurvePoolInfoGetterCallerRaw) 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 CurvePoolInfoGetterCallerSession

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

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

func (*CurvePoolInfoGetterCallerSession) Admin

func (_CurvePoolInfoGetter *CurvePoolInfoGetterCallerSession) Admin() (common.Address, error)

Admin is a free data retrieval call binding the contract method 0xf851a440.

Solidity: function admin() view returns(address)

func (*CurvePoolInfoGetterCallerSession) BasePoolAssets

func (_CurvePoolInfoGetter *CurvePoolInfoGetterCallerSession) BasePoolAssets(arg0 common.Address) (bool, error)

BasePoolAssets is a free data retrieval call binding the contract method 0x10a002df.

Solidity: function base_pool_assets(address arg0) view returns(bool)

func (*CurvePoolInfoGetterCallerSession) BasePoolCount

func (_CurvePoolInfoGetter *CurvePoolInfoGetterCallerSession) BasePoolCount() (*big.Int, error)

BasePoolCount is a free data retrieval call binding the contract method 0xde5e4a3b.

Solidity: function base_pool_count() view returns(uint256)

func (*CurvePoolInfoGetterCallerSession) BasePoolList

func (_CurvePoolInfoGetter *CurvePoolInfoGetterCallerSession) BasePoolList(arg0 *big.Int) (common.Address, error)

BasePoolList is a free data retrieval call binding the contract method 0x22fe5671.

Solidity: function base_pool_list(uint256 arg0) view returns(address)

func (*CurvePoolInfoGetterCallerSession) FindPoolForCoins

func (_CurvePoolInfoGetter *CurvePoolInfoGetterCallerSession) FindPoolForCoins(_from common.Address, _to common.Address) (common.Address, error)

FindPoolForCoins is a free data retrieval call binding the contract method 0xa87df06c.

Solidity: function find_pool_for_coins(address _from, address _to) view returns(address)

func (*CurvePoolInfoGetterCallerSession) FindPoolForCoins0

func (_CurvePoolInfoGetter *CurvePoolInfoGetterCallerSession) FindPoolForCoins0(_from common.Address, _to common.Address, i *big.Int) (common.Address, error)

FindPoolForCoins0 is a free data retrieval call binding the contract method 0x6982eb0b.

Solidity: function find_pool_for_coins(address _from, address _to, uint256 i) view returns(address)

func (*CurvePoolInfoGetterCallerSession) FutureAdmin

func (_CurvePoolInfoGetter *CurvePoolInfoGetterCallerSession) FutureAdmin() (common.Address, error)

FutureAdmin is a free data retrieval call binding the contract method 0x17f7182a.

Solidity: function future_admin() view returns(address)

func (*CurvePoolInfoGetterCallerSession) GaugeImplementation

func (_CurvePoolInfoGetter *CurvePoolInfoGetterCallerSession) GaugeImplementation() (common.Address, error)

GaugeImplementation is a free data retrieval call binding the contract method 0x8df24207.

Solidity: function gauge_implementation() view returns(address)

func (*CurvePoolInfoGetterCallerSession) GetA

func (_CurvePoolInfoGetter *CurvePoolInfoGetterCallerSession) GetA(_pool common.Address) (*big.Int, error)

GetA is a free data retrieval call binding the contract method 0x55b30b19.

Solidity: function get_A(address _pool) view returns(uint256)

func (*CurvePoolInfoGetterCallerSession) GetAdminBalances

func (_CurvePoolInfoGetter *CurvePoolInfoGetterCallerSession) GetAdminBalances(_pool common.Address) ([4]*big.Int, error)

GetAdminBalances is a free data retrieval call binding the contract method 0xc11e45b8.

Solidity: function get_admin_balances(address _pool) view returns(uint256[4])

func (*CurvePoolInfoGetterCallerSession) GetBalances

func (_CurvePoolInfoGetter *CurvePoolInfoGetterCallerSession) GetBalances(_pool common.Address) ([4]*big.Int, error)

GetBalances is a free data retrieval call binding the contract method 0x92e3cc2d.

Solidity: function get_balances(address _pool) view returns(uint256[4])

func (*CurvePoolInfoGetterCallerSession) GetBasePool

func (_CurvePoolInfoGetter *CurvePoolInfoGetterCallerSession) GetBasePool(_pool common.Address) (common.Address, error)

GetBasePool is a free data retrieval call binding the contract method 0x6f20d6dd.

Solidity: function get_base_pool(address _pool) view returns(address)

func (*CurvePoolInfoGetterCallerSession) GetCoinIndices

func (_CurvePoolInfoGetter *CurvePoolInfoGetterCallerSession) GetCoinIndices(_pool common.Address, _from common.Address, _to common.Address) (*big.Int, *big.Int, bool, error)

GetCoinIndices is a free data retrieval call binding the contract method 0xeb85226d.

Solidity: function get_coin_indices(address _pool, address _from, address _to) view returns(int128, int128, bool)

func (*CurvePoolInfoGetterCallerSession) GetCoins

func (_CurvePoolInfoGetter *CurvePoolInfoGetterCallerSession) GetCoins(_pool common.Address) ([4]common.Address, error)

GetCoins is a free data retrieval call binding the contract method 0x9ac90d3d.

Solidity: function get_coins(address _pool) view returns(address[4])

func (*CurvePoolInfoGetterCallerSession) GetDecimals

func (_CurvePoolInfoGetter *CurvePoolInfoGetterCallerSession) GetDecimals(_pool common.Address) ([4]*big.Int, error)

GetDecimals is a free data retrieval call binding the contract method 0x52b51555.

Solidity: function get_decimals(address _pool) view returns(uint256[4])

func (*CurvePoolInfoGetterCallerSession) GetFeeReceiver

func (_CurvePoolInfoGetter *CurvePoolInfoGetterCallerSession) GetFeeReceiver(_pool common.Address) (common.Address, error)

GetFeeReceiver is a free data retrieval call binding the contract method 0x154aa8f5.

Solidity: function get_fee_receiver(address _pool) view returns(address)

func (*CurvePoolInfoGetterCallerSession) GetFees

func (_CurvePoolInfoGetter *CurvePoolInfoGetterCallerSession) GetFees(_pool common.Address) (*big.Int, *big.Int, error)

GetFees is a free data retrieval call binding the contract method 0x7cdb72b0.

Solidity: function get_fees(address _pool) view returns(uint256, uint256)

func (*CurvePoolInfoGetterCallerSession) GetGauge

func (_CurvePoolInfoGetter *CurvePoolInfoGetterCallerSession) GetGauge(_pool common.Address) (common.Address, error)

GetGauge is a free data retrieval call binding the contract method 0xdaf297b9.

Solidity: function get_gauge(address _pool) view returns(address)

func (*CurvePoolInfoGetterCallerSession) GetImplementationAddress

func (_CurvePoolInfoGetter *CurvePoolInfoGetterCallerSession) GetImplementationAddress(_pool common.Address) (common.Address, error)

GetImplementationAddress is a free data retrieval call binding the contract method 0x510d98a4.

Solidity: function get_implementation_address(address _pool) view returns(address)

func (*CurvePoolInfoGetterCallerSession) GetMetaNCoins

func (_CurvePoolInfoGetter *CurvePoolInfoGetterCallerSession) GetMetaNCoins(_pool common.Address) (*big.Int, *big.Int, error)

GetMetaNCoins is a free data retrieval call binding the contract method 0xeb73f37d.

Solidity: function get_meta_n_coins(address _pool) view returns(uint256, uint256)

func (*CurvePoolInfoGetterCallerSession) GetMetapoolRates

func (_CurvePoolInfoGetter *CurvePoolInfoGetterCallerSession) GetMetapoolRates(_pool common.Address) ([2]*big.Int, error)

GetMetapoolRates is a free data retrieval call binding the contract method 0x06d8f160.

Solidity: function get_metapool_rates(address _pool) view returns(uint256[2])

func (*CurvePoolInfoGetterCallerSession) GetNCoins

func (_CurvePoolInfoGetter *CurvePoolInfoGetterCallerSession) GetNCoins(_pool common.Address) (*big.Int, error)

GetNCoins is a free data retrieval call binding the contract method 0x940494f1.

Solidity: function get_n_coins(address _pool) view returns(uint256)

func (*CurvePoolInfoGetterCallerSession) GetPoolAssetType

func (_CurvePoolInfoGetter *CurvePoolInfoGetterCallerSession) GetPoolAssetType(_pool common.Address) (*big.Int, error)

GetPoolAssetType is a free data retrieval call binding the contract method 0x66d3966c.

Solidity: function get_pool_asset_type(address _pool) view returns(uint256)

func (*CurvePoolInfoGetterCallerSession) GetUnderlyingBalances

func (_CurvePoolInfoGetter *CurvePoolInfoGetterCallerSession) GetUnderlyingBalances(_pool common.Address) ([8]*big.Int, error)

GetUnderlyingBalances is a free data retrieval call binding the contract method 0x59f4f351.

Solidity: function get_underlying_balances(address _pool) view returns(uint256[8])

func (*CurvePoolInfoGetterCallerSession) GetUnderlyingCoins

func (_CurvePoolInfoGetter *CurvePoolInfoGetterCallerSession) GetUnderlyingCoins(_pool common.Address) ([8]common.Address, error)

GetUnderlyingCoins is a free data retrieval call binding the contract method 0xa77576ef.

Solidity: function get_underlying_coins(address _pool) view returns(address[8])

func (*CurvePoolInfoGetterCallerSession) GetUnderlyingDecimals

func (_CurvePoolInfoGetter *CurvePoolInfoGetterCallerSession) GetUnderlyingDecimals(_pool common.Address) ([8]*big.Int, error)

GetUnderlyingDecimals is a free data retrieval call binding the contract method 0x4cb088f1.

Solidity: function get_underlying_decimals(address _pool) view returns(uint256[8])

func (*CurvePoolInfoGetterCallerSession) IsMeta

func (_CurvePoolInfoGetter *CurvePoolInfoGetterCallerSession) IsMeta(_pool common.Address) (bool, error)

IsMeta is a free data retrieval call binding the contract method 0xe4d332a9.

Solidity: function is_meta(address _pool) view returns(bool)

func (*CurvePoolInfoGetterCallerSession) Manager

func (_CurvePoolInfoGetter *CurvePoolInfoGetterCallerSession) Manager() (common.Address, error)

Manager is a free data retrieval call binding the contract method 0x481c6a75.

Solidity: function manager() view returns(address)

func (*CurvePoolInfoGetterCallerSession) MetapoolImplementations

func (_CurvePoolInfoGetter *CurvePoolInfoGetterCallerSession) MetapoolImplementations(_base_pool common.Address) ([10]common.Address, error)

MetapoolImplementations is a free data retrieval call binding the contract method 0x970fa3f3.

Solidity: function metapool_implementations(address _base_pool) view returns(address[10])

func (*CurvePoolInfoGetterCallerSession) PlainImplementations

func (_CurvePoolInfoGetter *CurvePoolInfoGetterCallerSession) PlainImplementations(arg0 *big.Int, arg1 *big.Int) (common.Address, error)

PlainImplementations is a free data retrieval call binding the contract method 0x31a4f865.

Solidity: function plain_implementations(uint256 arg0, uint256 arg1) view returns(address)

func (*CurvePoolInfoGetterCallerSession) PoolCount

func (_CurvePoolInfoGetter *CurvePoolInfoGetterCallerSession) PoolCount() (*big.Int, error)

PoolCount is a free data retrieval call binding the contract method 0x956aae3a.

Solidity: function pool_count() view returns(uint256)

func (*CurvePoolInfoGetterCallerSession) PoolList

func (_CurvePoolInfoGetter *CurvePoolInfoGetterCallerSession) PoolList(arg0 *big.Int) (common.Address, error)

PoolList is a free data retrieval call binding the contract method 0x3a1d5d8e.

Solidity: function pool_list(uint256 arg0) view returns(address)

type CurvePoolInfoGetterFilterer

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

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

func NewCurvePoolInfoGetterFilterer

func NewCurvePoolInfoGetterFilterer(address common.Address, filterer bind.ContractFilterer) (*CurvePoolInfoGetterFilterer, error)

NewCurvePoolInfoGetterFilterer creates a new log filterer instance of CurvePoolInfoGetter, bound to a specific deployed contract.

func (*CurvePoolInfoGetterFilterer) FilterBasePoolAdded

func (_CurvePoolInfoGetter *CurvePoolInfoGetterFilterer) FilterBasePoolAdded(opts *bind.FilterOpts) (*CurvePoolInfoGetterBasePoolAddedIterator, error)

FilterBasePoolAdded is a free log retrieval operation binding the contract event 0xcc6afdfec79da6be08142ecee25cf14b665961e25d30d8eba45959be9547635f.

Solidity: event BasePoolAdded(address base_pool)

func (*CurvePoolInfoGetterFilterer) FilterLiquidityGaugeDeployed

func (_CurvePoolInfoGetter *CurvePoolInfoGetterFilterer) FilterLiquidityGaugeDeployed(opts *bind.FilterOpts) (*CurvePoolInfoGetterLiquidityGaugeDeployedIterator, error)

FilterLiquidityGaugeDeployed is a free log retrieval operation binding the contract event 0x656bb34c20491970a8c163f3bd62ead82022b379c3924960ec60f6dbfc5aab3b.

Solidity: event LiquidityGaugeDeployed(address pool, address gauge)

func (*CurvePoolInfoGetterFilterer) FilterMetaPoolDeployed

func (_CurvePoolInfoGetter *CurvePoolInfoGetterFilterer) FilterMetaPoolDeployed(opts *bind.FilterOpts) (*CurvePoolInfoGetterMetaPoolDeployedIterator, error)

FilterMetaPoolDeployed is a free log retrieval operation binding the contract event 0x01f31cd2abdeb4e5e10ba500f2db0f937d9e8c735ab04681925441b4ea37eda5.

Solidity: event MetaPoolDeployed(address coin, address base_pool, uint256 A, uint256 fee, address deployer)

func (*CurvePoolInfoGetterFilterer) FilterPlainPoolDeployed

func (_CurvePoolInfoGetter *CurvePoolInfoGetterFilterer) FilterPlainPoolDeployed(opts *bind.FilterOpts) (*CurvePoolInfoGetterPlainPoolDeployedIterator, error)

FilterPlainPoolDeployed is a free log retrieval operation binding the contract event 0x5b4a28c940282b5bf183df6a046b8119cf6edeb62859f75e835eb7ba834cce8d.

Solidity: event PlainPoolDeployed(address[4] coins, uint256 A, uint256 fee, address deployer)

func (*CurvePoolInfoGetterFilterer) ParseBasePoolAdded

func (_CurvePoolInfoGetter *CurvePoolInfoGetterFilterer) ParseBasePoolAdded(log types.Log) (*CurvePoolInfoGetterBasePoolAdded, error)

ParseBasePoolAdded is a log parse operation binding the contract event 0xcc6afdfec79da6be08142ecee25cf14b665961e25d30d8eba45959be9547635f.

Solidity: event BasePoolAdded(address base_pool)

func (*CurvePoolInfoGetterFilterer) ParseLiquidityGaugeDeployed

func (_CurvePoolInfoGetter *CurvePoolInfoGetterFilterer) ParseLiquidityGaugeDeployed(log types.Log) (*CurvePoolInfoGetterLiquidityGaugeDeployed, error)

ParseLiquidityGaugeDeployed is a log parse operation binding the contract event 0x656bb34c20491970a8c163f3bd62ead82022b379c3924960ec60f6dbfc5aab3b.

Solidity: event LiquidityGaugeDeployed(address pool, address gauge)

func (*CurvePoolInfoGetterFilterer) ParseMetaPoolDeployed

func (_CurvePoolInfoGetter *CurvePoolInfoGetterFilterer) ParseMetaPoolDeployed(log types.Log) (*CurvePoolInfoGetterMetaPoolDeployed, error)

ParseMetaPoolDeployed is a log parse operation binding the contract event 0x01f31cd2abdeb4e5e10ba500f2db0f937d9e8c735ab04681925441b4ea37eda5.

Solidity: event MetaPoolDeployed(address coin, address base_pool, uint256 A, uint256 fee, address deployer)

func (*CurvePoolInfoGetterFilterer) ParsePlainPoolDeployed

func (_CurvePoolInfoGetter *CurvePoolInfoGetterFilterer) ParsePlainPoolDeployed(log types.Log) (*CurvePoolInfoGetterPlainPoolDeployed, error)

ParsePlainPoolDeployed is a log parse operation binding the contract event 0x5b4a28c940282b5bf183df6a046b8119cf6edeb62859f75e835eb7ba834cce8d.

Solidity: event PlainPoolDeployed(address[4] coins, uint256 A, uint256 fee, address deployer)

func (*CurvePoolInfoGetterFilterer) WatchBasePoolAdded

func (_CurvePoolInfoGetter *CurvePoolInfoGetterFilterer) WatchBasePoolAdded(opts *bind.WatchOpts, sink chan<- *CurvePoolInfoGetterBasePoolAdded) (event.Subscription, error)

WatchBasePoolAdded is a free log subscription operation binding the contract event 0xcc6afdfec79da6be08142ecee25cf14b665961e25d30d8eba45959be9547635f.

Solidity: event BasePoolAdded(address base_pool)

func (*CurvePoolInfoGetterFilterer) WatchLiquidityGaugeDeployed

func (_CurvePoolInfoGetter *CurvePoolInfoGetterFilterer) WatchLiquidityGaugeDeployed(opts *bind.WatchOpts, sink chan<- *CurvePoolInfoGetterLiquidityGaugeDeployed) (event.Subscription, error)

WatchLiquidityGaugeDeployed is a free log subscription operation binding the contract event 0x656bb34c20491970a8c163f3bd62ead82022b379c3924960ec60f6dbfc5aab3b.

Solidity: event LiquidityGaugeDeployed(address pool, address gauge)

func (*CurvePoolInfoGetterFilterer) WatchMetaPoolDeployed

func (_CurvePoolInfoGetter *CurvePoolInfoGetterFilterer) WatchMetaPoolDeployed(opts *bind.WatchOpts, sink chan<- *CurvePoolInfoGetterMetaPoolDeployed) (event.Subscription, error)

WatchMetaPoolDeployed is a free log subscription operation binding the contract event 0x01f31cd2abdeb4e5e10ba500f2db0f937d9e8c735ab04681925441b4ea37eda5.

Solidity: event MetaPoolDeployed(address coin, address base_pool, uint256 A, uint256 fee, address deployer)

func (*CurvePoolInfoGetterFilterer) WatchPlainPoolDeployed

func (_CurvePoolInfoGetter *CurvePoolInfoGetterFilterer) WatchPlainPoolDeployed(opts *bind.WatchOpts, sink chan<- *CurvePoolInfoGetterPlainPoolDeployed) (event.Subscription, error)

WatchPlainPoolDeployed is a free log subscription operation binding the contract event 0x5b4a28c940282b5bf183df6a046b8119cf6edeb62859f75e835eb7ba834cce8d.

Solidity: event PlainPoolDeployed(address[4] coins, uint256 A, uint256 fee, address deployer)

type CurvePoolInfoGetterLiquidityGaugeDeployed

type CurvePoolInfoGetterLiquidityGaugeDeployed struct {
	Pool  common.Address
	Gauge common.Address
	Raw   types.Log // Blockchain specific contextual infos
}

CurvePoolInfoGetterLiquidityGaugeDeployed represents a LiquidityGaugeDeployed event raised by the CurvePoolInfoGetter contract.

type CurvePoolInfoGetterLiquidityGaugeDeployedIterator

type CurvePoolInfoGetterLiquidityGaugeDeployedIterator struct {
	Event *CurvePoolInfoGetterLiquidityGaugeDeployed // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CurvePoolInfoGetterLiquidityGaugeDeployedIterator is returned from FilterLiquidityGaugeDeployed and is used to iterate over the raw logs and unpacked data for LiquidityGaugeDeployed events raised by the CurvePoolInfoGetter contract.

func (*CurvePoolInfoGetterLiquidityGaugeDeployedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CurvePoolInfoGetterLiquidityGaugeDeployedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurvePoolInfoGetterLiquidityGaugeDeployedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CurvePoolInfoGetterMetaPoolDeployed

type CurvePoolInfoGetterMetaPoolDeployed struct {
	Coin     common.Address
	BasePool common.Address
	A        *big.Int
	Fee      *big.Int
	Deployer common.Address
	Raw      types.Log // Blockchain specific contextual infos
}

CurvePoolInfoGetterMetaPoolDeployed represents a MetaPoolDeployed event raised by the CurvePoolInfoGetter contract.

type CurvePoolInfoGetterMetaPoolDeployedIterator

type CurvePoolInfoGetterMetaPoolDeployedIterator struct {
	Event *CurvePoolInfoGetterMetaPoolDeployed // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CurvePoolInfoGetterMetaPoolDeployedIterator is returned from FilterMetaPoolDeployed and is used to iterate over the raw logs and unpacked data for MetaPoolDeployed events raised by the CurvePoolInfoGetter contract.

func (*CurvePoolInfoGetterMetaPoolDeployedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CurvePoolInfoGetterMetaPoolDeployedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurvePoolInfoGetterMetaPoolDeployedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CurvePoolInfoGetterPlainPoolDeployed

type CurvePoolInfoGetterPlainPoolDeployed struct {
	Coins    [4]common.Address
	A        *big.Int
	Fee      *big.Int
	Deployer common.Address
	Raw      types.Log // Blockchain specific contextual infos
}

CurvePoolInfoGetterPlainPoolDeployed represents a PlainPoolDeployed event raised by the CurvePoolInfoGetter contract.

type CurvePoolInfoGetterPlainPoolDeployedIterator

type CurvePoolInfoGetterPlainPoolDeployedIterator struct {
	Event *CurvePoolInfoGetterPlainPoolDeployed // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CurvePoolInfoGetterPlainPoolDeployedIterator is returned from FilterPlainPoolDeployed and is used to iterate over the raw logs and unpacked data for PlainPoolDeployed events raised by the CurvePoolInfoGetter contract.

func (*CurvePoolInfoGetterPlainPoolDeployedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CurvePoolInfoGetterPlainPoolDeployedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurvePoolInfoGetterPlainPoolDeployedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CurvePoolInfoGetterRaw

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

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

func (*CurvePoolInfoGetterRaw) Call

func (_CurvePoolInfoGetter *CurvePoolInfoGetterRaw) 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 (*CurvePoolInfoGetterRaw) Transact

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

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

func (*CurvePoolInfoGetterRaw) Transfer

func (_CurvePoolInfoGetter *CurvePoolInfoGetterRaw) 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 CurvePoolInfoGetterSession

type CurvePoolInfoGetterSession struct {
	Contract     *CurvePoolInfoGetter // 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
}

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

func (*CurvePoolInfoGetterSession) AcceptTransferOwnership

func (_CurvePoolInfoGetter *CurvePoolInfoGetterSession) AcceptTransferOwnership() (*types.Transaction, error)

AcceptTransferOwnership is a paid mutator transaction binding the contract method 0xe5ea47b8.

Solidity: function accept_transfer_ownership() returns()

func (*CurvePoolInfoGetterSession) AddBasePool

func (_CurvePoolInfoGetter *CurvePoolInfoGetterSession) AddBasePool(_base_pool common.Address, _fee_receiver common.Address, _asset_type *big.Int, _implementations [10]common.Address) (*types.Transaction, error)

AddBasePool is a paid mutator transaction binding the contract method 0x2fc05653.

Solidity: function add_base_pool(address _base_pool, address _fee_receiver, uint256 _asset_type, address[10] _implementations) returns()

func (*CurvePoolInfoGetterSession) AddExistingMetapools

func (_CurvePoolInfoGetter *CurvePoolInfoGetterSession) AddExistingMetapools(_pools [10]common.Address) (*types.Transaction, error)

AddExistingMetapools is a paid mutator transaction binding the contract method 0xdb89fabc.

Solidity: function add_existing_metapools(address[10] _pools) returns(bool)

func (*CurvePoolInfoGetterSession) Admin

func (_CurvePoolInfoGetter *CurvePoolInfoGetterSession) Admin() (common.Address, error)

Admin is a free data retrieval call binding the contract method 0xf851a440.

Solidity: function admin() view returns(address)

func (*CurvePoolInfoGetterSession) BasePoolAssets

func (_CurvePoolInfoGetter *CurvePoolInfoGetterSession) BasePoolAssets(arg0 common.Address) (bool, error)

BasePoolAssets is a free data retrieval call binding the contract method 0x10a002df.

Solidity: function base_pool_assets(address arg0) view returns(bool)

func (*CurvePoolInfoGetterSession) BasePoolCount

func (_CurvePoolInfoGetter *CurvePoolInfoGetterSession) BasePoolCount() (*big.Int, error)

BasePoolCount is a free data retrieval call binding the contract method 0xde5e4a3b.

Solidity: function base_pool_count() view returns(uint256)

func (*CurvePoolInfoGetterSession) BasePoolList

func (_CurvePoolInfoGetter *CurvePoolInfoGetterSession) BasePoolList(arg0 *big.Int) (common.Address, error)

BasePoolList is a free data retrieval call binding the contract method 0x22fe5671.

Solidity: function base_pool_list(uint256 arg0) view returns(address)

func (*CurvePoolInfoGetterSession) BatchSetPoolAssetType

func (_CurvePoolInfoGetter *CurvePoolInfoGetterSession) BatchSetPoolAssetType(_pools [32]common.Address, _asset_types [32]*big.Int) (*types.Transaction, error)

BatchSetPoolAssetType is a paid mutator transaction binding the contract method 0x7542f078.

Solidity: function batch_set_pool_asset_type(address[32] _pools, uint256[32] _asset_types) returns()

func (*CurvePoolInfoGetterSession) CommitTransferOwnership

func (_CurvePoolInfoGetter *CurvePoolInfoGetterSession) CommitTransferOwnership(_addr common.Address) (*types.Transaction, error)

CommitTransferOwnership is a paid mutator transaction binding the contract method 0x6b441a40.

Solidity: function commit_transfer_ownership(address _addr) returns()

func (*CurvePoolInfoGetterSession) ConvertMetapoolFees

func (_CurvePoolInfoGetter *CurvePoolInfoGetterSession) ConvertMetapoolFees() (*types.Transaction, error)

ConvertMetapoolFees is a paid mutator transaction binding the contract method 0xbcc981d2.

Solidity: function convert_metapool_fees() returns(bool)

func (*CurvePoolInfoGetterSession) DeployGauge

func (_CurvePoolInfoGetter *CurvePoolInfoGetterSession) DeployGauge(_pool common.Address) (*types.Transaction, error)

DeployGauge is a paid mutator transaction binding the contract method 0x96bebb34.

Solidity: function deploy_gauge(address _pool) returns(address)

func (*CurvePoolInfoGetterSession) DeployMetapool

func (_CurvePoolInfoGetter *CurvePoolInfoGetterSession) DeployMetapool(_base_pool common.Address, _name string, _symbol string, _coin common.Address, _A *big.Int, _fee *big.Int) (*types.Transaction, error)

DeployMetapool is a paid mutator transaction binding the contract method 0xe339eb4f.

Solidity: function deploy_metapool(address _base_pool, string _name, string _symbol, address _coin, uint256 _A, uint256 _fee) returns(address)

func (*CurvePoolInfoGetterSession) DeployMetapool0

func (_CurvePoolInfoGetter *CurvePoolInfoGetterSession) DeployMetapool0(_base_pool common.Address, _name string, _symbol string, _coin common.Address, _A *big.Int, _fee *big.Int, _implementation_idx *big.Int) (*types.Transaction, error)

DeployMetapool0 is a paid mutator transaction binding the contract method 0xde7fe3bf.

Solidity: function deploy_metapool(address _base_pool, string _name, string _symbol, address _coin, uint256 _A, uint256 _fee, uint256 _implementation_idx) returns(address)

func (*CurvePoolInfoGetterSession) DeployPlainPool

func (_CurvePoolInfoGetter *CurvePoolInfoGetterSession) DeployPlainPool(_name string, _symbol string, _coins [4]common.Address, _A *big.Int, _fee *big.Int) (*types.Transaction, error)

DeployPlainPool is a paid mutator transaction binding the contract method 0xcd419bb5.

Solidity: function deploy_plain_pool(string _name, string _symbol, address[4] _coins, uint256 _A, uint256 _fee) returns(address)

func (*CurvePoolInfoGetterSession) DeployPlainPool0

func (_CurvePoolInfoGetter *CurvePoolInfoGetterSession) DeployPlainPool0(_name string, _symbol string, _coins [4]common.Address, _A *big.Int, _fee *big.Int, _asset_type *big.Int) (*types.Transaction, error)

DeployPlainPool0 is a paid mutator transaction binding the contract method 0x5c16487b.

Solidity: function deploy_plain_pool(string _name, string _symbol, address[4] _coins, uint256 _A, uint256 _fee, uint256 _asset_type) returns(address)

func (*CurvePoolInfoGetterSession) DeployPlainPool1

func (_CurvePoolInfoGetter *CurvePoolInfoGetterSession) DeployPlainPool1(_name string, _symbol string, _coins [4]common.Address, _A *big.Int, _fee *big.Int, _asset_type *big.Int, _implementation_idx *big.Int) (*types.Transaction, error)

DeployPlainPool1 is a paid mutator transaction binding the contract method 0x52f2db69.

Solidity: function deploy_plain_pool(string _name, string _symbol, address[4] _coins, uint256 _A, uint256 _fee, uint256 _asset_type, uint256 _implementation_idx) returns(address)

func (*CurvePoolInfoGetterSession) FindPoolForCoins

func (_CurvePoolInfoGetter *CurvePoolInfoGetterSession) FindPoolForCoins(_from common.Address, _to common.Address) (common.Address, error)

FindPoolForCoins is a free data retrieval call binding the contract method 0xa87df06c.

Solidity: function find_pool_for_coins(address _from, address _to) view returns(address)

func (*CurvePoolInfoGetterSession) FindPoolForCoins0

func (_CurvePoolInfoGetter *CurvePoolInfoGetterSession) FindPoolForCoins0(_from common.Address, _to common.Address, i *big.Int) (common.Address, error)

FindPoolForCoins0 is a free data retrieval call binding the contract method 0x6982eb0b.

Solidity: function find_pool_for_coins(address _from, address _to, uint256 i) view returns(address)

func (*CurvePoolInfoGetterSession) FutureAdmin

func (_CurvePoolInfoGetter *CurvePoolInfoGetterSession) FutureAdmin() (common.Address, error)

FutureAdmin is a free data retrieval call binding the contract method 0x17f7182a.

Solidity: function future_admin() view returns(address)

func (*CurvePoolInfoGetterSession) GaugeImplementation

func (_CurvePoolInfoGetter *CurvePoolInfoGetterSession) GaugeImplementation() (common.Address, error)

GaugeImplementation is a free data retrieval call binding the contract method 0x8df24207.

Solidity: function gauge_implementation() view returns(address)

func (*CurvePoolInfoGetterSession) GetA

func (_CurvePoolInfoGetter *CurvePoolInfoGetterSession) GetA(_pool common.Address) (*big.Int, error)

GetA is a free data retrieval call binding the contract method 0x55b30b19.

Solidity: function get_A(address _pool) view returns(uint256)

func (*CurvePoolInfoGetterSession) GetAdminBalances

func (_CurvePoolInfoGetter *CurvePoolInfoGetterSession) GetAdminBalances(_pool common.Address) ([4]*big.Int, error)

GetAdminBalances is a free data retrieval call binding the contract method 0xc11e45b8.

Solidity: function get_admin_balances(address _pool) view returns(uint256[4])

func (*CurvePoolInfoGetterSession) GetBalances

func (_CurvePoolInfoGetter *CurvePoolInfoGetterSession) GetBalances(_pool common.Address) ([4]*big.Int, error)

GetBalances is a free data retrieval call binding the contract method 0x92e3cc2d.

Solidity: function get_balances(address _pool) view returns(uint256[4])

func (*CurvePoolInfoGetterSession) GetBasePool

func (_CurvePoolInfoGetter *CurvePoolInfoGetterSession) GetBasePool(_pool common.Address) (common.Address, error)

GetBasePool is a free data retrieval call binding the contract method 0x6f20d6dd.

Solidity: function get_base_pool(address _pool) view returns(address)

func (*CurvePoolInfoGetterSession) GetCoinIndices

func (_CurvePoolInfoGetter *CurvePoolInfoGetterSession) GetCoinIndices(_pool common.Address, _from common.Address, _to common.Address) (*big.Int, *big.Int, bool, error)

GetCoinIndices is a free data retrieval call binding the contract method 0xeb85226d.

Solidity: function get_coin_indices(address _pool, address _from, address _to) view returns(int128, int128, bool)

func (*CurvePoolInfoGetterSession) GetCoins

func (_CurvePoolInfoGetter *CurvePoolInfoGetterSession) GetCoins(_pool common.Address) ([4]common.Address, error)

GetCoins is a free data retrieval call binding the contract method 0x9ac90d3d.

Solidity: function get_coins(address _pool) view returns(address[4])

func (*CurvePoolInfoGetterSession) GetDecimals

func (_CurvePoolInfoGetter *CurvePoolInfoGetterSession) GetDecimals(_pool common.Address) ([4]*big.Int, error)

GetDecimals is a free data retrieval call binding the contract method 0x52b51555.

Solidity: function get_decimals(address _pool) view returns(uint256[4])

func (*CurvePoolInfoGetterSession) GetFeeReceiver

func (_CurvePoolInfoGetter *CurvePoolInfoGetterSession) GetFeeReceiver(_pool common.Address) (common.Address, error)

GetFeeReceiver is a free data retrieval call binding the contract method 0x154aa8f5.

Solidity: function get_fee_receiver(address _pool) view returns(address)

func (*CurvePoolInfoGetterSession) GetFees

func (_CurvePoolInfoGetter *CurvePoolInfoGetterSession) GetFees(_pool common.Address) (*big.Int, *big.Int, error)

GetFees is a free data retrieval call binding the contract method 0x7cdb72b0.

Solidity: function get_fees(address _pool) view returns(uint256, uint256)

func (*CurvePoolInfoGetterSession) GetGauge

func (_CurvePoolInfoGetter *CurvePoolInfoGetterSession) GetGauge(_pool common.Address) (common.Address, error)

GetGauge is a free data retrieval call binding the contract method 0xdaf297b9.

Solidity: function get_gauge(address _pool) view returns(address)

func (*CurvePoolInfoGetterSession) GetImplementationAddress

func (_CurvePoolInfoGetter *CurvePoolInfoGetterSession) GetImplementationAddress(_pool common.Address) (common.Address, error)

GetImplementationAddress is a free data retrieval call binding the contract method 0x510d98a4.

Solidity: function get_implementation_address(address _pool) view returns(address)

func (*CurvePoolInfoGetterSession) GetMetaNCoins

func (_CurvePoolInfoGetter *CurvePoolInfoGetterSession) GetMetaNCoins(_pool common.Address) (*big.Int, *big.Int, error)

GetMetaNCoins is a free data retrieval call binding the contract method 0xeb73f37d.

Solidity: function get_meta_n_coins(address _pool) view returns(uint256, uint256)

func (*CurvePoolInfoGetterSession) GetMetapoolRates

func (_CurvePoolInfoGetter *CurvePoolInfoGetterSession) GetMetapoolRates(_pool common.Address) ([2]*big.Int, error)

GetMetapoolRates is a free data retrieval call binding the contract method 0x06d8f160.

Solidity: function get_metapool_rates(address _pool) view returns(uint256[2])

func (*CurvePoolInfoGetterSession) GetNCoins

func (_CurvePoolInfoGetter *CurvePoolInfoGetterSession) GetNCoins(_pool common.Address) (*big.Int, error)

GetNCoins is a free data retrieval call binding the contract method 0x940494f1.

Solidity: function get_n_coins(address _pool) view returns(uint256)

func (*CurvePoolInfoGetterSession) GetPoolAssetType

func (_CurvePoolInfoGetter *CurvePoolInfoGetterSession) GetPoolAssetType(_pool common.Address) (*big.Int, error)

GetPoolAssetType is a free data retrieval call binding the contract method 0x66d3966c.

Solidity: function get_pool_asset_type(address _pool) view returns(uint256)

func (*CurvePoolInfoGetterSession) GetUnderlyingBalances

func (_CurvePoolInfoGetter *CurvePoolInfoGetterSession) GetUnderlyingBalances(_pool common.Address) ([8]*big.Int, error)

GetUnderlyingBalances is a free data retrieval call binding the contract method 0x59f4f351.

Solidity: function get_underlying_balances(address _pool) view returns(uint256[8])

func (*CurvePoolInfoGetterSession) GetUnderlyingCoins

func (_CurvePoolInfoGetter *CurvePoolInfoGetterSession) GetUnderlyingCoins(_pool common.Address) ([8]common.Address, error)

GetUnderlyingCoins is a free data retrieval call binding the contract method 0xa77576ef.

Solidity: function get_underlying_coins(address _pool) view returns(address[8])

func (*CurvePoolInfoGetterSession) GetUnderlyingDecimals

func (_CurvePoolInfoGetter *CurvePoolInfoGetterSession) GetUnderlyingDecimals(_pool common.Address) ([8]*big.Int, error)

GetUnderlyingDecimals is a free data retrieval call binding the contract method 0x4cb088f1.

Solidity: function get_underlying_decimals(address _pool) view returns(uint256[8])

func (*CurvePoolInfoGetterSession) IsMeta

func (_CurvePoolInfoGetter *CurvePoolInfoGetterSession) IsMeta(_pool common.Address) (bool, error)

IsMeta is a free data retrieval call binding the contract method 0xe4d332a9.

Solidity: function is_meta(address _pool) view returns(bool)

func (*CurvePoolInfoGetterSession) Manager

func (_CurvePoolInfoGetter *CurvePoolInfoGetterSession) Manager() (common.Address, error)

Manager is a free data retrieval call binding the contract method 0x481c6a75.

Solidity: function manager() view returns(address)

func (*CurvePoolInfoGetterSession) MetapoolImplementations

func (_CurvePoolInfoGetter *CurvePoolInfoGetterSession) MetapoolImplementations(_base_pool common.Address) ([10]common.Address, error)

MetapoolImplementations is a free data retrieval call binding the contract method 0x970fa3f3.

Solidity: function metapool_implementations(address _base_pool) view returns(address[10])

func (*CurvePoolInfoGetterSession) PlainImplementations

func (_CurvePoolInfoGetter *CurvePoolInfoGetterSession) PlainImplementations(arg0 *big.Int, arg1 *big.Int) (common.Address, error)

PlainImplementations is a free data retrieval call binding the contract method 0x31a4f865.

Solidity: function plain_implementations(uint256 arg0, uint256 arg1) view returns(address)

func (*CurvePoolInfoGetterSession) PoolCount

func (_CurvePoolInfoGetter *CurvePoolInfoGetterSession) PoolCount() (*big.Int, error)

PoolCount is a free data retrieval call binding the contract method 0x956aae3a.

Solidity: function pool_count() view returns(uint256)

func (*CurvePoolInfoGetterSession) PoolList

func (_CurvePoolInfoGetter *CurvePoolInfoGetterSession) PoolList(arg0 *big.Int) (common.Address, error)

PoolList is a free data retrieval call binding the contract method 0x3a1d5d8e.

Solidity: function pool_list(uint256 arg0) view returns(address)

func (*CurvePoolInfoGetterSession) SetFeeReceiver

func (_CurvePoolInfoGetter *CurvePoolInfoGetterSession) SetFeeReceiver(_base_pool common.Address, _fee_receiver common.Address) (*types.Transaction, error)

SetFeeReceiver is a paid mutator transaction binding the contract method 0x36d2b77a.

Solidity: function set_fee_receiver(address _base_pool, address _fee_receiver) returns()

func (*CurvePoolInfoGetterSession) SetGaugeImplementation

func (_CurvePoolInfoGetter *CurvePoolInfoGetterSession) SetGaugeImplementation(_gauge_implementation common.Address) (*types.Transaction, error)

SetGaugeImplementation is a paid mutator transaction binding the contract method 0x8f03182c.

Solidity: function set_gauge_implementation(address _gauge_implementation) returns()

func (*CurvePoolInfoGetterSession) SetManager

func (_CurvePoolInfoGetter *CurvePoolInfoGetterSession) SetManager(_manager common.Address) (*types.Transaction, error)

SetManager is a paid mutator transaction binding the contract method 0x9aece83e.

Solidity: function set_manager(address _manager) returns()

func (*CurvePoolInfoGetterSession) SetMetapoolImplementations

func (_CurvePoolInfoGetter *CurvePoolInfoGetterSession) SetMetapoolImplementations(_base_pool common.Address, _implementations [10]common.Address) (*types.Transaction, error)

SetMetapoolImplementations is a paid mutator transaction binding the contract method 0xcb956b46.

Solidity: function set_metapool_implementations(address _base_pool, address[10] _implementations) returns()

func (*CurvePoolInfoGetterSession) SetPlainImplementations

func (_CurvePoolInfoGetter *CurvePoolInfoGetterSession) SetPlainImplementations(_n_coins *big.Int, _implementations [10]common.Address) (*types.Transaction, error)

SetPlainImplementations is a paid mutator transaction binding the contract method 0x9ddbf4b9.

Solidity: function set_plain_implementations(uint256 _n_coins, address[10] _implementations) returns()

type CurvePoolInfoGetterTransactor

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

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

func NewCurvePoolInfoGetterTransactor

func NewCurvePoolInfoGetterTransactor(address common.Address, transactor bind.ContractTransactor) (*CurvePoolInfoGetterTransactor, error)

NewCurvePoolInfoGetterTransactor creates a new write-only instance of CurvePoolInfoGetter, bound to a specific deployed contract.

func (*CurvePoolInfoGetterTransactor) AcceptTransferOwnership

func (_CurvePoolInfoGetter *CurvePoolInfoGetterTransactor) AcceptTransferOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

AcceptTransferOwnership is a paid mutator transaction binding the contract method 0xe5ea47b8.

Solidity: function accept_transfer_ownership() returns()

func (*CurvePoolInfoGetterTransactor) AddBasePool

func (_CurvePoolInfoGetter *CurvePoolInfoGetterTransactor) AddBasePool(opts *bind.TransactOpts, _base_pool common.Address, _fee_receiver common.Address, _asset_type *big.Int, _implementations [10]common.Address) (*types.Transaction, error)

AddBasePool is a paid mutator transaction binding the contract method 0x2fc05653.

Solidity: function add_base_pool(address _base_pool, address _fee_receiver, uint256 _asset_type, address[10] _implementations) returns()

func (*CurvePoolInfoGetterTransactor) AddExistingMetapools

func (_CurvePoolInfoGetter *CurvePoolInfoGetterTransactor) AddExistingMetapools(opts *bind.TransactOpts, _pools [10]common.Address) (*types.Transaction, error)

AddExistingMetapools is a paid mutator transaction binding the contract method 0xdb89fabc.

Solidity: function add_existing_metapools(address[10] _pools) returns(bool)

func (*CurvePoolInfoGetterTransactor) BatchSetPoolAssetType

func (_CurvePoolInfoGetter *CurvePoolInfoGetterTransactor) BatchSetPoolAssetType(opts *bind.TransactOpts, _pools [32]common.Address, _asset_types [32]*big.Int) (*types.Transaction, error)

BatchSetPoolAssetType is a paid mutator transaction binding the contract method 0x7542f078.

Solidity: function batch_set_pool_asset_type(address[32] _pools, uint256[32] _asset_types) returns()

func (*CurvePoolInfoGetterTransactor) CommitTransferOwnership

func (_CurvePoolInfoGetter *CurvePoolInfoGetterTransactor) CommitTransferOwnership(opts *bind.TransactOpts, _addr common.Address) (*types.Transaction, error)

CommitTransferOwnership is a paid mutator transaction binding the contract method 0x6b441a40.

Solidity: function commit_transfer_ownership(address _addr) returns()

func (*CurvePoolInfoGetterTransactor) ConvertMetapoolFees

func (_CurvePoolInfoGetter *CurvePoolInfoGetterTransactor) ConvertMetapoolFees(opts *bind.TransactOpts) (*types.Transaction, error)

ConvertMetapoolFees is a paid mutator transaction binding the contract method 0xbcc981d2.

Solidity: function convert_metapool_fees() returns(bool)

func (*CurvePoolInfoGetterTransactor) DeployGauge

func (_CurvePoolInfoGetter *CurvePoolInfoGetterTransactor) DeployGauge(opts *bind.TransactOpts, _pool common.Address) (*types.Transaction, error)

DeployGauge is a paid mutator transaction binding the contract method 0x96bebb34.

Solidity: function deploy_gauge(address _pool) returns(address)

func (*CurvePoolInfoGetterTransactor) DeployMetapool

func (_CurvePoolInfoGetter *CurvePoolInfoGetterTransactor) DeployMetapool(opts *bind.TransactOpts, _base_pool common.Address, _name string, _symbol string, _coin common.Address, _A *big.Int, _fee *big.Int) (*types.Transaction, error)

DeployMetapool is a paid mutator transaction binding the contract method 0xe339eb4f.

Solidity: function deploy_metapool(address _base_pool, string _name, string _symbol, address _coin, uint256 _A, uint256 _fee) returns(address)

func (*CurvePoolInfoGetterTransactor) DeployMetapool0

func (_CurvePoolInfoGetter *CurvePoolInfoGetterTransactor) DeployMetapool0(opts *bind.TransactOpts, _base_pool common.Address, _name string, _symbol string, _coin common.Address, _A *big.Int, _fee *big.Int, _implementation_idx *big.Int) (*types.Transaction, error)

DeployMetapool0 is a paid mutator transaction binding the contract method 0xde7fe3bf.

Solidity: function deploy_metapool(address _base_pool, string _name, string _symbol, address _coin, uint256 _A, uint256 _fee, uint256 _implementation_idx) returns(address)

func (*CurvePoolInfoGetterTransactor) DeployPlainPool

func (_CurvePoolInfoGetter *CurvePoolInfoGetterTransactor) DeployPlainPool(opts *bind.TransactOpts, _name string, _symbol string, _coins [4]common.Address, _A *big.Int, _fee *big.Int) (*types.Transaction, error)

DeployPlainPool is a paid mutator transaction binding the contract method 0xcd419bb5.

Solidity: function deploy_plain_pool(string _name, string _symbol, address[4] _coins, uint256 _A, uint256 _fee) returns(address)

func (*CurvePoolInfoGetterTransactor) DeployPlainPool0

func (_CurvePoolInfoGetter *CurvePoolInfoGetterTransactor) DeployPlainPool0(opts *bind.TransactOpts, _name string, _symbol string, _coins [4]common.Address, _A *big.Int, _fee *big.Int, _asset_type *big.Int) (*types.Transaction, error)

DeployPlainPool0 is a paid mutator transaction binding the contract method 0x5c16487b.

Solidity: function deploy_plain_pool(string _name, string _symbol, address[4] _coins, uint256 _A, uint256 _fee, uint256 _asset_type) returns(address)

func (*CurvePoolInfoGetterTransactor) DeployPlainPool1

func (_CurvePoolInfoGetter *CurvePoolInfoGetterTransactor) DeployPlainPool1(opts *bind.TransactOpts, _name string, _symbol string, _coins [4]common.Address, _A *big.Int, _fee *big.Int, _asset_type *big.Int, _implementation_idx *big.Int) (*types.Transaction, error)

DeployPlainPool1 is a paid mutator transaction binding the contract method 0x52f2db69.

Solidity: function deploy_plain_pool(string _name, string _symbol, address[4] _coins, uint256 _A, uint256 _fee, uint256 _asset_type, uint256 _implementation_idx) returns(address)

func (*CurvePoolInfoGetterTransactor) SetFeeReceiver

func (_CurvePoolInfoGetter *CurvePoolInfoGetterTransactor) SetFeeReceiver(opts *bind.TransactOpts, _base_pool common.Address, _fee_receiver common.Address) (*types.Transaction, error)

SetFeeReceiver is a paid mutator transaction binding the contract method 0x36d2b77a.

Solidity: function set_fee_receiver(address _base_pool, address _fee_receiver) returns()

func (*CurvePoolInfoGetterTransactor) SetGaugeImplementation

func (_CurvePoolInfoGetter *CurvePoolInfoGetterTransactor) SetGaugeImplementation(opts *bind.TransactOpts, _gauge_implementation common.Address) (*types.Transaction, error)

SetGaugeImplementation is a paid mutator transaction binding the contract method 0x8f03182c.

Solidity: function set_gauge_implementation(address _gauge_implementation) returns()

func (*CurvePoolInfoGetterTransactor) SetManager

func (_CurvePoolInfoGetter *CurvePoolInfoGetterTransactor) SetManager(opts *bind.TransactOpts, _manager common.Address) (*types.Transaction, error)

SetManager is a paid mutator transaction binding the contract method 0x9aece83e.

Solidity: function set_manager(address _manager) returns()

func (*CurvePoolInfoGetterTransactor) SetMetapoolImplementations

func (_CurvePoolInfoGetter *CurvePoolInfoGetterTransactor) SetMetapoolImplementations(opts *bind.TransactOpts, _base_pool common.Address, _implementations [10]common.Address) (*types.Transaction, error)

SetMetapoolImplementations is a paid mutator transaction binding the contract method 0xcb956b46.

Solidity: function set_metapool_implementations(address _base_pool, address[10] _implementations) returns()

func (*CurvePoolInfoGetterTransactor) SetPlainImplementations

func (_CurvePoolInfoGetter *CurvePoolInfoGetterTransactor) SetPlainImplementations(opts *bind.TransactOpts, _n_coins *big.Int, _implementations [10]common.Address) (*types.Transaction, error)

SetPlainImplementations is a paid mutator transaction binding the contract method 0x9ddbf4b9.

Solidity: function set_plain_implementations(uint256 _n_coins, address[10] _implementations) returns()

type CurvePoolInfoGetterTransactorRaw

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

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

func (*CurvePoolInfoGetterTransactorRaw) Transact

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

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

func (*CurvePoolInfoGetterTransactorRaw) Transfer

func (_CurvePoolInfoGetter *CurvePoolInfoGetterTransactorRaw) 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 CurvePoolInfoGetterTransactorSession

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

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

func (*CurvePoolInfoGetterTransactorSession) AcceptTransferOwnership

func (_CurvePoolInfoGetter *CurvePoolInfoGetterTransactorSession) AcceptTransferOwnership() (*types.Transaction, error)

AcceptTransferOwnership is a paid mutator transaction binding the contract method 0xe5ea47b8.

Solidity: function accept_transfer_ownership() returns()

func (*CurvePoolInfoGetterTransactorSession) AddBasePool

func (_CurvePoolInfoGetter *CurvePoolInfoGetterTransactorSession) AddBasePool(_base_pool common.Address, _fee_receiver common.Address, _asset_type *big.Int, _implementations [10]common.Address) (*types.Transaction, error)

AddBasePool is a paid mutator transaction binding the contract method 0x2fc05653.

Solidity: function add_base_pool(address _base_pool, address _fee_receiver, uint256 _asset_type, address[10] _implementations) returns()

func (*CurvePoolInfoGetterTransactorSession) AddExistingMetapools

func (_CurvePoolInfoGetter *CurvePoolInfoGetterTransactorSession) AddExistingMetapools(_pools [10]common.Address) (*types.Transaction, error)

AddExistingMetapools is a paid mutator transaction binding the contract method 0xdb89fabc.

Solidity: function add_existing_metapools(address[10] _pools) returns(bool)

func (*CurvePoolInfoGetterTransactorSession) BatchSetPoolAssetType

func (_CurvePoolInfoGetter *CurvePoolInfoGetterTransactorSession) BatchSetPoolAssetType(_pools [32]common.Address, _asset_types [32]*big.Int) (*types.Transaction, error)

BatchSetPoolAssetType is a paid mutator transaction binding the contract method 0x7542f078.

Solidity: function batch_set_pool_asset_type(address[32] _pools, uint256[32] _asset_types) returns()

func (*CurvePoolInfoGetterTransactorSession) CommitTransferOwnership

func (_CurvePoolInfoGetter *CurvePoolInfoGetterTransactorSession) CommitTransferOwnership(_addr common.Address) (*types.Transaction, error)

CommitTransferOwnership is a paid mutator transaction binding the contract method 0x6b441a40.

Solidity: function commit_transfer_ownership(address _addr) returns()

func (*CurvePoolInfoGetterTransactorSession) ConvertMetapoolFees

func (_CurvePoolInfoGetter *CurvePoolInfoGetterTransactorSession) ConvertMetapoolFees() (*types.Transaction, error)

ConvertMetapoolFees is a paid mutator transaction binding the contract method 0xbcc981d2.

Solidity: function convert_metapool_fees() returns(bool)

func (*CurvePoolInfoGetterTransactorSession) DeployGauge

func (_CurvePoolInfoGetter *CurvePoolInfoGetterTransactorSession) DeployGauge(_pool common.Address) (*types.Transaction, error)

DeployGauge is a paid mutator transaction binding the contract method 0x96bebb34.

Solidity: function deploy_gauge(address _pool) returns(address)

func (*CurvePoolInfoGetterTransactorSession) DeployMetapool

func (_CurvePoolInfoGetter *CurvePoolInfoGetterTransactorSession) DeployMetapool(_base_pool common.Address, _name string, _symbol string, _coin common.Address, _A *big.Int, _fee *big.Int) (*types.Transaction, error)

DeployMetapool is a paid mutator transaction binding the contract method 0xe339eb4f.

Solidity: function deploy_metapool(address _base_pool, string _name, string _symbol, address _coin, uint256 _A, uint256 _fee) returns(address)

func (*CurvePoolInfoGetterTransactorSession) DeployMetapool0

func (_CurvePoolInfoGetter *CurvePoolInfoGetterTransactorSession) DeployMetapool0(_base_pool common.Address, _name string, _symbol string, _coin common.Address, _A *big.Int, _fee *big.Int, _implementation_idx *big.Int) (*types.Transaction, error)

DeployMetapool0 is a paid mutator transaction binding the contract method 0xde7fe3bf.

Solidity: function deploy_metapool(address _base_pool, string _name, string _symbol, address _coin, uint256 _A, uint256 _fee, uint256 _implementation_idx) returns(address)

func (*CurvePoolInfoGetterTransactorSession) DeployPlainPool

func (_CurvePoolInfoGetter *CurvePoolInfoGetterTransactorSession) DeployPlainPool(_name string, _symbol string, _coins [4]common.Address, _A *big.Int, _fee *big.Int) (*types.Transaction, error)

DeployPlainPool is a paid mutator transaction binding the contract method 0xcd419bb5.

Solidity: function deploy_plain_pool(string _name, string _symbol, address[4] _coins, uint256 _A, uint256 _fee) returns(address)

func (*CurvePoolInfoGetterTransactorSession) DeployPlainPool0

func (_CurvePoolInfoGetter *CurvePoolInfoGetterTransactorSession) DeployPlainPool0(_name string, _symbol string, _coins [4]common.Address, _A *big.Int, _fee *big.Int, _asset_type *big.Int) (*types.Transaction, error)

DeployPlainPool0 is a paid mutator transaction binding the contract method 0x5c16487b.

Solidity: function deploy_plain_pool(string _name, string _symbol, address[4] _coins, uint256 _A, uint256 _fee, uint256 _asset_type) returns(address)

func (*CurvePoolInfoGetterTransactorSession) DeployPlainPool1

func (_CurvePoolInfoGetter *CurvePoolInfoGetterTransactorSession) DeployPlainPool1(_name string, _symbol string, _coins [4]common.Address, _A *big.Int, _fee *big.Int, _asset_type *big.Int, _implementation_idx *big.Int) (*types.Transaction, error)

DeployPlainPool1 is a paid mutator transaction binding the contract method 0x52f2db69.

Solidity: function deploy_plain_pool(string _name, string _symbol, address[4] _coins, uint256 _A, uint256 _fee, uint256 _asset_type, uint256 _implementation_idx) returns(address)

func (*CurvePoolInfoGetterTransactorSession) SetFeeReceiver

func (_CurvePoolInfoGetter *CurvePoolInfoGetterTransactorSession) SetFeeReceiver(_base_pool common.Address, _fee_receiver common.Address) (*types.Transaction, error)

SetFeeReceiver is a paid mutator transaction binding the contract method 0x36d2b77a.

Solidity: function set_fee_receiver(address _base_pool, address _fee_receiver) returns()

func (*CurvePoolInfoGetterTransactorSession) SetGaugeImplementation

func (_CurvePoolInfoGetter *CurvePoolInfoGetterTransactorSession) SetGaugeImplementation(_gauge_implementation common.Address) (*types.Transaction, error)

SetGaugeImplementation is a paid mutator transaction binding the contract method 0x8f03182c.

Solidity: function set_gauge_implementation(address _gauge_implementation) returns()

func (*CurvePoolInfoGetterTransactorSession) SetManager

func (_CurvePoolInfoGetter *CurvePoolInfoGetterTransactorSession) SetManager(_manager common.Address) (*types.Transaction, error)

SetManager is a paid mutator transaction binding the contract method 0x9aece83e.

Solidity: function set_manager(address _manager) returns()

func (*CurvePoolInfoGetterTransactorSession) SetMetapoolImplementations

func (_CurvePoolInfoGetter *CurvePoolInfoGetterTransactorSession) SetMetapoolImplementations(_base_pool common.Address, _implementations [10]common.Address) (*types.Transaction, error)

SetMetapoolImplementations is a paid mutator transaction binding the contract method 0xcb956b46.

Solidity: function set_metapool_implementations(address _base_pool, address[10] _implementations) returns()

func (*CurvePoolInfoGetterTransactorSession) SetPlainImplementations

func (_CurvePoolInfoGetter *CurvePoolInfoGetterTransactorSession) SetPlainImplementations(_n_coins *big.Int, _implementations [10]common.Address) (*types.Transaction, error)

SetPlainImplementations is a paid mutator transaction binding the contract method 0x9ddbf4b9.

Solidity: function set_plain_implementations(uint256 _n_coins, address[10] _implementations) returns()

type CurvePoolRampA

type CurvePoolRampA struct {
	OldA        *big.Int
	NewA        *big.Int
	InitialTime *big.Int
	FutureTime  *big.Int
	Raw         types.Log // Blockchain specific contextual infos
}

CurvePoolRampA represents a RampA event raised by the CurvePool contract.

type CurvePoolRampAIterator

type CurvePoolRampAIterator struct {
	Event *CurvePoolRampA // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CurvePoolRampAIterator is returned from FilterRampA and is used to iterate over the raw logs and unpacked data for RampA events raised by the CurvePool contract.

func (*CurvePoolRampAIterator) Close

func (it *CurvePoolRampAIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*CurvePoolRampAIterator) Error

func (it *CurvePoolRampAIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurvePoolRampAIterator) Next

func (it *CurvePoolRampAIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CurvePoolRaw

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

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

func (*CurvePoolRaw) Call

func (_CurvePool *CurvePoolRaw) 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 (*CurvePoolRaw) Transact

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

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

func (*CurvePoolRaw) Transfer

func (_CurvePool *CurvePoolRaw) 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 CurvePoolRemoveLiquidity

type CurvePoolRemoveLiquidity struct {
	Provider     common.Address
	TokenAmounts [2]*big.Int
	Fees         [2]*big.Int
	TokenSupply  *big.Int
	Raw          types.Log // Blockchain specific contextual infos
}

CurvePoolRemoveLiquidity represents a RemoveLiquidity event raised by the CurvePool contract.

type CurvePoolRemoveLiquidityImbalance

type CurvePoolRemoveLiquidityImbalance struct {
	Provider     common.Address
	TokenAmounts [2]*big.Int
	Fees         [2]*big.Int
	Invariant    *big.Int
	TokenSupply  *big.Int
	Raw          types.Log // Blockchain specific contextual infos
}

CurvePoolRemoveLiquidityImbalance represents a RemoveLiquidityImbalance event raised by the CurvePool contract.

type CurvePoolRemoveLiquidityImbalanceIterator

type CurvePoolRemoveLiquidityImbalanceIterator struct {
	Event *CurvePoolRemoveLiquidityImbalance // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CurvePoolRemoveLiquidityImbalanceIterator is returned from FilterRemoveLiquidityImbalance and is used to iterate over the raw logs and unpacked data for RemoveLiquidityImbalance events raised by the CurvePool contract.

func (*CurvePoolRemoveLiquidityImbalanceIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CurvePoolRemoveLiquidityImbalanceIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurvePoolRemoveLiquidityImbalanceIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CurvePoolRemoveLiquidityIterator

type CurvePoolRemoveLiquidityIterator struct {
	Event *CurvePoolRemoveLiquidity // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CurvePoolRemoveLiquidityIterator is returned from FilterRemoveLiquidity and is used to iterate over the raw logs and unpacked data for RemoveLiquidity events raised by the CurvePool contract.

func (*CurvePoolRemoveLiquidityIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CurvePoolRemoveLiquidityIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurvePoolRemoveLiquidityIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CurvePoolRemoveLiquidityOne

type CurvePoolRemoveLiquidityOne struct {
	Provider    common.Address
	TokenAmount *big.Int
	CoinAmount  *big.Int
	TokenSupply *big.Int
	Raw         types.Log // Blockchain specific contextual infos
}

CurvePoolRemoveLiquidityOne represents a RemoveLiquidityOne event raised by the CurvePool contract.

type CurvePoolRemoveLiquidityOneIterator

type CurvePoolRemoveLiquidityOneIterator struct {
	Event *CurvePoolRemoveLiquidityOne // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CurvePoolRemoveLiquidityOneIterator is returned from FilterRemoveLiquidityOne and is used to iterate over the raw logs and unpacked data for RemoveLiquidityOne events raised by the CurvePool contract.

func (*CurvePoolRemoveLiquidityOneIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CurvePoolRemoveLiquidityOneIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurvePoolRemoveLiquidityOneIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CurvePoolSession

type CurvePoolSession struct {
	Contract     *CurvePool        // 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
}

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

func (*CurvePoolSession) A

func (_CurvePool *CurvePoolSession) A() (*big.Int, error)

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

Solidity: function A() view returns(uint256)

func (*CurvePoolSession) APrecise

func (_CurvePool *CurvePoolSession) APrecise() (*big.Int, error)

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

Solidity: function A_precise() view returns(uint256)

func (*CurvePoolSession) AddLiquidity

func (_CurvePool *CurvePoolSession) AddLiquidity(_amounts [2]*big.Int, _min_mint_amount *big.Int) (*types.Transaction, error)

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

Solidity: function add_liquidity(uint256[2] _amounts, uint256 _min_mint_amount) returns(uint256)

func (*CurvePoolSession) AddLiquidity0

func (_CurvePool *CurvePoolSession) AddLiquidity0(_amounts [2]*big.Int, _min_mint_amount *big.Int, _receiver common.Address) (*types.Transaction, error)

AddLiquidity0 is a paid mutator transaction binding the contract method 0x0c3e4b54.

Solidity: function add_liquidity(uint256[2] _amounts, uint256 _min_mint_amount, address _receiver) returns(uint256)

func (*CurvePoolSession) AdminBalances

func (_CurvePool *CurvePoolSession) AdminBalances(i *big.Int) (*big.Int, error)

AdminBalances is a free data retrieval call binding the contract method 0xe2e7d264.

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

func (*CurvePoolSession) AdminFee

func (_CurvePool *CurvePoolSession) AdminFee() (*big.Int, error)

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

Solidity: function admin_fee() view returns(uint256)

func (*CurvePoolSession) Allowance

func (_CurvePool *CurvePoolSession) Allowance(arg0 common.Address, arg1 common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address arg0, address arg1) view returns(uint256)

func (*CurvePoolSession) Approve

func (_CurvePool *CurvePoolSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address _spender, uint256 _value) returns(bool)

func (*CurvePoolSession) BalanceOf

func (_CurvePool *CurvePoolSession) BalanceOf(arg0 common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address arg0) view returns(uint256)

func (*CurvePoolSession) Balances

func (_CurvePool *CurvePoolSession) 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 (*CurvePoolSession) CalcTokenAmount

func (_CurvePool *CurvePoolSession) 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 (*CurvePoolSession) CalcWithdrawOneCoin

func (_CurvePool *CurvePoolSession) CalcWithdrawOneCoin(_burn_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 _burn_amount, int128 i) view returns(uint256)

func (*CurvePoolSession) Coins

func (_CurvePool *CurvePoolSession) 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 (*CurvePoolSession) Decimals

func (_CurvePool *CurvePoolSession) Decimals() (*big.Int, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint256)

func (*CurvePoolSession) Exchange

func (_CurvePool *CurvePoolSession) Exchange(i *big.Int, j *big.Int, _dx *big.Int, _min_dy *big.Int) (*types.Transaction, error)

Exchange is a paid mutator transaction binding the contract method 0x3df02124.

Solidity: function exchange(int128 i, int128 j, uint256 _dx, uint256 _min_dy) returns(uint256)

func (*CurvePoolSession) Exchange0

func (_CurvePool *CurvePoolSession) Exchange0(i *big.Int, j *big.Int, _dx *big.Int, _min_dy *big.Int, _receiver common.Address) (*types.Transaction, error)

Exchange0 is a paid mutator transaction binding the contract method 0xddc1f59d.

Solidity: function exchange(int128 i, int128 j, uint256 _dx, uint256 _min_dy, address _receiver) returns(uint256)

func (*CurvePoolSession) Fee

func (_CurvePool *CurvePoolSession) Fee() (*big.Int, error)

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

Solidity: function fee() view returns(uint256)

func (*CurvePoolSession) FutureA

func (_CurvePool *CurvePoolSession) FutureA() (*big.Int, error)

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

Solidity: function future_A() view returns(uint256)

func (*CurvePoolSession) FutureATime

func (_CurvePool *CurvePoolSession) 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 (*CurvePoolSession) GetBalances

func (_CurvePool *CurvePoolSession) GetBalances() ([2]*big.Int, error)

GetBalances is a free data retrieval call binding the contract method 0x14f05979.

Solidity: function get_balances() view returns(uint256[2])

func (*CurvePoolSession) GetDy

func (_CurvePool *CurvePoolSession) 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 (*CurvePoolSession) GetVirtualPrice

func (_CurvePool *CurvePoolSession) 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 (*CurvePoolSession) InitialA

func (_CurvePool *CurvePoolSession) InitialA() (*big.Int, error)

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

Solidity: function initial_A() view returns(uint256)

func (*CurvePoolSession) InitialATime

func (_CurvePool *CurvePoolSession) 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 (*CurvePoolSession) Initialize

func (_CurvePool *CurvePoolSession) Initialize(_name string, _symbol string, _coins [4]common.Address, _rate_multipliers [4]*big.Int, _A *big.Int, _fee *big.Int) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xa461b3c8.

Solidity: function initialize(string _name, string _symbol, address[4] _coins, uint256[4] _rate_multipliers, uint256 _A, uint256 _fee) returns()

func (*CurvePoolSession) Name

func (_CurvePool *CurvePoolSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*CurvePoolSession) RampA

func (_CurvePool *CurvePoolSession) 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 (*CurvePoolSession) RemoveLiquidity

func (_CurvePool *CurvePoolSession) RemoveLiquidity(_burn_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 _burn_amount, uint256[2] _min_amounts) returns(uint256[2])

func (*CurvePoolSession) RemoveLiquidity0

func (_CurvePool *CurvePoolSession) RemoveLiquidity0(_burn_amount *big.Int, _min_amounts [2]*big.Int, _receiver common.Address) (*types.Transaction, error)

RemoveLiquidity0 is a paid mutator transaction binding the contract method 0x3eb1719f.

Solidity: function remove_liquidity(uint256 _burn_amount, uint256[2] _min_amounts, address _receiver) returns(uint256[2])

func (*CurvePoolSession) RemoveLiquidityImbalance

func (_CurvePool *CurvePoolSession) 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 (*CurvePoolSession) RemoveLiquidityImbalance0

func (_CurvePool *CurvePoolSession) RemoveLiquidityImbalance0(_amounts [2]*big.Int, _max_burn_amount *big.Int, _receiver common.Address) (*types.Transaction, error)

RemoveLiquidityImbalance0 is a paid mutator transaction binding the contract method 0x52d2cfdd.

Solidity: function remove_liquidity_imbalance(uint256[2] _amounts, uint256 _max_burn_amount, address _receiver) returns(uint256)

func (*CurvePoolSession) RemoveLiquidityOneCoin

func (_CurvePool *CurvePoolSession) RemoveLiquidityOneCoin(_burn_amount *big.Int, i *big.Int, _min_received *big.Int) (*types.Transaction, error)

RemoveLiquidityOneCoin is a paid mutator transaction binding the contract method 0x1a4d01d2.

Solidity: function remove_liquidity_one_coin(uint256 _burn_amount, int128 i, uint256 _min_received) returns(uint256)

func (*CurvePoolSession) RemoveLiquidityOneCoin0

func (_CurvePool *CurvePoolSession) RemoveLiquidityOneCoin0(_burn_amount *big.Int, i *big.Int, _min_received *big.Int, _receiver common.Address) (*types.Transaction, error)

RemoveLiquidityOneCoin0 is a paid mutator transaction binding the contract method 0x081579a5.

Solidity: function remove_liquidity_one_coin(uint256 _burn_amount, int128 i, uint256 _min_received, address _receiver) returns(uint256)

func (*CurvePoolSession) StopRampA

func (_CurvePool *CurvePoolSession) StopRampA() (*types.Transaction, error)

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

Solidity: function stop_ramp_A() returns()

func (*CurvePoolSession) Symbol

func (_CurvePool *CurvePoolSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*CurvePoolSession) TotalSupply

func (_CurvePool *CurvePoolSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*CurvePoolSession) Transfer

func (_CurvePool *CurvePoolSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address _to, uint256 _value) returns(bool)

func (*CurvePoolSession) TransferFrom

func (_CurvePool *CurvePoolSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address _from, address _to, uint256 _value) returns(bool)

func (*CurvePoolSession) WithdrawAdminFees

func (_CurvePool *CurvePoolSession) WithdrawAdminFees() (*types.Transaction, error)

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

Solidity: function withdraw_admin_fees() returns()

type CurvePoolStopRampA

type CurvePoolStopRampA struct {
	A   *big.Int
	T   *big.Int
	Raw types.Log // Blockchain specific contextual infos
}

CurvePoolStopRampA represents a StopRampA event raised by the CurvePool contract.

type CurvePoolStopRampAIterator

type CurvePoolStopRampAIterator struct {
	Event *CurvePoolStopRampA // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CurvePoolStopRampAIterator is returned from FilterStopRampA and is used to iterate over the raw logs and unpacked data for StopRampA events raised by the CurvePool contract.

func (*CurvePoolStopRampAIterator) Close

func (it *CurvePoolStopRampAIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*CurvePoolStopRampAIterator) Error

func (it *CurvePoolStopRampAIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurvePoolStopRampAIterator) Next

func (it *CurvePoolStopRampAIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CurvePoolTokenExchange

type CurvePoolTokenExchange struct {
	Buyer        common.Address
	SoldId       *big.Int
	TokensSold   *big.Int
	BoughtId     *big.Int
	TokensBought *big.Int
	Raw          types.Log // Blockchain specific contextual infos
}

CurvePoolTokenExchange represents a TokenExchange event raised by the CurvePool contract.

type CurvePoolTokenExchangeIterator

type CurvePoolTokenExchangeIterator struct {
	Event *CurvePoolTokenExchange // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CurvePoolTokenExchangeIterator is returned from FilterTokenExchange and is used to iterate over the raw logs and unpacked data for TokenExchange events raised by the CurvePool contract.

func (*CurvePoolTokenExchangeIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CurvePoolTokenExchangeIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurvePoolTokenExchangeIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CurvePoolTransactor

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

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

func NewCurvePoolTransactor

func NewCurvePoolTransactor(address common.Address, transactor bind.ContractTransactor) (*CurvePoolTransactor, error)

NewCurvePoolTransactor creates a new write-only instance of CurvePool, bound to a specific deployed contract.

func (*CurvePoolTransactor) AddLiquidity

func (_CurvePool *CurvePoolTransactor) AddLiquidity(opts *bind.TransactOpts, _amounts [2]*big.Int, _min_mint_amount *big.Int) (*types.Transaction, error)

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

Solidity: function add_liquidity(uint256[2] _amounts, uint256 _min_mint_amount) returns(uint256)

func (*CurvePoolTransactor) AddLiquidity0

func (_CurvePool *CurvePoolTransactor) AddLiquidity0(opts *bind.TransactOpts, _amounts [2]*big.Int, _min_mint_amount *big.Int, _receiver common.Address) (*types.Transaction, error)

AddLiquidity0 is a paid mutator transaction binding the contract method 0x0c3e4b54.

Solidity: function add_liquidity(uint256[2] _amounts, uint256 _min_mint_amount, address _receiver) returns(uint256)

func (*CurvePoolTransactor) Approve

func (_CurvePool *CurvePoolTransactor) Approve(opts *bind.TransactOpts, _spender common.Address, _value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address _spender, uint256 _value) returns(bool)

func (*CurvePoolTransactor) Exchange

func (_CurvePool *CurvePoolTransactor) Exchange(opts *bind.TransactOpts, i *big.Int, j *big.Int, _dx *big.Int, _min_dy *big.Int) (*types.Transaction, error)

Exchange is a paid mutator transaction binding the contract method 0x3df02124.

Solidity: function exchange(int128 i, int128 j, uint256 _dx, uint256 _min_dy) returns(uint256)

func (*CurvePoolTransactor) Exchange0

func (_CurvePool *CurvePoolTransactor) Exchange0(opts *bind.TransactOpts, i *big.Int, j *big.Int, _dx *big.Int, _min_dy *big.Int, _receiver common.Address) (*types.Transaction, error)

Exchange0 is a paid mutator transaction binding the contract method 0xddc1f59d.

Solidity: function exchange(int128 i, int128 j, uint256 _dx, uint256 _min_dy, address _receiver) returns(uint256)

func (*CurvePoolTransactor) Initialize

func (_CurvePool *CurvePoolTransactor) Initialize(opts *bind.TransactOpts, _name string, _symbol string, _coins [4]common.Address, _rate_multipliers [4]*big.Int, _A *big.Int, _fee *big.Int) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xa461b3c8.

Solidity: function initialize(string _name, string _symbol, address[4] _coins, uint256[4] _rate_multipliers, uint256 _A, uint256 _fee) returns()

func (*CurvePoolTransactor) RampA

func (_CurvePool *CurvePoolTransactor) 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 (*CurvePoolTransactor) RemoveLiquidity

func (_CurvePool *CurvePoolTransactor) RemoveLiquidity(opts *bind.TransactOpts, _burn_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 _burn_amount, uint256[2] _min_amounts) returns(uint256[2])

func (*CurvePoolTransactor) RemoveLiquidity0

func (_CurvePool *CurvePoolTransactor) RemoveLiquidity0(opts *bind.TransactOpts, _burn_amount *big.Int, _min_amounts [2]*big.Int, _receiver common.Address) (*types.Transaction, error)

RemoveLiquidity0 is a paid mutator transaction binding the contract method 0x3eb1719f.

Solidity: function remove_liquidity(uint256 _burn_amount, uint256[2] _min_amounts, address _receiver) returns(uint256[2])

func (*CurvePoolTransactor) RemoveLiquidityImbalance

func (_CurvePool *CurvePoolTransactor) 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 (*CurvePoolTransactor) RemoveLiquidityImbalance0

func (_CurvePool *CurvePoolTransactor) RemoveLiquidityImbalance0(opts *bind.TransactOpts, _amounts [2]*big.Int, _max_burn_amount *big.Int, _receiver common.Address) (*types.Transaction, error)

RemoveLiquidityImbalance0 is a paid mutator transaction binding the contract method 0x52d2cfdd.

Solidity: function remove_liquidity_imbalance(uint256[2] _amounts, uint256 _max_burn_amount, address _receiver) returns(uint256)

func (*CurvePoolTransactor) RemoveLiquidityOneCoin

func (_CurvePool *CurvePoolTransactor) RemoveLiquidityOneCoin(opts *bind.TransactOpts, _burn_amount *big.Int, i *big.Int, _min_received *big.Int) (*types.Transaction, error)

RemoveLiquidityOneCoin is a paid mutator transaction binding the contract method 0x1a4d01d2.

Solidity: function remove_liquidity_one_coin(uint256 _burn_amount, int128 i, uint256 _min_received) returns(uint256)

func (*CurvePoolTransactor) RemoveLiquidityOneCoin0

func (_CurvePool *CurvePoolTransactor) RemoveLiquidityOneCoin0(opts *bind.TransactOpts, _burn_amount *big.Int, i *big.Int, _min_received *big.Int, _receiver common.Address) (*types.Transaction, error)

RemoveLiquidityOneCoin0 is a paid mutator transaction binding the contract method 0x081579a5.

Solidity: function remove_liquidity_one_coin(uint256 _burn_amount, int128 i, uint256 _min_received, address _receiver) returns(uint256)

func (*CurvePoolTransactor) StopRampA

func (_CurvePool *CurvePoolTransactor) 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 (*CurvePoolTransactor) Transfer

func (_CurvePool *CurvePoolTransactor) Transfer(opts *bind.TransactOpts, _to common.Address, _value *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address _to, uint256 _value) returns(bool)

func (*CurvePoolTransactor) TransferFrom

func (_CurvePool *CurvePoolTransactor) TransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address _from, address _to, uint256 _value) returns(bool)

func (*CurvePoolTransactor) WithdrawAdminFees

func (_CurvePool *CurvePoolTransactor) 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 CurvePoolTransactorRaw

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

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

func (*CurvePoolTransactorRaw) Transact

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

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

func (*CurvePoolTransactorRaw) Transfer

func (_CurvePool *CurvePoolTransactorRaw) 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 CurvePoolTransactorSession

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

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

func (*CurvePoolTransactorSession) AddLiquidity

func (_CurvePool *CurvePoolTransactorSession) AddLiquidity(_amounts [2]*big.Int, _min_mint_amount *big.Int) (*types.Transaction, error)

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

Solidity: function add_liquidity(uint256[2] _amounts, uint256 _min_mint_amount) returns(uint256)

func (*CurvePoolTransactorSession) AddLiquidity0

func (_CurvePool *CurvePoolTransactorSession) AddLiquidity0(_amounts [2]*big.Int, _min_mint_amount *big.Int, _receiver common.Address) (*types.Transaction, error)

AddLiquidity0 is a paid mutator transaction binding the contract method 0x0c3e4b54.

Solidity: function add_liquidity(uint256[2] _amounts, uint256 _min_mint_amount, address _receiver) returns(uint256)

func (*CurvePoolTransactorSession) Approve

func (_CurvePool *CurvePoolTransactorSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address _spender, uint256 _value) returns(bool)

func (*CurvePoolTransactorSession) Exchange

func (_CurvePool *CurvePoolTransactorSession) Exchange(i *big.Int, j *big.Int, _dx *big.Int, _min_dy *big.Int) (*types.Transaction, error)

Exchange is a paid mutator transaction binding the contract method 0x3df02124.

Solidity: function exchange(int128 i, int128 j, uint256 _dx, uint256 _min_dy) returns(uint256)

func (*CurvePoolTransactorSession) Exchange0

func (_CurvePool *CurvePoolTransactorSession) Exchange0(i *big.Int, j *big.Int, _dx *big.Int, _min_dy *big.Int, _receiver common.Address) (*types.Transaction, error)

Exchange0 is a paid mutator transaction binding the contract method 0xddc1f59d.

Solidity: function exchange(int128 i, int128 j, uint256 _dx, uint256 _min_dy, address _receiver) returns(uint256)

func (*CurvePoolTransactorSession) Initialize

func (_CurvePool *CurvePoolTransactorSession) Initialize(_name string, _symbol string, _coins [4]common.Address, _rate_multipliers [4]*big.Int, _A *big.Int, _fee *big.Int) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xa461b3c8.

Solidity: function initialize(string _name, string _symbol, address[4] _coins, uint256[4] _rate_multipliers, uint256 _A, uint256 _fee) returns()

func (*CurvePoolTransactorSession) RampA

func (_CurvePool *CurvePoolTransactorSession) 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 (*CurvePoolTransactorSession) RemoveLiquidity

func (_CurvePool *CurvePoolTransactorSession) RemoveLiquidity(_burn_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 _burn_amount, uint256[2] _min_amounts) returns(uint256[2])

func (*CurvePoolTransactorSession) RemoveLiquidity0

func (_CurvePool *CurvePoolTransactorSession) RemoveLiquidity0(_burn_amount *big.Int, _min_amounts [2]*big.Int, _receiver common.Address) (*types.Transaction, error)

RemoveLiquidity0 is a paid mutator transaction binding the contract method 0x3eb1719f.

Solidity: function remove_liquidity(uint256 _burn_amount, uint256[2] _min_amounts, address _receiver) returns(uint256[2])

func (*CurvePoolTransactorSession) RemoveLiquidityImbalance

func (_CurvePool *CurvePoolTransactorSession) 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 (*CurvePoolTransactorSession) RemoveLiquidityImbalance0

func (_CurvePool *CurvePoolTransactorSession) RemoveLiquidityImbalance0(_amounts [2]*big.Int, _max_burn_amount *big.Int, _receiver common.Address) (*types.Transaction, error)

RemoveLiquidityImbalance0 is a paid mutator transaction binding the contract method 0x52d2cfdd.

Solidity: function remove_liquidity_imbalance(uint256[2] _amounts, uint256 _max_burn_amount, address _receiver) returns(uint256)

func (*CurvePoolTransactorSession) RemoveLiquidityOneCoin

func (_CurvePool *CurvePoolTransactorSession) RemoveLiquidityOneCoin(_burn_amount *big.Int, i *big.Int, _min_received *big.Int) (*types.Transaction, error)

RemoveLiquidityOneCoin is a paid mutator transaction binding the contract method 0x1a4d01d2.

Solidity: function remove_liquidity_one_coin(uint256 _burn_amount, int128 i, uint256 _min_received) returns(uint256)

func (*CurvePoolTransactorSession) RemoveLiquidityOneCoin0

func (_CurvePool *CurvePoolTransactorSession) RemoveLiquidityOneCoin0(_burn_amount *big.Int, i *big.Int, _min_received *big.Int, _receiver common.Address) (*types.Transaction, error)

RemoveLiquidityOneCoin0 is a paid mutator transaction binding the contract method 0x081579a5.

Solidity: function remove_liquidity_one_coin(uint256 _burn_amount, int128 i, uint256 _min_received, address _receiver) returns(uint256)

func (*CurvePoolTransactorSession) StopRampA

func (_CurvePool *CurvePoolTransactorSession) StopRampA() (*types.Transaction, error)

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

Solidity: function stop_ramp_A() returns()

func (*CurvePoolTransactorSession) Transfer

func (_CurvePool *CurvePoolTransactorSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address _to, uint256 _value) returns(bool)

func (*CurvePoolTransactorSession) TransferFrom

func (_CurvePool *CurvePoolTransactorSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address _from, address _to, uint256 _value) returns(bool)

func (*CurvePoolTransactorSession) WithdrawAdminFees

func (_CurvePool *CurvePoolTransactorSession) WithdrawAdminFees() (*types.Transaction, error)

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

Solidity: function withdraw_admin_fees() returns()

type CurvePoolTransfer

type CurvePoolTransfer struct {
	Sender   common.Address
	Receiver common.Address
	Value    *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

CurvePoolTransfer represents a Transfer event raised by the CurvePool contract.

type CurvePoolTransferIterator

type CurvePoolTransferIterator struct {
	Event *CurvePoolTransfer // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CurvePoolTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the CurvePool contract.

func (*CurvePoolTransferIterator) Close

func (it *CurvePoolTransferIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*CurvePoolTransferIterator) Error

func (it *CurvePoolTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurvePoolTransferIterator) Next

func (it *CurvePoolTransferIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CurveRegistry

type CurveRegistry struct {
	CurveRegistryCaller     // Read-only binding to the contract
	CurveRegistryTransactor // Write-only binding to the contract
	CurveRegistryFilterer   // Log filterer for contract events
}

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

func NewCurveRegistry

func NewCurveRegistry(address common.Address, backend bind.ContractBackend) (*CurveRegistry, error)

NewCurveRegistry creates a new instance of CurveRegistry, bound to a specific deployed contract.

type CurveRegistryCaller

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

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

func NewCurveRegistryCaller

func NewCurveRegistryCaller(address common.Address, caller bind.ContractCaller) (*CurveRegistryCaller, error)

NewCurveRegistryCaller creates a new read-only instance of CurveRegistry, bound to a specific deployed contract.

func (*CurveRegistryCaller) AddressProvider

func (_CurveRegistry *CurveRegistryCaller) AddressProvider(opts *bind.CallOpts) (common.Address, error)

AddressProvider is a free data retrieval call binding the contract method 0xce50c2e7.

Solidity: function address_provider() view returns(address)

func (*CurveRegistryCaller) CoinCount

func (_CurveRegistry *CurveRegistryCaller) CoinCount(opts *bind.CallOpts) (*big.Int, error)

CoinCount is a free data retrieval call binding the contract method 0x5075770f.

Solidity: function coin_count() view returns(uint256)

func (*CurveRegistryCaller) EstimateGasUsed

func (_CurveRegistry *CurveRegistryCaller) EstimateGasUsed(opts *bind.CallOpts, _pool common.Address, _from common.Address, _to common.Address) (*big.Int, error)

EstimateGasUsed is a free data retrieval call binding the contract method 0xb0bb365b.

Solidity: function estimate_gas_used(address _pool, address _from, address _to) view returns(uint256)

func (*CurveRegistryCaller) FindPoolForCoins

func (_CurveRegistry *CurveRegistryCaller) FindPoolForCoins(opts *bind.CallOpts, _from common.Address, _to common.Address) (common.Address, error)

FindPoolForCoins is a free data retrieval call binding the contract method 0xa87df06c.

Solidity: function find_pool_for_coins(address _from, address _to) view returns(address)

func (*CurveRegistryCaller) FindPoolForCoins0

func (_CurveRegistry *CurveRegistryCaller) FindPoolForCoins0(opts *bind.CallOpts, _from common.Address, _to common.Address, i *big.Int) (common.Address, error)

FindPoolForCoins0 is a free data retrieval call binding the contract method 0x6982eb0b.

Solidity: function find_pool_for_coins(address _from, address _to, uint256 i) view returns(address)

func (*CurveRegistryCaller) GaugeController

func (_CurveRegistry *CurveRegistryCaller) GaugeController(opts *bind.CallOpts) (common.Address, error)

GaugeController is a free data retrieval call binding the contract method 0xd8b9a018.

Solidity: function gauge_controller() view returns(address)

func (*CurveRegistryCaller) GetA

func (_CurveRegistry *CurveRegistryCaller) GetA(opts *bind.CallOpts, _pool common.Address) (*big.Int, error)

GetA is a free data retrieval call binding the contract method 0x55b30b19.

Solidity: function get_A(address _pool) view returns(uint256)

func (*CurveRegistryCaller) GetAdminBalances

func (_CurveRegistry *CurveRegistryCaller) GetAdminBalances(opts *bind.CallOpts, _pool common.Address) ([8]*big.Int, error)

GetAdminBalances is a free data retrieval call binding the contract method 0xc11e45b8.

Solidity: function get_admin_balances(address _pool) view returns(uint256[8])

func (*CurveRegistryCaller) GetBalances

func (_CurveRegistry *CurveRegistryCaller) GetBalances(opts *bind.CallOpts, _pool common.Address) ([8]*big.Int, error)

GetBalances is a free data retrieval call binding the contract method 0x92e3cc2d.

Solidity: function get_balances(address _pool) view returns(uint256[8])

func (*CurveRegistryCaller) GetCoin

func (_CurveRegistry *CurveRegistryCaller) GetCoin(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)

GetCoin is a free data retrieval call binding the contract method 0x45f0db24.

Solidity: function get_coin(uint256 arg0) view returns(address)

func (*CurveRegistryCaller) GetCoinIndices

func (_CurveRegistry *CurveRegistryCaller) GetCoinIndices(opts *bind.CallOpts, _pool common.Address, _from common.Address, _to common.Address) (*big.Int, *big.Int, bool, error)

GetCoinIndices is a free data retrieval call binding the contract method 0xeb85226d.

Solidity: function get_coin_indices(address _pool, address _from, address _to) view returns(int128, int128, bool)

func (*CurveRegistryCaller) GetCoinSwapComplement

func (_CurveRegistry *CurveRegistryCaller) GetCoinSwapComplement(opts *bind.CallOpts, _coin common.Address, _index *big.Int) (common.Address, error)

GetCoinSwapComplement is a free data retrieval call binding the contract method 0x5d211982.

Solidity: function get_coin_swap_complement(address _coin, uint256 _index) view returns(address)

func (*CurveRegistryCaller) GetCoinSwapCount

func (_CurveRegistry *CurveRegistryCaller) GetCoinSwapCount(opts *bind.CallOpts, _coin common.Address) (*big.Int, error)

GetCoinSwapCount is a free data retrieval call binding the contract method 0x98aede16.

Solidity: function get_coin_swap_count(address _coin) view returns(uint256)

func (*CurveRegistryCaller) GetCoins

func (_CurveRegistry *CurveRegistryCaller) GetCoins(opts *bind.CallOpts, _pool common.Address) ([8]common.Address, error)

GetCoins is a free data retrieval call binding the contract method 0x9ac90d3d.

Solidity: function get_coins(address _pool) view returns(address[8])

func (*CurveRegistryCaller) GetDecimals

func (_CurveRegistry *CurveRegistryCaller) GetDecimals(opts *bind.CallOpts, _pool common.Address) ([8]*big.Int, error)

GetDecimals is a free data retrieval call binding the contract method 0x52b51555.

Solidity: function get_decimals(address _pool) view returns(uint256[8])

func (*CurveRegistryCaller) GetFees

func (_CurveRegistry *CurveRegistryCaller) GetFees(opts *bind.CallOpts, _pool common.Address) ([2]*big.Int, error)

GetFees is a free data retrieval call binding the contract method 0x7cdb72b0.

Solidity: function get_fees(address _pool) view returns(uint256[2])

func (*CurveRegistryCaller) GetGauges

func (_CurveRegistry *CurveRegistryCaller) GetGauges(opts *bind.CallOpts, _pool common.Address) ([10]common.Address, [10]*big.Int, error)

GetGauges is a free data retrieval call binding the contract method 0x56059ffb.

Solidity: function get_gauges(address _pool) view returns(address[10], int128[10])

func (*CurveRegistryCaller) GetLpToken

func (_CurveRegistry *CurveRegistryCaller) GetLpToken(opts *bind.CallOpts, arg0 common.Address) (common.Address, error)

GetLpToken is a free data retrieval call binding the contract method 0x37951049.

Solidity: function get_lp_token(address arg0) view returns(address)

func (*CurveRegistryCaller) GetNCoins

func (_CurveRegistry *CurveRegistryCaller) GetNCoins(opts *bind.CallOpts, _pool common.Address) ([2]*big.Int, error)

GetNCoins is a free data retrieval call binding the contract method 0x940494f1.

Solidity: function get_n_coins(address _pool) view returns(uint256[2])

func (*CurveRegistryCaller) GetParameters

func (_CurveRegistry *CurveRegistryCaller) GetParameters(opts *bind.CallOpts, _pool common.Address) (struct {
	A              *big.Int
	FutureA        *big.Int
	Fee            *big.Int
	AdminFee       *big.Int
	FutureFee      *big.Int
	FutureAdminFee *big.Int
	FutureOwner    common.Address
	InitialA       *big.Int
	InitialATime   *big.Int
	FutureATime    *big.Int
}, error)

GetParameters is a free data retrieval call binding the contract method 0x1f80a957.

Solidity: function get_parameters(address _pool) view returns(uint256 A, uint256 future_A, uint256 fee, uint256 admin_fee, uint256 future_fee, uint256 future_admin_fee, address future_owner, uint256 initial_A, uint256 initial_A_time, uint256 future_A_time)

func (*CurveRegistryCaller) GetPoolAssetType

func (_CurveRegistry *CurveRegistryCaller) GetPoolAssetType(opts *bind.CallOpts, _pool common.Address) (*big.Int, error)

GetPoolAssetType is a free data retrieval call binding the contract method 0x66d3966c.

Solidity: function get_pool_asset_type(address _pool) view returns(uint256)

func (*CurveRegistryCaller) GetPoolFromLpToken

func (_CurveRegistry *CurveRegistryCaller) GetPoolFromLpToken(opts *bind.CallOpts, arg0 common.Address) (common.Address, error)

GetPoolFromLpToken is a free data retrieval call binding the contract method 0xbdf475c3.

Solidity: function get_pool_from_lp_token(address arg0) view returns(address)

func (*CurveRegistryCaller) GetPoolName

func (_CurveRegistry *CurveRegistryCaller) GetPoolName(opts *bind.CallOpts, _pool common.Address) (string, error)

GetPoolName is a free data retrieval call binding the contract method 0x5c911741.

Solidity: function get_pool_name(address _pool) view returns(string)

func (*CurveRegistryCaller) GetRates

func (_CurveRegistry *CurveRegistryCaller) GetRates(opts *bind.CallOpts, _pool common.Address) ([8]*big.Int, error)

GetRates is a free data retrieval call binding the contract method 0xce99e45a.

Solidity: function get_rates(address _pool) view returns(uint256[8])

func (*CurveRegistryCaller) GetUnderlyingBalances

func (_CurveRegistry *CurveRegistryCaller) GetUnderlyingBalances(opts *bind.CallOpts, _pool common.Address) ([8]*big.Int, error)

GetUnderlyingBalances is a free data retrieval call binding the contract method 0x59f4f351.

Solidity: function get_underlying_balances(address _pool) view returns(uint256[8])

func (*CurveRegistryCaller) GetUnderlyingCoins

func (_CurveRegistry *CurveRegistryCaller) GetUnderlyingCoins(opts *bind.CallOpts, _pool common.Address) ([8]common.Address, error)

GetUnderlyingCoins is a free data retrieval call binding the contract method 0xa77576ef.

Solidity: function get_underlying_coins(address _pool) view returns(address[8])

func (*CurveRegistryCaller) GetUnderlyingDecimals

func (_CurveRegistry *CurveRegistryCaller) GetUnderlyingDecimals(opts *bind.CallOpts, _pool common.Address) ([8]*big.Int, error)

GetUnderlyingDecimals is a free data retrieval call binding the contract method 0x4cb088f1.

Solidity: function get_underlying_decimals(address _pool) view returns(uint256[8])

func (*CurveRegistryCaller) GetVirtualPriceFromLpToken

func (_CurveRegistry *CurveRegistryCaller) GetVirtualPriceFromLpToken(opts *bind.CallOpts, _token common.Address) (*big.Int, error)

GetVirtualPriceFromLpToken is a free data retrieval call binding the contract method 0xc5b7074a.

Solidity: function get_virtual_price_from_lp_token(address _token) view returns(uint256)

func (*CurveRegistryCaller) IsMeta

func (_CurveRegistry *CurveRegistryCaller) IsMeta(opts *bind.CallOpts, _pool common.Address) (bool, error)

IsMeta is a free data retrieval call binding the contract method 0xe4d332a9.

Solidity: function is_meta(address _pool) view returns(bool)

func (*CurveRegistryCaller) LastUpdated

func (_CurveRegistry *CurveRegistryCaller) LastUpdated(opts *bind.CallOpts) (*big.Int, error)

LastUpdated is a free data retrieval call binding the contract method 0x68900961.

Solidity: function last_updated() view returns(uint256)

func (*CurveRegistryCaller) PoolCount

func (_CurveRegistry *CurveRegistryCaller) PoolCount(opts *bind.CallOpts) (*big.Int, error)

PoolCount is a free data retrieval call binding the contract method 0x956aae3a.

Solidity: function pool_count() view returns(uint256)

func (*CurveRegistryCaller) PoolList

func (_CurveRegistry *CurveRegistryCaller) PoolList(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)

PoolList is a free data retrieval call binding the contract method 0x3a1d5d8e.

Solidity: function pool_list(uint256 arg0) view returns(address)

type CurveRegistryCallerRaw

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

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

func (*CurveRegistryCallerRaw) Call

func (_CurveRegistry *CurveRegistryCallerRaw) 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 CurveRegistryCallerSession

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

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

func (*CurveRegistryCallerSession) AddressProvider

func (_CurveRegistry *CurveRegistryCallerSession) AddressProvider() (common.Address, error)

AddressProvider is a free data retrieval call binding the contract method 0xce50c2e7.

Solidity: function address_provider() view returns(address)

func (*CurveRegistryCallerSession) CoinCount

func (_CurveRegistry *CurveRegistryCallerSession) CoinCount() (*big.Int, error)

CoinCount is a free data retrieval call binding the contract method 0x5075770f.

Solidity: function coin_count() view returns(uint256)

func (*CurveRegistryCallerSession) EstimateGasUsed

func (_CurveRegistry *CurveRegistryCallerSession) EstimateGasUsed(_pool common.Address, _from common.Address, _to common.Address) (*big.Int, error)

EstimateGasUsed is a free data retrieval call binding the contract method 0xb0bb365b.

Solidity: function estimate_gas_used(address _pool, address _from, address _to) view returns(uint256)

func (*CurveRegistryCallerSession) FindPoolForCoins

func (_CurveRegistry *CurveRegistryCallerSession) FindPoolForCoins(_from common.Address, _to common.Address) (common.Address, error)

FindPoolForCoins is a free data retrieval call binding the contract method 0xa87df06c.

Solidity: function find_pool_for_coins(address _from, address _to) view returns(address)

func (*CurveRegistryCallerSession) FindPoolForCoins0

func (_CurveRegistry *CurveRegistryCallerSession) FindPoolForCoins0(_from common.Address, _to common.Address, i *big.Int) (common.Address, error)

FindPoolForCoins0 is a free data retrieval call binding the contract method 0x6982eb0b.

Solidity: function find_pool_for_coins(address _from, address _to, uint256 i) view returns(address)

func (*CurveRegistryCallerSession) GaugeController

func (_CurveRegistry *CurveRegistryCallerSession) GaugeController() (common.Address, error)

GaugeController is a free data retrieval call binding the contract method 0xd8b9a018.

Solidity: function gauge_controller() view returns(address)

func (*CurveRegistryCallerSession) GetA

func (_CurveRegistry *CurveRegistryCallerSession) GetA(_pool common.Address) (*big.Int, error)

GetA is a free data retrieval call binding the contract method 0x55b30b19.

Solidity: function get_A(address _pool) view returns(uint256)

func (*CurveRegistryCallerSession) GetAdminBalances

func (_CurveRegistry *CurveRegistryCallerSession) GetAdminBalances(_pool common.Address) ([8]*big.Int, error)

GetAdminBalances is a free data retrieval call binding the contract method 0xc11e45b8.

Solidity: function get_admin_balances(address _pool) view returns(uint256[8])

func (*CurveRegistryCallerSession) GetBalances

func (_CurveRegistry *CurveRegistryCallerSession) GetBalances(_pool common.Address) ([8]*big.Int, error)

GetBalances is a free data retrieval call binding the contract method 0x92e3cc2d.

Solidity: function get_balances(address _pool) view returns(uint256[8])

func (*CurveRegistryCallerSession) GetCoin

func (_CurveRegistry *CurveRegistryCallerSession) GetCoin(arg0 *big.Int) (common.Address, error)

GetCoin is a free data retrieval call binding the contract method 0x45f0db24.

Solidity: function get_coin(uint256 arg0) view returns(address)

func (*CurveRegistryCallerSession) GetCoinIndices

func (_CurveRegistry *CurveRegistryCallerSession) GetCoinIndices(_pool common.Address, _from common.Address, _to common.Address) (*big.Int, *big.Int, bool, error)

GetCoinIndices is a free data retrieval call binding the contract method 0xeb85226d.

Solidity: function get_coin_indices(address _pool, address _from, address _to) view returns(int128, int128, bool)

func (*CurveRegistryCallerSession) GetCoinSwapComplement

func (_CurveRegistry *CurveRegistryCallerSession) GetCoinSwapComplement(_coin common.Address, _index *big.Int) (common.Address, error)

GetCoinSwapComplement is a free data retrieval call binding the contract method 0x5d211982.

Solidity: function get_coin_swap_complement(address _coin, uint256 _index) view returns(address)

func (*CurveRegistryCallerSession) GetCoinSwapCount

func (_CurveRegistry *CurveRegistryCallerSession) GetCoinSwapCount(_coin common.Address) (*big.Int, error)

GetCoinSwapCount is a free data retrieval call binding the contract method 0x98aede16.

Solidity: function get_coin_swap_count(address _coin) view returns(uint256)

func (*CurveRegistryCallerSession) GetCoins

func (_CurveRegistry *CurveRegistryCallerSession) GetCoins(_pool common.Address) ([8]common.Address, error)

GetCoins is a free data retrieval call binding the contract method 0x9ac90d3d.

Solidity: function get_coins(address _pool) view returns(address[8])

func (*CurveRegistryCallerSession) GetDecimals

func (_CurveRegistry *CurveRegistryCallerSession) GetDecimals(_pool common.Address) ([8]*big.Int, error)

GetDecimals is a free data retrieval call binding the contract method 0x52b51555.

Solidity: function get_decimals(address _pool) view returns(uint256[8])

func (*CurveRegistryCallerSession) GetFees

func (_CurveRegistry *CurveRegistryCallerSession) GetFees(_pool common.Address) ([2]*big.Int, error)

GetFees is a free data retrieval call binding the contract method 0x7cdb72b0.

Solidity: function get_fees(address _pool) view returns(uint256[2])

func (*CurveRegistryCallerSession) GetGauges

func (_CurveRegistry *CurveRegistryCallerSession) GetGauges(_pool common.Address) ([10]common.Address, [10]*big.Int, error)

GetGauges is a free data retrieval call binding the contract method 0x56059ffb.

Solidity: function get_gauges(address _pool) view returns(address[10], int128[10])

func (*CurveRegistryCallerSession) GetLpToken

func (_CurveRegistry *CurveRegistryCallerSession) GetLpToken(arg0 common.Address) (common.Address, error)

GetLpToken is a free data retrieval call binding the contract method 0x37951049.

Solidity: function get_lp_token(address arg0) view returns(address)

func (*CurveRegistryCallerSession) GetNCoins

func (_CurveRegistry *CurveRegistryCallerSession) GetNCoins(_pool common.Address) ([2]*big.Int, error)

GetNCoins is a free data retrieval call binding the contract method 0x940494f1.

Solidity: function get_n_coins(address _pool) view returns(uint256[2])

func (*CurveRegistryCallerSession) GetParameters

func (_CurveRegistry *CurveRegistryCallerSession) GetParameters(_pool common.Address) (struct {
	A              *big.Int
	FutureA        *big.Int
	Fee            *big.Int
	AdminFee       *big.Int
	FutureFee      *big.Int
	FutureAdminFee *big.Int
	FutureOwner    common.Address
	InitialA       *big.Int
	InitialATime   *big.Int
	FutureATime    *big.Int
}, error)

GetParameters is a free data retrieval call binding the contract method 0x1f80a957.

Solidity: function get_parameters(address _pool) view returns(uint256 A, uint256 future_A, uint256 fee, uint256 admin_fee, uint256 future_fee, uint256 future_admin_fee, address future_owner, uint256 initial_A, uint256 initial_A_time, uint256 future_A_time)

func (*CurveRegistryCallerSession) GetPoolAssetType

func (_CurveRegistry *CurveRegistryCallerSession) GetPoolAssetType(_pool common.Address) (*big.Int, error)

GetPoolAssetType is a free data retrieval call binding the contract method 0x66d3966c.

Solidity: function get_pool_asset_type(address _pool) view returns(uint256)

func (*CurveRegistryCallerSession) GetPoolFromLpToken

func (_CurveRegistry *CurveRegistryCallerSession) GetPoolFromLpToken(arg0 common.Address) (common.Address, error)

GetPoolFromLpToken is a free data retrieval call binding the contract method 0xbdf475c3.

Solidity: function get_pool_from_lp_token(address arg0) view returns(address)

func (*CurveRegistryCallerSession) GetPoolName

func (_CurveRegistry *CurveRegistryCallerSession) GetPoolName(_pool common.Address) (string, error)

GetPoolName is a free data retrieval call binding the contract method 0x5c911741.

Solidity: function get_pool_name(address _pool) view returns(string)

func (*CurveRegistryCallerSession) GetRates

func (_CurveRegistry *CurveRegistryCallerSession) GetRates(_pool common.Address) ([8]*big.Int, error)

GetRates is a free data retrieval call binding the contract method 0xce99e45a.

Solidity: function get_rates(address _pool) view returns(uint256[8])

func (*CurveRegistryCallerSession) GetUnderlyingBalances

func (_CurveRegistry *CurveRegistryCallerSession) GetUnderlyingBalances(_pool common.Address) ([8]*big.Int, error)

GetUnderlyingBalances is a free data retrieval call binding the contract method 0x59f4f351.

Solidity: function get_underlying_balances(address _pool) view returns(uint256[8])

func (*CurveRegistryCallerSession) GetUnderlyingCoins

func (_CurveRegistry *CurveRegistryCallerSession) GetUnderlyingCoins(_pool common.Address) ([8]common.Address, error)

GetUnderlyingCoins is a free data retrieval call binding the contract method 0xa77576ef.

Solidity: function get_underlying_coins(address _pool) view returns(address[8])

func (*CurveRegistryCallerSession) GetUnderlyingDecimals

func (_CurveRegistry *CurveRegistryCallerSession) GetUnderlyingDecimals(_pool common.Address) ([8]*big.Int, error)

GetUnderlyingDecimals is a free data retrieval call binding the contract method 0x4cb088f1.

Solidity: function get_underlying_decimals(address _pool) view returns(uint256[8])

func (*CurveRegistryCallerSession) GetVirtualPriceFromLpToken

func (_CurveRegistry *CurveRegistryCallerSession) GetVirtualPriceFromLpToken(_token common.Address) (*big.Int, error)

GetVirtualPriceFromLpToken is a free data retrieval call binding the contract method 0xc5b7074a.

Solidity: function get_virtual_price_from_lp_token(address _token) view returns(uint256)

func (*CurveRegistryCallerSession) IsMeta

func (_CurveRegistry *CurveRegistryCallerSession) IsMeta(_pool common.Address) (bool, error)

IsMeta is a free data retrieval call binding the contract method 0xe4d332a9.

Solidity: function is_meta(address _pool) view returns(bool)

func (*CurveRegistryCallerSession) LastUpdated

func (_CurveRegistry *CurveRegistryCallerSession) LastUpdated() (*big.Int, error)

LastUpdated is a free data retrieval call binding the contract method 0x68900961.

Solidity: function last_updated() view returns(uint256)

func (*CurveRegistryCallerSession) PoolCount

func (_CurveRegistry *CurveRegistryCallerSession) PoolCount() (*big.Int, error)

PoolCount is a free data retrieval call binding the contract method 0x956aae3a.

Solidity: function pool_count() view returns(uint256)

func (*CurveRegistryCallerSession) PoolList

func (_CurveRegistry *CurveRegistryCallerSession) PoolList(arg0 *big.Int) (common.Address, error)

PoolList is a free data retrieval call binding the contract method 0x3a1d5d8e.

Solidity: function pool_list(uint256 arg0) view returns(address)

type CurveRegistryFilterer

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

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

func NewCurveRegistryFilterer

func NewCurveRegistryFilterer(address common.Address, filterer bind.ContractFilterer) (*CurveRegistryFilterer, error)

NewCurveRegistryFilterer creates a new log filterer instance of CurveRegistry, bound to a specific deployed contract.

func (*CurveRegistryFilterer) FilterPoolAdded

func (_CurveRegistry *CurveRegistryFilterer) FilterPoolAdded(opts *bind.FilterOpts, pool []common.Address) (*CurveRegistryPoolAddedIterator, error)

FilterPoolAdded is a free log retrieval operation binding the contract event 0xe485c16479ab7092c0b3fc4649843c06be7f072194675261590c84473ab0aea9.

Solidity: event PoolAdded(address indexed pool, bytes rate_method_id)

func (*CurveRegistryFilterer) FilterPoolRemoved

func (_CurveRegistry *CurveRegistryFilterer) FilterPoolRemoved(opts *bind.FilterOpts, pool []common.Address) (*CurveRegistryPoolRemovedIterator, error)

FilterPoolRemoved is a free log retrieval operation binding the contract event 0x4106dfdaa577573db51c0ca93f766dbedfa0758faa2e7f5bcdb7c142be803c3f.

Solidity: event PoolRemoved(address indexed pool)

func (*CurveRegistryFilterer) ParsePoolAdded

func (_CurveRegistry *CurveRegistryFilterer) ParsePoolAdded(log types.Log) (*CurveRegistryPoolAdded, error)

ParsePoolAdded is a log parse operation binding the contract event 0xe485c16479ab7092c0b3fc4649843c06be7f072194675261590c84473ab0aea9.

Solidity: event PoolAdded(address indexed pool, bytes rate_method_id)

func (*CurveRegistryFilterer) ParsePoolRemoved

func (_CurveRegistry *CurveRegistryFilterer) ParsePoolRemoved(log types.Log) (*CurveRegistryPoolRemoved, error)

ParsePoolRemoved is a log parse operation binding the contract event 0x4106dfdaa577573db51c0ca93f766dbedfa0758faa2e7f5bcdb7c142be803c3f.

Solidity: event PoolRemoved(address indexed pool)

func (*CurveRegistryFilterer) WatchPoolAdded

func (_CurveRegistry *CurveRegistryFilterer) WatchPoolAdded(opts *bind.WatchOpts, sink chan<- *CurveRegistryPoolAdded, pool []common.Address) (event.Subscription, error)

WatchPoolAdded is a free log subscription operation binding the contract event 0xe485c16479ab7092c0b3fc4649843c06be7f072194675261590c84473ab0aea9.

Solidity: event PoolAdded(address indexed pool, bytes rate_method_id)

func (*CurveRegistryFilterer) WatchPoolRemoved

func (_CurveRegistry *CurveRegistryFilterer) WatchPoolRemoved(opts *bind.WatchOpts, sink chan<- *CurveRegistryPoolRemoved, pool []common.Address) (event.Subscription, error)

WatchPoolRemoved is a free log subscription operation binding the contract event 0x4106dfdaa577573db51c0ca93f766dbedfa0758faa2e7f5bcdb7c142be803c3f.

Solidity: event PoolRemoved(address indexed pool)

type CurveRegistryPoolAdded

type CurveRegistryPoolAdded struct {
	Pool         common.Address
	RateMethodId []byte
	Raw          types.Log // Blockchain specific contextual infos
}

CurveRegistryPoolAdded represents a PoolAdded event raised by the CurveRegistry contract.

type CurveRegistryPoolAddedIterator

type CurveRegistryPoolAddedIterator struct {
	Event *CurveRegistryPoolAdded // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CurveRegistryPoolAddedIterator is returned from FilterPoolAdded and is used to iterate over the raw logs and unpacked data for PoolAdded events raised by the CurveRegistry contract.

func (*CurveRegistryPoolAddedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CurveRegistryPoolAddedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurveRegistryPoolAddedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CurveRegistryPoolRemoved

type CurveRegistryPoolRemoved struct {
	Pool common.Address
	Raw  types.Log // Blockchain specific contextual infos
}

CurveRegistryPoolRemoved represents a PoolRemoved event raised by the CurveRegistry contract.

type CurveRegistryPoolRemovedIterator

type CurveRegistryPoolRemovedIterator struct {
	Event *CurveRegistryPoolRemoved // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CurveRegistryPoolRemovedIterator is returned from FilterPoolRemoved and is used to iterate over the raw logs and unpacked data for PoolRemoved events raised by the CurveRegistry contract.

func (*CurveRegistryPoolRemovedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CurveRegistryPoolRemovedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurveRegistryPoolRemovedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CurveRegistryRaw

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

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

func (*CurveRegistryRaw) Call

func (_CurveRegistry *CurveRegistryRaw) 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 (*CurveRegistryRaw) Transact

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

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

func (*CurveRegistryRaw) Transfer

func (_CurveRegistry *CurveRegistryRaw) 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 CurveRegistrySession

type CurveRegistrySession struct {
	Contract     *CurveRegistry    // 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
}

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

func (*CurveRegistrySession) AddMetapool

func (_CurveRegistry *CurveRegistrySession) AddMetapool(_pool common.Address, _n_coins *big.Int, _lp_token common.Address, _decimals *big.Int, _name string) (*types.Transaction, error)

AddMetapool is a paid mutator transaction binding the contract method 0xce6f94e1.

Solidity: function add_metapool(address _pool, uint256 _n_coins, address _lp_token, uint256 _decimals, string _name) returns()

func (*CurveRegistrySession) AddMetapool0

func (_CurveRegistry *CurveRegistrySession) AddMetapool0(_pool common.Address, _n_coins *big.Int, _lp_token common.Address, _decimals *big.Int, _name string, _base_pool common.Address) (*types.Transaction, error)

AddMetapool0 is a paid mutator transaction binding the contract method 0xd2a06baf.

Solidity: function add_metapool(address _pool, uint256 _n_coins, address _lp_token, uint256 _decimals, string _name, address _base_pool) returns()

func (*CurveRegistrySession) AddPool

func (_CurveRegistry *CurveRegistrySession) AddPool(_pool common.Address, _n_coins *big.Int, _lp_token common.Address, _rate_info [32]byte, _decimals *big.Int, _underlying_decimals *big.Int, _has_initial_A bool, _is_v1 bool, _name string) (*types.Transaction, error)

AddPool is a paid mutator transaction binding the contract method 0x99209aa1.

Solidity: function add_pool(address _pool, uint256 _n_coins, address _lp_token, bytes32 _rate_info, uint256 _decimals, uint256 _underlying_decimals, bool _has_initial_A, bool _is_v1, string _name) returns()

func (*CurveRegistrySession) AddPoolWithoutUnderlying

func (_CurveRegistry *CurveRegistrySession) AddPoolWithoutUnderlying(_pool common.Address, _n_coins *big.Int, _lp_token common.Address, _rate_info [32]byte, _decimals *big.Int, _use_rates *big.Int, _has_initial_A bool, _is_v1 bool, _name string) (*types.Transaction, error)

AddPoolWithoutUnderlying is a paid mutator transaction binding the contract method 0xdcee86a3.

Solidity: function add_pool_without_underlying(address _pool, uint256 _n_coins, address _lp_token, bytes32 _rate_info, uint256 _decimals, uint256 _use_rates, bool _has_initial_A, bool _is_v1, string _name) returns()

func (*CurveRegistrySession) AddressProvider

func (_CurveRegistry *CurveRegistrySession) AddressProvider() (common.Address, error)

AddressProvider is a free data retrieval call binding the contract method 0xce50c2e7.

Solidity: function address_provider() view returns(address)

func (*CurveRegistrySession) BatchSetPoolAssetType

func (_CurveRegistry *CurveRegistrySession) BatchSetPoolAssetType(_pools [32]common.Address, _asset_types [32]*big.Int) (*types.Transaction, error)

BatchSetPoolAssetType is a paid mutator transaction binding the contract method 0x7542f078.

Solidity: function batch_set_pool_asset_type(address[32] _pools, uint256[32] _asset_types) returns()

func (*CurveRegistrySession) CoinCount

func (_CurveRegistry *CurveRegistrySession) CoinCount() (*big.Int, error)

CoinCount is a free data retrieval call binding the contract method 0x5075770f.

Solidity: function coin_count() view returns(uint256)

func (*CurveRegistrySession) EstimateGasUsed

func (_CurveRegistry *CurveRegistrySession) EstimateGasUsed(_pool common.Address, _from common.Address, _to common.Address) (*big.Int, error)

EstimateGasUsed is a free data retrieval call binding the contract method 0xb0bb365b.

Solidity: function estimate_gas_used(address _pool, address _from, address _to) view returns(uint256)

func (*CurveRegistrySession) FindPoolForCoins

func (_CurveRegistry *CurveRegistrySession) FindPoolForCoins(_from common.Address, _to common.Address) (common.Address, error)

FindPoolForCoins is a free data retrieval call binding the contract method 0xa87df06c.

Solidity: function find_pool_for_coins(address _from, address _to) view returns(address)

func (*CurveRegistrySession) FindPoolForCoins0

func (_CurveRegistry *CurveRegistrySession) FindPoolForCoins0(_from common.Address, _to common.Address, i *big.Int) (common.Address, error)

FindPoolForCoins0 is a free data retrieval call binding the contract method 0x6982eb0b.

Solidity: function find_pool_for_coins(address _from, address _to, uint256 i) view returns(address)

func (*CurveRegistrySession) GaugeController

func (_CurveRegistry *CurveRegistrySession) GaugeController() (common.Address, error)

GaugeController is a free data retrieval call binding the contract method 0xd8b9a018.

Solidity: function gauge_controller() view returns(address)

func (*CurveRegistrySession) GetA

func (_CurveRegistry *CurveRegistrySession) GetA(_pool common.Address) (*big.Int, error)

GetA is a free data retrieval call binding the contract method 0x55b30b19.

Solidity: function get_A(address _pool) view returns(uint256)

func (*CurveRegistrySession) GetAdminBalances

func (_CurveRegistry *CurveRegistrySession) GetAdminBalances(_pool common.Address) ([8]*big.Int, error)

GetAdminBalances is a free data retrieval call binding the contract method 0xc11e45b8.

Solidity: function get_admin_balances(address _pool) view returns(uint256[8])

func (*CurveRegistrySession) GetBalances

func (_CurveRegistry *CurveRegistrySession) GetBalances(_pool common.Address) ([8]*big.Int, error)

GetBalances is a free data retrieval call binding the contract method 0x92e3cc2d.

Solidity: function get_balances(address _pool) view returns(uint256[8])

func (*CurveRegistrySession) GetCoin

func (_CurveRegistry *CurveRegistrySession) GetCoin(arg0 *big.Int) (common.Address, error)

GetCoin is a free data retrieval call binding the contract method 0x45f0db24.

Solidity: function get_coin(uint256 arg0) view returns(address)

func (*CurveRegistrySession) GetCoinIndices

func (_CurveRegistry *CurveRegistrySession) GetCoinIndices(_pool common.Address, _from common.Address, _to common.Address) (*big.Int, *big.Int, bool, error)

GetCoinIndices is a free data retrieval call binding the contract method 0xeb85226d.

Solidity: function get_coin_indices(address _pool, address _from, address _to) view returns(int128, int128, bool)

func (*CurveRegistrySession) GetCoinSwapComplement

func (_CurveRegistry *CurveRegistrySession) GetCoinSwapComplement(_coin common.Address, _index *big.Int) (common.Address, error)

GetCoinSwapComplement is a free data retrieval call binding the contract method 0x5d211982.

Solidity: function get_coin_swap_complement(address _coin, uint256 _index) view returns(address)

func (*CurveRegistrySession) GetCoinSwapCount

func (_CurveRegistry *CurveRegistrySession) GetCoinSwapCount(_coin common.Address) (*big.Int, error)

GetCoinSwapCount is a free data retrieval call binding the contract method 0x98aede16.

Solidity: function get_coin_swap_count(address _coin) view returns(uint256)

func (*CurveRegistrySession) GetCoins

func (_CurveRegistry *CurveRegistrySession) GetCoins(_pool common.Address) ([8]common.Address, error)

GetCoins is a free data retrieval call binding the contract method 0x9ac90d3d.

Solidity: function get_coins(address _pool) view returns(address[8])

func (*CurveRegistrySession) GetDecimals

func (_CurveRegistry *CurveRegistrySession) GetDecimals(_pool common.Address) ([8]*big.Int, error)

GetDecimals is a free data retrieval call binding the contract method 0x52b51555.

Solidity: function get_decimals(address _pool) view returns(uint256[8])

func (*CurveRegistrySession) GetFees

func (_CurveRegistry *CurveRegistrySession) GetFees(_pool common.Address) ([2]*big.Int, error)

GetFees is a free data retrieval call binding the contract method 0x7cdb72b0.

Solidity: function get_fees(address _pool) view returns(uint256[2])

func (*CurveRegistrySession) GetGauges

func (_CurveRegistry *CurveRegistrySession) GetGauges(_pool common.Address) ([10]common.Address, [10]*big.Int, error)

GetGauges is a free data retrieval call binding the contract method 0x56059ffb.

Solidity: function get_gauges(address _pool) view returns(address[10], int128[10])

func (*CurveRegistrySession) GetLpToken

func (_CurveRegistry *CurveRegistrySession) GetLpToken(arg0 common.Address) (common.Address, error)

GetLpToken is a free data retrieval call binding the contract method 0x37951049.

Solidity: function get_lp_token(address arg0) view returns(address)

func (*CurveRegistrySession) GetNCoins

func (_CurveRegistry *CurveRegistrySession) GetNCoins(_pool common.Address) ([2]*big.Int, error)

GetNCoins is a free data retrieval call binding the contract method 0x940494f1.

Solidity: function get_n_coins(address _pool) view returns(uint256[2])

func (*CurveRegistrySession) GetParameters

func (_CurveRegistry *CurveRegistrySession) GetParameters(_pool common.Address) (struct {
	A              *big.Int
	FutureA        *big.Int
	Fee            *big.Int
	AdminFee       *big.Int
	FutureFee      *big.Int
	FutureAdminFee *big.Int
	FutureOwner    common.Address
	InitialA       *big.Int
	InitialATime   *big.Int
	FutureATime    *big.Int
}, error)

GetParameters is a free data retrieval call binding the contract method 0x1f80a957.

Solidity: function get_parameters(address _pool) view returns(uint256 A, uint256 future_A, uint256 fee, uint256 admin_fee, uint256 future_fee, uint256 future_admin_fee, address future_owner, uint256 initial_A, uint256 initial_A_time, uint256 future_A_time)

func (*CurveRegistrySession) GetPoolAssetType

func (_CurveRegistry *CurveRegistrySession) GetPoolAssetType(_pool common.Address) (*big.Int, error)

GetPoolAssetType is a free data retrieval call binding the contract method 0x66d3966c.

Solidity: function get_pool_asset_type(address _pool) view returns(uint256)

func (*CurveRegistrySession) GetPoolFromLpToken

func (_CurveRegistry *CurveRegistrySession) GetPoolFromLpToken(arg0 common.Address) (common.Address, error)

GetPoolFromLpToken is a free data retrieval call binding the contract method 0xbdf475c3.

Solidity: function get_pool_from_lp_token(address arg0) view returns(address)

func (*CurveRegistrySession) GetPoolName

func (_CurveRegistry *CurveRegistrySession) GetPoolName(_pool common.Address) (string, error)

GetPoolName is a free data retrieval call binding the contract method 0x5c911741.

Solidity: function get_pool_name(address _pool) view returns(string)

func (*CurveRegistrySession) GetRates

func (_CurveRegistry *CurveRegistrySession) GetRates(_pool common.Address) ([8]*big.Int, error)

GetRates is a free data retrieval call binding the contract method 0xce99e45a.

Solidity: function get_rates(address _pool) view returns(uint256[8])

func (*CurveRegistrySession) GetUnderlyingBalances

func (_CurveRegistry *CurveRegistrySession) GetUnderlyingBalances(_pool common.Address) ([8]*big.Int, error)

GetUnderlyingBalances is a free data retrieval call binding the contract method 0x59f4f351.

Solidity: function get_underlying_balances(address _pool) view returns(uint256[8])

func (*CurveRegistrySession) GetUnderlyingCoins

func (_CurveRegistry *CurveRegistrySession) GetUnderlyingCoins(_pool common.Address) ([8]common.Address, error)

GetUnderlyingCoins is a free data retrieval call binding the contract method 0xa77576ef.

Solidity: function get_underlying_coins(address _pool) view returns(address[8])

func (*CurveRegistrySession) GetUnderlyingDecimals

func (_CurveRegistry *CurveRegistrySession) GetUnderlyingDecimals(_pool common.Address) ([8]*big.Int, error)

GetUnderlyingDecimals is a free data retrieval call binding the contract method 0x4cb088f1.

Solidity: function get_underlying_decimals(address _pool) view returns(uint256[8])

func (*CurveRegistrySession) GetVirtualPriceFromLpToken

func (_CurveRegistry *CurveRegistrySession) GetVirtualPriceFromLpToken(_token common.Address) (*big.Int, error)

GetVirtualPriceFromLpToken is a free data retrieval call binding the contract method 0xc5b7074a.

Solidity: function get_virtual_price_from_lp_token(address _token) view returns(uint256)

func (*CurveRegistrySession) IsMeta

func (_CurveRegistry *CurveRegistrySession) IsMeta(_pool common.Address) (bool, error)

IsMeta is a free data retrieval call binding the contract method 0xe4d332a9.

Solidity: function is_meta(address _pool) view returns(bool)

func (*CurveRegistrySession) LastUpdated

func (_CurveRegistry *CurveRegistrySession) LastUpdated() (*big.Int, error)

LastUpdated is a free data retrieval call binding the contract method 0x68900961.

Solidity: function last_updated() view returns(uint256)

func (*CurveRegistrySession) PoolCount

func (_CurveRegistry *CurveRegistrySession) PoolCount() (*big.Int, error)

PoolCount is a free data retrieval call binding the contract method 0x956aae3a.

Solidity: function pool_count() view returns(uint256)

func (*CurveRegistrySession) PoolList

func (_CurveRegistry *CurveRegistrySession) PoolList(arg0 *big.Int) (common.Address, error)

PoolList is a free data retrieval call binding the contract method 0x3a1d5d8e.

Solidity: function pool_list(uint256 arg0) view returns(address)

func (*CurveRegistrySession) RemovePool

func (_CurveRegistry *CurveRegistrySession) RemovePool(_pool common.Address) (*types.Transaction, error)

RemovePool is a paid mutator transaction binding the contract method 0x474932b0.

Solidity: function remove_pool(address _pool) returns()

func (*CurveRegistrySession) SetCoinGasEstimates

func (_CurveRegistry *CurveRegistrySession) SetCoinGasEstimates(_addr [10]common.Address, _amount [10]*big.Int) (*types.Transaction, error)

SetCoinGasEstimates is a paid mutator transaction binding the contract method 0x237f89f2.

Solidity: function set_coin_gas_estimates(address[10] _addr, uint256[10] _amount) returns()

func (*CurveRegistrySession) SetGasEstimateContract

func (_CurveRegistry *CurveRegistrySession) SetGasEstimateContract(_pool common.Address, _estimator common.Address) (*types.Transaction, error)

SetGasEstimateContract is a paid mutator transaction binding the contract method 0xca991b14.

Solidity: function set_gas_estimate_contract(address _pool, address _estimator) returns()

func (*CurveRegistrySession) SetLiquidityGauges

func (_CurveRegistry *CurveRegistrySession) SetLiquidityGauges(_pool common.Address, _liquidity_gauges [10]common.Address) (*types.Transaction, error)

SetLiquidityGauges is a paid mutator transaction binding the contract method 0xef6b9788.

Solidity: function set_liquidity_gauges(address _pool, address[10] _liquidity_gauges) returns()

func (*CurveRegistrySession) SetPoolAssetType

func (_CurveRegistry *CurveRegistrySession) SetPoolAssetType(_pool common.Address, _asset_type *big.Int) (*types.Transaction, error)

SetPoolAssetType is a paid mutator transaction binding the contract method 0x09e76774.

Solidity: function set_pool_asset_type(address _pool, uint256 _asset_type) returns()

func (*CurveRegistrySession) SetPoolGasEstimates

func (_CurveRegistry *CurveRegistrySession) SetPoolGasEstimates(_addr [5]common.Address, _amount [5][2]*big.Int) (*types.Transaction, error)

SetPoolGasEstimates is a paid mutator transaction binding the contract method 0x0733b67a.

Solidity: function set_pool_gas_estimates(address[5] _addr, uint256[2][5] _amount) returns()

type CurveRegistryTransactor

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

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

func NewCurveRegistryTransactor

func NewCurveRegistryTransactor(address common.Address, transactor bind.ContractTransactor) (*CurveRegistryTransactor, error)

NewCurveRegistryTransactor creates a new write-only instance of CurveRegistry, bound to a specific deployed contract.

func (*CurveRegistryTransactor) AddMetapool

func (_CurveRegistry *CurveRegistryTransactor) AddMetapool(opts *bind.TransactOpts, _pool common.Address, _n_coins *big.Int, _lp_token common.Address, _decimals *big.Int, _name string) (*types.Transaction, error)

AddMetapool is a paid mutator transaction binding the contract method 0xce6f94e1.

Solidity: function add_metapool(address _pool, uint256 _n_coins, address _lp_token, uint256 _decimals, string _name) returns()

func (*CurveRegistryTransactor) AddMetapool0

func (_CurveRegistry *CurveRegistryTransactor) AddMetapool0(opts *bind.TransactOpts, _pool common.Address, _n_coins *big.Int, _lp_token common.Address, _decimals *big.Int, _name string, _base_pool common.Address) (*types.Transaction, error)

AddMetapool0 is a paid mutator transaction binding the contract method 0xd2a06baf.

Solidity: function add_metapool(address _pool, uint256 _n_coins, address _lp_token, uint256 _decimals, string _name, address _base_pool) returns()

func (*CurveRegistryTransactor) AddPool

func (_CurveRegistry *CurveRegistryTransactor) AddPool(opts *bind.TransactOpts, _pool common.Address, _n_coins *big.Int, _lp_token common.Address, _rate_info [32]byte, _decimals *big.Int, _underlying_decimals *big.Int, _has_initial_A bool, _is_v1 bool, _name string) (*types.Transaction, error)

AddPool is a paid mutator transaction binding the contract method 0x99209aa1.

Solidity: function add_pool(address _pool, uint256 _n_coins, address _lp_token, bytes32 _rate_info, uint256 _decimals, uint256 _underlying_decimals, bool _has_initial_A, bool _is_v1, string _name) returns()

func (*CurveRegistryTransactor) AddPoolWithoutUnderlying

func (_CurveRegistry *CurveRegistryTransactor) AddPoolWithoutUnderlying(opts *bind.TransactOpts, _pool common.Address, _n_coins *big.Int, _lp_token common.Address, _rate_info [32]byte, _decimals *big.Int, _use_rates *big.Int, _has_initial_A bool, _is_v1 bool, _name string) (*types.Transaction, error)

AddPoolWithoutUnderlying is a paid mutator transaction binding the contract method 0xdcee86a3.

Solidity: function add_pool_without_underlying(address _pool, uint256 _n_coins, address _lp_token, bytes32 _rate_info, uint256 _decimals, uint256 _use_rates, bool _has_initial_A, bool _is_v1, string _name) returns()

func (*CurveRegistryTransactor) BatchSetPoolAssetType

func (_CurveRegistry *CurveRegistryTransactor) BatchSetPoolAssetType(opts *bind.TransactOpts, _pools [32]common.Address, _asset_types [32]*big.Int) (*types.Transaction, error)

BatchSetPoolAssetType is a paid mutator transaction binding the contract method 0x7542f078.

Solidity: function batch_set_pool_asset_type(address[32] _pools, uint256[32] _asset_types) returns()

func (*CurveRegistryTransactor) RemovePool

func (_CurveRegistry *CurveRegistryTransactor) RemovePool(opts *bind.TransactOpts, _pool common.Address) (*types.Transaction, error)

RemovePool is a paid mutator transaction binding the contract method 0x474932b0.

Solidity: function remove_pool(address _pool) returns()

func (*CurveRegistryTransactor) SetCoinGasEstimates

func (_CurveRegistry *CurveRegistryTransactor) SetCoinGasEstimates(opts *bind.TransactOpts, _addr [10]common.Address, _amount [10]*big.Int) (*types.Transaction, error)

SetCoinGasEstimates is a paid mutator transaction binding the contract method 0x237f89f2.

Solidity: function set_coin_gas_estimates(address[10] _addr, uint256[10] _amount) returns()

func (*CurveRegistryTransactor) SetGasEstimateContract

func (_CurveRegistry *CurveRegistryTransactor) SetGasEstimateContract(opts *bind.TransactOpts, _pool common.Address, _estimator common.Address) (*types.Transaction, error)

SetGasEstimateContract is a paid mutator transaction binding the contract method 0xca991b14.

Solidity: function set_gas_estimate_contract(address _pool, address _estimator) returns()

func (*CurveRegistryTransactor) SetLiquidityGauges

func (_CurveRegistry *CurveRegistryTransactor) SetLiquidityGauges(opts *bind.TransactOpts, _pool common.Address, _liquidity_gauges [10]common.Address) (*types.Transaction, error)

SetLiquidityGauges is a paid mutator transaction binding the contract method 0xef6b9788.

Solidity: function set_liquidity_gauges(address _pool, address[10] _liquidity_gauges) returns()

func (*CurveRegistryTransactor) SetPoolAssetType

func (_CurveRegistry *CurveRegistryTransactor) SetPoolAssetType(opts *bind.TransactOpts, _pool common.Address, _asset_type *big.Int) (*types.Transaction, error)

SetPoolAssetType is a paid mutator transaction binding the contract method 0x09e76774.

Solidity: function set_pool_asset_type(address _pool, uint256 _asset_type) returns()

func (*CurveRegistryTransactor) SetPoolGasEstimates

func (_CurveRegistry *CurveRegistryTransactor) SetPoolGasEstimates(opts *bind.TransactOpts, _addr [5]common.Address, _amount [5][2]*big.Int) (*types.Transaction, error)

SetPoolGasEstimates is a paid mutator transaction binding the contract method 0x0733b67a.

Solidity: function set_pool_gas_estimates(address[5] _addr, uint256[2][5] _amount) returns()

type CurveRegistryTransactorRaw

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

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

func (*CurveRegistryTransactorRaw) Transact

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

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

func (*CurveRegistryTransactorRaw) Transfer

func (_CurveRegistry *CurveRegistryTransactorRaw) 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 CurveRegistryTransactorSession

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

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

func (*CurveRegistryTransactorSession) AddMetapool

func (_CurveRegistry *CurveRegistryTransactorSession) AddMetapool(_pool common.Address, _n_coins *big.Int, _lp_token common.Address, _decimals *big.Int, _name string) (*types.Transaction, error)

AddMetapool is a paid mutator transaction binding the contract method 0xce6f94e1.

Solidity: function add_metapool(address _pool, uint256 _n_coins, address _lp_token, uint256 _decimals, string _name) returns()

func (*CurveRegistryTransactorSession) AddMetapool0

func (_CurveRegistry *CurveRegistryTransactorSession) AddMetapool0(_pool common.Address, _n_coins *big.Int, _lp_token common.Address, _decimals *big.Int, _name string, _base_pool common.Address) (*types.Transaction, error)

AddMetapool0 is a paid mutator transaction binding the contract method 0xd2a06baf.

Solidity: function add_metapool(address _pool, uint256 _n_coins, address _lp_token, uint256 _decimals, string _name, address _base_pool) returns()

func (*CurveRegistryTransactorSession) AddPool

func (_CurveRegistry *CurveRegistryTransactorSession) AddPool(_pool common.Address, _n_coins *big.Int, _lp_token common.Address, _rate_info [32]byte, _decimals *big.Int, _underlying_decimals *big.Int, _has_initial_A bool, _is_v1 bool, _name string) (*types.Transaction, error)

AddPool is a paid mutator transaction binding the contract method 0x99209aa1.

Solidity: function add_pool(address _pool, uint256 _n_coins, address _lp_token, bytes32 _rate_info, uint256 _decimals, uint256 _underlying_decimals, bool _has_initial_A, bool _is_v1, string _name) returns()

func (*CurveRegistryTransactorSession) AddPoolWithoutUnderlying

func (_CurveRegistry *CurveRegistryTransactorSession) AddPoolWithoutUnderlying(_pool common.Address, _n_coins *big.Int, _lp_token common.Address, _rate_info [32]byte, _decimals *big.Int, _use_rates *big.Int, _has_initial_A bool, _is_v1 bool, _name string) (*types.Transaction, error)

AddPoolWithoutUnderlying is a paid mutator transaction binding the contract method 0xdcee86a3.

Solidity: function add_pool_without_underlying(address _pool, uint256 _n_coins, address _lp_token, bytes32 _rate_info, uint256 _decimals, uint256 _use_rates, bool _has_initial_A, bool _is_v1, string _name) returns()

func (*CurveRegistryTransactorSession) BatchSetPoolAssetType

func (_CurveRegistry *CurveRegistryTransactorSession) BatchSetPoolAssetType(_pools [32]common.Address, _asset_types [32]*big.Int) (*types.Transaction, error)

BatchSetPoolAssetType is a paid mutator transaction binding the contract method 0x7542f078.

Solidity: function batch_set_pool_asset_type(address[32] _pools, uint256[32] _asset_types) returns()

func (*CurveRegistryTransactorSession) RemovePool

func (_CurveRegistry *CurveRegistryTransactorSession) RemovePool(_pool common.Address) (*types.Transaction, error)

RemovePool is a paid mutator transaction binding the contract method 0x474932b0.

Solidity: function remove_pool(address _pool) returns()

func (*CurveRegistryTransactorSession) SetCoinGasEstimates

func (_CurveRegistry *CurveRegistryTransactorSession) SetCoinGasEstimates(_addr [10]common.Address, _amount [10]*big.Int) (*types.Transaction, error)

SetCoinGasEstimates is a paid mutator transaction binding the contract method 0x237f89f2.

Solidity: function set_coin_gas_estimates(address[10] _addr, uint256[10] _amount) returns()

func (*CurveRegistryTransactorSession) SetGasEstimateContract

func (_CurveRegistry *CurveRegistryTransactorSession) SetGasEstimateContract(_pool common.Address, _estimator common.Address) (*types.Transaction, error)

SetGasEstimateContract is a paid mutator transaction binding the contract method 0xca991b14.

Solidity: function set_gas_estimate_contract(address _pool, address _estimator) returns()

func (*CurveRegistryTransactorSession) SetLiquidityGauges

func (_CurveRegistry *CurveRegistryTransactorSession) SetLiquidityGauges(_pool common.Address, _liquidity_gauges [10]common.Address) (*types.Transaction, error)

SetLiquidityGauges is a paid mutator transaction binding the contract method 0xef6b9788.

Solidity: function set_liquidity_gauges(address _pool, address[10] _liquidity_gauges) returns()

func (*CurveRegistryTransactorSession) SetPoolAssetType

func (_CurveRegistry *CurveRegistryTransactorSession) SetPoolAssetType(_pool common.Address, _asset_type *big.Int) (*types.Transaction, error)

SetPoolAssetType is a paid mutator transaction binding the contract method 0x09e76774.

Solidity: function set_pool_asset_type(address _pool, uint256 _asset_type) returns()

func (*CurveRegistryTransactorSession) SetPoolGasEstimates

func (_CurveRegistry *CurveRegistryTransactorSession) SetPoolGasEstimates(_addr [5]common.Address, _amount [5][2]*big.Int) (*types.Transaction, error)

SetPoolGasEstimates is a paid mutator transaction binding the contract method 0x0733b67a.

Solidity: function set_pool_gas_estimates(address[5] _addr, uint256[2][5] _amount) returns()

type CurveStakingRewards

type CurveStakingRewards struct {
	CurveStakingRewardsCaller     // Read-only binding to the contract
	CurveStakingRewardsTransactor // Write-only binding to the contract
	CurveStakingRewardsFilterer   // Log filterer for contract events
}

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

func NewCurveStakingRewards

func NewCurveStakingRewards(address common.Address, backend bind.ContractBackend) (*CurveStakingRewards, error)

NewCurveStakingRewards creates a new instance of CurveStakingRewards, bound to a specific deployed contract.

type CurveStakingRewardsCaller

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

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

func NewCurveStakingRewardsCaller

func NewCurveStakingRewardsCaller(address common.Address, caller bind.ContractCaller) (*CurveStakingRewardsCaller, error)

NewCurveStakingRewardsCaller creates a new read-only instance of CurveStakingRewards, bound to a specific deployed contract.

func (*CurveStakingRewardsCaller) BalanceOf

func (_CurveStakingRewards *CurveStakingRewardsCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address account) view returns(uint256)

func (*CurveStakingRewardsCaller) Earned

func (_CurveStakingRewards *CurveStakingRewardsCaller) Earned(opts *bind.CallOpts, account common.Address) (*big.Int, error)

Earned is a free data retrieval call binding the contract method 0x008cc262.

Solidity: function earned(address account) view returns(uint256)

func (*CurveStakingRewardsCaller) GetRewardForDuration

func (_CurveStakingRewards *CurveStakingRewardsCaller) GetRewardForDuration(opts *bind.CallOpts) (*big.Int, error)

GetRewardForDuration is a free data retrieval call binding the contract method 0x1c1f78eb.

Solidity: function getRewardForDuration() view returns(uint256)

func (*CurveStakingRewardsCaller) LastPauseTime

func (_CurveStakingRewards *CurveStakingRewardsCaller) LastPauseTime(opts *bind.CallOpts) (*big.Int, error)

LastPauseTime is a free data retrieval call binding the contract method 0x91b4ded9.

Solidity: function lastPauseTime() view returns(uint256)

func (*CurveStakingRewardsCaller) LastTimeRewardApplicable

func (_CurveStakingRewards *CurveStakingRewardsCaller) LastTimeRewardApplicable(opts *bind.CallOpts) (*big.Int, error)

LastTimeRewardApplicable is a free data retrieval call binding the contract method 0x80faa57d.

Solidity: function lastTimeRewardApplicable() view returns(uint256)

func (*CurveStakingRewardsCaller) LastUpdateTime

func (_CurveStakingRewards *CurveStakingRewardsCaller) LastUpdateTime(opts *bind.CallOpts) (*big.Int, error)

LastUpdateTime is a free data retrieval call binding the contract method 0xc8f33c91.

Solidity: function lastUpdateTime() view returns(uint256)

func (*CurveStakingRewardsCaller) NominatedOwner

func (_CurveStakingRewards *CurveStakingRewardsCaller) NominatedOwner(opts *bind.CallOpts) (common.Address, error)

NominatedOwner is a free data retrieval call binding the contract method 0x53a47bb7.

Solidity: function nominatedOwner() view returns(address)

func (*CurveStakingRewardsCaller) Owner

func (_CurveStakingRewards *CurveStakingRewardsCaller) 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 (*CurveStakingRewardsCaller) Paused

func (_CurveStakingRewards *CurveStakingRewardsCaller) Paused(opts *bind.CallOpts) (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*CurveStakingRewardsCaller) PeriodFinish

func (_CurveStakingRewards *CurveStakingRewardsCaller) PeriodFinish(opts *bind.CallOpts) (*big.Int, error)

PeriodFinish is a free data retrieval call binding the contract method 0xebe2b12b.

Solidity: function periodFinish() view returns(uint256)

func (*CurveStakingRewardsCaller) RewardPerToken

func (_CurveStakingRewards *CurveStakingRewardsCaller) RewardPerToken(opts *bind.CallOpts) (*big.Int, error)

RewardPerToken is a free data retrieval call binding the contract method 0xcd3daf9d.

Solidity: function rewardPerToken() view returns(uint256)

func (*CurveStakingRewardsCaller) RewardPerTokenStored

func (_CurveStakingRewards *CurveStakingRewardsCaller) RewardPerTokenStored(opts *bind.CallOpts) (*big.Int, error)

RewardPerTokenStored is a free data retrieval call binding the contract method 0xdf136d65.

Solidity: function rewardPerTokenStored() view returns(uint256)

func (*CurveStakingRewardsCaller) RewardRate

func (_CurveStakingRewards *CurveStakingRewardsCaller) RewardRate(opts *bind.CallOpts) (*big.Int, error)

RewardRate is a free data retrieval call binding the contract method 0x7b0a47ee.

Solidity: function rewardRate() view returns(uint256)

func (*CurveStakingRewardsCaller) Rewards

func (_CurveStakingRewards *CurveStakingRewardsCaller) Rewards(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

Rewards is a free data retrieval call binding the contract method 0x0700037d.

Solidity: function rewards(address ) view returns(uint256)

func (*CurveStakingRewardsCaller) RewardsDistribution

func (_CurveStakingRewards *CurveStakingRewardsCaller) RewardsDistribution(opts *bind.CallOpts) (common.Address, error)

RewardsDistribution is a free data retrieval call binding the contract method 0x3fc6df6e.

Solidity: function rewardsDistribution() view returns(address)

func (*CurveStakingRewardsCaller) RewardsDuration

func (_CurveStakingRewards *CurveStakingRewardsCaller) RewardsDuration(opts *bind.CallOpts) (*big.Int, error)

RewardsDuration is a free data retrieval call binding the contract method 0x386a9525.

Solidity: function rewardsDuration() view returns(uint256)

func (*CurveStakingRewardsCaller) RewardsToken

func (_CurveStakingRewards *CurveStakingRewardsCaller) RewardsToken(opts *bind.CallOpts) (common.Address, error)

RewardsToken is a free data retrieval call binding the contract method 0xd1af0c7d.

Solidity: function rewardsToken() view returns(address)

func (*CurveStakingRewardsCaller) StakingToken

func (_CurveStakingRewards *CurveStakingRewardsCaller) StakingToken(opts *bind.CallOpts) (common.Address, error)

StakingToken is a free data retrieval call binding the contract method 0x72f702f3.

Solidity: function stakingToken() view returns(address)

func (*CurveStakingRewardsCaller) TotalSupply

func (_CurveStakingRewards *CurveStakingRewardsCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*CurveStakingRewardsCaller) UserRewardPerTokenPaid

func (_CurveStakingRewards *CurveStakingRewardsCaller) UserRewardPerTokenPaid(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

UserRewardPerTokenPaid is a free data retrieval call binding the contract method 0x8b876347.

Solidity: function userRewardPerTokenPaid(address ) view returns(uint256)

type CurveStakingRewardsCallerRaw

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

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

func (*CurveStakingRewardsCallerRaw) Call

func (_CurveStakingRewards *CurveStakingRewardsCallerRaw) 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 CurveStakingRewardsCallerSession

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

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

func (*CurveStakingRewardsCallerSession) BalanceOf

func (_CurveStakingRewards *CurveStakingRewardsCallerSession) BalanceOf(account common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address account) view returns(uint256)

func (*CurveStakingRewardsCallerSession) Earned

func (_CurveStakingRewards *CurveStakingRewardsCallerSession) Earned(account common.Address) (*big.Int, error)

Earned is a free data retrieval call binding the contract method 0x008cc262.

Solidity: function earned(address account) view returns(uint256)

func (*CurveStakingRewardsCallerSession) GetRewardForDuration

func (_CurveStakingRewards *CurveStakingRewardsCallerSession) GetRewardForDuration() (*big.Int, error)

GetRewardForDuration is a free data retrieval call binding the contract method 0x1c1f78eb.

Solidity: function getRewardForDuration() view returns(uint256)

func (*CurveStakingRewardsCallerSession) LastPauseTime

func (_CurveStakingRewards *CurveStakingRewardsCallerSession) LastPauseTime() (*big.Int, error)

LastPauseTime is a free data retrieval call binding the contract method 0x91b4ded9.

Solidity: function lastPauseTime() view returns(uint256)

func (*CurveStakingRewardsCallerSession) LastTimeRewardApplicable

func (_CurveStakingRewards *CurveStakingRewardsCallerSession) LastTimeRewardApplicable() (*big.Int, error)

LastTimeRewardApplicable is a free data retrieval call binding the contract method 0x80faa57d.

Solidity: function lastTimeRewardApplicable() view returns(uint256)

func (*CurveStakingRewardsCallerSession) LastUpdateTime

func (_CurveStakingRewards *CurveStakingRewardsCallerSession) LastUpdateTime() (*big.Int, error)

LastUpdateTime is a free data retrieval call binding the contract method 0xc8f33c91.

Solidity: function lastUpdateTime() view returns(uint256)

func (*CurveStakingRewardsCallerSession) NominatedOwner

func (_CurveStakingRewards *CurveStakingRewardsCallerSession) NominatedOwner() (common.Address, error)

NominatedOwner is a free data retrieval call binding the contract method 0x53a47bb7.

Solidity: function nominatedOwner() view returns(address)

func (*CurveStakingRewardsCallerSession) Owner

func (_CurveStakingRewards *CurveStakingRewardsCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*CurveStakingRewardsCallerSession) Paused

func (_CurveStakingRewards *CurveStakingRewardsCallerSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*CurveStakingRewardsCallerSession) PeriodFinish

func (_CurveStakingRewards *CurveStakingRewardsCallerSession) PeriodFinish() (*big.Int, error)

PeriodFinish is a free data retrieval call binding the contract method 0xebe2b12b.

Solidity: function periodFinish() view returns(uint256)

func (*CurveStakingRewardsCallerSession) RewardPerToken

func (_CurveStakingRewards *CurveStakingRewardsCallerSession) RewardPerToken() (*big.Int, error)

RewardPerToken is a free data retrieval call binding the contract method 0xcd3daf9d.

Solidity: function rewardPerToken() view returns(uint256)

func (*CurveStakingRewardsCallerSession) RewardPerTokenStored

func (_CurveStakingRewards *CurveStakingRewardsCallerSession) RewardPerTokenStored() (*big.Int, error)

RewardPerTokenStored is a free data retrieval call binding the contract method 0xdf136d65.

Solidity: function rewardPerTokenStored() view returns(uint256)

func (*CurveStakingRewardsCallerSession) RewardRate

func (_CurveStakingRewards *CurveStakingRewardsCallerSession) RewardRate() (*big.Int, error)

RewardRate is a free data retrieval call binding the contract method 0x7b0a47ee.

Solidity: function rewardRate() view returns(uint256)

func (*CurveStakingRewardsCallerSession) Rewards

func (_CurveStakingRewards *CurveStakingRewardsCallerSession) Rewards(arg0 common.Address) (*big.Int, error)

Rewards is a free data retrieval call binding the contract method 0x0700037d.

Solidity: function rewards(address ) view returns(uint256)

func (*CurveStakingRewardsCallerSession) RewardsDistribution

func (_CurveStakingRewards *CurveStakingRewardsCallerSession) RewardsDistribution() (common.Address, error)

RewardsDistribution is a free data retrieval call binding the contract method 0x3fc6df6e.

Solidity: function rewardsDistribution() view returns(address)

func (*CurveStakingRewardsCallerSession) RewardsDuration

func (_CurveStakingRewards *CurveStakingRewardsCallerSession) RewardsDuration() (*big.Int, error)

RewardsDuration is a free data retrieval call binding the contract method 0x386a9525.

Solidity: function rewardsDuration() view returns(uint256)

func (*CurveStakingRewardsCallerSession) RewardsToken

func (_CurveStakingRewards *CurveStakingRewardsCallerSession) RewardsToken() (common.Address, error)

RewardsToken is a free data retrieval call binding the contract method 0xd1af0c7d.

Solidity: function rewardsToken() view returns(address)

func (*CurveStakingRewardsCallerSession) StakingToken

func (_CurveStakingRewards *CurveStakingRewardsCallerSession) StakingToken() (common.Address, error)

StakingToken is a free data retrieval call binding the contract method 0x72f702f3.

Solidity: function stakingToken() view returns(address)

func (*CurveStakingRewardsCallerSession) TotalSupply

func (_CurveStakingRewards *CurveStakingRewardsCallerSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*CurveStakingRewardsCallerSession) UserRewardPerTokenPaid

func (_CurveStakingRewards *CurveStakingRewardsCallerSession) UserRewardPerTokenPaid(arg0 common.Address) (*big.Int, error)

UserRewardPerTokenPaid is a free data retrieval call binding the contract method 0x8b876347.

Solidity: function userRewardPerTokenPaid(address ) view returns(uint256)

type CurveStakingRewardsFilterer

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

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

func NewCurveStakingRewardsFilterer

func NewCurveStakingRewardsFilterer(address common.Address, filterer bind.ContractFilterer) (*CurveStakingRewardsFilterer, error)

NewCurveStakingRewardsFilterer creates a new log filterer instance of CurveStakingRewards, bound to a specific deployed contract.

func (*CurveStakingRewardsFilterer) FilterOwnerChanged

func (_CurveStakingRewards *CurveStakingRewardsFilterer) FilterOwnerChanged(opts *bind.FilterOpts) (*CurveStakingRewardsOwnerChangedIterator, error)

FilterOwnerChanged is a free log retrieval operation binding the contract event 0xb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c.

Solidity: event OwnerChanged(address oldOwner, address newOwner)

func (*CurveStakingRewardsFilterer) FilterOwnerNominated

func (_CurveStakingRewards *CurveStakingRewardsFilterer) FilterOwnerNominated(opts *bind.FilterOpts) (*CurveStakingRewardsOwnerNominatedIterator, error)

FilterOwnerNominated is a free log retrieval operation binding the contract event 0x906a1c6bd7e3091ea86693dd029a831c19049ce77f1dce2ce0bab1cacbabce22.

Solidity: event OwnerNominated(address newOwner)

func (*CurveStakingRewardsFilterer) FilterPauseChanged

func (_CurveStakingRewards *CurveStakingRewardsFilterer) FilterPauseChanged(opts *bind.FilterOpts) (*CurveStakingRewardsPauseChangedIterator, error)

FilterPauseChanged is a free log retrieval operation binding the contract event 0x8fb6c181ee25a520cf3dd6565006ef91229fcfe5a989566c2a3b8c115570cec5.

Solidity: event PauseChanged(bool isPaused)

func (*CurveStakingRewardsFilterer) FilterRecovered

func (_CurveStakingRewards *CurveStakingRewardsFilterer) FilterRecovered(opts *bind.FilterOpts) (*CurveStakingRewardsRecoveredIterator, error)

FilterRecovered is a free log retrieval operation binding the contract event 0x8c1256b8896378cd5044f80c202f9772b9d77dc85c8a6eb51967210b09bfaa28.

Solidity: event Recovered(address token, uint256 amount)

func (*CurveStakingRewardsFilterer) FilterRewardAdded

func (_CurveStakingRewards *CurveStakingRewardsFilterer) FilterRewardAdded(opts *bind.FilterOpts) (*CurveStakingRewardsRewardAddedIterator, error)

FilterRewardAdded is a free log retrieval operation binding the contract event 0xde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d.

Solidity: event RewardAdded(uint256 reward)

func (*CurveStakingRewardsFilterer) FilterRewardPaid

func (_CurveStakingRewards *CurveStakingRewardsFilterer) FilterRewardPaid(opts *bind.FilterOpts, user []common.Address) (*CurveStakingRewardsRewardPaidIterator, error)

FilterRewardPaid is a free log retrieval operation binding the contract event 0xe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486.

Solidity: event RewardPaid(address indexed user, uint256 reward)

func (*CurveStakingRewardsFilterer) FilterRewardsDurationUpdated

func (_CurveStakingRewards *CurveStakingRewardsFilterer) FilterRewardsDurationUpdated(opts *bind.FilterOpts) (*CurveStakingRewardsRewardsDurationUpdatedIterator, error)

FilterRewardsDurationUpdated is a free log retrieval operation binding the contract event 0xfb46ca5a5e06d4540d6387b930a7c978bce0db5f449ec6b3f5d07c6e1d44f2d3.

Solidity: event RewardsDurationUpdated(uint256 newDuration)

func (*CurveStakingRewardsFilterer) FilterStaked

func (_CurveStakingRewards *CurveStakingRewardsFilterer) FilterStaked(opts *bind.FilterOpts, user []common.Address) (*CurveStakingRewardsStakedIterator, error)

FilterStaked is a free log retrieval operation binding the contract event 0x9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d.

Solidity: event Staked(address indexed user, uint256 amount)

func (*CurveStakingRewardsFilterer) FilterWithdrawn

func (_CurveStakingRewards *CurveStakingRewardsFilterer) FilterWithdrawn(opts *bind.FilterOpts, user []common.Address) (*CurveStakingRewardsWithdrawnIterator, error)

FilterWithdrawn is a free log retrieval operation binding the contract event 0x7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5.

Solidity: event Withdrawn(address indexed user, uint256 amount)

func (*CurveStakingRewardsFilterer) ParseOwnerChanged

func (_CurveStakingRewards *CurveStakingRewardsFilterer) ParseOwnerChanged(log types.Log) (*CurveStakingRewardsOwnerChanged, error)

ParseOwnerChanged is a log parse operation binding the contract event 0xb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c.

Solidity: event OwnerChanged(address oldOwner, address newOwner)

func (*CurveStakingRewardsFilterer) ParseOwnerNominated

func (_CurveStakingRewards *CurveStakingRewardsFilterer) ParseOwnerNominated(log types.Log) (*CurveStakingRewardsOwnerNominated, error)

ParseOwnerNominated is a log parse operation binding the contract event 0x906a1c6bd7e3091ea86693dd029a831c19049ce77f1dce2ce0bab1cacbabce22.

Solidity: event OwnerNominated(address newOwner)

func (*CurveStakingRewardsFilterer) ParsePauseChanged

func (_CurveStakingRewards *CurveStakingRewardsFilterer) ParsePauseChanged(log types.Log) (*CurveStakingRewardsPauseChanged, error)

ParsePauseChanged is a log parse operation binding the contract event 0x8fb6c181ee25a520cf3dd6565006ef91229fcfe5a989566c2a3b8c115570cec5.

Solidity: event PauseChanged(bool isPaused)

func (*CurveStakingRewardsFilterer) ParseRecovered

func (_CurveStakingRewards *CurveStakingRewardsFilterer) ParseRecovered(log types.Log) (*CurveStakingRewardsRecovered, error)

ParseRecovered is a log parse operation binding the contract event 0x8c1256b8896378cd5044f80c202f9772b9d77dc85c8a6eb51967210b09bfaa28.

Solidity: event Recovered(address token, uint256 amount)

func (*CurveStakingRewardsFilterer) ParseRewardAdded

func (_CurveStakingRewards *CurveStakingRewardsFilterer) ParseRewardAdded(log types.Log) (*CurveStakingRewardsRewardAdded, error)

ParseRewardAdded is a log parse operation binding the contract event 0xde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d.

Solidity: event RewardAdded(uint256 reward)

func (*CurveStakingRewardsFilterer) ParseRewardPaid

func (_CurveStakingRewards *CurveStakingRewardsFilterer) ParseRewardPaid(log types.Log) (*CurveStakingRewardsRewardPaid, error)

ParseRewardPaid is a log parse operation binding the contract event 0xe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486.

Solidity: event RewardPaid(address indexed user, uint256 reward)

func (*CurveStakingRewardsFilterer) ParseRewardsDurationUpdated

func (_CurveStakingRewards *CurveStakingRewardsFilterer) ParseRewardsDurationUpdated(log types.Log) (*CurveStakingRewardsRewardsDurationUpdated, error)

ParseRewardsDurationUpdated is a log parse operation binding the contract event 0xfb46ca5a5e06d4540d6387b930a7c978bce0db5f449ec6b3f5d07c6e1d44f2d3.

Solidity: event RewardsDurationUpdated(uint256 newDuration)

func (*CurveStakingRewardsFilterer) ParseStaked

func (_CurveStakingRewards *CurveStakingRewardsFilterer) ParseStaked(log types.Log) (*CurveStakingRewardsStaked, error)

ParseStaked is a log parse operation binding the contract event 0x9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d.

Solidity: event Staked(address indexed user, uint256 amount)

func (*CurveStakingRewardsFilterer) ParseWithdrawn

func (_CurveStakingRewards *CurveStakingRewardsFilterer) ParseWithdrawn(log types.Log) (*CurveStakingRewardsWithdrawn, error)

ParseWithdrawn is a log parse operation binding the contract event 0x7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5.

Solidity: event Withdrawn(address indexed user, uint256 amount)

func (*CurveStakingRewardsFilterer) WatchOwnerChanged

func (_CurveStakingRewards *CurveStakingRewardsFilterer) WatchOwnerChanged(opts *bind.WatchOpts, sink chan<- *CurveStakingRewardsOwnerChanged) (event.Subscription, error)

WatchOwnerChanged is a free log subscription operation binding the contract event 0xb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c.

Solidity: event OwnerChanged(address oldOwner, address newOwner)

func (*CurveStakingRewardsFilterer) WatchOwnerNominated

func (_CurveStakingRewards *CurveStakingRewardsFilterer) WatchOwnerNominated(opts *bind.WatchOpts, sink chan<- *CurveStakingRewardsOwnerNominated) (event.Subscription, error)

WatchOwnerNominated is a free log subscription operation binding the contract event 0x906a1c6bd7e3091ea86693dd029a831c19049ce77f1dce2ce0bab1cacbabce22.

Solidity: event OwnerNominated(address newOwner)

func (*CurveStakingRewardsFilterer) WatchPauseChanged

func (_CurveStakingRewards *CurveStakingRewardsFilterer) WatchPauseChanged(opts *bind.WatchOpts, sink chan<- *CurveStakingRewardsPauseChanged) (event.Subscription, error)

WatchPauseChanged is a free log subscription operation binding the contract event 0x8fb6c181ee25a520cf3dd6565006ef91229fcfe5a989566c2a3b8c115570cec5.

Solidity: event PauseChanged(bool isPaused)

func (*CurveStakingRewardsFilterer) WatchRecovered

func (_CurveStakingRewards *CurveStakingRewardsFilterer) WatchRecovered(opts *bind.WatchOpts, sink chan<- *CurveStakingRewardsRecovered) (event.Subscription, error)

WatchRecovered is a free log subscription operation binding the contract event 0x8c1256b8896378cd5044f80c202f9772b9d77dc85c8a6eb51967210b09bfaa28.

Solidity: event Recovered(address token, uint256 amount)

func (*CurveStakingRewardsFilterer) WatchRewardAdded

func (_CurveStakingRewards *CurveStakingRewardsFilterer) WatchRewardAdded(opts *bind.WatchOpts, sink chan<- *CurveStakingRewardsRewardAdded) (event.Subscription, error)

WatchRewardAdded is a free log subscription operation binding the contract event 0xde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d.

Solidity: event RewardAdded(uint256 reward)

func (*CurveStakingRewardsFilterer) WatchRewardPaid

func (_CurveStakingRewards *CurveStakingRewardsFilterer) WatchRewardPaid(opts *bind.WatchOpts, sink chan<- *CurveStakingRewardsRewardPaid, user []common.Address) (event.Subscription, error)

WatchRewardPaid is a free log subscription operation binding the contract event 0xe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486.

Solidity: event RewardPaid(address indexed user, uint256 reward)

func (*CurveStakingRewardsFilterer) WatchRewardsDurationUpdated

func (_CurveStakingRewards *CurveStakingRewardsFilterer) WatchRewardsDurationUpdated(opts *bind.WatchOpts, sink chan<- *CurveStakingRewardsRewardsDurationUpdated) (event.Subscription, error)

WatchRewardsDurationUpdated is a free log subscription operation binding the contract event 0xfb46ca5a5e06d4540d6387b930a7c978bce0db5f449ec6b3f5d07c6e1d44f2d3.

Solidity: event RewardsDurationUpdated(uint256 newDuration)

func (*CurveStakingRewardsFilterer) WatchStaked

func (_CurveStakingRewards *CurveStakingRewardsFilterer) WatchStaked(opts *bind.WatchOpts, sink chan<- *CurveStakingRewardsStaked, user []common.Address) (event.Subscription, error)

WatchStaked is a free log subscription operation binding the contract event 0x9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d.

Solidity: event Staked(address indexed user, uint256 amount)

func (*CurveStakingRewardsFilterer) WatchWithdrawn

func (_CurveStakingRewards *CurveStakingRewardsFilterer) WatchWithdrawn(opts *bind.WatchOpts, sink chan<- *CurveStakingRewardsWithdrawn, user []common.Address) (event.Subscription, error)

WatchWithdrawn is a free log subscription operation binding the contract event 0x7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5.

Solidity: event Withdrawn(address indexed user, uint256 amount)

type CurveStakingRewardsOwnerChanged

type CurveStakingRewardsOwnerChanged struct {
	OldOwner common.Address
	NewOwner common.Address
	Raw      types.Log // Blockchain specific contextual infos
}

CurveStakingRewardsOwnerChanged represents a OwnerChanged event raised by the CurveStakingRewards contract.

type CurveStakingRewardsOwnerChangedIterator

type CurveStakingRewardsOwnerChangedIterator struct {
	Event *CurveStakingRewardsOwnerChanged // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CurveStakingRewardsOwnerChangedIterator is returned from FilterOwnerChanged and is used to iterate over the raw logs and unpacked data for OwnerChanged events raised by the CurveStakingRewards contract.

func (*CurveStakingRewardsOwnerChangedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CurveStakingRewardsOwnerChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurveStakingRewardsOwnerChangedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CurveStakingRewardsOwnerNominated

type CurveStakingRewardsOwnerNominated struct {
	NewOwner common.Address
	Raw      types.Log // Blockchain specific contextual infos
}

CurveStakingRewardsOwnerNominated represents a OwnerNominated event raised by the CurveStakingRewards contract.

type CurveStakingRewardsOwnerNominatedIterator

type CurveStakingRewardsOwnerNominatedIterator struct {
	Event *CurveStakingRewardsOwnerNominated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CurveStakingRewardsOwnerNominatedIterator is returned from FilterOwnerNominated and is used to iterate over the raw logs and unpacked data for OwnerNominated events raised by the CurveStakingRewards contract.

func (*CurveStakingRewardsOwnerNominatedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CurveStakingRewardsOwnerNominatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurveStakingRewardsOwnerNominatedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CurveStakingRewardsPauseChanged

type CurveStakingRewardsPauseChanged struct {
	IsPaused bool
	Raw      types.Log // Blockchain specific contextual infos
}

CurveStakingRewardsPauseChanged represents a PauseChanged event raised by the CurveStakingRewards contract.

type CurveStakingRewardsPauseChangedIterator

type CurveStakingRewardsPauseChangedIterator struct {
	Event *CurveStakingRewardsPauseChanged // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CurveStakingRewardsPauseChangedIterator is returned from FilterPauseChanged and is used to iterate over the raw logs and unpacked data for PauseChanged events raised by the CurveStakingRewards contract.

func (*CurveStakingRewardsPauseChangedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CurveStakingRewardsPauseChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurveStakingRewardsPauseChangedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CurveStakingRewardsRaw

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

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

func (*CurveStakingRewardsRaw) Call

func (_CurveStakingRewards *CurveStakingRewardsRaw) 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 (*CurveStakingRewardsRaw) Transact

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

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

func (*CurveStakingRewardsRaw) Transfer

func (_CurveStakingRewards *CurveStakingRewardsRaw) 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 CurveStakingRewardsRecovered

type CurveStakingRewardsRecovered struct {
	Token  common.Address
	Amount *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

CurveStakingRewardsRecovered represents a Recovered event raised by the CurveStakingRewards contract.

type CurveStakingRewardsRecoveredIterator

type CurveStakingRewardsRecoveredIterator struct {
	Event *CurveStakingRewardsRecovered // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CurveStakingRewardsRecoveredIterator is returned from FilterRecovered and is used to iterate over the raw logs and unpacked data for Recovered events raised by the CurveStakingRewards contract.

func (*CurveStakingRewardsRecoveredIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CurveStakingRewardsRecoveredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurveStakingRewardsRecoveredIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CurveStakingRewardsRewardAdded

type CurveStakingRewardsRewardAdded struct {
	Reward *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

CurveStakingRewardsRewardAdded represents a RewardAdded event raised by the CurveStakingRewards contract.

type CurveStakingRewardsRewardAddedIterator

type CurveStakingRewardsRewardAddedIterator struct {
	Event *CurveStakingRewardsRewardAdded // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CurveStakingRewardsRewardAddedIterator is returned from FilterRewardAdded and is used to iterate over the raw logs and unpacked data for RewardAdded events raised by the CurveStakingRewards contract.

func (*CurveStakingRewardsRewardAddedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CurveStakingRewardsRewardAddedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurveStakingRewardsRewardAddedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CurveStakingRewardsRewardPaid

type CurveStakingRewardsRewardPaid struct {
	User   common.Address
	Reward *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

CurveStakingRewardsRewardPaid represents a RewardPaid event raised by the CurveStakingRewards contract.

type CurveStakingRewardsRewardPaidIterator

type CurveStakingRewardsRewardPaidIterator struct {
	Event *CurveStakingRewardsRewardPaid // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CurveStakingRewardsRewardPaidIterator is returned from FilterRewardPaid and is used to iterate over the raw logs and unpacked data for RewardPaid events raised by the CurveStakingRewards contract.

func (*CurveStakingRewardsRewardPaidIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CurveStakingRewardsRewardPaidIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurveStakingRewardsRewardPaidIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CurveStakingRewardsRewardsDurationUpdated

type CurveStakingRewardsRewardsDurationUpdated struct {
	NewDuration *big.Int
	Raw         types.Log // Blockchain specific contextual infos
}

CurveStakingRewardsRewardsDurationUpdated represents a RewardsDurationUpdated event raised by the CurveStakingRewards contract.

type CurveStakingRewardsRewardsDurationUpdatedIterator

type CurveStakingRewardsRewardsDurationUpdatedIterator struct {
	Event *CurveStakingRewardsRewardsDurationUpdated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CurveStakingRewardsRewardsDurationUpdatedIterator is returned from FilterRewardsDurationUpdated and is used to iterate over the raw logs and unpacked data for RewardsDurationUpdated events raised by the CurveStakingRewards contract.

func (*CurveStakingRewardsRewardsDurationUpdatedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CurveStakingRewardsRewardsDurationUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurveStakingRewardsRewardsDurationUpdatedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CurveStakingRewardsSession

type CurveStakingRewardsSession struct {
	Contract     *CurveStakingRewards // 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
}

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

func (*CurveStakingRewardsSession) AcceptOwnership

func (_CurveStakingRewards *CurveStakingRewardsSession) AcceptOwnership() (*types.Transaction, error)

AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.

Solidity: function acceptOwnership() returns()

func (*CurveStakingRewardsSession) BalanceOf

func (_CurveStakingRewards *CurveStakingRewardsSession) BalanceOf(account common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address account) view returns(uint256)

func (*CurveStakingRewardsSession) Earned

func (_CurveStakingRewards *CurveStakingRewardsSession) Earned(account common.Address) (*big.Int, error)

Earned is a free data retrieval call binding the contract method 0x008cc262.

Solidity: function earned(address account) view returns(uint256)

func (*CurveStakingRewardsSession) Exit

func (_CurveStakingRewards *CurveStakingRewardsSession) Exit() (*types.Transaction, error)

Exit is a paid mutator transaction binding the contract method 0xe9fad8ee.

Solidity: function exit() returns()

func (*CurveStakingRewardsSession) GetReward

func (_CurveStakingRewards *CurveStakingRewardsSession) GetReward() (*types.Transaction, error)

GetReward is a paid mutator transaction binding the contract method 0x3d18b912.

Solidity: function getReward() returns()

func (*CurveStakingRewardsSession) GetRewardForDuration

func (_CurveStakingRewards *CurveStakingRewardsSession) GetRewardForDuration() (*big.Int, error)

GetRewardForDuration is a free data retrieval call binding the contract method 0x1c1f78eb.

Solidity: function getRewardForDuration() view returns(uint256)

func (*CurveStakingRewardsSession) LastPauseTime

func (_CurveStakingRewards *CurveStakingRewardsSession) LastPauseTime() (*big.Int, error)

LastPauseTime is a free data retrieval call binding the contract method 0x91b4ded9.

Solidity: function lastPauseTime() view returns(uint256)

func (*CurveStakingRewardsSession) LastTimeRewardApplicable

func (_CurveStakingRewards *CurveStakingRewardsSession) LastTimeRewardApplicable() (*big.Int, error)

LastTimeRewardApplicable is a free data retrieval call binding the contract method 0x80faa57d.

Solidity: function lastTimeRewardApplicable() view returns(uint256)

func (*CurveStakingRewardsSession) LastUpdateTime

func (_CurveStakingRewards *CurveStakingRewardsSession) LastUpdateTime() (*big.Int, error)

LastUpdateTime is a free data retrieval call binding the contract method 0xc8f33c91.

Solidity: function lastUpdateTime() view returns(uint256)

func (*CurveStakingRewardsSession) NominateNewOwner

func (_CurveStakingRewards *CurveStakingRewardsSession) NominateNewOwner(_owner common.Address) (*types.Transaction, error)

NominateNewOwner is a paid mutator transaction binding the contract method 0x1627540c.

Solidity: function nominateNewOwner(address _owner) returns()

func (*CurveStakingRewardsSession) NominatedOwner

func (_CurveStakingRewards *CurveStakingRewardsSession) NominatedOwner() (common.Address, error)

NominatedOwner is a free data retrieval call binding the contract method 0x53a47bb7.

Solidity: function nominatedOwner() view returns(address)

func (*CurveStakingRewardsSession) NotifyRewardAmount

func (_CurveStakingRewards *CurveStakingRewardsSession) NotifyRewardAmount(reward *big.Int, rewardHolder common.Address) (*types.Transaction, error)

NotifyRewardAmount is a paid mutator transaction binding the contract method 0x68d53c43.

Solidity: function notifyRewardAmount(uint256 reward, address rewardHolder) returns()

func (*CurveStakingRewardsSession) Owner

func (_CurveStakingRewards *CurveStakingRewardsSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*CurveStakingRewardsSession) Paused

func (_CurveStakingRewards *CurveStakingRewardsSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*CurveStakingRewardsSession) PeriodFinish

func (_CurveStakingRewards *CurveStakingRewardsSession) PeriodFinish() (*big.Int, error)

PeriodFinish is a free data retrieval call binding the contract method 0xebe2b12b.

Solidity: function periodFinish() view returns(uint256)

func (*CurveStakingRewardsSession) RecoverERC20

func (_CurveStakingRewards *CurveStakingRewardsSession) RecoverERC20(tokenAddress common.Address, tokenAmount *big.Int) (*types.Transaction, error)

RecoverERC20 is a paid mutator transaction binding the contract method 0x8980f11f.

Solidity: function recoverERC20(address tokenAddress, uint256 tokenAmount) returns()

func (*CurveStakingRewardsSession) RewardPerToken

func (_CurveStakingRewards *CurveStakingRewardsSession) RewardPerToken() (*big.Int, error)

RewardPerToken is a free data retrieval call binding the contract method 0xcd3daf9d.

Solidity: function rewardPerToken() view returns(uint256)

func (*CurveStakingRewardsSession) RewardPerTokenStored

func (_CurveStakingRewards *CurveStakingRewardsSession) RewardPerTokenStored() (*big.Int, error)

RewardPerTokenStored is a free data retrieval call binding the contract method 0xdf136d65.

Solidity: function rewardPerTokenStored() view returns(uint256)

func (*CurveStakingRewardsSession) RewardRate

func (_CurveStakingRewards *CurveStakingRewardsSession) RewardRate() (*big.Int, error)

RewardRate is a free data retrieval call binding the contract method 0x7b0a47ee.

Solidity: function rewardRate() view returns(uint256)

func (*CurveStakingRewardsSession) Rewards

func (_CurveStakingRewards *CurveStakingRewardsSession) Rewards(arg0 common.Address) (*big.Int, error)

Rewards is a free data retrieval call binding the contract method 0x0700037d.

Solidity: function rewards(address ) view returns(uint256)

func (*CurveStakingRewardsSession) RewardsDistribution

func (_CurveStakingRewards *CurveStakingRewardsSession) RewardsDistribution() (common.Address, error)

RewardsDistribution is a free data retrieval call binding the contract method 0x3fc6df6e.

Solidity: function rewardsDistribution() view returns(address)

func (*CurveStakingRewardsSession) RewardsDuration

func (_CurveStakingRewards *CurveStakingRewardsSession) RewardsDuration() (*big.Int, error)

RewardsDuration is a free data retrieval call binding the contract method 0x386a9525.

Solidity: function rewardsDuration() view returns(uint256)

func (*CurveStakingRewardsSession) RewardsToken

func (_CurveStakingRewards *CurveStakingRewardsSession) RewardsToken() (common.Address, error)

RewardsToken is a free data retrieval call binding the contract method 0xd1af0c7d.

Solidity: function rewardsToken() view returns(address)

func (*CurveStakingRewardsSession) SetPaused

func (_CurveStakingRewards *CurveStakingRewardsSession) SetPaused(_paused bool) (*types.Transaction, error)

SetPaused is a paid mutator transaction binding the contract method 0x16c38b3c.

Solidity: function setPaused(bool _paused) returns()

func (*CurveStakingRewardsSession) SetRewardsDistribution

func (_CurveStakingRewards *CurveStakingRewardsSession) SetRewardsDistribution(_rewardsDistribution common.Address) (*types.Transaction, error)

SetRewardsDistribution is a paid mutator transaction binding the contract method 0x19762143.

Solidity: function setRewardsDistribution(address _rewardsDistribution) returns()

func (*CurveStakingRewardsSession) SetRewardsDuration

func (_CurveStakingRewards *CurveStakingRewardsSession) SetRewardsDuration(_rewardsDuration *big.Int) (*types.Transaction, error)

SetRewardsDuration is a paid mutator transaction binding the contract method 0xcc1a378f.

Solidity: function setRewardsDuration(uint256 _rewardsDuration) returns()

func (*CurveStakingRewardsSession) Stake

func (_CurveStakingRewards *CurveStakingRewardsSession) Stake(amount *big.Int) (*types.Transaction, error)

Stake is a paid mutator transaction binding the contract method 0xa694fc3a.

Solidity: function stake(uint256 amount) returns()

func (*CurveStakingRewardsSession) StakingToken

func (_CurveStakingRewards *CurveStakingRewardsSession) StakingToken() (common.Address, error)

StakingToken is a free data retrieval call binding the contract method 0x72f702f3.

Solidity: function stakingToken() view returns(address)

func (*CurveStakingRewardsSession) TotalSupply

func (_CurveStakingRewards *CurveStakingRewardsSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*CurveStakingRewardsSession) UserRewardPerTokenPaid

func (_CurveStakingRewards *CurveStakingRewardsSession) UserRewardPerTokenPaid(arg0 common.Address) (*big.Int, error)

UserRewardPerTokenPaid is a free data retrieval call binding the contract method 0x8b876347.

Solidity: function userRewardPerTokenPaid(address ) view returns(uint256)

func (*CurveStakingRewardsSession) Withdraw

func (_CurveStakingRewards *CurveStakingRewardsSession) Withdraw(amount *big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x2e1a7d4d.

Solidity: function withdraw(uint256 amount) returns()

type CurveStakingRewardsStaked

type CurveStakingRewardsStaked struct {
	User   common.Address
	Amount *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

CurveStakingRewardsStaked represents a Staked event raised by the CurveStakingRewards contract.

type CurveStakingRewardsStakedIterator

type CurveStakingRewardsStakedIterator struct {
	Event *CurveStakingRewardsStaked // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CurveStakingRewardsStakedIterator is returned from FilterStaked and is used to iterate over the raw logs and unpacked data for Staked events raised by the CurveStakingRewards contract.

func (*CurveStakingRewardsStakedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CurveStakingRewardsStakedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurveStakingRewardsStakedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CurveStakingRewardsTransactor

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

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

func NewCurveStakingRewardsTransactor

func NewCurveStakingRewardsTransactor(address common.Address, transactor bind.ContractTransactor) (*CurveStakingRewardsTransactor, error)

NewCurveStakingRewardsTransactor creates a new write-only instance of CurveStakingRewards, bound to a specific deployed contract.

func (*CurveStakingRewardsTransactor) AcceptOwnership

func (_CurveStakingRewards *CurveStakingRewardsTransactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.

Solidity: function acceptOwnership() returns()

func (*CurveStakingRewardsTransactor) Exit

func (_CurveStakingRewards *CurveStakingRewardsTransactor) Exit(opts *bind.TransactOpts) (*types.Transaction, error)

Exit is a paid mutator transaction binding the contract method 0xe9fad8ee.

Solidity: function exit() returns()

func (*CurveStakingRewardsTransactor) GetReward

func (_CurveStakingRewards *CurveStakingRewardsTransactor) GetReward(opts *bind.TransactOpts) (*types.Transaction, error)

GetReward is a paid mutator transaction binding the contract method 0x3d18b912.

Solidity: function getReward() returns()

func (*CurveStakingRewardsTransactor) NominateNewOwner

func (_CurveStakingRewards *CurveStakingRewardsTransactor) NominateNewOwner(opts *bind.TransactOpts, _owner common.Address) (*types.Transaction, error)

NominateNewOwner is a paid mutator transaction binding the contract method 0x1627540c.

Solidity: function nominateNewOwner(address _owner) returns()

func (*CurveStakingRewardsTransactor) NotifyRewardAmount

func (_CurveStakingRewards *CurveStakingRewardsTransactor) NotifyRewardAmount(opts *bind.TransactOpts, reward *big.Int, rewardHolder common.Address) (*types.Transaction, error)

NotifyRewardAmount is a paid mutator transaction binding the contract method 0x68d53c43.

Solidity: function notifyRewardAmount(uint256 reward, address rewardHolder) returns()

func (*CurveStakingRewardsTransactor) RecoverERC20

func (_CurveStakingRewards *CurveStakingRewardsTransactor) RecoverERC20(opts *bind.TransactOpts, tokenAddress common.Address, tokenAmount *big.Int) (*types.Transaction, error)

RecoverERC20 is a paid mutator transaction binding the contract method 0x8980f11f.

Solidity: function recoverERC20(address tokenAddress, uint256 tokenAmount) returns()

func (*CurveStakingRewardsTransactor) SetPaused

func (_CurveStakingRewards *CurveStakingRewardsTransactor) SetPaused(opts *bind.TransactOpts, _paused bool) (*types.Transaction, error)

SetPaused is a paid mutator transaction binding the contract method 0x16c38b3c.

Solidity: function setPaused(bool _paused) returns()

func (*CurveStakingRewardsTransactor) SetRewardsDistribution

func (_CurveStakingRewards *CurveStakingRewardsTransactor) SetRewardsDistribution(opts *bind.TransactOpts, _rewardsDistribution common.Address) (*types.Transaction, error)

SetRewardsDistribution is a paid mutator transaction binding the contract method 0x19762143.

Solidity: function setRewardsDistribution(address _rewardsDistribution) returns()

func (*CurveStakingRewardsTransactor) SetRewardsDuration

func (_CurveStakingRewards *CurveStakingRewardsTransactor) SetRewardsDuration(opts *bind.TransactOpts, _rewardsDuration *big.Int) (*types.Transaction, error)

SetRewardsDuration is a paid mutator transaction binding the contract method 0xcc1a378f.

Solidity: function setRewardsDuration(uint256 _rewardsDuration) returns()

func (*CurveStakingRewardsTransactor) Stake

func (_CurveStakingRewards *CurveStakingRewardsTransactor) Stake(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)

Stake is a paid mutator transaction binding the contract method 0xa694fc3a.

Solidity: function stake(uint256 amount) returns()

func (*CurveStakingRewardsTransactor) Withdraw

func (_CurveStakingRewards *CurveStakingRewardsTransactor) Withdraw(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x2e1a7d4d.

Solidity: function withdraw(uint256 amount) returns()

type CurveStakingRewardsTransactorRaw

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

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

func (*CurveStakingRewardsTransactorRaw) Transact

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

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

func (*CurveStakingRewardsTransactorRaw) Transfer

func (_CurveStakingRewards *CurveStakingRewardsTransactorRaw) 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 CurveStakingRewardsTransactorSession

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

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

func (*CurveStakingRewardsTransactorSession) AcceptOwnership

func (_CurveStakingRewards *CurveStakingRewardsTransactorSession) AcceptOwnership() (*types.Transaction, error)

AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.

Solidity: function acceptOwnership() returns()

func (*CurveStakingRewardsTransactorSession) Exit

func (_CurveStakingRewards *CurveStakingRewardsTransactorSession) Exit() (*types.Transaction, error)

Exit is a paid mutator transaction binding the contract method 0xe9fad8ee.

Solidity: function exit() returns()

func (*CurveStakingRewardsTransactorSession) GetReward

func (_CurveStakingRewards *CurveStakingRewardsTransactorSession) GetReward() (*types.Transaction, error)

GetReward is a paid mutator transaction binding the contract method 0x3d18b912.

Solidity: function getReward() returns()

func (*CurveStakingRewardsTransactorSession) NominateNewOwner

func (_CurveStakingRewards *CurveStakingRewardsTransactorSession) NominateNewOwner(_owner common.Address) (*types.Transaction, error)

NominateNewOwner is a paid mutator transaction binding the contract method 0x1627540c.

Solidity: function nominateNewOwner(address _owner) returns()

func (*CurveStakingRewardsTransactorSession) NotifyRewardAmount

func (_CurveStakingRewards *CurveStakingRewardsTransactorSession) NotifyRewardAmount(reward *big.Int, rewardHolder common.Address) (*types.Transaction, error)

NotifyRewardAmount is a paid mutator transaction binding the contract method 0x68d53c43.

Solidity: function notifyRewardAmount(uint256 reward, address rewardHolder) returns()

func (*CurveStakingRewardsTransactorSession) RecoverERC20

func (_CurveStakingRewards *CurveStakingRewardsTransactorSession) RecoverERC20(tokenAddress common.Address, tokenAmount *big.Int) (*types.Transaction, error)

RecoverERC20 is a paid mutator transaction binding the contract method 0x8980f11f.

Solidity: function recoverERC20(address tokenAddress, uint256 tokenAmount) returns()

func (*CurveStakingRewardsTransactorSession) SetPaused

func (_CurveStakingRewards *CurveStakingRewardsTransactorSession) SetPaused(_paused bool) (*types.Transaction, error)

SetPaused is a paid mutator transaction binding the contract method 0x16c38b3c.

Solidity: function setPaused(bool _paused) returns()

func (*CurveStakingRewardsTransactorSession) SetRewardsDistribution

func (_CurveStakingRewards *CurveStakingRewardsTransactorSession) SetRewardsDistribution(_rewardsDistribution common.Address) (*types.Transaction, error)

SetRewardsDistribution is a paid mutator transaction binding the contract method 0x19762143.

Solidity: function setRewardsDistribution(address _rewardsDistribution) returns()

func (*CurveStakingRewardsTransactorSession) SetRewardsDuration

func (_CurveStakingRewards *CurveStakingRewardsTransactorSession) SetRewardsDuration(_rewardsDuration *big.Int) (*types.Transaction, error)

SetRewardsDuration is a paid mutator transaction binding the contract method 0xcc1a378f.

Solidity: function setRewardsDuration(uint256 _rewardsDuration) returns()

func (*CurveStakingRewardsTransactorSession) Stake

func (_CurveStakingRewards *CurveStakingRewardsTransactorSession) Stake(amount *big.Int) (*types.Transaction, error)

Stake is a paid mutator transaction binding the contract method 0xa694fc3a.

Solidity: function stake(uint256 amount) returns()

func (*CurveStakingRewardsTransactorSession) Withdraw

func (_CurveStakingRewards *CurveStakingRewardsTransactorSession) Withdraw(amount *big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x2e1a7d4d.

Solidity: function withdraw(uint256 amount) returns()

type CurveStakingRewardsWithdrawn

type CurveStakingRewardsWithdrawn struct {
	User   common.Address
	Amount *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

CurveStakingRewardsWithdrawn represents a Withdrawn event raised by the CurveStakingRewards contract.

type CurveStakingRewardsWithdrawnIterator

type CurveStakingRewardsWithdrawnIterator struct {
	Event *CurveStakingRewardsWithdrawn // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CurveStakingRewardsWithdrawnIterator is returned from FilterWithdrawn and is used to iterate over the raw logs and unpacked data for Withdrawn events raised by the CurveStakingRewards contract.

func (*CurveStakingRewardsWithdrawnIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CurveStakingRewardsWithdrawnIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurveStakingRewardsWithdrawnIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CurveVecrv

type CurveVecrv struct {
	CurveVecrvCaller     // Read-only binding to the contract
	CurveVecrvTransactor // Write-only binding to the contract
	CurveVecrvFilterer   // Log filterer for contract events
}

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

func NewCurveVecrv

func NewCurveVecrv(address common.Address, backend bind.ContractBackend) (*CurveVecrv, error)

NewCurveVecrv creates a new instance of CurveVecrv, bound to a specific deployed contract.

type CurveVecrvApplyOwnership

type CurveVecrvApplyOwnership struct {
	Admin common.Address
	Raw   types.Log // Blockchain specific contextual infos
}

CurveVecrvApplyOwnership represents a ApplyOwnership event raised by the CurveVecrv contract.

type CurveVecrvApplyOwnershipIterator

type CurveVecrvApplyOwnershipIterator struct {
	Event *CurveVecrvApplyOwnership // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CurveVecrvApplyOwnershipIterator is returned from FilterApplyOwnership and is used to iterate over the raw logs and unpacked data for ApplyOwnership events raised by the CurveVecrv contract.

func (*CurveVecrvApplyOwnershipIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CurveVecrvApplyOwnershipIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurveVecrvApplyOwnershipIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CurveVecrvCaller

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

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

func NewCurveVecrvCaller

func NewCurveVecrvCaller(address common.Address, caller bind.ContractCaller) (*CurveVecrvCaller, error)

NewCurveVecrvCaller creates a new read-only instance of CurveVecrv, bound to a specific deployed contract.

func (*CurveVecrvCaller) Admin

func (_CurveVecrv *CurveVecrvCaller) Admin(opts *bind.CallOpts) (common.Address, error)

Admin is a free data retrieval call binding the contract method 0xf851a440.

Solidity: function admin() view returns(address)

func (*CurveVecrvCaller) BalanceOf

func (_CurveVecrv *CurveVecrvCaller) BalanceOf(opts *bind.CallOpts, addr common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address addr) view returns(uint256)

func (*CurveVecrvCaller) BalanceOf0

func (_CurveVecrv *CurveVecrvCaller) BalanceOf0(opts *bind.CallOpts, addr common.Address, _t *big.Int) (*big.Int, error)

BalanceOf0 is a free data retrieval call binding the contract method 0x00fdd58e.

Solidity: function balanceOf(address addr, uint256 _t) view returns(uint256)

func (*CurveVecrvCaller) BalanceOfAt

func (_CurveVecrv *CurveVecrvCaller) BalanceOfAt(opts *bind.CallOpts, addr common.Address, _block *big.Int) (*big.Int, error)

BalanceOfAt is a free data retrieval call binding the contract method 0x4ee2cd7e.

Solidity: function balanceOfAt(address addr, uint256 _block) view returns(uint256)

func (*CurveVecrvCaller) Controller

func (_CurveVecrv *CurveVecrvCaller) Controller(opts *bind.CallOpts) (common.Address, error)

Controller is a free data retrieval call binding the contract method 0xf77c4791.

Solidity: function controller() view returns(address)

func (*CurveVecrvCaller) Decimals

func (_CurveVecrv *CurveVecrvCaller) Decimals(opts *bind.CallOpts) (*big.Int, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint256)

func (*CurveVecrvCaller) Epoch

func (_CurveVecrv *CurveVecrvCaller) Epoch(opts *bind.CallOpts) (*big.Int, error)

Epoch is a free data retrieval call binding the contract method 0x900cf0cf.

Solidity: function epoch() view returns(uint256)

func (*CurveVecrvCaller) FutureAdmin

func (_CurveVecrv *CurveVecrvCaller) FutureAdmin(opts *bind.CallOpts) (common.Address, error)

FutureAdmin is a free data retrieval call binding the contract method 0x17f7182a.

Solidity: function future_admin() view returns(address)

func (*CurveVecrvCaller) FutureSmartWalletChecker

func (_CurveVecrv *CurveVecrvCaller) FutureSmartWalletChecker(opts *bind.CallOpts) (common.Address, error)

FutureSmartWalletChecker is a free data retrieval call binding the contract method 0x8ff36fd1.

Solidity: function future_smart_wallet_checker() view returns(address)

func (*CurveVecrvCaller) GetLastUserSlope

func (_CurveVecrv *CurveVecrvCaller) GetLastUserSlope(opts *bind.CallOpts, addr common.Address) (*big.Int, error)

GetLastUserSlope is a free data retrieval call binding the contract method 0x7c74a174.

Solidity: function get_last_user_slope(address addr) view returns(int128)

func (*CurveVecrvCaller) Locked

func (_CurveVecrv *CurveVecrvCaller) Locked(opts *bind.CallOpts, arg0 common.Address) (struct {
	Amount *big.Int
	End    *big.Int
}, error)

Locked is a free data retrieval call binding the contract method 0xcbf9fe5f.

Solidity: function locked(address arg0) view returns(int128 amount, uint256 end)

func (*CurveVecrvCaller) LockedEnd

func (_CurveVecrv *CurveVecrvCaller) LockedEnd(opts *bind.CallOpts, _addr common.Address) (*big.Int, error)

LockedEnd is a free data retrieval call binding the contract method 0xadc63589.

Solidity: function locked__end(address _addr) view returns(uint256)

func (*CurveVecrvCaller) Name

func (_CurveVecrv *CurveVecrvCaller) Name(opts *bind.CallOpts) (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*CurveVecrvCaller) PointHistory

func (_CurveVecrv *CurveVecrvCaller) PointHistory(opts *bind.CallOpts, arg0 *big.Int) (struct {
	Bias  *big.Int
	Slope *big.Int
	Ts    *big.Int
	Blk   *big.Int
}, error)

PointHistory is a free data retrieval call binding the contract method 0xd1febfb9.

Solidity: function point_history(uint256 arg0) view returns(int128 bias, int128 slope, uint256 ts, uint256 blk)

func (*CurveVecrvCaller) SlopeChanges

func (_CurveVecrv *CurveVecrvCaller) SlopeChanges(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)

SlopeChanges is a free data retrieval call binding the contract method 0x71197484.

Solidity: function slope_changes(uint256 arg0) view returns(int128)

func (*CurveVecrvCaller) SmartWalletChecker

func (_CurveVecrv *CurveVecrvCaller) SmartWalletChecker(opts *bind.CallOpts) (common.Address, error)

SmartWalletChecker is a free data retrieval call binding the contract method 0x7175d4f7.

Solidity: function smart_wallet_checker() view returns(address)

func (*CurveVecrvCaller) Supply

func (_CurveVecrv *CurveVecrvCaller) Supply(opts *bind.CallOpts) (*big.Int, error)

Supply is a free data retrieval call binding the contract method 0x047fc9aa.

Solidity: function supply() view returns(uint256)

func (*CurveVecrvCaller) Symbol

func (_CurveVecrv *CurveVecrvCaller) Symbol(opts *bind.CallOpts) (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*CurveVecrvCaller) Token

func (_CurveVecrv *CurveVecrvCaller) 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 (*CurveVecrvCaller) TotalSupply

func (_CurveVecrv *CurveVecrvCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*CurveVecrvCaller) TotalSupply0

func (_CurveVecrv *CurveVecrvCaller) TotalSupply0(opts *bind.CallOpts, t *big.Int) (*big.Int, error)

TotalSupply0 is a free data retrieval call binding the contract method 0xbd85b039.

Solidity: function totalSupply(uint256 t) view returns(uint256)

func (*CurveVecrvCaller) TotalSupplyAt

func (_CurveVecrv *CurveVecrvCaller) TotalSupplyAt(opts *bind.CallOpts, _block *big.Int) (*big.Int, error)

TotalSupplyAt is a free data retrieval call binding the contract method 0x981b24d0.

Solidity: function totalSupplyAt(uint256 _block) view returns(uint256)

func (*CurveVecrvCaller) TransfersEnabled

func (_CurveVecrv *CurveVecrvCaller) TransfersEnabled(opts *bind.CallOpts) (bool, error)

TransfersEnabled is a free data retrieval call binding the contract method 0xbef97c87.

Solidity: function transfersEnabled() view returns(bool)

func (*CurveVecrvCaller) UserPointEpoch

func (_CurveVecrv *CurveVecrvCaller) UserPointEpoch(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

UserPointEpoch is a free data retrieval call binding the contract method 0x010ae757.

Solidity: function user_point_epoch(address arg0) view returns(uint256)

func (*CurveVecrvCaller) UserPointHistory

func (_CurveVecrv *CurveVecrvCaller) UserPointHistory(opts *bind.CallOpts, arg0 common.Address, arg1 *big.Int) (struct {
	Bias  *big.Int
	Slope *big.Int
	Ts    *big.Int
	Blk   *big.Int
}, error)

UserPointHistory is a free data retrieval call binding the contract method 0x28d09d47.

Solidity: function user_point_history(address arg0, uint256 arg1) view returns(int128 bias, int128 slope, uint256 ts, uint256 blk)

func (*CurveVecrvCaller) UserPointHistoryTs

func (_CurveVecrv *CurveVecrvCaller) UserPointHistoryTs(opts *bind.CallOpts, _addr common.Address, _idx *big.Int) (*big.Int, error)

UserPointHistoryTs is a free data retrieval call binding the contract method 0xda020a18.

Solidity: function user_point_history__ts(address _addr, uint256 _idx) view returns(uint256)

func (*CurveVecrvCaller) Version

func (_CurveVecrv *CurveVecrvCaller) Version(opts *bind.CallOpts) (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(string)

type CurveVecrvCallerRaw

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

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

func (*CurveVecrvCallerRaw) Call

func (_CurveVecrv *CurveVecrvCallerRaw) 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 CurveVecrvCallerSession

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

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

func (*CurveVecrvCallerSession) Admin

func (_CurveVecrv *CurveVecrvCallerSession) Admin() (common.Address, error)

Admin is a free data retrieval call binding the contract method 0xf851a440.

Solidity: function admin() view returns(address)

func (*CurveVecrvCallerSession) BalanceOf

func (_CurveVecrv *CurveVecrvCallerSession) BalanceOf(addr common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address addr) view returns(uint256)

func (*CurveVecrvCallerSession) BalanceOf0

func (_CurveVecrv *CurveVecrvCallerSession) BalanceOf0(addr common.Address, _t *big.Int) (*big.Int, error)

BalanceOf0 is a free data retrieval call binding the contract method 0x00fdd58e.

Solidity: function balanceOf(address addr, uint256 _t) view returns(uint256)

func (*CurveVecrvCallerSession) BalanceOfAt

func (_CurveVecrv *CurveVecrvCallerSession) BalanceOfAt(addr common.Address, _block *big.Int) (*big.Int, error)

BalanceOfAt is a free data retrieval call binding the contract method 0x4ee2cd7e.

Solidity: function balanceOfAt(address addr, uint256 _block) view returns(uint256)

func (*CurveVecrvCallerSession) Controller

func (_CurveVecrv *CurveVecrvCallerSession) Controller() (common.Address, error)

Controller is a free data retrieval call binding the contract method 0xf77c4791.

Solidity: function controller() view returns(address)

func (*CurveVecrvCallerSession) Decimals

func (_CurveVecrv *CurveVecrvCallerSession) Decimals() (*big.Int, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint256)

func (*CurveVecrvCallerSession) Epoch

func (_CurveVecrv *CurveVecrvCallerSession) Epoch() (*big.Int, error)

Epoch is a free data retrieval call binding the contract method 0x900cf0cf.

Solidity: function epoch() view returns(uint256)

func (*CurveVecrvCallerSession) FutureAdmin

func (_CurveVecrv *CurveVecrvCallerSession) FutureAdmin() (common.Address, error)

FutureAdmin is a free data retrieval call binding the contract method 0x17f7182a.

Solidity: function future_admin() view returns(address)

func (*CurveVecrvCallerSession) FutureSmartWalletChecker

func (_CurveVecrv *CurveVecrvCallerSession) FutureSmartWalletChecker() (common.Address, error)

FutureSmartWalletChecker is a free data retrieval call binding the contract method 0x8ff36fd1.

Solidity: function future_smart_wallet_checker() view returns(address)

func (*CurveVecrvCallerSession) GetLastUserSlope

func (_CurveVecrv *CurveVecrvCallerSession) GetLastUserSlope(addr common.Address) (*big.Int, error)

GetLastUserSlope is a free data retrieval call binding the contract method 0x7c74a174.

Solidity: function get_last_user_slope(address addr) view returns(int128)

func (*CurveVecrvCallerSession) Locked

func (_CurveVecrv *CurveVecrvCallerSession) Locked(arg0 common.Address) (struct {
	Amount *big.Int
	End    *big.Int
}, error)

Locked is a free data retrieval call binding the contract method 0xcbf9fe5f.

Solidity: function locked(address arg0) view returns(int128 amount, uint256 end)

func (*CurveVecrvCallerSession) LockedEnd

func (_CurveVecrv *CurveVecrvCallerSession) LockedEnd(_addr common.Address) (*big.Int, error)

LockedEnd is a free data retrieval call binding the contract method 0xadc63589.

Solidity: function locked__end(address _addr) view returns(uint256)

func (*CurveVecrvCallerSession) Name

func (_CurveVecrv *CurveVecrvCallerSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*CurveVecrvCallerSession) PointHistory

func (_CurveVecrv *CurveVecrvCallerSession) PointHistory(arg0 *big.Int) (struct {
	Bias  *big.Int
	Slope *big.Int
	Ts    *big.Int
	Blk   *big.Int
}, error)

PointHistory is a free data retrieval call binding the contract method 0xd1febfb9.

Solidity: function point_history(uint256 arg0) view returns(int128 bias, int128 slope, uint256 ts, uint256 blk)

func (*CurveVecrvCallerSession) SlopeChanges

func (_CurveVecrv *CurveVecrvCallerSession) SlopeChanges(arg0 *big.Int) (*big.Int, error)

SlopeChanges is a free data retrieval call binding the contract method 0x71197484.

Solidity: function slope_changes(uint256 arg0) view returns(int128)

func (*CurveVecrvCallerSession) SmartWalletChecker

func (_CurveVecrv *CurveVecrvCallerSession) SmartWalletChecker() (common.Address, error)

SmartWalletChecker is a free data retrieval call binding the contract method 0x7175d4f7.

Solidity: function smart_wallet_checker() view returns(address)

func (*CurveVecrvCallerSession) Supply

func (_CurveVecrv *CurveVecrvCallerSession) Supply() (*big.Int, error)

Supply is a free data retrieval call binding the contract method 0x047fc9aa.

Solidity: function supply() view returns(uint256)

func (*CurveVecrvCallerSession) Symbol

func (_CurveVecrv *CurveVecrvCallerSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*CurveVecrvCallerSession) Token

func (_CurveVecrv *CurveVecrvCallerSession) Token() (common.Address, error)

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

Solidity: function token() view returns(address)

func (*CurveVecrvCallerSession) TotalSupply

func (_CurveVecrv *CurveVecrvCallerSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*CurveVecrvCallerSession) TotalSupply0

func (_CurveVecrv *CurveVecrvCallerSession) TotalSupply0(t *big.Int) (*big.Int, error)

TotalSupply0 is a free data retrieval call binding the contract method 0xbd85b039.

Solidity: function totalSupply(uint256 t) view returns(uint256)

func (*CurveVecrvCallerSession) TotalSupplyAt

func (_CurveVecrv *CurveVecrvCallerSession) TotalSupplyAt(_block *big.Int) (*big.Int, error)

TotalSupplyAt is a free data retrieval call binding the contract method 0x981b24d0.

Solidity: function totalSupplyAt(uint256 _block) view returns(uint256)

func (*CurveVecrvCallerSession) TransfersEnabled

func (_CurveVecrv *CurveVecrvCallerSession) TransfersEnabled() (bool, error)

TransfersEnabled is a free data retrieval call binding the contract method 0xbef97c87.

Solidity: function transfersEnabled() view returns(bool)

func (*CurveVecrvCallerSession) UserPointEpoch

func (_CurveVecrv *CurveVecrvCallerSession) UserPointEpoch(arg0 common.Address) (*big.Int, error)

UserPointEpoch is a free data retrieval call binding the contract method 0x010ae757.

Solidity: function user_point_epoch(address arg0) view returns(uint256)

func (*CurveVecrvCallerSession) UserPointHistory

func (_CurveVecrv *CurveVecrvCallerSession) UserPointHistory(arg0 common.Address, arg1 *big.Int) (struct {
	Bias  *big.Int
	Slope *big.Int
	Ts    *big.Int
	Blk   *big.Int
}, error)

UserPointHistory is a free data retrieval call binding the contract method 0x28d09d47.

Solidity: function user_point_history(address arg0, uint256 arg1) view returns(int128 bias, int128 slope, uint256 ts, uint256 blk)

func (*CurveVecrvCallerSession) UserPointHistoryTs

func (_CurveVecrv *CurveVecrvCallerSession) UserPointHistoryTs(_addr common.Address, _idx *big.Int) (*big.Int, error)

UserPointHistoryTs is a free data retrieval call binding the contract method 0xda020a18.

Solidity: function user_point_history__ts(address _addr, uint256 _idx) view returns(uint256)

func (*CurveVecrvCallerSession) Version

func (_CurveVecrv *CurveVecrvCallerSession) Version() (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(string)

type CurveVecrvCommitOwnership

type CurveVecrvCommitOwnership struct {
	Admin common.Address
	Raw   types.Log // Blockchain specific contextual infos
}

CurveVecrvCommitOwnership represents a CommitOwnership event raised by the CurveVecrv contract.

type CurveVecrvCommitOwnershipIterator

type CurveVecrvCommitOwnershipIterator struct {
	Event *CurveVecrvCommitOwnership // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CurveVecrvCommitOwnershipIterator is returned from FilterCommitOwnership and is used to iterate over the raw logs and unpacked data for CommitOwnership events raised by the CurveVecrv contract.

func (*CurveVecrvCommitOwnershipIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CurveVecrvCommitOwnershipIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurveVecrvCommitOwnershipIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CurveVecrvDeposit

type CurveVecrvDeposit struct {
	Provider common.Address
	Value    *big.Int
	Locktime *big.Int
	Arg3     *big.Int
	Ts       *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

CurveVecrvDeposit represents a Deposit event raised by the CurveVecrv contract.

type CurveVecrvDepositIterator

type CurveVecrvDepositIterator struct {
	Event *CurveVecrvDeposit // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CurveVecrvDepositIterator is returned from FilterDeposit and is used to iterate over the raw logs and unpacked data for Deposit events raised by the CurveVecrv contract.

func (*CurveVecrvDepositIterator) Close

func (it *CurveVecrvDepositIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*CurveVecrvDepositIterator) Error

func (it *CurveVecrvDepositIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurveVecrvDepositIterator) Next

func (it *CurveVecrvDepositIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CurveVecrvFilterer

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

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

func NewCurveVecrvFilterer

func NewCurveVecrvFilterer(address common.Address, filterer bind.ContractFilterer) (*CurveVecrvFilterer, error)

NewCurveVecrvFilterer creates a new log filterer instance of CurveVecrv, bound to a specific deployed contract.

func (*CurveVecrvFilterer) FilterApplyOwnership

func (_CurveVecrv *CurveVecrvFilterer) FilterApplyOwnership(opts *bind.FilterOpts) (*CurveVecrvApplyOwnershipIterator, error)

FilterApplyOwnership is a free log retrieval operation binding the contract event 0xebee2d5739011062cb4f14113f3b36bf0ffe3da5c0568f64189d1012a1189105.

Solidity: event ApplyOwnership(address admin)

func (*CurveVecrvFilterer) FilterCommitOwnership

func (_CurveVecrv *CurveVecrvFilterer) FilterCommitOwnership(opts *bind.FilterOpts) (*CurveVecrvCommitOwnershipIterator, error)

FilterCommitOwnership is a free log retrieval operation binding the contract event 0x2f56810a6bf40af059b96d3aea4db54081f378029a518390491093a7b67032e9.

Solidity: event CommitOwnership(address admin)

func (*CurveVecrvFilterer) FilterDeposit

func (_CurveVecrv *CurveVecrvFilterer) FilterDeposit(opts *bind.FilterOpts, provider []common.Address, locktime []*big.Int) (*CurveVecrvDepositIterator, error)

FilterDeposit is a free log retrieval operation binding the contract event 0x4566dfc29f6f11d13a418c26a02bef7c28bae749d4de47e4e6a7cddea6730d59.

Solidity: event Deposit(address indexed provider, uint256 value, uint256 indexed locktime, int128 type, uint256 ts)

func (*CurveVecrvFilterer) FilterSupply

func (_CurveVecrv *CurveVecrvFilterer) FilterSupply(opts *bind.FilterOpts) (*CurveVecrvSupplyIterator, error)

FilterSupply is a free log retrieval operation binding the contract event 0x5e2aa66efd74cce82b21852e317e5490d9ecc9e6bb953ae24d90851258cc2f5c.

Solidity: event Supply(uint256 prevSupply, uint256 supply)

func (*CurveVecrvFilterer) FilterWithdraw

func (_CurveVecrv *CurveVecrvFilterer) FilterWithdraw(opts *bind.FilterOpts, provider []common.Address) (*CurveVecrvWithdrawIterator, error)

FilterWithdraw is a free log retrieval operation binding the contract event 0xf279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568.

Solidity: event Withdraw(address indexed provider, uint256 value, uint256 ts)

func (*CurveVecrvFilterer) ParseApplyOwnership

func (_CurveVecrv *CurveVecrvFilterer) ParseApplyOwnership(log types.Log) (*CurveVecrvApplyOwnership, error)

ParseApplyOwnership is a log parse operation binding the contract event 0xebee2d5739011062cb4f14113f3b36bf0ffe3da5c0568f64189d1012a1189105.

Solidity: event ApplyOwnership(address admin)

func (*CurveVecrvFilterer) ParseCommitOwnership

func (_CurveVecrv *CurveVecrvFilterer) ParseCommitOwnership(log types.Log) (*CurveVecrvCommitOwnership, error)

ParseCommitOwnership is a log parse operation binding the contract event 0x2f56810a6bf40af059b96d3aea4db54081f378029a518390491093a7b67032e9.

Solidity: event CommitOwnership(address admin)

func (*CurveVecrvFilterer) ParseDeposit

func (_CurveVecrv *CurveVecrvFilterer) ParseDeposit(log types.Log) (*CurveVecrvDeposit, error)

ParseDeposit is a log parse operation binding the contract event 0x4566dfc29f6f11d13a418c26a02bef7c28bae749d4de47e4e6a7cddea6730d59.

Solidity: event Deposit(address indexed provider, uint256 value, uint256 indexed locktime, int128 type, uint256 ts)

func (*CurveVecrvFilterer) ParseSupply

func (_CurveVecrv *CurveVecrvFilterer) ParseSupply(log types.Log) (*CurveVecrvSupply, error)

ParseSupply is a log parse operation binding the contract event 0x5e2aa66efd74cce82b21852e317e5490d9ecc9e6bb953ae24d90851258cc2f5c.

Solidity: event Supply(uint256 prevSupply, uint256 supply)

func (*CurveVecrvFilterer) ParseWithdraw

func (_CurveVecrv *CurveVecrvFilterer) ParseWithdraw(log types.Log) (*CurveVecrvWithdraw, error)

ParseWithdraw is a log parse operation binding the contract event 0xf279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568.

Solidity: event Withdraw(address indexed provider, uint256 value, uint256 ts)

func (*CurveVecrvFilterer) WatchApplyOwnership

func (_CurveVecrv *CurveVecrvFilterer) WatchApplyOwnership(opts *bind.WatchOpts, sink chan<- *CurveVecrvApplyOwnership) (event.Subscription, error)

WatchApplyOwnership is a free log subscription operation binding the contract event 0xebee2d5739011062cb4f14113f3b36bf0ffe3da5c0568f64189d1012a1189105.

Solidity: event ApplyOwnership(address admin)

func (*CurveVecrvFilterer) WatchCommitOwnership

func (_CurveVecrv *CurveVecrvFilterer) WatchCommitOwnership(opts *bind.WatchOpts, sink chan<- *CurveVecrvCommitOwnership) (event.Subscription, error)

WatchCommitOwnership is a free log subscription operation binding the contract event 0x2f56810a6bf40af059b96d3aea4db54081f378029a518390491093a7b67032e9.

Solidity: event CommitOwnership(address admin)

func (*CurveVecrvFilterer) WatchDeposit

func (_CurveVecrv *CurveVecrvFilterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *CurveVecrvDeposit, provider []common.Address, locktime []*big.Int) (event.Subscription, error)

WatchDeposit is a free log subscription operation binding the contract event 0x4566dfc29f6f11d13a418c26a02bef7c28bae749d4de47e4e6a7cddea6730d59.

Solidity: event Deposit(address indexed provider, uint256 value, uint256 indexed locktime, int128 type, uint256 ts)

func (*CurveVecrvFilterer) WatchSupply

func (_CurveVecrv *CurveVecrvFilterer) WatchSupply(opts *bind.WatchOpts, sink chan<- *CurveVecrvSupply) (event.Subscription, error)

WatchSupply is a free log subscription operation binding the contract event 0x5e2aa66efd74cce82b21852e317e5490d9ecc9e6bb953ae24d90851258cc2f5c.

Solidity: event Supply(uint256 prevSupply, uint256 supply)

func (*CurveVecrvFilterer) WatchWithdraw

func (_CurveVecrv *CurveVecrvFilterer) WatchWithdraw(opts *bind.WatchOpts, sink chan<- *CurveVecrvWithdraw, provider []common.Address) (event.Subscription, error)

WatchWithdraw is a free log subscription operation binding the contract event 0xf279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568.

Solidity: event Withdraw(address indexed provider, uint256 value, uint256 ts)

type CurveVecrvRaw

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

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

func (*CurveVecrvRaw) Call

func (_CurveVecrv *CurveVecrvRaw) 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 (*CurveVecrvRaw) Transact

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

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

func (*CurveVecrvRaw) Transfer

func (_CurveVecrv *CurveVecrvRaw) 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 CurveVecrvSession

type CurveVecrvSession struct {
	Contract     *CurveVecrv       // 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
}

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

func (*CurveVecrvSession) Admin

func (_CurveVecrv *CurveVecrvSession) Admin() (common.Address, error)

Admin is a free data retrieval call binding the contract method 0xf851a440.

Solidity: function admin() view returns(address)

func (*CurveVecrvSession) ApplySmartWalletChecker

func (_CurveVecrv *CurveVecrvSession) ApplySmartWalletChecker() (*types.Transaction, error)

ApplySmartWalletChecker is a paid mutator transaction binding the contract method 0x8e5b490f.

Solidity: function apply_smart_wallet_checker() returns()

func (*CurveVecrvSession) ApplyTransferOwnership

func (_CurveVecrv *CurveVecrvSession) ApplyTransferOwnership() (*types.Transaction, error)

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

Solidity: function apply_transfer_ownership() returns()

func (*CurveVecrvSession) BalanceOf

func (_CurveVecrv *CurveVecrvSession) BalanceOf(addr common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address addr) view returns(uint256)

func (*CurveVecrvSession) BalanceOf0

func (_CurveVecrv *CurveVecrvSession) BalanceOf0(addr common.Address, _t *big.Int) (*big.Int, error)

BalanceOf0 is a free data retrieval call binding the contract method 0x00fdd58e.

Solidity: function balanceOf(address addr, uint256 _t) view returns(uint256)

func (*CurveVecrvSession) BalanceOfAt

func (_CurveVecrv *CurveVecrvSession) BalanceOfAt(addr common.Address, _block *big.Int) (*big.Int, error)

BalanceOfAt is a free data retrieval call binding the contract method 0x4ee2cd7e.

Solidity: function balanceOfAt(address addr, uint256 _block) view returns(uint256)

func (*CurveVecrvSession) ChangeController

func (_CurveVecrv *CurveVecrvSession) ChangeController(_newController common.Address) (*types.Transaction, error)

ChangeController is a paid mutator transaction binding the contract method 0x3cebb823.

Solidity: function changeController(address _newController) returns()

func (*CurveVecrvSession) Checkpoint

func (_CurveVecrv *CurveVecrvSession) Checkpoint() (*types.Transaction, error)

Checkpoint is a paid mutator transaction binding the contract method 0xc2c4c5c1.

Solidity: function checkpoint() returns()

func (*CurveVecrvSession) CommitSmartWalletChecker

func (_CurveVecrv *CurveVecrvSession) CommitSmartWalletChecker(addr common.Address) (*types.Transaction, error)

CommitSmartWalletChecker is a paid mutator transaction binding the contract method 0x57f901e2.

Solidity: function commit_smart_wallet_checker(address addr) returns()

func (*CurveVecrvSession) CommitTransferOwnership

func (_CurveVecrv *CurveVecrvSession) CommitTransferOwnership(addr common.Address) (*types.Transaction, error)

CommitTransferOwnership is a paid mutator transaction binding the contract method 0x6b441a40.

Solidity: function commit_transfer_ownership(address addr) returns()

func (*CurveVecrvSession) Controller

func (_CurveVecrv *CurveVecrvSession) Controller() (common.Address, error)

Controller is a free data retrieval call binding the contract method 0xf77c4791.

Solidity: function controller() view returns(address)

func (*CurveVecrvSession) CreateLock

func (_CurveVecrv *CurveVecrvSession) CreateLock(_value *big.Int, _unlock_time *big.Int) (*types.Transaction, error)

CreateLock is a paid mutator transaction binding the contract method 0x65fc3873.

Solidity: function create_lock(uint256 _value, uint256 _unlock_time) returns()

func (*CurveVecrvSession) Decimals

func (_CurveVecrv *CurveVecrvSession) Decimals() (*big.Int, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint256)

func (*CurveVecrvSession) DepositFor

func (_CurveVecrv *CurveVecrvSession) DepositFor(_addr common.Address, _value *big.Int) (*types.Transaction, error)

DepositFor is a paid mutator transaction binding the contract method 0x3a46273e.

Solidity: function deposit_for(address _addr, uint256 _value) returns()

func (*CurveVecrvSession) Epoch

func (_CurveVecrv *CurveVecrvSession) Epoch() (*big.Int, error)

Epoch is a free data retrieval call binding the contract method 0x900cf0cf.

Solidity: function epoch() view returns(uint256)

func (*CurveVecrvSession) FutureAdmin

func (_CurveVecrv *CurveVecrvSession) FutureAdmin() (common.Address, error)

FutureAdmin is a free data retrieval call binding the contract method 0x17f7182a.

Solidity: function future_admin() view returns(address)

func (*CurveVecrvSession) FutureSmartWalletChecker

func (_CurveVecrv *CurveVecrvSession) FutureSmartWalletChecker() (common.Address, error)

FutureSmartWalletChecker is a free data retrieval call binding the contract method 0x8ff36fd1.

Solidity: function future_smart_wallet_checker() view returns(address)

func (*CurveVecrvSession) GetLastUserSlope

func (_CurveVecrv *CurveVecrvSession) GetLastUserSlope(addr common.Address) (*big.Int, error)

GetLastUserSlope is a free data retrieval call binding the contract method 0x7c74a174.

Solidity: function get_last_user_slope(address addr) view returns(int128)

func (*CurveVecrvSession) IncreaseAmount

func (_CurveVecrv *CurveVecrvSession) IncreaseAmount(_value *big.Int) (*types.Transaction, error)

IncreaseAmount is a paid mutator transaction binding the contract method 0x4957677c.

Solidity: function increase_amount(uint256 _value) returns()

func (*CurveVecrvSession) IncreaseUnlockTime

func (_CurveVecrv *CurveVecrvSession) IncreaseUnlockTime(_unlock_time *big.Int) (*types.Transaction, error)

IncreaseUnlockTime is a paid mutator transaction binding the contract method 0xeff7a612.

Solidity: function increase_unlock_time(uint256 _unlock_time) returns()

func (*CurveVecrvSession) Locked

func (_CurveVecrv *CurveVecrvSession) Locked(arg0 common.Address) (struct {
	Amount *big.Int
	End    *big.Int
}, error)

Locked is a free data retrieval call binding the contract method 0xcbf9fe5f.

Solidity: function locked(address arg0) view returns(int128 amount, uint256 end)

func (*CurveVecrvSession) LockedEnd

func (_CurveVecrv *CurveVecrvSession) LockedEnd(_addr common.Address) (*big.Int, error)

LockedEnd is a free data retrieval call binding the contract method 0xadc63589.

Solidity: function locked__end(address _addr) view returns(uint256)

func (*CurveVecrvSession) Name

func (_CurveVecrv *CurveVecrvSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*CurveVecrvSession) PointHistory

func (_CurveVecrv *CurveVecrvSession) PointHistory(arg0 *big.Int) (struct {
	Bias  *big.Int
	Slope *big.Int
	Ts    *big.Int
	Blk   *big.Int
}, error)

PointHistory is a free data retrieval call binding the contract method 0xd1febfb9.

Solidity: function point_history(uint256 arg0) view returns(int128 bias, int128 slope, uint256 ts, uint256 blk)

func (*CurveVecrvSession) SlopeChanges

func (_CurveVecrv *CurveVecrvSession) SlopeChanges(arg0 *big.Int) (*big.Int, error)

SlopeChanges is a free data retrieval call binding the contract method 0x71197484.

Solidity: function slope_changes(uint256 arg0) view returns(int128)

func (*CurveVecrvSession) SmartWalletChecker

func (_CurveVecrv *CurveVecrvSession) SmartWalletChecker() (common.Address, error)

SmartWalletChecker is a free data retrieval call binding the contract method 0x7175d4f7.

Solidity: function smart_wallet_checker() view returns(address)

func (*CurveVecrvSession) Supply

func (_CurveVecrv *CurveVecrvSession) Supply() (*big.Int, error)

Supply is a free data retrieval call binding the contract method 0x047fc9aa.

Solidity: function supply() view returns(uint256)

func (*CurveVecrvSession) Symbol

func (_CurveVecrv *CurveVecrvSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*CurveVecrvSession) Token

func (_CurveVecrv *CurveVecrvSession) Token() (common.Address, error)

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

Solidity: function token() view returns(address)

func (*CurveVecrvSession) TotalSupply

func (_CurveVecrv *CurveVecrvSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*CurveVecrvSession) TotalSupply0

func (_CurveVecrv *CurveVecrvSession) TotalSupply0(t *big.Int) (*big.Int, error)

TotalSupply0 is a free data retrieval call binding the contract method 0xbd85b039.

Solidity: function totalSupply(uint256 t) view returns(uint256)

func (*CurveVecrvSession) TotalSupplyAt

func (_CurveVecrv *CurveVecrvSession) TotalSupplyAt(_block *big.Int) (*big.Int, error)

TotalSupplyAt is a free data retrieval call binding the contract method 0x981b24d0.

Solidity: function totalSupplyAt(uint256 _block) view returns(uint256)

func (*CurveVecrvSession) TransfersEnabled

func (_CurveVecrv *CurveVecrvSession) TransfersEnabled() (bool, error)

TransfersEnabled is a free data retrieval call binding the contract method 0xbef97c87.

Solidity: function transfersEnabled() view returns(bool)

func (*CurveVecrvSession) UserPointEpoch

func (_CurveVecrv *CurveVecrvSession) UserPointEpoch(arg0 common.Address) (*big.Int, error)

UserPointEpoch is a free data retrieval call binding the contract method 0x010ae757.

Solidity: function user_point_epoch(address arg0) view returns(uint256)

func (*CurveVecrvSession) UserPointHistory

func (_CurveVecrv *CurveVecrvSession) UserPointHistory(arg0 common.Address, arg1 *big.Int) (struct {
	Bias  *big.Int
	Slope *big.Int
	Ts    *big.Int
	Blk   *big.Int
}, error)

UserPointHistory is a free data retrieval call binding the contract method 0x28d09d47.

Solidity: function user_point_history(address arg0, uint256 arg1) view returns(int128 bias, int128 slope, uint256 ts, uint256 blk)

func (*CurveVecrvSession) UserPointHistoryTs

func (_CurveVecrv *CurveVecrvSession) UserPointHistoryTs(_addr common.Address, _idx *big.Int) (*big.Int, error)

UserPointHistoryTs is a free data retrieval call binding the contract method 0xda020a18.

Solidity: function user_point_history__ts(address _addr, uint256 _idx) view returns(uint256)

func (*CurveVecrvSession) Version

func (_CurveVecrv *CurveVecrvSession) Version() (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(string)

func (*CurveVecrvSession) Withdraw

func (_CurveVecrv *CurveVecrvSession) Withdraw() (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x3ccfd60b.

Solidity: function withdraw() returns()

type CurveVecrvSupply

type CurveVecrvSupply struct {
	PrevSupply *big.Int
	Supply     *big.Int
	Raw        types.Log // Blockchain specific contextual infos
}

CurveVecrvSupply represents a Supply event raised by the CurveVecrv contract.

type CurveVecrvSupplyIterator

type CurveVecrvSupplyIterator struct {
	Event *CurveVecrvSupply // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CurveVecrvSupplyIterator is returned from FilterSupply and is used to iterate over the raw logs and unpacked data for Supply events raised by the CurveVecrv contract.

func (*CurveVecrvSupplyIterator) Close

func (it *CurveVecrvSupplyIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*CurveVecrvSupplyIterator) Error

func (it *CurveVecrvSupplyIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurveVecrvSupplyIterator) Next

func (it *CurveVecrvSupplyIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CurveVecrvTransactor

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

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

func NewCurveVecrvTransactor

func NewCurveVecrvTransactor(address common.Address, transactor bind.ContractTransactor) (*CurveVecrvTransactor, error)

NewCurveVecrvTransactor creates a new write-only instance of CurveVecrv, bound to a specific deployed contract.

func (*CurveVecrvTransactor) ApplySmartWalletChecker

func (_CurveVecrv *CurveVecrvTransactor) ApplySmartWalletChecker(opts *bind.TransactOpts) (*types.Transaction, error)

ApplySmartWalletChecker is a paid mutator transaction binding the contract method 0x8e5b490f.

Solidity: function apply_smart_wallet_checker() returns()

func (*CurveVecrvTransactor) ApplyTransferOwnership

func (_CurveVecrv *CurveVecrvTransactor) 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 (*CurveVecrvTransactor) ChangeController

func (_CurveVecrv *CurveVecrvTransactor) ChangeController(opts *bind.TransactOpts, _newController common.Address) (*types.Transaction, error)

ChangeController is a paid mutator transaction binding the contract method 0x3cebb823.

Solidity: function changeController(address _newController) returns()

func (*CurveVecrvTransactor) Checkpoint

func (_CurveVecrv *CurveVecrvTransactor) Checkpoint(opts *bind.TransactOpts) (*types.Transaction, error)

Checkpoint is a paid mutator transaction binding the contract method 0xc2c4c5c1.

Solidity: function checkpoint() returns()

func (*CurveVecrvTransactor) CommitSmartWalletChecker

func (_CurveVecrv *CurveVecrvTransactor) CommitSmartWalletChecker(opts *bind.TransactOpts, addr common.Address) (*types.Transaction, error)

CommitSmartWalletChecker is a paid mutator transaction binding the contract method 0x57f901e2.

Solidity: function commit_smart_wallet_checker(address addr) returns()

func (*CurveVecrvTransactor) CommitTransferOwnership

func (_CurveVecrv *CurveVecrvTransactor) CommitTransferOwnership(opts *bind.TransactOpts, addr common.Address) (*types.Transaction, error)

CommitTransferOwnership is a paid mutator transaction binding the contract method 0x6b441a40.

Solidity: function commit_transfer_ownership(address addr) returns()

func (*CurveVecrvTransactor) CreateLock

func (_CurveVecrv *CurveVecrvTransactor) CreateLock(opts *bind.TransactOpts, _value *big.Int, _unlock_time *big.Int) (*types.Transaction, error)

CreateLock is a paid mutator transaction binding the contract method 0x65fc3873.

Solidity: function create_lock(uint256 _value, uint256 _unlock_time) returns()

func (*CurveVecrvTransactor) DepositFor

func (_CurveVecrv *CurveVecrvTransactor) DepositFor(opts *bind.TransactOpts, _addr common.Address, _value *big.Int) (*types.Transaction, error)

DepositFor is a paid mutator transaction binding the contract method 0x3a46273e.

Solidity: function deposit_for(address _addr, uint256 _value) returns()

func (*CurveVecrvTransactor) IncreaseAmount

func (_CurveVecrv *CurveVecrvTransactor) IncreaseAmount(opts *bind.TransactOpts, _value *big.Int) (*types.Transaction, error)

IncreaseAmount is a paid mutator transaction binding the contract method 0x4957677c.

Solidity: function increase_amount(uint256 _value) returns()

func (*CurveVecrvTransactor) IncreaseUnlockTime

func (_CurveVecrv *CurveVecrvTransactor) IncreaseUnlockTime(opts *bind.TransactOpts, _unlock_time *big.Int) (*types.Transaction, error)

IncreaseUnlockTime is a paid mutator transaction binding the contract method 0xeff7a612.

Solidity: function increase_unlock_time(uint256 _unlock_time) returns()

func (*CurveVecrvTransactor) Withdraw

func (_CurveVecrv *CurveVecrvTransactor) Withdraw(opts *bind.TransactOpts) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x3ccfd60b.

Solidity: function withdraw() returns()

type CurveVecrvTransactorRaw

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

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

func (*CurveVecrvTransactorRaw) Transact

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

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

func (*CurveVecrvTransactorRaw) Transfer

func (_CurveVecrv *CurveVecrvTransactorRaw) 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 CurveVecrvTransactorSession

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

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

func (*CurveVecrvTransactorSession) ApplySmartWalletChecker

func (_CurveVecrv *CurveVecrvTransactorSession) ApplySmartWalletChecker() (*types.Transaction, error)

ApplySmartWalletChecker is a paid mutator transaction binding the contract method 0x8e5b490f.

Solidity: function apply_smart_wallet_checker() returns()

func (*CurveVecrvTransactorSession) ApplyTransferOwnership

func (_CurveVecrv *CurveVecrvTransactorSession) ApplyTransferOwnership() (*types.Transaction, error)

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

Solidity: function apply_transfer_ownership() returns()

func (*CurveVecrvTransactorSession) ChangeController

func (_CurveVecrv *CurveVecrvTransactorSession) ChangeController(_newController common.Address) (*types.Transaction, error)

ChangeController is a paid mutator transaction binding the contract method 0x3cebb823.

Solidity: function changeController(address _newController) returns()

func (*CurveVecrvTransactorSession) Checkpoint

func (_CurveVecrv *CurveVecrvTransactorSession) Checkpoint() (*types.Transaction, error)

Checkpoint is a paid mutator transaction binding the contract method 0xc2c4c5c1.

Solidity: function checkpoint() returns()

func (*CurveVecrvTransactorSession) CommitSmartWalletChecker

func (_CurveVecrv *CurveVecrvTransactorSession) CommitSmartWalletChecker(addr common.Address) (*types.Transaction, error)

CommitSmartWalletChecker is a paid mutator transaction binding the contract method 0x57f901e2.

Solidity: function commit_smart_wallet_checker(address addr) returns()

func (*CurveVecrvTransactorSession) CommitTransferOwnership

func (_CurveVecrv *CurveVecrvTransactorSession) CommitTransferOwnership(addr common.Address) (*types.Transaction, error)

CommitTransferOwnership is a paid mutator transaction binding the contract method 0x6b441a40.

Solidity: function commit_transfer_ownership(address addr) returns()

func (*CurveVecrvTransactorSession) CreateLock

func (_CurveVecrv *CurveVecrvTransactorSession) CreateLock(_value *big.Int, _unlock_time *big.Int) (*types.Transaction, error)

CreateLock is a paid mutator transaction binding the contract method 0x65fc3873.

Solidity: function create_lock(uint256 _value, uint256 _unlock_time) returns()

func (*CurveVecrvTransactorSession) DepositFor

func (_CurveVecrv *CurveVecrvTransactorSession) DepositFor(_addr common.Address, _value *big.Int) (*types.Transaction, error)

DepositFor is a paid mutator transaction binding the contract method 0x3a46273e.

Solidity: function deposit_for(address _addr, uint256 _value) returns()

func (*CurveVecrvTransactorSession) IncreaseAmount

func (_CurveVecrv *CurveVecrvTransactorSession) IncreaseAmount(_value *big.Int) (*types.Transaction, error)

IncreaseAmount is a paid mutator transaction binding the contract method 0x4957677c.

Solidity: function increase_amount(uint256 _value) returns()

func (*CurveVecrvTransactorSession) IncreaseUnlockTime

func (_CurveVecrv *CurveVecrvTransactorSession) IncreaseUnlockTime(_unlock_time *big.Int) (*types.Transaction, error)

IncreaseUnlockTime is a paid mutator transaction binding the contract method 0xeff7a612.

Solidity: function increase_unlock_time(uint256 _unlock_time) returns()

func (*CurveVecrvTransactorSession) Withdraw

func (_CurveVecrv *CurveVecrvTransactorSession) Withdraw() (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x3ccfd60b.

Solidity: function withdraw() returns()

type CurveVecrvWithdraw

type CurveVecrvWithdraw struct {
	Provider common.Address
	Value    *big.Int
	Ts       *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

CurveVecrvWithdraw represents a Withdraw event raised by the CurveVecrv contract.

type CurveVecrvWithdrawIterator

type CurveVecrvWithdrawIterator struct {
	Event *CurveVecrvWithdraw // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CurveVecrvWithdrawIterator is returned from FilterWithdraw and is used to iterate over the raw logs and unpacked data for Withdraw events raised by the CurveVecrv contract.

func (*CurveVecrvWithdrawIterator) Close

func (it *CurveVecrvWithdrawIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*CurveVecrvWithdrawIterator) Error

func (it *CurveVecrvWithdrawIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurveVecrvWithdrawIterator) Next

func (it *CurveVecrvWithdrawIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CurveVestingCrv

type CurveVestingCrv struct {
	CurveVestingCrvCaller     // Read-only binding to the contract
	CurveVestingCrvTransactor // Write-only binding to the contract
	CurveVestingCrvFilterer   // Log filterer for contract events
}

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

func NewCurveVestingCrv

func NewCurveVestingCrv(address common.Address, backend bind.ContractBackend) (*CurveVestingCrv, error)

NewCurveVestingCrv creates a new instance of CurveVestingCrv, bound to a specific deployed contract.

type CurveVestingCrvApplyOwnership

type CurveVestingCrvApplyOwnership struct {
	Admin common.Address
	Raw   types.Log // Blockchain specific contextual infos
}

CurveVestingCrvApplyOwnership represents a ApplyOwnership event raised by the CurveVestingCrv contract.

type CurveVestingCrvApplyOwnershipIterator

type CurveVestingCrvApplyOwnershipIterator struct {
	Event *CurveVestingCrvApplyOwnership // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CurveVestingCrvApplyOwnershipIterator is returned from FilterApplyOwnership and is used to iterate over the raw logs and unpacked data for ApplyOwnership events raised by the CurveVestingCrv contract.

func (*CurveVestingCrvApplyOwnershipIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CurveVestingCrvApplyOwnershipIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurveVestingCrvApplyOwnershipIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CurveVestingCrvCaller

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

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

func NewCurveVestingCrvCaller

func NewCurveVestingCrvCaller(address common.Address, caller bind.ContractCaller) (*CurveVestingCrvCaller, error)

NewCurveVestingCrvCaller creates a new read-only instance of CurveVestingCrv, bound to a specific deployed contract.

func (*CurveVestingCrvCaller) Admin

func (_CurveVestingCrv *CurveVestingCrvCaller) Admin(opts *bind.CallOpts) (common.Address, error)

Admin is a free data retrieval call binding the contract method 0xf851a440.

Solidity: function admin() view returns(address)

func (*CurveVestingCrvCaller) BalanceOf

func (_CurveVestingCrv *CurveVestingCrvCaller) BalanceOf(opts *bind.CallOpts, _recipient common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address _recipient) view returns(uint256)

func (*CurveVestingCrvCaller) CanDisable

func (_CurveVestingCrv *CurveVestingCrvCaller) CanDisable(opts *bind.CallOpts) (bool, error)

CanDisable is a free data retrieval call binding the contract method 0x0568de41.

Solidity: function can_disable() view returns(bool)

func (*CurveVestingCrvCaller) DisabledAt

func (_CurveVestingCrv *CurveVestingCrvCaller) DisabledAt(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

DisabledAt is a free data retrieval call binding the contract method 0x6b10247d.

Solidity: function disabled_at(address arg0) view returns(uint256)

func (*CurveVestingCrvCaller) EndTime

func (_CurveVestingCrv *CurveVestingCrvCaller) EndTime(opts *bind.CallOpts) (*big.Int, error)

EndTime is a free data retrieval call binding the contract method 0x16243356.

Solidity: function end_time() view returns(uint256)

func (*CurveVestingCrvCaller) FundAdmins

func (_CurveVestingCrv *CurveVestingCrvCaller) FundAdmins(opts *bind.CallOpts, arg0 common.Address) (bool, error)

FundAdmins is a free data retrieval call binding the contract method 0x1696c387.

Solidity: function fund_admins(address arg0) view returns(bool)

func (*CurveVestingCrvCaller) FundAdminsEnabled

func (_CurveVestingCrv *CurveVestingCrvCaller) FundAdminsEnabled(opts *bind.CallOpts) (bool, error)

FundAdminsEnabled is a free data retrieval call binding the contract method 0x144d4f25.

Solidity: function fund_admins_enabled() view returns(bool)

func (*CurveVestingCrvCaller) FutureAdmin

func (_CurveVestingCrv *CurveVestingCrvCaller) FutureAdmin(opts *bind.CallOpts) (common.Address, error)

FutureAdmin is a free data retrieval call binding the contract method 0x17f7182a.

Solidity: function future_admin() view returns(address)

func (*CurveVestingCrvCaller) InitialLocked

func (_CurveVestingCrv *CurveVestingCrvCaller) InitialLocked(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

InitialLocked is a free data retrieval call binding the contract method 0x50b3aad4.

Solidity: function initial_locked(address arg0) view returns(uint256)

func (*CurveVestingCrvCaller) InitialLockedSupply

func (_CurveVestingCrv *CurveVestingCrvCaller) InitialLockedSupply(opts *bind.CallOpts) (*big.Int, error)

InitialLockedSupply is a free data retrieval call binding the contract method 0x21dc49b4.

Solidity: function initial_locked_supply() view returns(uint256)

func (*CurveVestingCrvCaller) LockedOf

func (_CurveVestingCrv *CurveVestingCrvCaller) LockedOf(opts *bind.CallOpts, _recipient common.Address) (*big.Int, error)

LockedOf is a free data retrieval call binding the contract method 0xa5f1e282.

Solidity: function lockedOf(address _recipient) view returns(uint256)

func (*CurveVestingCrvCaller) LockedSupply

func (_CurveVestingCrv *CurveVestingCrvCaller) LockedSupply(opts *bind.CallOpts) (*big.Int, error)

LockedSupply is a free data retrieval call binding the contract method 0xca5c7b91.

Solidity: function lockedSupply() view returns(uint256)

func (*CurveVestingCrvCaller) StartTime

func (_CurveVestingCrv *CurveVestingCrvCaller) StartTime(opts *bind.CallOpts) (*big.Int, error)

StartTime is a free data retrieval call binding the contract method 0x834ee417.

Solidity: function start_time() view returns(uint256)

func (*CurveVestingCrvCaller) Token

func (_CurveVestingCrv *CurveVestingCrvCaller) 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 (*CurveVestingCrvCaller) TotalClaimed

func (_CurveVestingCrv *CurveVestingCrvCaller) TotalClaimed(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

TotalClaimed is a free data retrieval call binding the contract method 0xb8638e1e.

Solidity: function total_claimed(address arg0) view returns(uint256)

func (*CurveVestingCrvCaller) UnallocatedSupply

func (_CurveVestingCrv *CurveVestingCrvCaller) UnallocatedSupply(opts *bind.CallOpts) (*big.Int, error)

UnallocatedSupply is a free data retrieval call binding the contract method 0x0b080cc2.

Solidity: function unallocated_supply() view returns(uint256)

func (*CurveVestingCrvCaller) VestedOf

func (_CurveVestingCrv *CurveVestingCrvCaller) VestedOf(opts *bind.CallOpts, _recipient common.Address) (*big.Int, error)

VestedOf is a free data retrieval call binding the contract method 0x94477104.

Solidity: function vestedOf(address _recipient) view returns(uint256)

func (*CurveVestingCrvCaller) VestedSupply

func (_CurveVestingCrv *CurveVestingCrvCaller) VestedSupply(opts *bind.CallOpts) (*big.Int, error)

VestedSupply is a free data retrieval call binding the contract method 0xd9844dc0.

Solidity: function vestedSupply() view returns(uint256)

type CurveVestingCrvCallerRaw

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

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

func (*CurveVestingCrvCallerRaw) Call

func (_CurveVestingCrv *CurveVestingCrvCallerRaw) 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 CurveVestingCrvCallerSession

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

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

func (*CurveVestingCrvCallerSession) Admin

func (_CurveVestingCrv *CurveVestingCrvCallerSession) Admin() (common.Address, error)

Admin is a free data retrieval call binding the contract method 0xf851a440.

Solidity: function admin() view returns(address)

func (*CurveVestingCrvCallerSession) BalanceOf

func (_CurveVestingCrv *CurveVestingCrvCallerSession) BalanceOf(_recipient common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address _recipient) view returns(uint256)

func (*CurveVestingCrvCallerSession) CanDisable

func (_CurveVestingCrv *CurveVestingCrvCallerSession) CanDisable() (bool, error)

CanDisable is a free data retrieval call binding the contract method 0x0568de41.

Solidity: function can_disable() view returns(bool)

func (*CurveVestingCrvCallerSession) DisabledAt

func (_CurveVestingCrv *CurveVestingCrvCallerSession) DisabledAt(arg0 common.Address) (*big.Int, error)

DisabledAt is a free data retrieval call binding the contract method 0x6b10247d.

Solidity: function disabled_at(address arg0) view returns(uint256)

func (*CurveVestingCrvCallerSession) EndTime

func (_CurveVestingCrv *CurveVestingCrvCallerSession) EndTime() (*big.Int, error)

EndTime is a free data retrieval call binding the contract method 0x16243356.

Solidity: function end_time() view returns(uint256)

func (*CurveVestingCrvCallerSession) FundAdmins

func (_CurveVestingCrv *CurveVestingCrvCallerSession) FundAdmins(arg0 common.Address) (bool, error)

FundAdmins is a free data retrieval call binding the contract method 0x1696c387.

Solidity: function fund_admins(address arg0) view returns(bool)

func (*CurveVestingCrvCallerSession) FundAdminsEnabled

func (_CurveVestingCrv *CurveVestingCrvCallerSession) FundAdminsEnabled() (bool, error)

FundAdminsEnabled is a free data retrieval call binding the contract method 0x144d4f25.

Solidity: function fund_admins_enabled() view returns(bool)

func (*CurveVestingCrvCallerSession) FutureAdmin

func (_CurveVestingCrv *CurveVestingCrvCallerSession) FutureAdmin() (common.Address, error)

FutureAdmin is a free data retrieval call binding the contract method 0x17f7182a.

Solidity: function future_admin() view returns(address)

func (*CurveVestingCrvCallerSession) InitialLocked

func (_CurveVestingCrv *CurveVestingCrvCallerSession) InitialLocked(arg0 common.Address) (*big.Int, error)

InitialLocked is a free data retrieval call binding the contract method 0x50b3aad4.

Solidity: function initial_locked(address arg0) view returns(uint256)

func (*CurveVestingCrvCallerSession) InitialLockedSupply

func (_CurveVestingCrv *CurveVestingCrvCallerSession) InitialLockedSupply() (*big.Int, error)

InitialLockedSupply is a free data retrieval call binding the contract method 0x21dc49b4.

Solidity: function initial_locked_supply() view returns(uint256)

func (*CurveVestingCrvCallerSession) LockedOf

func (_CurveVestingCrv *CurveVestingCrvCallerSession) LockedOf(_recipient common.Address) (*big.Int, error)

LockedOf is a free data retrieval call binding the contract method 0xa5f1e282.

Solidity: function lockedOf(address _recipient) view returns(uint256)

func (*CurveVestingCrvCallerSession) LockedSupply

func (_CurveVestingCrv *CurveVestingCrvCallerSession) LockedSupply() (*big.Int, error)

LockedSupply is a free data retrieval call binding the contract method 0xca5c7b91.

Solidity: function lockedSupply() view returns(uint256)

func (*CurveVestingCrvCallerSession) StartTime

func (_CurveVestingCrv *CurveVestingCrvCallerSession) StartTime() (*big.Int, error)

StartTime is a free data retrieval call binding the contract method 0x834ee417.

Solidity: function start_time() view returns(uint256)

func (*CurveVestingCrvCallerSession) Token

func (_CurveVestingCrv *CurveVestingCrvCallerSession) Token() (common.Address, error)

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

Solidity: function token() view returns(address)

func (*CurveVestingCrvCallerSession) TotalClaimed

func (_CurveVestingCrv *CurveVestingCrvCallerSession) TotalClaimed(arg0 common.Address) (*big.Int, error)

TotalClaimed is a free data retrieval call binding the contract method 0xb8638e1e.

Solidity: function total_claimed(address arg0) view returns(uint256)

func (*CurveVestingCrvCallerSession) UnallocatedSupply

func (_CurveVestingCrv *CurveVestingCrvCallerSession) UnallocatedSupply() (*big.Int, error)

UnallocatedSupply is a free data retrieval call binding the contract method 0x0b080cc2.

Solidity: function unallocated_supply() view returns(uint256)

func (*CurveVestingCrvCallerSession) VestedOf

func (_CurveVestingCrv *CurveVestingCrvCallerSession) VestedOf(_recipient common.Address) (*big.Int, error)

VestedOf is a free data retrieval call binding the contract method 0x94477104.

Solidity: function vestedOf(address _recipient) view returns(uint256)

func (*CurveVestingCrvCallerSession) VestedSupply

func (_CurveVestingCrv *CurveVestingCrvCallerSession) VestedSupply() (*big.Int, error)

VestedSupply is a free data retrieval call binding the contract method 0xd9844dc0.

Solidity: function vestedSupply() view returns(uint256)

type CurveVestingCrvClaim

type CurveVestingCrvClaim struct {
	Recipient common.Address
	Claimed   *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

CurveVestingCrvClaim represents a Claim event raised by the CurveVestingCrv contract.

type CurveVestingCrvClaimIterator

type CurveVestingCrvClaimIterator struct {
	Event *CurveVestingCrvClaim // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CurveVestingCrvClaimIterator is returned from FilterClaim and is used to iterate over the raw logs and unpacked data for Claim events raised by the CurveVestingCrv contract.

func (*CurveVestingCrvClaimIterator) Close

func (it *CurveVestingCrvClaimIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*CurveVestingCrvClaimIterator) Error

func (it *CurveVestingCrvClaimIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurveVestingCrvClaimIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CurveVestingCrvCommitOwnership

type CurveVestingCrvCommitOwnership struct {
	Admin common.Address
	Raw   types.Log // Blockchain specific contextual infos
}

CurveVestingCrvCommitOwnership represents a CommitOwnership event raised by the CurveVestingCrv contract.

type CurveVestingCrvCommitOwnershipIterator

type CurveVestingCrvCommitOwnershipIterator struct {
	Event *CurveVestingCrvCommitOwnership // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CurveVestingCrvCommitOwnershipIterator is returned from FilterCommitOwnership and is used to iterate over the raw logs and unpacked data for CommitOwnership events raised by the CurveVestingCrv contract.

func (*CurveVestingCrvCommitOwnershipIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CurveVestingCrvCommitOwnershipIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurveVestingCrvCommitOwnershipIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CurveVestingCrvFilterer

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

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

func NewCurveVestingCrvFilterer

func NewCurveVestingCrvFilterer(address common.Address, filterer bind.ContractFilterer) (*CurveVestingCrvFilterer, error)

NewCurveVestingCrvFilterer creates a new log filterer instance of CurveVestingCrv, bound to a specific deployed contract.

func (*CurveVestingCrvFilterer) FilterApplyOwnership

func (_CurveVestingCrv *CurveVestingCrvFilterer) FilterApplyOwnership(opts *bind.FilterOpts) (*CurveVestingCrvApplyOwnershipIterator, error)

FilterApplyOwnership is a free log retrieval operation binding the contract event 0xebee2d5739011062cb4f14113f3b36bf0ffe3da5c0568f64189d1012a1189105.

Solidity: event ApplyOwnership(address admin)

func (*CurveVestingCrvFilterer) FilterClaim

func (_CurveVestingCrv *CurveVestingCrvFilterer) FilterClaim(opts *bind.FilterOpts, recipient []common.Address) (*CurveVestingCrvClaimIterator, error)

FilterClaim is a free log retrieval operation binding the contract event 0x47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d4.

Solidity: event Claim(address indexed recipient, uint256 claimed)

func (*CurveVestingCrvFilterer) FilterCommitOwnership

func (_CurveVestingCrv *CurveVestingCrvFilterer) FilterCommitOwnership(opts *bind.FilterOpts) (*CurveVestingCrvCommitOwnershipIterator, error)

FilterCommitOwnership is a free log retrieval operation binding the contract event 0x2f56810a6bf40af059b96d3aea4db54081f378029a518390491093a7b67032e9.

Solidity: event CommitOwnership(address admin)

func (*CurveVestingCrvFilterer) FilterFund

func (_CurveVestingCrv *CurveVestingCrvFilterer) FilterFund(opts *bind.FilterOpts, recipient []common.Address) (*CurveVestingCrvFundIterator, error)

FilterFund is a free log retrieval operation binding the contract event 0xda8220a878ff7a89474ccffdaa31ea1ed1ffbb0207d5051afccc4fbaf81f9bcd.

Solidity: event Fund(address indexed recipient, uint256 amount)

func (*CurveVestingCrvFilterer) FilterToggleDisable

func (_CurveVestingCrv *CurveVestingCrvFilterer) FilterToggleDisable(opts *bind.FilterOpts) (*CurveVestingCrvToggleDisableIterator, error)

FilterToggleDisable is a free log retrieval operation binding the contract event 0xcc8442d1b68aaf1cdb1da2b3d9ebf3daad586d3404166b75d744a8b5092cefad.

Solidity: event ToggleDisable(address recipient, bool disabled)

func (*CurveVestingCrvFilterer) ParseApplyOwnership

func (_CurveVestingCrv *CurveVestingCrvFilterer) ParseApplyOwnership(log types.Log) (*CurveVestingCrvApplyOwnership, error)

ParseApplyOwnership is a log parse operation binding the contract event 0xebee2d5739011062cb4f14113f3b36bf0ffe3da5c0568f64189d1012a1189105.

Solidity: event ApplyOwnership(address admin)

func (*CurveVestingCrvFilterer) ParseClaim

func (_CurveVestingCrv *CurveVestingCrvFilterer) ParseClaim(log types.Log) (*CurveVestingCrvClaim, error)

ParseClaim is a log parse operation binding the contract event 0x47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d4.

Solidity: event Claim(address indexed recipient, uint256 claimed)

func (*CurveVestingCrvFilterer) ParseCommitOwnership

func (_CurveVestingCrv *CurveVestingCrvFilterer) ParseCommitOwnership(log types.Log) (*CurveVestingCrvCommitOwnership, error)

ParseCommitOwnership is a log parse operation binding the contract event 0x2f56810a6bf40af059b96d3aea4db54081f378029a518390491093a7b67032e9.

Solidity: event CommitOwnership(address admin)

func (*CurveVestingCrvFilterer) ParseFund

func (_CurveVestingCrv *CurveVestingCrvFilterer) ParseFund(log types.Log) (*CurveVestingCrvFund, error)

ParseFund is a log parse operation binding the contract event 0xda8220a878ff7a89474ccffdaa31ea1ed1ffbb0207d5051afccc4fbaf81f9bcd.

Solidity: event Fund(address indexed recipient, uint256 amount)

func (*CurveVestingCrvFilterer) ParseToggleDisable

func (_CurveVestingCrv *CurveVestingCrvFilterer) ParseToggleDisable(log types.Log) (*CurveVestingCrvToggleDisable, error)

ParseToggleDisable is a log parse operation binding the contract event 0xcc8442d1b68aaf1cdb1da2b3d9ebf3daad586d3404166b75d744a8b5092cefad.

Solidity: event ToggleDisable(address recipient, bool disabled)

func (*CurveVestingCrvFilterer) WatchApplyOwnership

func (_CurveVestingCrv *CurveVestingCrvFilterer) WatchApplyOwnership(opts *bind.WatchOpts, sink chan<- *CurveVestingCrvApplyOwnership) (event.Subscription, error)

WatchApplyOwnership is a free log subscription operation binding the contract event 0xebee2d5739011062cb4f14113f3b36bf0ffe3da5c0568f64189d1012a1189105.

Solidity: event ApplyOwnership(address admin)

func (*CurveVestingCrvFilterer) WatchClaim

func (_CurveVestingCrv *CurveVestingCrvFilterer) WatchClaim(opts *bind.WatchOpts, sink chan<- *CurveVestingCrvClaim, recipient []common.Address) (event.Subscription, error)

WatchClaim is a free log subscription operation binding the contract event 0x47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d4.

Solidity: event Claim(address indexed recipient, uint256 claimed)

func (*CurveVestingCrvFilterer) WatchCommitOwnership

func (_CurveVestingCrv *CurveVestingCrvFilterer) WatchCommitOwnership(opts *bind.WatchOpts, sink chan<- *CurveVestingCrvCommitOwnership) (event.Subscription, error)

WatchCommitOwnership is a free log subscription operation binding the contract event 0x2f56810a6bf40af059b96d3aea4db54081f378029a518390491093a7b67032e9.

Solidity: event CommitOwnership(address admin)

func (*CurveVestingCrvFilterer) WatchFund

func (_CurveVestingCrv *CurveVestingCrvFilterer) WatchFund(opts *bind.WatchOpts, sink chan<- *CurveVestingCrvFund, recipient []common.Address) (event.Subscription, error)

WatchFund is a free log subscription operation binding the contract event 0xda8220a878ff7a89474ccffdaa31ea1ed1ffbb0207d5051afccc4fbaf81f9bcd.

Solidity: event Fund(address indexed recipient, uint256 amount)

func (*CurveVestingCrvFilterer) WatchToggleDisable

func (_CurveVestingCrv *CurveVestingCrvFilterer) WatchToggleDisable(opts *bind.WatchOpts, sink chan<- *CurveVestingCrvToggleDisable) (event.Subscription, error)

WatchToggleDisable is a free log subscription operation binding the contract event 0xcc8442d1b68aaf1cdb1da2b3d9ebf3daad586d3404166b75d744a8b5092cefad.

Solidity: event ToggleDisable(address recipient, bool disabled)

type CurveVestingCrvFund

type CurveVestingCrvFund struct {
	Recipient common.Address
	Amount    *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

CurveVestingCrvFund represents a Fund event raised by the CurveVestingCrv contract.

type CurveVestingCrvFundIterator

type CurveVestingCrvFundIterator struct {
	Event *CurveVestingCrvFund // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CurveVestingCrvFundIterator is returned from FilterFund and is used to iterate over the raw logs and unpacked data for Fund events raised by the CurveVestingCrv contract.

func (*CurveVestingCrvFundIterator) Close

func (it *CurveVestingCrvFundIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*CurveVestingCrvFundIterator) Error

func (it *CurveVestingCrvFundIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurveVestingCrvFundIterator) Next

func (it *CurveVestingCrvFundIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CurveVestingCrvRaw

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

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

func (*CurveVestingCrvRaw) Call

func (_CurveVestingCrv *CurveVestingCrvRaw) 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 (*CurveVestingCrvRaw) Transact

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

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

func (*CurveVestingCrvRaw) Transfer

func (_CurveVestingCrv *CurveVestingCrvRaw) 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 CurveVestingCrvSession

type CurveVestingCrvSession struct {
	Contract     *CurveVestingCrv  // 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
}

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

func (*CurveVestingCrvSession) AddTokens

func (_CurveVestingCrv *CurveVestingCrvSession) AddTokens(_amount *big.Int) (*types.Transaction, error)

AddTokens is a paid mutator transaction binding the contract method 0xd78c4464.

Solidity: function add_tokens(uint256 _amount) returns()

func (*CurveVestingCrvSession) Admin

func (_CurveVestingCrv *CurveVestingCrvSession) Admin() (common.Address, error)

Admin is a free data retrieval call binding the contract method 0xf851a440.

Solidity: function admin() view returns(address)

func (*CurveVestingCrvSession) ApplyTransferOwnership

func (_CurveVestingCrv *CurveVestingCrvSession) ApplyTransferOwnership() (*types.Transaction, error)

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

Solidity: function apply_transfer_ownership() returns(bool)

func (*CurveVestingCrvSession) BalanceOf

func (_CurveVestingCrv *CurveVestingCrvSession) BalanceOf(_recipient common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address _recipient) view returns(uint256)

func (*CurveVestingCrvSession) CanDisable

func (_CurveVestingCrv *CurveVestingCrvSession) CanDisable() (bool, error)

CanDisable is a free data retrieval call binding the contract method 0x0568de41.

Solidity: function can_disable() view returns(bool)

func (*CurveVestingCrvSession) Claim

func (_CurveVestingCrv *CurveVestingCrvSession) Claim() (*types.Transaction, error)

Claim is a paid mutator transaction binding the contract method 0x4e71d92d.

Solidity: function claim() returns()

func (*CurveVestingCrvSession) Claim0

func (_CurveVestingCrv *CurveVestingCrvSession) Claim0(addr common.Address) (*types.Transaction, error)

Claim0 is a paid mutator transaction binding the contract method 0x1e83409a.

Solidity: function claim(address addr) returns()

func (*CurveVestingCrvSession) CommitTransferOwnership

func (_CurveVestingCrv *CurveVestingCrvSession) CommitTransferOwnership(addr common.Address) (*types.Transaction, error)

CommitTransferOwnership is a paid mutator transaction binding the contract method 0x6b441a40.

Solidity: function commit_transfer_ownership(address addr) returns(bool)

func (*CurveVestingCrvSession) DisableCanDisable

func (_CurveVestingCrv *CurveVestingCrvSession) DisableCanDisable() (*types.Transaction, error)

DisableCanDisable is a paid mutator transaction binding the contract method 0x2a1e50fd.

Solidity: function disable_can_disable() returns()

func (*CurveVestingCrvSession) DisableFundAdmins

func (_CurveVestingCrv *CurveVestingCrvSession) DisableFundAdmins() (*types.Transaction, error)

DisableFundAdmins is a paid mutator transaction binding the contract method 0x72dd3ee8.

Solidity: function disable_fund_admins() returns()

func (*CurveVestingCrvSession) DisabledAt

func (_CurveVestingCrv *CurveVestingCrvSession) DisabledAt(arg0 common.Address) (*big.Int, error)

DisabledAt is a free data retrieval call binding the contract method 0x6b10247d.

Solidity: function disabled_at(address arg0) view returns(uint256)

func (*CurveVestingCrvSession) EndTime

func (_CurveVestingCrv *CurveVestingCrvSession) EndTime() (*big.Int, error)

EndTime is a free data retrieval call binding the contract method 0x16243356.

Solidity: function end_time() view returns(uint256)

func (*CurveVestingCrvSession) Fund

func (_CurveVestingCrv *CurveVestingCrvSession) Fund(_recipients [100]common.Address, _amounts [100]*big.Int) (*types.Transaction, error)

Fund is a paid mutator transaction binding the contract method 0xdc4555da.

Solidity: function fund(address[100] _recipients, uint256[100] _amounts) returns()

func (*CurveVestingCrvSession) FundAdmins

func (_CurveVestingCrv *CurveVestingCrvSession) FundAdmins(arg0 common.Address) (bool, error)

FundAdmins is a free data retrieval call binding the contract method 0x1696c387.

Solidity: function fund_admins(address arg0) view returns(bool)

func (*CurveVestingCrvSession) FundAdminsEnabled

func (_CurveVestingCrv *CurveVestingCrvSession) FundAdminsEnabled() (bool, error)

FundAdminsEnabled is a free data retrieval call binding the contract method 0x144d4f25.

Solidity: function fund_admins_enabled() view returns(bool)

func (*CurveVestingCrvSession) FutureAdmin

func (_CurveVestingCrv *CurveVestingCrvSession) FutureAdmin() (common.Address, error)

FutureAdmin is a free data retrieval call binding the contract method 0x17f7182a.

Solidity: function future_admin() view returns(address)

func (*CurveVestingCrvSession) InitialLocked

func (_CurveVestingCrv *CurveVestingCrvSession) InitialLocked(arg0 common.Address) (*big.Int, error)

InitialLocked is a free data retrieval call binding the contract method 0x50b3aad4.

Solidity: function initial_locked(address arg0) view returns(uint256)

func (*CurveVestingCrvSession) InitialLockedSupply

func (_CurveVestingCrv *CurveVestingCrvSession) InitialLockedSupply() (*big.Int, error)

InitialLockedSupply is a free data retrieval call binding the contract method 0x21dc49b4.

Solidity: function initial_locked_supply() view returns(uint256)

func (*CurveVestingCrvSession) LockedOf

func (_CurveVestingCrv *CurveVestingCrvSession) LockedOf(_recipient common.Address) (*big.Int, error)

LockedOf is a free data retrieval call binding the contract method 0xa5f1e282.

Solidity: function lockedOf(address _recipient) view returns(uint256)

func (*CurveVestingCrvSession) LockedSupply

func (_CurveVestingCrv *CurveVestingCrvSession) LockedSupply() (*big.Int, error)

LockedSupply is a free data retrieval call binding the contract method 0xca5c7b91.

Solidity: function lockedSupply() view returns(uint256)

func (*CurveVestingCrvSession) StartTime

func (_CurveVestingCrv *CurveVestingCrvSession) StartTime() (*big.Int, error)

StartTime is a free data retrieval call binding the contract method 0x834ee417.

Solidity: function start_time() view returns(uint256)

func (*CurveVestingCrvSession) ToggleDisable

func (_CurveVestingCrv *CurveVestingCrvSession) ToggleDisable(_recipient common.Address) (*types.Transaction, error)

ToggleDisable is a paid mutator transaction binding the contract method 0x36fc59c7.

Solidity: function toggle_disable(address _recipient) returns()

func (*CurveVestingCrvSession) Token

func (_CurveVestingCrv *CurveVestingCrvSession) Token() (common.Address, error)

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

Solidity: function token() view returns(address)

func (*CurveVestingCrvSession) TotalClaimed

func (_CurveVestingCrv *CurveVestingCrvSession) TotalClaimed(arg0 common.Address) (*big.Int, error)

TotalClaimed is a free data retrieval call binding the contract method 0xb8638e1e.

Solidity: function total_claimed(address arg0) view returns(uint256)

func (*CurveVestingCrvSession) UnallocatedSupply

func (_CurveVestingCrv *CurveVestingCrvSession) UnallocatedSupply() (*big.Int, error)

UnallocatedSupply is a free data retrieval call binding the contract method 0x0b080cc2.

Solidity: function unallocated_supply() view returns(uint256)

func (*CurveVestingCrvSession) VestedOf

func (_CurveVestingCrv *CurveVestingCrvSession) VestedOf(_recipient common.Address) (*big.Int, error)

VestedOf is a free data retrieval call binding the contract method 0x94477104.

Solidity: function vestedOf(address _recipient) view returns(uint256)

func (*CurveVestingCrvSession) VestedSupply

func (_CurveVestingCrv *CurveVestingCrvSession) VestedSupply() (*big.Int, error)

VestedSupply is a free data retrieval call binding the contract method 0xd9844dc0.

Solidity: function vestedSupply() view returns(uint256)

type CurveVestingCrvToggleDisable

type CurveVestingCrvToggleDisable struct {
	Recipient common.Address
	Disabled  bool
	Raw       types.Log // Blockchain specific contextual infos
}

CurveVestingCrvToggleDisable represents a ToggleDisable event raised by the CurveVestingCrv contract.

type CurveVestingCrvToggleDisableIterator

type CurveVestingCrvToggleDisableIterator struct {
	Event *CurveVestingCrvToggleDisable // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

CurveVestingCrvToggleDisableIterator is returned from FilterToggleDisable and is used to iterate over the raw logs and unpacked data for ToggleDisable events raised by the CurveVestingCrv contract.

func (*CurveVestingCrvToggleDisableIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*CurveVestingCrvToggleDisableIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CurveVestingCrvToggleDisableIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type CurveVestingCrvTransactor

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

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

func NewCurveVestingCrvTransactor

func NewCurveVestingCrvTransactor(address common.Address, transactor bind.ContractTransactor) (*CurveVestingCrvTransactor, error)

NewCurveVestingCrvTransactor creates a new write-only instance of CurveVestingCrv, bound to a specific deployed contract.

func (*CurveVestingCrvTransactor) AddTokens

func (_CurveVestingCrv *CurveVestingCrvTransactor) AddTokens(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error)

AddTokens is a paid mutator transaction binding the contract method 0xd78c4464.

Solidity: function add_tokens(uint256 _amount) returns()

func (*CurveVestingCrvTransactor) ApplyTransferOwnership

func (_CurveVestingCrv *CurveVestingCrvTransactor) ApplyTransferOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function apply_transfer_ownership() returns(bool)

func (*CurveVestingCrvTransactor) Claim

func (_CurveVestingCrv *CurveVestingCrvTransactor) Claim(opts *bind.TransactOpts) (*types.Transaction, error)

Claim is a paid mutator transaction binding the contract method 0x4e71d92d.

Solidity: function claim() returns()

func (*CurveVestingCrvTransactor) Claim0

func (_CurveVestingCrv *CurveVestingCrvTransactor) Claim0(opts *bind.TransactOpts, addr common.Address) (*types.Transaction, error)

Claim0 is a paid mutator transaction binding the contract method 0x1e83409a.

Solidity: function claim(address addr) returns()

func (*CurveVestingCrvTransactor) CommitTransferOwnership

func (_CurveVestingCrv *CurveVestingCrvTransactor) CommitTransferOwnership(opts *bind.TransactOpts, addr common.Address) (*types.Transaction, error)

CommitTransferOwnership is a paid mutator transaction binding the contract method 0x6b441a40.

Solidity: function commit_transfer_ownership(address addr) returns(bool)

func (*CurveVestingCrvTransactor) DisableCanDisable

func (_CurveVestingCrv *CurveVestingCrvTransactor) DisableCanDisable(opts *bind.TransactOpts) (*types.Transaction, error)

DisableCanDisable is a paid mutator transaction binding the contract method 0x2a1e50fd.

Solidity: function disable_can_disable() returns()

func (*CurveVestingCrvTransactor) DisableFundAdmins

func (_CurveVestingCrv *CurveVestingCrvTransactor) DisableFundAdmins(opts *bind.TransactOpts) (*types.Transaction, error)

DisableFundAdmins is a paid mutator transaction binding the contract method 0x72dd3ee8.

Solidity: function disable_fund_admins() returns()

func (*CurveVestingCrvTransactor) Fund

func (_CurveVestingCrv *CurveVestingCrvTransactor) Fund(opts *bind.TransactOpts, _recipients [100]common.Address, _amounts [100]*big.Int) (*types.Transaction, error)

Fund is a paid mutator transaction binding the contract method 0xdc4555da.

Solidity: function fund(address[100] _recipients, uint256[100] _amounts) returns()

func (*CurveVestingCrvTransactor) ToggleDisable

func (_CurveVestingCrv *CurveVestingCrvTransactor) ToggleDisable(opts *bind.TransactOpts, _recipient common.Address) (*types.Transaction, error)

ToggleDisable is a paid mutator transaction binding the contract method 0x36fc59c7.

Solidity: function toggle_disable(address _recipient) returns()

type CurveVestingCrvTransactorRaw

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

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

func (*CurveVestingCrvTransactorRaw) Transact

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

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

func (*CurveVestingCrvTransactorRaw) Transfer

func (_CurveVestingCrv *CurveVestingCrvTransactorRaw) 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 CurveVestingCrvTransactorSession

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

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

func (*CurveVestingCrvTransactorSession) AddTokens

func (_CurveVestingCrv *CurveVestingCrvTransactorSession) AddTokens(_amount *big.Int) (*types.Transaction, error)

AddTokens is a paid mutator transaction binding the contract method 0xd78c4464.

Solidity: function add_tokens(uint256 _amount) returns()

func (*CurveVestingCrvTransactorSession) ApplyTransferOwnership

func (_CurveVestingCrv *CurveVestingCrvTransactorSession) ApplyTransferOwnership() (*types.Transaction, error)

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

Solidity: function apply_transfer_ownership() returns(bool)

func (*CurveVestingCrvTransactorSession) Claim

func (_CurveVestingCrv *CurveVestingCrvTransactorSession) Claim() (*types.Transaction, error)

Claim is a paid mutator transaction binding the contract method 0x4e71d92d.

Solidity: function claim() returns()

func (*CurveVestingCrvTransactorSession) Claim0

func (_CurveVestingCrv *CurveVestingCrvTransactorSession) Claim0(addr common.Address) (*types.Transaction, error)

Claim0 is a paid mutator transaction binding the contract method 0x1e83409a.

Solidity: function claim(address addr) returns()

func (*CurveVestingCrvTransactorSession) CommitTransferOwnership

func (_CurveVestingCrv *CurveVestingCrvTransactorSession) CommitTransferOwnership(addr common.Address) (*types.Transaction, error)

CommitTransferOwnership is a paid mutator transaction binding the contract method 0x6b441a40.

Solidity: function commit_transfer_ownership(address addr) returns(bool)

func (*CurveVestingCrvTransactorSession) DisableCanDisable

func (_CurveVestingCrv *CurveVestingCrvTransactorSession) DisableCanDisable() (*types.Transaction, error)

DisableCanDisable is a paid mutator transaction binding the contract method 0x2a1e50fd.

Solidity: function disable_can_disable() returns()

func (*CurveVestingCrvTransactorSession) DisableFundAdmins

func (_CurveVestingCrv *CurveVestingCrvTransactorSession) DisableFundAdmins() (*types.Transaction, error)

DisableFundAdmins is a paid mutator transaction binding the contract method 0x72dd3ee8.

Solidity: function disable_fund_admins() returns()

func (*CurveVestingCrvTransactorSession) Fund

func (_CurveVestingCrv *CurveVestingCrvTransactorSession) Fund(_recipients [100]common.Address, _amounts [100]*big.Int) (*types.Transaction, error)

Fund is a paid mutator transaction binding the contract method 0xdc4555da.

Solidity: function fund(address[100] _recipients, uint256[100] _amounts) returns()

func (*CurveVestingCrvTransactorSession) ToggleDisable

func (_CurveVestingCrv *CurveVestingCrvTransactorSession) ToggleDisable(_recipient common.Address) (*types.Transaction, error)

ToggleDisable is a paid mutator transaction binding the contract method 0x36fc59c7.

Solidity: function toggle_disable(address _recipient) returns()

Jump to

Keyboard shortcuts

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