curveGauge

package
v0.1.22 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CurveGaugeABI = CurveGaugeMetaData.ABI

CurveGaugeABI is the input ABI used to generate the binding from. Deprecated: Use CurveGaugeMetaData.ABI instead.

View Source
var CurveGaugeMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"name\":\"accept_transfer_ownership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"admin\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"arg0\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"arg1\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"arg0\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_addr\",\"type\":\"address\"}],\"name\":\"claim_rewards\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_addr\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_receiver\",\"type\":\"address\"}],\"name\":\"claim_rewards\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"claim_rewards\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"claim_sig\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_addr\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"}],\"name\":\"claimable_reward\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_addr\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"}],\"name\":\"claimable_reward_write\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_addr\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"}],\"name\":\"claimed_reward\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"}],\"name\":\"commit_transfer_ownership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_subtracted_value\",\"type\":\"uint256\"}],\"name\":\"decreaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_value\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_addr\",\"type\":\"address\"}],\"name\":\"deposit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_value\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_addr\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"_claim_rewards\",\"type\":\"bool\"}],\"name\":\"deposit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"deposit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"future_admin\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_added_value\",\"type\":\"uint256\"}],\"name\":\"increaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"last_claim\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"lp_token\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"arg0\",\"type\":\"address\"}],\"name\":\"reward_balances\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"reward_contract\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"arg0\",\"type\":\"address\"}],\"name\":\"reward_integral\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"arg0\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"arg1\",\"type\":\"address\"}],\"name\":\"reward_integral_for\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"arg0\",\"type\":\"uint256\"}],\"name\":\"reward_tokens\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"arg0\",\"type\":\"address\"}],\"name\":\"rewards_receiver\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_reward_contract\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"_claim_sig\",\"type\":\"bytes32\"},{\"internalType\":\"address[8]\",\"name\":\"_reward_tokens\",\"type\":\"address[8]\"}],\"name\":\"set_rewards\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_receiver\",\"type\":\"address\"}],\"name\":\"set_rewards_receiver\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_value\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"_claim_rewards\",\"type\":\"bool\"}],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

CurveGaugeMetaData contains all meta data concerning the CurveGauge contract.

Functions

This section is empty.

Types

type CurveGauge

type CurveGauge struct {
	CurveGaugeCaller     // Read-only binding to the contract
	CurveGaugeTransactor // Write-only binding to the contract
	CurveGaugeFilterer   // Log filterer for contract events
}

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

func NewCurveGauge

func NewCurveGauge(address common.Address, backend bind.ContractBackend) (*CurveGauge, error)

NewCurveGauge creates a new instance of CurveGauge, bound to a specific deployed contract.

type CurveGaugeCaller

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

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

func NewCurveGaugeCaller

func NewCurveGaugeCaller(address common.Address, caller bind.ContractCaller) (*CurveGaugeCaller, error)

NewCurveGaugeCaller creates a new read-only instance of CurveGauge, bound to a specific deployed contract.

func (*CurveGaugeCaller) Admin

func (_CurveGauge *CurveGaugeCaller) 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 (*CurveGaugeCaller) Allowance

func (_CurveGauge *CurveGaugeCaller) 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 (*CurveGaugeCaller) BalanceOf

func (_CurveGauge *CurveGaugeCaller) 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 (*CurveGaugeCaller) ClaimSig

func (_CurveGauge *CurveGaugeCaller) ClaimSig(opts *bind.CallOpts) ([]byte, error)

ClaimSig is a free data retrieval call binding the contract method 0xb7aca568.

Solidity: function claim_sig() view returns(bytes)

func (*CurveGaugeCaller) ClaimableReward

func (_CurveGauge *CurveGaugeCaller) ClaimableReward(opts *bind.CallOpts, _addr common.Address, _token common.Address) (*big.Int, error)

ClaimableReward is a free data retrieval call binding the contract method 0x33fd6f74.

Solidity: function claimable_reward(address _addr, address _token) view returns(uint256)

func (*CurveGaugeCaller) ClaimedReward

func (_CurveGauge *CurveGaugeCaller) ClaimedReward(opts *bind.CallOpts, _addr common.Address, _token common.Address) (*big.Int, error)

ClaimedReward is a free data retrieval call binding the contract method 0xe77e7437.

Solidity: function claimed_reward(address _addr, address _token) view returns(uint256)

func (*CurveGaugeCaller) Decimals

func (_CurveGauge *CurveGaugeCaller) 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 (*CurveGaugeCaller) FutureAdmin

func (_CurveGauge *CurveGaugeCaller) 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 (*CurveGaugeCaller) LastClaim

func (_CurveGauge *CurveGaugeCaller) LastClaim(opts *bind.CallOpts) (*big.Int, error)

LastClaim is a free data retrieval call binding the contract method 0x3488bd19.

Solidity: function last_claim() view returns(uint256)

func (*CurveGaugeCaller) LpToken

func (_CurveGauge *CurveGaugeCaller) 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 (*CurveGaugeCaller) Name

func (_CurveGauge *CurveGaugeCaller) 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 (*CurveGaugeCaller) RewardBalances

func (_CurveGauge *CurveGaugeCaller) RewardBalances(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

RewardBalances is a free data retrieval call binding the contract method 0xfe9e2178.

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

func (*CurveGaugeCaller) RewardContract

func (_CurveGauge *CurveGaugeCaller) 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 (*CurveGaugeCaller) RewardIntegral

func (_CurveGauge *CurveGaugeCaller) 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 (*CurveGaugeCaller) RewardIntegralFor

func (_CurveGauge *CurveGaugeCaller) 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 (*CurveGaugeCaller) RewardTokens

func (_CurveGauge *CurveGaugeCaller) 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 (*CurveGaugeCaller) RewardsReceiver

func (_CurveGauge *CurveGaugeCaller) RewardsReceiver(opts *bind.CallOpts, arg0 common.Address) (common.Address, error)

RewardsReceiver is a free data retrieval call binding the contract method 0x01ddabf1.

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

func (*CurveGaugeCaller) Symbol

func (_CurveGauge *CurveGaugeCaller) 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 (*CurveGaugeCaller) TotalSupply

func (_CurveGauge *CurveGaugeCaller) 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 CurveGaugeCallerRaw

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

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

func (*CurveGaugeCallerRaw) Call

func (_CurveGauge *CurveGaugeCallerRaw) 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 CurveGaugeCallerSession

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

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

func (*CurveGaugeCallerSession) Admin

func (_CurveGauge *CurveGaugeCallerSession) Admin() (common.Address, error)

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

Solidity: function admin() view returns(address)

func (*CurveGaugeCallerSession) Allowance

func (_CurveGauge *CurveGaugeCallerSession) 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 (*CurveGaugeCallerSession) BalanceOf

func (_CurveGauge *CurveGaugeCallerSession) 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 (*CurveGaugeCallerSession) ClaimSig

func (_CurveGauge *CurveGaugeCallerSession) ClaimSig() ([]byte, error)

ClaimSig is a free data retrieval call binding the contract method 0xb7aca568.

Solidity: function claim_sig() view returns(bytes)

func (*CurveGaugeCallerSession) ClaimableReward

func (_CurveGauge *CurveGaugeCallerSession) ClaimableReward(_addr common.Address, _token common.Address) (*big.Int, error)

ClaimableReward is a free data retrieval call binding the contract method 0x33fd6f74.

Solidity: function claimable_reward(address _addr, address _token) view returns(uint256)

func (*CurveGaugeCallerSession) ClaimedReward

func (_CurveGauge *CurveGaugeCallerSession) ClaimedReward(_addr common.Address, _token common.Address) (*big.Int, error)

ClaimedReward is a free data retrieval call binding the contract method 0xe77e7437.

Solidity: function claimed_reward(address _addr, address _token) view returns(uint256)

func (*CurveGaugeCallerSession) Decimals

func (_CurveGauge *CurveGaugeCallerSession) Decimals() (*big.Int, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint256)

func (*CurveGaugeCallerSession) FutureAdmin

func (_CurveGauge *CurveGaugeCallerSession) FutureAdmin() (common.Address, error)

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

Solidity: function future_admin() view returns(address)

func (*CurveGaugeCallerSession) LastClaim

func (_CurveGauge *CurveGaugeCallerSession) LastClaim() (*big.Int, error)

LastClaim is a free data retrieval call binding the contract method 0x3488bd19.

Solidity: function last_claim() view returns(uint256)

func (*CurveGaugeCallerSession) LpToken

func (_CurveGauge *CurveGaugeCallerSession) LpToken() (common.Address, error)

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

Solidity: function lp_token() view returns(address)

func (*CurveGaugeCallerSession) Name

func (_CurveGauge *CurveGaugeCallerSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*CurveGaugeCallerSession) RewardBalances

func (_CurveGauge *CurveGaugeCallerSession) RewardBalances(arg0 common.Address) (*big.Int, error)

RewardBalances is a free data retrieval call binding the contract method 0xfe9e2178.

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

func (*CurveGaugeCallerSession) RewardContract

func (_CurveGauge *CurveGaugeCallerSession) RewardContract() (common.Address, error)

RewardContract is a free data retrieval call binding the contract method 0xbf88a6ff.

Solidity: function reward_contract() view returns(address)

func (*CurveGaugeCallerSession) RewardIntegral

func (_CurveGauge *CurveGaugeCallerSession) 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 (*CurveGaugeCallerSession) RewardIntegralFor

func (_CurveGauge *CurveGaugeCallerSession) 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 (*CurveGaugeCallerSession) RewardTokens

func (_CurveGauge *CurveGaugeCallerSession) 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 (*CurveGaugeCallerSession) RewardsReceiver

func (_CurveGauge *CurveGaugeCallerSession) RewardsReceiver(arg0 common.Address) (common.Address, error)

RewardsReceiver is a free data retrieval call binding the contract method 0x01ddabf1.

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

func (*CurveGaugeCallerSession) Symbol

func (_CurveGauge *CurveGaugeCallerSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*CurveGaugeCallerSession) TotalSupply

func (_CurveGauge *CurveGaugeCallerSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

type CurveGaugeFilterer

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

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

func NewCurveGaugeFilterer

func NewCurveGaugeFilterer(address common.Address, filterer bind.ContractFilterer) (*CurveGaugeFilterer, error)

NewCurveGaugeFilterer creates a new log filterer instance of CurveGauge, bound to a specific deployed contract.

type CurveGaugeRaw

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

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

func (*CurveGaugeRaw) Call

func (_CurveGauge *CurveGaugeRaw) 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 (*CurveGaugeRaw) Transact

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

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

func (*CurveGaugeRaw) Transfer

func (_CurveGauge *CurveGaugeRaw) 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 CurveGaugeSession

type CurveGaugeSession struct {
	Contract     *CurveGauge       // 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
}

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

func (*CurveGaugeSession) AcceptTransferOwnership

func (_CurveGauge *CurveGaugeSession) AcceptTransferOwnership() (*types.Transaction, error)

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

Solidity: function accept_transfer_ownership() returns()

func (*CurveGaugeSession) Admin

func (_CurveGauge *CurveGaugeSession) Admin() (common.Address, error)

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

Solidity: function admin() view returns(address)

func (*CurveGaugeSession) Allowance

func (_CurveGauge *CurveGaugeSession) 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 (*CurveGaugeSession) Approve

func (_CurveGauge *CurveGaugeSession) 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 (*CurveGaugeSession) BalanceOf

func (_CurveGauge *CurveGaugeSession) 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 (*CurveGaugeSession) ClaimRewards

func (_CurveGauge *CurveGaugeSession) ClaimRewards(_addr common.Address) (*types.Transaction, error)

ClaimRewards is a paid mutator transaction binding the contract method 0x84e9bd7e.

Solidity: function claim_rewards(address _addr) returns()

func (*CurveGaugeSession) ClaimRewards0

func (_CurveGauge *CurveGaugeSession) ClaimRewards0(_addr common.Address, _receiver common.Address) (*types.Transaction, error)

ClaimRewards0 is a paid mutator transaction binding the contract method 0x9faceb1b.

Solidity: function claim_rewards(address _addr, address _receiver) returns()

func (*CurveGaugeSession) ClaimRewards1

func (_CurveGauge *CurveGaugeSession) ClaimRewards1() (*types.Transaction, error)

ClaimRewards1 is a paid mutator transaction binding the contract method 0xe6f1daf2.

Solidity: function claim_rewards() returns()

func (*CurveGaugeSession) ClaimSig

func (_CurveGauge *CurveGaugeSession) ClaimSig() ([]byte, error)

ClaimSig is a free data retrieval call binding the contract method 0xb7aca568.

Solidity: function claim_sig() view returns(bytes)

func (*CurveGaugeSession) ClaimableReward

func (_CurveGauge *CurveGaugeSession) ClaimableReward(_addr common.Address, _token common.Address) (*big.Int, error)

ClaimableReward is a free data retrieval call binding the contract method 0x33fd6f74.

Solidity: function claimable_reward(address _addr, address _token) view returns(uint256)

func (*CurveGaugeSession) ClaimableRewardWrite

func (_CurveGauge *CurveGaugeSession) ClaimableRewardWrite(_addr common.Address, _token common.Address) (*types.Transaction, error)

ClaimableRewardWrite is a paid mutator transaction binding the contract method 0x59b7e409.

Solidity: function claimable_reward_write(address _addr, address _token) returns(uint256)

func (*CurveGaugeSession) ClaimedReward

func (_CurveGauge *CurveGaugeSession) ClaimedReward(_addr common.Address, _token common.Address) (*big.Int, error)

ClaimedReward is a free data retrieval call binding the contract method 0xe77e7437.

Solidity: function claimed_reward(address _addr, address _token) view returns(uint256)

func (*CurveGaugeSession) CommitTransferOwnership

func (_CurveGauge *CurveGaugeSession) 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 (*CurveGaugeSession) Decimals

func (_CurveGauge *CurveGaugeSession) Decimals() (*big.Int, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint256)

func (*CurveGaugeSession) DecreaseAllowance

func (_CurveGauge *CurveGaugeSession) 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 (*CurveGaugeSession) Deposit

func (_CurveGauge *CurveGaugeSession) Deposit(_value *big.Int, _addr common.Address) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0x6e553f65.

Solidity: function deposit(uint256 _value, address _addr) returns()

func (*CurveGaugeSession) Deposit0

func (_CurveGauge *CurveGaugeSession) Deposit0(_value *big.Int, _addr common.Address, _claim_rewards bool) (*types.Transaction, error)

Deposit0 is a paid mutator transaction binding the contract method 0x83df6747.

Solidity: function deposit(uint256 _value, address _addr, bool _claim_rewards) returns()

func (*CurveGaugeSession) Deposit1

func (_CurveGauge *CurveGaugeSession) Deposit1(_value *big.Int) (*types.Transaction, error)

Deposit1 is a paid mutator transaction binding the contract method 0xb6b55f25.

Solidity: function deposit(uint256 _value) returns()

func (*CurveGaugeSession) FutureAdmin

func (_CurveGauge *CurveGaugeSession) FutureAdmin() (common.Address, error)

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

Solidity: function future_admin() view returns(address)

func (*CurveGaugeSession) IncreaseAllowance

func (_CurveGauge *CurveGaugeSession) 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 (*CurveGaugeSession) LastClaim

func (_CurveGauge *CurveGaugeSession) LastClaim() (*big.Int, error)

LastClaim is a free data retrieval call binding the contract method 0x3488bd19.

Solidity: function last_claim() view returns(uint256)

func (*CurveGaugeSession) LpToken

func (_CurveGauge *CurveGaugeSession) LpToken() (common.Address, error)

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

Solidity: function lp_token() view returns(address)

func (*CurveGaugeSession) Name

func (_CurveGauge *CurveGaugeSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*CurveGaugeSession) RewardBalances

func (_CurveGauge *CurveGaugeSession) RewardBalances(arg0 common.Address) (*big.Int, error)

RewardBalances is a free data retrieval call binding the contract method 0xfe9e2178.

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

func (*CurveGaugeSession) RewardContract

func (_CurveGauge *CurveGaugeSession) RewardContract() (common.Address, error)

RewardContract is a free data retrieval call binding the contract method 0xbf88a6ff.

Solidity: function reward_contract() view returns(address)

func (*CurveGaugeSession) RewardIntegral

func (_CurveGauge *CurveGaugeSession) 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 (*CurveGaugeSession) RewardIntegralFor

func (_CurveGauge *CurveGaugeSession) 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 (*CurveGaugeSession) RewardTokens

func (_CurveGauge *CurveGaugeSession) 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 (*CurveGaugeSession) RewardsReceiver

func (_CurveGauge *CurveGaugeSession) RewardsReceiver(arg0 common.Address) (common.Address, error)

RewardsReceiver is a free data retrieval call binding the contract method 0x01ddabf1.

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

func (*CurveGaugeSession) SetRewards

func (_CurveGauge *CurveGaugeSession) SetRewards(_reward_contract common.Address, _claim_sig [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 _claim_sig, address[8] _reward_tokens) returns()

func (*CurveGaugeSession) SetRewardsReceiver

func (_CurveGauge *CurveGaugeSession) SetRewardsReceiver(_receiver common.Address) (*types.Transaction, error)

SetRewardsReceiver is a paid mutator transaction binding the contract method 0xbdf98116.

Solidity: function set_rewards_receiver(address _receiver) returns()

func (*CurveGaugeSession) Symbol

func (_CurveGauge *CurveGaugeSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*CurveGaugeSession) TotalSupply

func (_CurveGauge *CurveGaugeSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*CurveGaugeSession) Transfer

func (_CurveGauge *CurveGaugeSession) 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 (*CurveGaugeSession) TransferFrom

func (_CurveGauge *CurveGaugeSession) 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 (*CurveGaugeSession) Withdraw

func (_CurveGauge *CurveGaugeSession) 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 (*CurveGaugeSession) Withdraw0

func (_CurveGauge *CurveGaugeSession) Withdraw0(_value *big.Int, _claim_rewards bool) (*types.Transaction, error)

Withdraw0 is a paid mutator transaction binding the contract method 0x38d07436.

Solidity: function withdraw(uint256 _value, bool _claim_rewards) returns()

type CurveGaugeTransactor

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

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

func NewCurveGaugeTransactor

func NewCurveGaugeTransactor(address common.Address, transactor bind.ContractTransactor) (*CurveGaugeTransactor, error)

NewCurveGaugeTransactor creates a new write-only instance of CurveGauge, bound to a specific deployed contract.

func (*CurveGaugeTransactor) AcceptTransferOwnership

func (_CurveGauge *CurveGaugeTransactor) 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 (*CurveGaugeTransactor) Approve

func (_CurveGauge *CurveGaugeTransactor) 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 (*CurveGaugeTransactor) ClaimRewards

func (_CurveGauge *CurveGaugeTransactor) ClaimRewards(opts *bind.TransactOpts, _addr common.Address) (*types.Transaction, error)

ClaimRewards is a paid mutator transaction binding the contract method 0x84e9bd7e.

Solidity: function claim_rewards(address _addr) returns()

func (*CurveGaugeTransactor) ClaimRewards0

func (_CurveGauge *CurveGaugeTransactor) ClaimRewards0(opts *bind.TransactOpts, _addr common.Address, _receiver common.Address) (*types.Transaction, error)

ClaimRewards0 is a paid mutator transaction binding the contract method 0x9faceb1b.

Solidity: function claim_rewards(address _addr, address _receiver) returns()

func (*CurveGaugeTransactor) ClaimRewards1

func (_CurveGauge *CurveGaugeTransactor) ClaimRewards1(opts *bind.TransactOpts) (*types.Transaction, error)

ClaimRewards1 is a paid mutator transaction binding the contract method 0xe6f1daf2.

Solidity: function claim_rewards() returns()

func (*CurveGaugeTransactor) ClaimableRewardWrite

func (_CurveGauge *CurveGaugeTransactor) ClaimableRewardWrite(opts *bind.TransactOpts, _addr common.Address, _token common.Address) (*types.Transaction, error)

ClaimableRewardWrite is a paid mutator transaction binding the contract method 0x59b7e409.

Solidity: function claimable_reward_write(address _addr, address _token) returns(uint256)

func (*CurveGaugeTransactor) CommitTransferOwnership

func (_CurveGauge *CurveGaugeTransactor) 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 (*CurveGaugeTransactor) DecreaseAllowance

func (_CurveGauge *CurveGaugeTransactor) 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 (*CurveGaugeTransactor) Deposit

func (_CurveGauge *CurveGaugeTransactor) Deposit(opts *bind.TransactOpts, _value *big.Int, _addr common.Address) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0x6e553f65.

Solidity: function deposit(uint256 _value, address _addr) returns()

func (*CurveGaugeTransactor) Deposit0

func (_CurveGauge *CurveGaugeTransactor) Deposit0(opts *bind.TransactOpts, _value *big.Int, _addr common.Address, _claim_rewards bool) (*types.Transaction, error)

Deposit0 is a paid mutator transaction binding the contract method 0x83df6747.

Solidity: function deposit(uint256 _value, address _addr, bool _claim_rewards) returns()

func (*CurveGaugeTransactor) Deposit1

func (_CurveGauge *CurveGaugeTransactor) Deposit1(opts *bind.TransactOpts, _value *big.Int) (*types.Transaction, error)

Deposit1 is a paid mutator transaction binding the contract method 0xb6b55f25.

Solidity: function deposit(uint256 _value) returns()

func (*CurveGaugeTransactor) IncreaseAllowance

func (_CurveGauge *CurveGaugeTransactor) 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 (*CurveGaugeTransactor) SetRewards

func (_CurveGauge *CurveGaugeTransactor) SetRewards(opts *bind.TransactOpts, _reward_contract common.Address, _claim_sig [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 _claim_sig, address[8] _reward_tokens) returns()

func (*CurveGaugeTransactor) SetRewardsReceiver

func (_CurveGauge *CurveGaugeTransactor) SetRewardsReceiver(opts *bind.TransactOpts, _receiver common.Address) (*types.Transaction, error)

SetRewardsReceiver is a paid mutator transaction binding the contract method 0xbdf98116.

Solidity: function set_rewards_receiver(address _receiver) returns()

func (*CurveGaugeTransactor) Transfer

func (_CurveGauge *CurveGaugeTransactor) 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 (*CurveGaugeTransactor) TransferFrom

func (_CurveGauge *CurveGaugeTransactor) 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 (*CurveGaugeTransactor) Withdraw

func (_CurveGauge *CurveGaugeTransactor) 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()

func (*CurveGaugeTransactor) Withdraw0

func (_CurveGauge *CurveGaugeTransactor) Withdraw0(opts *bind.TransactOpts, _value *big.Int, _claim_rewards bool) (*types.Transaction, error)

Withdraw0 is a paid mutator transaction binding the contract method 0x38d07436.

Solidity: function withdraw(uint256 _value, bool _claim_rewards) returns()

type CurveGaugeTransactorRaw

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

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

func (*CurveGaugeTransactorRaw) Transact

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

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

func (*CurveGaugeTransactorRaw) Transfer

func (_CurveGauge *CurveGaugeTransactorRaw) 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 CurveGaugeTransactorSession

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

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

func (*CurveGaugeTransactorSession) AcceptTransferOwnership

func (_CurveGauge *CurveGaugeTransactorSession) AcceptTransferOwnership() (*types.Transaction, error)

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

Solidity: function accept_transfer_ownership() returns()

func (*CurveGaugeTransactorSession) Approve

func (_CurveGauge *CurveGaugeTransactorSession) 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 (*CurveGaugeTransactorSession) ClaimRewards

func (_CurveGauge *CurveGaugeTransactorSession) ClaimRewards(_addr common.Address) (*types.Transaction, error)

ClaimRewards is a paid mutator transaction binding the contract method 0x84e9bd7e.

Solidity: function claim_rewards(address _addr) returns()

func (*CurveGaugeTransactorSession) ClaimRewards0

func (_CurveGauge *CurveGaugeTransactorSession) ClaimRewards0(_addr common.Address, _receiver common.Address) (*types.Transaction, error)

ClaimRewards0 is a paid mutator transaction binding the contract method 0x9faceb1b.

Solidity: function claim_rewards(address _addr, address _receiver) returns()

func (*CurveGaugeTransactorSession) ClaimRewards1

func (_CurveGauge *CurveGaugeTransactorSession) ClaimRewards1() (*types.Transaction, error)

ClaimRewards1 is a paid mutator transaction binding the contract method 0xe6f1daf2.

Solidity: function claim_rewards() returns()

func (*CurveGaugeTransactorSession) ClaimableRewardWrite

func (_CurveGauge *CurveGaugeTransactorSession) ClaimableRewardWrite(_addr common.Address, _token common.Address) (*types.Transaction, error)

ClaimableRewardWrite is a paid mutator transaction binding the contract method 0x59b7e409.

Solidity: function claimable_reward_write(address _addr, address _token) returns(uint256)

func (*CurveGaugeTransactorSession) CommitTransferOwnership

func (_CurveGauge *CurveGaugeTransactorSession) 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 (*CurveGaugeTransactorSession) DecreaseAllowance

func (_CurveGauge *CurveGaugeTransactorSession) 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 (*CurveGaugeTransactorSession) Deposit

func (_CurveGauge *CurveGaugeTransactorSession) Deposit(_value *big.Int, _addr common.Address) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0x6e553f65.

Solidity: function deposit(uint256 _value, address _addr) returns()

func (*CurveGaugeTransactorSession) Deposit0

func (_CurveGauge *CurveGaugeTransactorSession) Deposit0(_value *big.Int, _addr common.Address, _claim_rewards bool) (*types.Transaction, error)

Deposit0 is a paid mutator transaction binding the contract method 0x83df6747.

Solidity: function deposit(uint256 _value, address _addr, bool _claim_rewards) returns()

func (*CurveGaugeTransactorSession) Deposit1

func (_CurveGauge *CurveGaugeTransactorSession) Deposit1(_value *big.Int) (*types.Transaction, error)

Deposit1 is a paid mutator transaction binding the contract method 0xb6b55f25.

Solidity: function deposit(uint256 _value) returns()

func (*CurveGaugeTransactorSession) IncreaseAllowance

func (_CurveGauge *CurveGaugeTransactorSession) 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 (*CurveGaugeTransactorSession) SetRewards

func (_CurveGauge *CurveGaugeTransactorSession) SetRewards(_reward_contract common.Address, _claim_sig [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 _claim_sig, address[8] _reward_tokens) returns()

func (*CurveGaugeTransactorSession) SetRewardsReceiver

func (_CurveGauge *CurveGaugeTransactorSession) SetRewardsReceiver(_receiver common.Address) (*types.Transaction, error)

SetRewardsReceiver is a paid mutator transaction binding the contract method 0xbdf98116.

Solidity: function set_rewards_receiver(address _receiver) returns()

func (*CurveGaugeTransactorSession) Transfer

func (_CurveGauge *CurveGaugeTransactorSession) 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 (*CurveGaugeTransactorSession) TransferFrom

func (_CurveGauge *CurveGaugeTransactorSession) 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 (*CurveGaugeTransactorSession) Withdraw

func (_CurveGauge *CurveGaugeTransactorSession) 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 (*CurveGaugeTransactorSession) Withdraw0

func (_CurveGauge *CurveGaugeTransactorSession) Withdraw0(_value *big.Int, _claim_rewards bool) (*types.Transaction, error)

Withdraw0 is a paid mutator transaction binding the contract method 0x38d07436.

Solidity: function withdraw(uint256 _value, bool _claim_rewards) returns()

Jump to

Keyboard shortcuts

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