curveGaugeFactory

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 CurveGaugeFactoryABI = CurveGaugeFactoryMetaData.ABI

CurveGaugeFactoryABI is the input ABI used to generate the binding from. Deprecated: Use CurveGaugeFactoryMetaData.ABI instead.

View Source
var CurveGaugeFactoryMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"name\":\"accept_transfer_ownership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"call_proxy\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_future_owner\",\"type\":\"address\"}],\"name\":\"commit_transfer_ownership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_lp_token\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"_salt\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"_manager\",\"type\":\"address\"}],\"name\":\"deploy_gauge\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_lp_token\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"_salt\",\"type\":\"bytes32\"}],\"name\":\"deploy_gauge\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"future_owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"arg0\",\"type\":\"address\"}],\"name\":\"gauge_data\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"arg0\",\"type\":\"uint256\"}],\"name\":\"get_gauge\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"get_gauge_count\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"arg0\",\"type\":\"address\"}],\"name\":\"get_gauge_from_lp_token\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"get_implementation\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_gauge\",\"type\":\"address\"}],\"name\":\"is_mirrored\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_gauge\",\"type\":\"address\"}],\"name\":\"is_valid_gauge\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_gauge\",\"type\":\"address\"}],\"name\":\"last_request\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_gauge\",\"type\":\"address\"}],\"name\":\"mint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[32]\",\"name\":\"_gauges\",\"type\":\"address[32]\"}],\"name\":\"mint_many\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"arg0\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"arg1\",\"type\":\"address\"}],\"name\":\"minted\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_new_call_proxy\",\"type\":\"address\"}],\"name\":\"set_call_proxy\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_implementation\",\"type\":\"address\"}],\"name\":\"set_implementation\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_gauge\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"_mirrored\",\"type\":\"bool\"}],\"name\":\"set_mirrored\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_voting_escrow\",\"type\":\"address\"}],\"name\":\"set_voting_escrow\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"voting_escrow\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}

CurveGaugeFactoryMetaData contains all meta data concerning the CurveGaugeFactory contract.

Functions

This section is empty.

Types

type CurveGaugeFactory

type CurveGaugeFactory struct {
	CurveGaugeFactoryCaller     // Read-only binding to the contract
	CurveGaugeFactoryTransactor // Write-only binding to the contract
	CurveGaugeFactoryFilterer   // Log filterer for contract events
}

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

func NewCurveGaugeFactory

func NewCurveGaugeFactory(address common.Address, backend bind.ContractBackend) (*CurveGaugeFactory, error)

NewCurveGaugeFactory creates a new instance of CurveGaugeFactory, bound to a specific deployed contract.

type CurveGaugeFactoryCaller

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

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

func NewCurveGaugeFactoryCaller

func NewCurveGaugeFactoryCaller(address common.Address, caller bind.ContractCaller) (*CurveGaugeFactoryCaller, error)

NewCurveGaugeFactoryCaller creates a new read-only instance of CurveGaugeFactory, bound to a specific deployed contract.

func (*CurveGaugeFactoryCaller) CallProxy

func (_CurveGaugeFactory *CurveGaugeFactoryCaller) CallProxy(opts *bind.CallOpts) (common.Address, error)

CallProxy is a free data retrieval call binding the contract method 0xf81c6c3e.

Solidity: function call_proxy() view returns(address)

func (*CurveGaugeFactoryCaller) FutureOwner

func (_CurveGaugeFactory *CurveGaugeFactoryCaller) FutureOwner(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function future_owner() view returns(address)

func (*CurveGaugeFactoryCaller) GaugeData

func (_CurveGaugeFactory *CurveGaugeFactoryCaller) GaugeData(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

GaugeData is a free data retrieval call binding the contract method 0xf0ce32f8.

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

func (*CurveGaugeFactoryCaller) GetGauge

func (_CurveGaugeFactory *CurveGaugeFactoryCaller) GetGauge(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)

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

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

func (*CurveGaugeFactoryCaller) GetGaugeCount

func (_CurveGaugeFactory *CurveGaugeFactoryCaller) GetGaugeCount(opts *bind.CallOpts) (*big.Int, error)

GetGaugeCount is a free data retrieval call binding the contract method 0xf111569c.

Solidity: function get_gauge_count() view returns(uint256)

func (*CurveGaugeFactoryCaller) GetGaugeFromLpToken

func (_CurveGaugeFactory *CurveGaugeFactoryCaller) GetGaugeFromLpToken(opts *bind.CallOpts, arg0 common.Address) (common.Address, error)

GetGaugeFromLpToken is a free data retrieval call binding the contract method 0x5d95c65e.

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

func (*CurveGaugeFactoryCaller) GetImplementation

func (_CurveGaugeFactory *CurveGaugeFactoryCaller) GetImplementation(opts *bind.CallOpts) (common.Address, error)

GetImplementation is a free data retrieval call binding the contract method 0xc781c668.

Solidity: function get_implementation() view returns(address)

func (*CurveGaugeFactoryCaller) IsMirrored

func (_CurveGaugeFactory *CurveGaugeFactoryCaller) IsMirrored(opts *bind.CallOpts, _gauge common.Address) (bool, error)

IsMirrored is a free data retrieval call binding the contract method 0x8a42bd82.

Solidity: function is_mirrored(address _gauge) view returns(bool)

func (*CurveGaugeFactoryCaller) IsValidGauge

func (_CurveGaugeFactory *CurveGaugeFactoryCaller) IsValidGauge(opts *bind.CallOpts, _gauge common.Address) (bool, error)

IsValidGauge is a free data retrieval call binding the contract method 0x4b920379.

Solidity: function is_valid_gauge(address _gauge) view returns(bool)

func (*CurveGaugeFactoryCaller) LastRequest

func (_CurveGaugeFactory *CurveGaugeFactoryCaller) LastRequest(opts *bind.CallOpts, _gauge common.Address) (*big.Int, error)

LastRequest is a free data retrieval call binding the contract method 0x51bd4db5.

Solidity: function last_request(address _gauge) view returns(uint256)

func (*CurveGaugeFactoryCaller) Minted

func (_CurveGaugeFactory *CurveGaugeFactoryCaller) Minted(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)

Minted is a free data retrieval call binding the contract method 0x8b752bb0.

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

func (*CurveGaugeFactoryCaller) Owner

func (_CurveGaugeFactory *CurveGaugeFactoryCaller) 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 (*CurveGaugeFactoryCaller) VotingEscrow

func (_CurveGaugeFactory *CurveGaugeFactoryCaller) 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)

type CurveGaugeFactoryCallerRaw

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

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

func (*CurveGaugeFactoryCallerRaw) Call

func (_CurveGaugeFactory *CurveGaugeFactoryCallerRaw) 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 CurveGaugeFactoryCallerSession

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

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

func (*CurveGaugeFactoryCallerSession) CallProxy

func (_CurveGaugeFactory *CurveGaugeFactoryCallerSession) CallProxy() (common.Address, error)

CallProxy is a free data retrieval call binding the contract method 0xf81c6c3e.

Solidity: function call_proxy() view returns(address)

func (*CurveGaugeFactoryCallerSession) FutureOwner

func (_CurveGaugeFactory *CurveGaugeFactoryCallerSession) FutureOwner() (common.Address, error)

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

Solidity: function future_owner() view returns(address)

func (*CurveGaugeFactoryCallerSession) GaugeData

func (_CurveGaugeFactory *CurveGaugeFactoryCallerSession) GaugeData(arg0 common.Address) (*big.Int, error)

GaugeData is a free data retrieval call binding the contract method 0xf0ce32f8.

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

func (*CurveGaugeFactoryCallerSession) GetGauge

func (_CurveGaugeFactory *CurveGaugeFactoryCallerSession) GetGauge(arg0 *big.Int) (common.Address, error)

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

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

func (*CurveGaugeFactoryCallerSession) GetGaugeCount

func (_CurveGaugeFactory *CurveGaugeFactoryCallerSession) GetGaugeCount() (*big.Int, error)

GetGaugeCount is a free data retrieval call binding the contract method 0xf111569c.

Solidity: function get_gauge_count() view returns(uint256)

func (*CurveGaugeFactoryCallerSession) GetGaugeFromLpToken

func (_CurveGaugeFactory *CurveGaugeFactoryCallerSession) GetGaugeFromLpToken(arg0 common.Address) (common.Address, error)

GetGaugeFromLpToken is a free data retrieval call binding the contract method 0x5d95c65e.

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

func (*CurveGaugeFactoryCallerSession) GetImplementation

func (_CurveGaugeFactory *CurveGaugeFactoryCallerSession) GetImplementation() (common.Address, error)

GetImplementation is a free data retrieval call binding the contract method 0xc781c668.

Solidity: function get_implementation() view returns(address)

func (*CurveGaugeFactoryCallerSession) IsMirrored

func (_CurveGaugeFactory *CurveGaugeFactoryCallerSession) IsMirrored(_gauge common.Address) (bool, error)

IsMirrored is a free data retrieval call binding the contract method 0x8a42bd82.

Solidity: function is_mirrored(address _gauge) view returns(bool)

func (*CurveGaugeFactoryCallerSession) IsValidGauge

func (_CurveGaugeFactory *CurveGaugeFactoryCallerSession) IsValidGauge(_gauge common.Address) (bool, error)

IsValidGauge is a free data retrieval call binding the contract method 0x4b920379.

Solidity: function is_valid_gauge(address _gauge) view returns(bool)

func (*CurveGaugeFactoryCallerSession) LastRequest

func (_CurveGaugeFactory *CurveGaugeFactoryCallerSession) LastRequest(_gauge common.Address) (*big.Int, error)

LastRequest is a free data retrieval call binding the contract method 0x51bd4db5.

Solidity: function last_request(address _gauge) view returns(uint256)

func (*CurveGaugeFactoryCallerSession) Minted

func (_CurveGaugeFactory *CurveGaugeFactoryCallerSession) Minted(arg0 common.Address, arg1 common.Address) (*big.Int, error)

Minted is a free data retrieval call binding the contract method 0x8b752bb0.

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

func (*CurveGaugeFactoryCallerSession) Owner

func (_CurveGaugeFactory *CurveGaugeFactoryCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*CurveGaugeFactoryCallerSession) VotingEscrow

func (_CurveGaugeFactory *CurveGaugeFactoryCallerSession) VotingEscrow() (common.Address, error)

VotingEscrow is a free data retrieval call binding the contract method 0xdfe05031.

Solidity: function voting_escrow() view returns(address)

type CurveGaugeFactoryFilterer

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

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

func NewCurveGaugeFactoryFilterer

func NewCurveGaugeFactoryFilterer(address common.Address, filterer bind.ContractFilterer) (*CurveGaugeFactoryFilterer, error)

NewCurveGaugeFactoryFilterer creates a new log filterer instance of CurveGaugeFactory, bound to a specific deployed contract.

type CurveGaugeFactoryRaw

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

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

func (*CurveGaugeFactoryRaw) Call

func (_CurveGaugeFactory *CurveGaugeFactoryRaw) 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 (*CurveGaugeFactoryRaw) Transact

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

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

func (*CurveGaugeFactoryRaw) Transfer

func (_CurveGaugeFactory *CurveGaugeFactoryRaw) 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 CurveGaugeFactorySession

type CurveGaugeFactorySession struct {
	Contract     *CurveGaugeFactory // 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
}

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

func (*CurveGaugeFactorySession) AcceptTransferOwnership

func (_CurveGaugeFactory *CurveGaugeFactorySession) AcceptTransferOwnership() (*types.Transaction, error)

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

Solidity: function accept_transfer_ownership() returns()

func (*CurveGaugeFactorySession) CallProxy

func (_CurveGaugeFactory *CurveGaugeFactorySession) CallProxy() (common.Address, error)

CallProxy is a free data retrieval call binding the contract method 0xf81c6c3e.

Solidity: function call_proxy() view returns(address)

func (*CurveGaugeFactorySession) CommitTransferOwnership

func (_CurveGaugeFactory *CurveGaugeFactorySession) CommitTransferOwnership(_future_owner common.Address) (*types.Transaction, error)

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

Solidity: function commit_transfer_ownership(address _future_owner) returns()

func (*CurveGaugeFactorySession) DeployGauge

func (_CurveGaugeFactory *CurveGaugeFactorySession) DeployGauge(_lp_token common.Address, _salt [32]byte, _manager common.Address) (*types.Transaction, error)

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

Solidity: function deploy_gauge(address _lp_token, bytes32 _salt, address _manager) returns(address)

func (*CurveGaugeFactorySession) DeployGauge0

func (_CurveGaugeFactory *CurveGaugeFactorySession) DeployGauge0(_lp_token common.Address, _salt [32]byte) (*types.Transaction, error)

DeployGauge0 is a paid mutator transaction binding the contract method 0x8db98b5c.

Solidity: function deploy_gauge(address _lp_token, bytes32 _salt) returns(address)

func (*CurveGaugeFactorySession) FutureOwner

func (_CurveGaugeFactory *CurveGaugeFactorySession) FutureOwner() (common.Address, error)

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

Solidity: function future_owner() view returns(address)

func (*CurveGaugeFactorySession) GaugeData

func (_CurveGaugeFactory *CurveGaugeFactorySession) GaugeData(arg0 common.Address) (*big.Int, error)

GaugeData is a free data retrieval call binding the contract method 0xf0ce32f8.

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

func (*CurveGaugeFactorySession) GetGauge

func (_CurveGaugeFactory *CurveGaugeFactorySession) GetGauge(arg0 *big.Int) (common.Address, error)

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

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

func (*CurveGaugeFactorySession) GetGaugeCount

func (_CurveGaugeFactory *CurveGaugeFactorySession) GetGaugeCount() (*big.Int, error)

GetGaugeCount is a free data retrieval call binding the contract method 0xf111569c.

Solidity: function get_gauge_count() view returns(uint256)

func (*CurveGaugeFactorySession) GetGaugeFromLpToken

func (_CurveGaugeFactory *CurveGaugeFactorySession) GetGaugeFromLpToken(arg0 common.Address) (common.Address, error)

GetGaugeFromLpToken is a free data retrieval call binding the contract method 0x5d95c65e.

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

func (*CurveGaugeFactorySession) GetImplementation

func (_CurveGaugeFactory *CurveGaugeFactorySession) GetImplementation() (common.Address, error)

GetImplementation is a free data retrieval call binding the contract method 0xc781c668.

Solidity: function get_implementation() view returns(address)

func (*CurveGaugeFactorySession) IsMirrored

func (_CurveGaugeFactory *CurveGaugeFactorySession) IsMirrored(_gauge common.Address) (bool, error)

IsMirrored is a free data retrieval call binding the contract method 0x8a42bd82.

Solidity: function is_mirrored(address _gauge) view returns(bool)

func (*CurveGaugeFactorySession) IsValidGauge

func (_CurveGaugeFactory *CurveGaugeFactorySession) IsValidGauge(_gauge common.Address) (bool, error)

IsValidGauge is a free data retrieval call binding the contract method 0x4b920379.

Solidity: function is_valid_gauge(address _gauge) view returns(bool)

func (*CurveGaugeFactorySession) LastRequest

func (_CurveGaugeFactory *CurveGaugeFactorySession) LastRequest(_gauge common.Address) (*big.Int, error)

LastRequest is a free data retrieval call binding the contract method 0x51bd4db5.

Solidity: function last_request(address _gauge) view returns(uint256)

func (*CurveGaugeFactorySession) Mint

func (_CurveGaugeFactory *CurveGaugeFactorySession) Mint(_gauge common.Address) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x6a627842.

Solidity: function mint(address _gauge) returns()

func (*CurveGaugeFactorySession) MintMany

func (_CurveGaugeFactory *CurveGaugeFactorySession) MintMany(_gauges [32]common.Address) (*types.Transaction, error)

MintMany is a paid mutator transaction binding the contract method 0x55ec6708.

Solidity: function mint_many(address[32] _gauges) returns()

func (*CurveGaugeFactorySession) Minted

func (_CurveGaugeFactory *CurveGaugeFactorySession) Minted(arg0 common.Address, arg1 common.Address) (*big.Int, error)

Minted is a free data retrieval call binding the contract method 0x8b752bb0.

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

func (*CurveGaugeFactorySession) Owner

func (_CurveGaugeFactory *CurveGaugeFactorySession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*CurveGaugeFactorySession) SetCallProxy

func (_CurveGaugeFactory *CurveGaugeFactorySession) SetCallProxy(_new_call_proxy common.Address) (*types.Transaction, error)

SetCallProxy is a paid mutator transaction binding the contract method 0x5ecb9e14.

Solidity: function set_call_proxy(address _new_call_proxy) returns()

func (*CurveGaugeFactorySession) SetImplementation

func (_CurveGaugeFactory *CurveGaugeFactorySession) SetImplementation(_implementation common.Address) (*types.Transaction, error)

SetImplementation is a paid mutator transaction binding the contract method 0x4cd69da0.

Solidity: function set_implementation(address _implementation) returns()

func (*CurveGaugeFactorySession) SetMirrored

func (_CurveGaugeFactory *CurveGaugeFactorySession) SetMirrored(_gauge common.Address, _mirrored bool) (*types.Transaction, error)

SetMirrored is a paid mutator transaction binding the contract method 0x4b29cac8.

Solidity: function set_mirrored(address _gauge, bool _mirrored) returns()

func (*CurveGaugeFactorySession) SetVotingEscrow

func (_CurveGaugeFactory *CurveGaugeFactorySession) SetVotingEscrow(_voting_escrow common.Address) (*types.Transaction, error)

SetVotingEscrow is a paid mutator transaction binding the contract method 0x23fc5a47.

Solidity: function set_voting_escrow(address _voting_escrow) returns()

func (*CurveGaugeFactorySession) VotingEscrow

func (_CurveGaugeFactory *CurveGaugeFactorySession) VotingEscrow() (common.Address, error)

VotingEscrow is a free data retrieval call binding the contract method 0xdfe05031.

Solidity: function voting_escrow() view returns(address)

type CurveGaugeFactoryTransactor

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

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

func NewCurveGaugeFactoryTransactor

func NewCurveGaugeFactoryTransactor(address common.Address, transactor bind.ContractTransactor) (*CurveGaugeFactoryTransactor, error)

NewCurveGaugeFactoryTransactor creates a new write-only instance of CurveGaugeFactory, bound to a specific deployed contract.

func (*CurveGaugeFactoryTransactor) AcceptTransferOwnership

func (_CurveGaugeFactory *CurveGaugeFactoryTransactor) 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 (*CurveGaugeFactoryTransactor) CommitTransferOwnership

func (_CurveGaugeFactory *CurveGaugeFactoryTransactor) CommitTransferOwnership(opts *bind.TransactOpts, _future_owner common.Address) (*types.Transaction, error)

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

Solidity: function commit_transfer_ownership(address _future_owner) returns()

func (*CurveGaugeFactoryTransactor) DeployGauge

func (_CurveGaugeFactory *CurveGaugeFactoryTransactor) DeployGauge(opts *bind.TransactOpts, _lp_token common.Address, _salt [32]byte, _manager common.Address) (*types.Transaction, error)

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

Solidity: function deploy_gauge(address _lp_token, bytes32 _salt, address _manager) returns(address)

func (*CurveGaugeFactoryTransactor) DeployGauge0

func (_CurveGaugeFactory *CurveGaugeFactoryTransactor) DeployGauge0(opts *bind.TransactOpts, _lp_token common.Address, _salt [32]byte) (*types.Transaction, error)

DeployGauge0 is a paid mutator transaction binding the contract method 0x8db98b5c.

Solidity: function deploy_gauge(address _lp_token, bytes32 _salt) returns(address)

func (*CurveGaugeFactoryTransactor) Mint

func (_CurveGaugeFactory *CurveGaugeFactoryTransactor) Mint(opts *bind.TransactOpts, _gauge common.Address) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x6a627842.

Solidity: function mint(address _gauge) returns()

func (*CurveGaugeFactoryTransactor) MintMany

func (_CurveGaugeFactory *CurveGaugeFactoryTransactor) MintMany(opts *bind.TransactOpts, _gauges [32]common.Address) (*types.Transaction, error)

MintMany is a paid mutator transaction binding the contract method 0x55ec6708.

Solidity: function mint_many(address[32] _gauges) returns()

func (*CurveGaugeFactoryTransactor) SetCallProxy

func (_CurveGaugeFactory *CurveGaugeFactoryTransactor) SetCallProxy(opts *bind.TransactOpts, _new_call_proxy common.Address) (*types.Transaction, error)

SetCallProxy is a paid mutator transaction binding the contract method 0x5ecb9e14.

Solidity: function set_call_proxy(address _new_call_proxy) returns()

func (*CurveGaugeFactoryTransactor) SetImplementation

func (_CurveGaugeFactory *CurveGaugeFactoryTransactor) SetImplementation(opts *bind.TransactOpts, _implementation common.Address) (*types.Transaction, error)

SetImplementation is a paid mutator transaction binding the contract method 0x4cd69da0.

Solidity: function set_implementation(address _implementation) returns()

func (*CurveGaugeFactoryTransactor) SetMirrored

func (_CurveGaugeFactory *CurveGaugeFactoryTransactor) SetMirrored(opts *bind.TransactOpts, _gauge common.Address, _mirrored bool) (*types.Transaction, error)

SetMirrored is a paid mutator transaction binding the contract method 0x4b29cac8.

Solidity: function set_mirrored(address _gauge, bool _mirrored) returns()

func (*CurveGaugeFactoryTransactor) SetVotingEscrow

func (_CurveGaugeFactory *CurveGaugeFactoryTransactor) SetVotingEscrow(opts *bind.TransactOpts, _voting_escrow common.Address) (*types.Transaction, error)

SetVotingEscrow is a paid mutator transaction binding the contract method 0x23fc5a47.

Solidity: function set_voting_escrow(address _voting_escrow) returns()

type CurveGaugeFactoryTransactorRaw

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

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

func (*CurveGaugeFactoryTransactorRaw) Transact

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

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

func (*CurveGaugeFactoryTransactorRaw) Transfer

func (_CurveGaugeFactory *CurveGaugeFactoryTransactorRaw) 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 CurveGaugeFactoryTransactorSession

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

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

func (*CurveGaugeFactoryTransactorSession) AcceptTransferOwnership

func (_CurveGaugeFactory *CurveGaugeFactoryTransactorSession) AcceptTransferOwnership() (*types.Transaction, error)

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

Solidity: function accept_transfer_ownership() returns()

func (*CurveGaugeFactoryTransactorSession) CommitTransferOwnership

func (_CurveGaugeFactory *CurveGaugeFactoryTransactorSession) CommitTransferOwnership(_future_owner common.Address) (*types.Transaction, error)

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

Solidity: function commit_transfer_ownership(address _future_owner) returns()

func (*CurveGaugeFactoryTransactorSession) DeployGauge

func (_CurveGaugeFactory *CurveGaugeFactoryTransactorSession) DeployGauge(_lp_token common.Address, _salt [32]byte, _manager common.Address) (*types.Transaction, error)

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

Solidity: function deploy_gauge(address _lp_token, bytes32 _salt, address _manager) returns(address)

func (*CurveGaugeFactoryTransactorSession) DeployGauge0

func (_CurveGaugeFactory *CurveGaugeFactoryTransactorSession) DeployGauge0(_lp_token common.Address, _salt [32]byte) (*types.Transaction, error)

DeployGauge0 is a paid mutator transaction binding the contract method 0x8db98b5c.

Solidity: function deploy_gauge(address _lp_token, bytes32 _salt) returns(address)

func (*CurveGaugeFactoryTransactorSession) Mint

func (_CurveGaugeFactory *CurveGaugeFactoryTransactorSession) Mint(_gauge common.Address) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x6a627842.

Solidity: function mint(address _gauge) returns()

func (*CurveGaugeFactoryTransactorSession) MintMany

func (_CurveGaugeFactory *CurveGaugeFactoryTransactorSession) MintMany(_gauges [32]common.Address) (*types.Transaction, error)

MintMany is a paid mutator transaction binding the contract method 0x55ec6708.

Solidity: function mint_many(address[32] _gauges) returns()

func (*CurveGaugeFactoryTransactorSession) SetCallProxy

func (_CurveGaugeFactory *CurveGaugeFactoryTransactorSession) SetCallProxy(_new_call_proxy common.Address) (*types.Transaction, error)

SetCallProxy is a paid mutator transaction binding the contract method 0x5ecb9e14.

Solidity: function set_call_proxy(address _new_call_proxy) returns()

func (*CurveGaugeFactoryTransactorSession) SetImplementation

func (_CurveGaugeFactory *CurveGaugeFactoryTransactorSession) SetImplementation(_implementation common.Address) (*types.Transaction, error)

SetImplementation is a paid mutator transaction binding the contract method 0x4cd69da0.

Solidity: function set_implementation(address _implementation) returns()

func (*CurveGaugeFactoryTransactorSession) SetMirrored

func (_CurveGaugeFactory *CurveGaugeFactoryTransactorSession) SetMirrored(_gauge common.Address, _mirrored bool) (*types.Transaction, error)

SetMirrored is a paid mutator transaction binding the contract method 0x4b29cac8.

Solidity: function set_mirrored(address _gauge, bool _mirrored) returns()

func (*CurveGaugeFactoryTransactorSession) SetVotingEscrow

func (_CurveGaugeFactory *CurveGaugeFactoryTransactorSession) SetVotingEscrow(_voting_escrow common.Address) (*types.Transaction, error)

SetVotingEscrow is a paid mutator transaction binding the contract method 0x23fc5a47.

Solidity: function set_voting_escrow(address _voting_escrow) returns()

Jump to

Keyboard shortcuts

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