Documentation ¶
Index ¶
- Variables
- type CurveLp
- type CurveLpCaller
- func (_CurveLp *CurveLpCaller) Allowance(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_CurveLp *CurveLpCaller) BalanceOf(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_CurveLp *CurveLpCaller) Decimals(opts *bind.CallOpts) (*big.Int, error)
- func (_CurveLp *CurveLpCaller) Minter(opts *bind.CallOpts) (common.Address, error)
- func (_CurveLp *CurveLpCaller) Name(opts *bind.CallOpts) (string, error)
- func (_CurveLp *CurveLpCaller) Symbol(opts *bind.CallOpts) (string, error)
- func (_CurveLp *CurveLpCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type CurveLpCallerRaw
- type CurveLpCallerSession
- func (_CurveLp *CurveLpCallerSession) Allowance(arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_CurveLp *CurveLpCallerSession) BalanceOf(arg0 common.Address) (*big.Int, error)
- func (_CurveLp *CurveLpCallerSession) Decimals() (*big.Int, error)
- func (_CurveLp *CurveLpCallerSession) Minter() (common.Address, error)
- func (_CurveLp *CurveLpCallerSession) Name() (string, error)
- func (_CurveLp *CurveLpCallerSession) Symbol() (string, error)
- func (_CurveLp *CurveLpCallerSession) TotalSupply() (*big.Int, error)
- type CurveLpFilterer
- type CurveLpRaw
- func (_CurveLp *CurveLpRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_CurveLp *CurveLpRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_CurveLp *CurveLpRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type CurveLpSession
- func (_CurveLp *CurveLpSession) Allowance(arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_CurveLp *CurveLpSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_CurveLp *CurveLpSession) BalanceOf(arg0 common.Address) (*big.Int, error)
- func (_CurveLp *CurveLpSession) BurnFrom(_to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_CurveLp *CurveLpSession) Decimals() (*big.Int, error)
- func (_CurveLp *CurveLpSession) DecreaseAllowance(_spender common.Address, _subtracted_value *big.Int) (*types.Transaction, error)
- func (_CurveLp *CurveLpSession) IncreaseAllowance(_spender common.Address, _added_value *big.Int) (*types.Transaction, error)
- func (_CurveLp *CurveLpSession) Mint(_to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_CurveLp *CurveLpSession) MintRelative(_to common.Address, frac *big.Int) (*types.Transaction, error)
- func (_CurveLp *CurveLpSession) Minter() (common.Address, error)
- func (_CurveLp *CurveLpSession) Name() (string, error)
- func (_CurveLp *CurveLpSession) SetMinter(_minter common.Address) (*types.Transaction, error)
- func (_CurveLp *CurveLpSession) SetName(_name string, _symbol string) (*types.Transaction, error)
- func (_CurveLp *CurveLpSession) Symbol() (string, error)
- func (_CurveLp *CurveLpSession) TotalSupply() (*big.Int, error)
- func (_CurveLp *CurveLpSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_CurveLp *CurveLpSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
- type CurveLpTransactor
- func (_CurveLp *CurveLpTransactor) Approve(opts *bind.TransactOpts, _spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_CurveLp *CurveLpTransactor) BurnFrom(opts *bind.TransactOpts, _to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_CurveLp *CurveLpTransactor) DecreaseAllowance(opts *bind.TransactOpts, _spender common.Address, _subtracted_value *big.Int) (*types.Transaction, error)
- func (_CurveLp *CurveLpTransactor) IncreaseAllowance(opts *bind.TransactOpts, _spender common.Address, _added_value *big.Int) (*types.Transaction, error)
- func (_CurveLp *CurveLpTransactor) Mint(opts *bind.TransactOpts, _to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_CurveLp *CurveLpTransactor) MintRelative(opts *bind.TransactOpts, _to common.Address, frac *big.Int) (*types.Transaction, error)
- func (_CurveLp *CurveLpTransactor) SetMinter(opts *bind.TransactOpts, _minter common.Address) (*types.Transaction, error)
- func (_CurveLp *CurveLpTransactor) SetName(opts *bind.TransactOpts, _name string, _symbol string) (*types.Transaction, error)
- func (_CurveLp *CurveLpTransactor) Transfer(opts *bind.TransactOpts, _to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_CurveLp *CurveLpTransactor) TransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, ...) (*types.Transaction, error)
- type CurveLpTransactorRaw
- type CurveLpTransactorSession
- func (_CurveLp *CurveLpTransactorSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_CurveLp *CurveLpTransactorSession) BurnFrom(_to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_CurveLp *CurveLpTransactorSession) DecreaseAllowance(_spender common.Address, _subtracted_value *big.Int) (*types.Transaction, error)
- func (_CurveLp *CurveLpTransactorSession) IncreaseAllowance(_spender common.Address, _added_value *big.Int) (*types.Transaction, error)
- func (_CurveLp *CurveLpTransactorSession) Mint(_to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_CurveLp *CurveLpTransactorSession) MintRelative(_to common.Address, frac *big.Int) (*types.Transaction, error)
- func (_CurveLp *CurveLpTransactorSession) SetMinter(_minter common.Address) (*types.Transaction, error)
- func (_CurveLp *CurveLpTransactorSession) SetName(_name string, _symbol string) (*types.Transaction, error)
- func (_CurveLp *CurveLpTransactorSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_CurveLp *CurveLpTransactorSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
Constants ¶
This section is empty.
Variables ¶
var CurveLpABI = CurveLpMetaData.ABI
CurveLpABI is the input ABI used to generate the binding from. Deprecated: Use CurveLpMetaData.ABI instead.
var CurveLpMetaData = &bind.MetaData{
ABI: "[{\"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\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"burnFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"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\":\"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\":[{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"mint\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"frac\",\"type\":\"uint256\"}],\"name\":\"mint_relative\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"minter\",\"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\":\"_minter\",\"type\":\"address\"}],\"name\":\"set_minter\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_symbol\",\"type\":\"string\"}],\"name\":\"set_name\",\"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\"}]",
}
CurveLpMetaData contains all meta data concerning the CurveLp contract.
Functions ¶
This section is empty.
Types ¶
type CurveLp ¶
type CurveLp struct { CurveLpCaller // Read-only binding to the contract CurveLpTransactor // Write-only binding to the contract CurveLpFilterer // Log filterer for contract events }
CurveLp is an auto generated Go binding around an Ethereum contract.
func NewCurveLp ¶
NewCurveLp creates a new instance of CurveLp, bound to a specific deployed contract.
type CurveLpCaller ¶
type CurveLpCaller struct {
// contains filtered or unexported fields
}
CurveLpCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewCurveLpCaller ¶
func NewCurveLpCaller(address common.Address, caller bind.ContractCaller) (*CurveLpCaller, error)
NewCurveLpCaller creates a new read-only instance of CurveLp, bound to a specific deployed contract.
func (*CurveLpCaller) Allowance ¶
func (_CurveLp *CurveLpCaller) 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 (*CurveLpCaller) BalanceOf ¶
func (_CurveLp *CurveLpCaller) 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 (*CurveLpCaller) Decimals ¶
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint256)
func (*CurveLpCaller) Minter ¶
Minter is a free data retrieval call binding the contract method 0x07546172.
Solidity: function minter() view returns(address)
func (*CurveLpCaller) Name ¶
func (_CurveLp *CurveLpCaller) 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 (*CurveLpCaller) Symbol ¶
func (_CurveLp *CurveLpCaller) 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 (*CurveLpCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type CurveLpCallerRaw ¶
type CurveLpCallerRaw struct {
Contract *CurveLpCaller // Generic read-only contract binding to access the raw methods on
}
CurveLpCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*CurveLpCallerRaw) Call ¶
func (_CurveLp *CurveLpCallerRaw) 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 CurveLpCallerSession ¶
type CurveLpCallerSession struct { Contract *CurveLpCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
CurveLpCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*CurveLpCallerSession) Allowance ¶
func (_CurveLp *CurveLpCallerSession) 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 (*CurveLpCallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address arg0) view returns(uint256)
func (*CurveLpCallerSession) Decimals ¶
func (_CurveLp *CurveLpCallerSession) Decimals() (*big.Int, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint256)
func (*CurveLpCallerSession) Minter ¶
func (_CurveLp *CurveLpCallerSession) Minter() (common.Address, error)
Minter is a free data retrieval call binding the contract method 0x07546172.
Solidity: function minter() view returns(address)
func (*CurveLpCallerSession) Name ¶
func (_CurveLp *CurveLpCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*CurveLpCallerSession) Symbol ¶
func (_CurveLp *CurveLpCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*CurveLpCallerSession) TotalSupply ¶
func (_CurveLp *CurveLpCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type CurveLpFilterer ¶
type CurveLpFilterer struct {
// contains filtered or unexported fields
}
CurveLpFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewCurveLpFilterer ¶
func NewCurveLpFilterer(address common.Address, filterer bind.ContractFilterer) (*CurveLpFilterer, error)
NewCurveLpFilterer creates a new log filterer instance of CurveLp, bound to a specific deployed contract.
type CurveLpRaw ¶
type CurveLpRaw struct {
Contract *CurveLp // Generic contract binding to access the raw methods on
}
CurveLpRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*CurveLpRaw) Call ¶
func (_CurveLp *CurveLpRaw) 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 (*CurveLpRaw) Transact ¶
func (_CurveLp *CurveLpRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*CurveLpRaw) Transfer ¶
func (_CurveLp *CurveLpRaw) 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 CurveLpSession ¶
type CurveLpSession struct { Contract *CurveLp // 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 }
CurveLpSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*CurveLpSession) Allowance ¶
func (_CurveLp *CurveLpSession) 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 (*CurveLpSession) Approve ¶
func (_CurveLp *CurveLpSession) 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 (*CurveLpSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address arg0) view returns(uint256)
func (*CurveLpSession) BurnFrom ¶
func (_CurveLp *CurveLpSession) 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(bool)
func (*CurveLpSession) Decimals ¶
func (_CurveLp *CurveLpSession) Decimals() (*big.Int, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint256)
func (*CurveLpSession) DecreaseAllowance ¶
func (_CurveLp *CurveLpSession) 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 (*CurveLpSession) IncreaseAllowance ¶
func (_CurveLp *CurveLpSession) 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 (*CurveLpSession) Mint ¶
func (_CurveLp *CurveLpSession) 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(bool)
func (*CurveLpSession) MintRelative ¶
func (_CurveLp *CurveLpSession) MintRelative(_to common.Address, frac *big.Int) (*types.Transaction, error)
MintRelative is a paid mutator transaction binding the contract method 0x6962f845.
Solidity: function mint_relative(address _to, uint256 frac) returns(uint256)
func (*CurveLpSession) Minter ¶
func (_CurveLp *CurveLpSession) Minter() (common.Address, error)
Minter is a free data retrieval call binding the contract method 0x07546172.
Solidity: function minter() view returns(address)
func (*CurveLpSession) Name ¶
func (_CurveLp *CurveLpSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*CurveLpSession) SetMinter ¶
func (_CurveLp *CurveLpSession) 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 (*CurveLpSession) SetName ¶
func (_CurveLp *CurveLpSession) SetName(_name string, _symbol string) (*types.Transaction, error)
SetName is a paid mutator transaction binding the contract method 0xe1430e06.
Solidity: function set_name(string _name, string _symbol) returns()
func (*CurveLpSession) Symbol ¶
func (_CurveLp *CurveLpSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*CurveLpSession) TotalSupply ¶
func (_CurveLp *CurveLpSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*CurveLpSession) Transfer ¶
func (_CurveLp *CurveLpSession) 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 (*CurveLpSession) TransferFrom ¶
func (_CurveLp *CurveLpSession) 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)
type CurveLpTransactor ¶
type CurveLpTransactor struct {
// contains filtered or unexported fields
}
CurveLpTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewCurveLpTransactor ¶
func NewCurveLpTransactor(address common.Address, transactor bind.ContractTransactor) (*CurveLpTransactor, error)
NewCurveLpTransactor creates a new write-only instance of CurveLp, bound to a specific deployed contract.
func (*CurveLpTransactor) Approve ¶
func (_CurveLp *CurveLpTransactor) 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 (*CurveLpTransactor) BurnFrom ¶
func (_CurveLp *CurveLpTransactor) 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(bool)
func (*CurveLpTransactor) DecreaseAllowance ¶
func (_CurveLp *CurveLpTransactor) 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 (*CurveLpTransactor) IncreaseAllowance ¶
func (_CurveLp *CurveLpTransactor) 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 (*CurveLpTransactor) Mint ¶
func (_CurveLp *CurveLpTransactor) 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(bool)
func (*CurveLpTransactor) MintRelative ¶
func (_CurveLp *CurveLpTransactor) MintRelative(opts *bind.TransactOpts, _to common.Address, frac *big.Int) (*types.Transaction, error)
MintRelative is a paid mutator transaction binding the contract method 0x6962f845.
Solidity: function mint_relative(address _to, uint256 frac) returns(uint256)
func (*CurveLpTransactor) SetMinter ¶
func (_CurveLp *CurveLpTransactor) 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 (*CurveLpTransactor) SetName ¶
func (_CurveLp *CurveLpTransactor) SetName(opts *bind.TransactOpts, _name string, _symbol string) (*types.Transaction, error)
SetName is a paid mutator transaction binding the contract method 0xe1430e06.
Solidity: function set_name(string _name, string _symbol) returns()
func (*CurveLpTransactor) Transfer ¶
func (_CurveLp *CurveLpTransactor) 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 (*CurveLpTransactor) TransferFrom ¶
func (_CurveLp *CurveLpTransactor) 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)
type CurveLpTransactorRaw ¶
type CurveLpTransactorRaw struct {
Contract *CurveLpTransactor // Generic write-only contract binding to access the raw methods on
}
CurveLpTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*CurveLpTransactorRaw) Transact ¶
func (_CurveLp *CurveLpTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*CurveLpTransactorRaw) Transfer ¶
func (_CurveLp *CurveLpTransactorRaw) 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 CurveLpTransactorSession ¶
type CurveLpTransactorSession struct { Contract *CurveLpTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
CurveLpTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*CurveLpTransactorSession) Approve ¶
func (_CurveLp *CurveLpTransactorSession) 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 (*CurveLpTransactorSession) BurnFrom ¶
func (_CurveLp *CurveLpTransactorSession) 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(bool)
func (*CurveLpTransactorSession) DecreaseAllowance ¶
func (_CurveLp *CurveLpTransactorSession) 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 (*CurveLpTransactorSession) IncreaseAllowance ¶
func (_CurveLp *CurveLpTransactorSession) 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 (*CurveLpTransactorSession) Mint ¶
func (_CurveLp *CurveLpTransactorSession) 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(bool)
func (*CurveLpTransactorSession) MintRelative ¶
func (_CurveLp *CurveLpTransactorSession) MintRelative(_to common.Address, frac *big.Int) (*types.Transaction, error)
MintRelative is a paid mutator transaction binding the contract method 0x6962f845.
Solidity: function mint_relative(address _to, uint256 frac) returns(uint256)
func (*CurveLpTransactorSession) SetMinter ¶
func (_CurveLp *CurveLpTransactorSession) 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 (*CurveLpTransactorSession) SetName ¶
func (_CurveLp *CurveLpTransactorSession) SetName(_name string, _symbol string) (*types.Transaction, error)
SetName is a paid mutator transaction binding the contract method 0xe1430e06.
Solidity: function set_name(string _name, string _symbol) returns()
func (*CurveLpTransactorSession) Transfer ¶
func (_CurveLp *CurveLpTransactorSession) 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 (*CurveLpTransactorSession) TransferFrom ¶
func (_CurveLp *CurveLpTransactorSession) 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)