curveRewarder

package
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CurveRewarderABI = CurveRewarderMetaData.ABI

CurveRewarderABI is the input ABI used to generate the binding from. Deprecated: Use CurveRewarderMetaData.ABI instead.

View Source
var CurveRewarderMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"name\":\"accept_transfer_ownership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_distributor\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_duration\",\"type\":\"uint256\"}],\"name\":\"add_reward\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"commit_transfer_ownership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"future_owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"get_reward\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"last_update_time\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"}],\"name\":\"notify_reward_amount\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"}],\"name\":\"remove_reward\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"reward_count\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"arg0\",\"type\":\"address\"}],\"name\":\"reward_data\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"distributor\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"period_finish\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"rate\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"duration\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"received\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"paid\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"reward_receiver\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"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\":\"_receiver\",\"type\":\"address\"}],\"name\":\"set_receiver\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_distributor\",\"type\":\"address\"}],\"name\":\"set_reward_distributor\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_duration\",\"type\":\"uint256\"}],\"name\":\"set_reward_duration\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

CurveRewarderMetaData contains all meta data concerning the CurveRewarder contract.

Functions

This section is empty.

Types

type CurveRewarder

type CurveRewarder struct {
	CurveRewarderCaller     // Read-only binding to the contract
	CurveRewarderTransactor // Write-only binding to the contract
	CurveRewarderFilterer   // Log filterer for contract events
}

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

func NewCurveRewarder

func NewCurveRewarder(address common.Address, backend bind.ContractBackend) (*CurveRewarder, error)

NewCurveRewarder creates a new instance of CurveRewarder, bound to a specific deployed contract.

type CurveRewarderCaller

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

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

func NewCurveRewarderCaller

func NewCurveRewarderCaller(address common.Address, caller bind.ContractCaller) (*CurveRewarderCaller, error)

NewCurveRewarderCaller creates a new read-only instance of CurveRewarder, bound to a specific deployed contract.

func (*CurveRewarderCaller) FutureOwner

func (_CurveRewarder *CurveRewarderCaller) 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 (*CurveRewarderCaller) LastUpdateTime

func (_CurveRewarder *CurveRewarderCaller) LastUpdateTime(opts *bind.CallOpts) (*big.Int, error)

LastUpdateTime is a free data retrieval call binding the contract method 0x629d46c2.

Solidity: function last_update_time() view returns(uint256)

func (*CurveRewarderCaller) Owner

func (_CurveRewarder *CurveRewarderCaller) 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 (*CurveRewarderCaller) RewardCount

func (_CurveRewarder *CurveRewarderCaller) RewardCount(opts *bind.CallOpts) (*big.Int, error)

RewardCount is a free data retrieval call binding the contract method 0x963c94b9.

Solidity: function reward_count() view returns(uint256)

func (*CurveRewarderCaller) RewardData

func (_CurveRewarder *CurveRewarderCaller) RewardData(opts *bind.CallOpts, arg0 common.Address) (struct {
	Distributor  common.Address
	PeriodFinish *big.Int
	Rate         *big.Int
	Duration     *big.Int
	Received     *big.Int
	Paid         *big.Int
}, error)

RewardData is a free data retrieval call binding the contract method 0x48e9c65e.

Solidity: function reward_data(address arg0) view returns(address distributor, uint256 period_finish, uint256 rate, uint256 duration, uint256 received, uint256 paid)

func (*CurveRewarderCaller) RewardReceiver

func (_CurveRewarder *CurveRewarderCaller) RewardReceiver(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function reward_receiver() view returns(address)

func (*CurveRewarderCaller) RewardTokens

func (_CurveRewarder *CurveRewarderCaller) 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)

type CurveRewarderCallerRaw

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

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

func (*CurveRewarderCallerRaw) Call

func (_CurveRewarder *CurveRewarderCallerRaw) 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 CurveRewarderCallerSession

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

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

func (*CurveRewarderCallerSession) FutureOwner

func (_CurveRewarder *CurveRewarderCallerSession) FutureOwner() (common.Address, error)

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

Solidity: function future_owner() view returns(address)

func (*CurveRewarderCallerSession) LastUpdateTime

func (_CurveRewarder *CurveRewarderCallerSession) LastUpdateTime() (*big.Int, error)

LastUpdateTime is a free data retrieval call binding the contract method 0x629d46c2.

Solidity: function last_update_time() view returns(uint256)

func (*CurveRewarderCallerSession) Owner

func (_CurveRewarder *CurveRewarderCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*CurveRewarderCallerSession) RewardCount

func (_CurveRewarder *CurveRewarderCallerSession) RewardCount() (*big.Int, error)

RewardCount is a free data retrieval call binding the contract method 0x963c94b9.

Solidity: function reward_count() view returns(uint256)

func (*CurveRewarderCallerSession) RewardData

func (_CurveRewarder *CurveRewarderCallerSession) RewardData(arg0 common.Address) (struct {
	Distributor  common.Address
	PeriodFinish *big.Int
	Rate         *big.Int
	Duration     *big.Int
	Received     *big.Int
	Paid         *big.Int
}, error)

RewardData is a free data retrieval call binding the contract method 0x48e9c65e.

Solidity: function reward_data(address arg0) view returns(address distributor, uint256 period_finish, uint256 rate, uint256 duration, uint256 received, uint256 paid)

func (*CurveRewarderCallerSession) RewardReceiver

func (_CurveRewarder *CurveRewarderCallerSession) RewardReceiver() (common.Address, error)

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

Solidity: function reward_receiver() view returns(address)

func (*CurveRewarderCallerSession) RewardTokens

func (_CurveRewarder *CurveRewarderCallerSession) 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)

type CurveRewarderFilterer

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

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

func NewCurveRewarderFilterer

func NewCurveRewarderFilterer(address common.Address, filterer bind.ContractFilterer) (*CurveRewarderFilterer, error)

NewCurveRewarderFilterer creates a new log filterer instance of CurveRewarder, bound to a specific deployed contract.

type CurveRewarderRaw

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

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

func (*CurveRewarderRaw) Call

func (_CurveRewarder *CurveRewarderRaw) 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 (*CurveRewarderRaw) Transact

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

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

func (*CurveRewarderRaw) Transfer

func (_CurveRewarder *CurveRewarderRaw) 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 CurveRewarderSession

type CurveRewarderSession struct {
	Contract     *CurveRewarder    // 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
}

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

func (*CurveRewarderSession) AcceptTransferOwnership

func (_CurveRewarder *CurveRewarderSession) AcceptTransferOwnership() (*types.Transaction, error)

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

Solidity: function accept_transfer_ownership() returns()

func (*CurveRewarderSession) AddReward

func (_CurveRewarder *CurveRewarderSession) AddReward(_token common.Address, _distributor common.Address, _duration *big.Int) (*types.Transaction, error)

AddReward is a paid mutator transaction binding the contract method 0x661ab0b2.

Solidity: function add_reward(address _token, address _distributor, uint256 _duration) returns()

func (*CurveRewarderSession) CommitTransferOwnership

func (_CurveRewarder *CurveRewarderSession) CommitTransferOwnership(_owner common.Address) (*types.Transaction, error)

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

Solidity: function commit_transfer_ownership(address _owner) returns()

func (*CurveRewarderSession) FutureOwner

func (_CurveRewarder *CurveRewarderSession) FutureOwner() (common.Address, error)

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

Solidity: function future_owner() view returns(address)

func (*CurveRewarderSession) GetReward

func (_CurveRewarder *CurveRewarderSession) GetReward() (*types.Transaction, error)

GetReward is a paid mutator transaction binding the contract method 0x1afe22a6.

Solidity: function get_reward() returns()

func (*CurveRewarderSession) LastUpdateTime

func (_CurveRewarder *CurveRewarderSession) LastUpdateTime() (*big.Int, error)

LastUpdateTime is a free data retrieval call binding the contract method 0x629d46c2.

Solidity: function last_update_time() view returns(uint256)

func (*CurveRewarderSession) NotifyRewardAmount

func (_CurveRewarder *CurveRewarderSession) NotifyRewardAmount(_token common.Address) (*types.Transaction, error)

NotifyRewardAmount is a paid mutator transaction binding the contract method 0xa4f6af70.

Solidity: function notify_reward_amount(address _token) returns()

func (*CurveRewarderSession) Owner

func (_CurveRewarder *CurveRewarderSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*CurveRewarderSession) RemoveReward

func (_CurveRewarder *CurveRewarderSession) RemoveReward(_token common.Address) (*types.Transaction, error)

RemoveReward is a paid mutator transaction binding the contract method 0x5de59dbc.

Solidity: function remove_reward(address _token) returns()

func (*CurveRewarderSession) RewardCount

func (_CurveRewarder *CurveRewarderSession) RewardCount() (*big.Int, error)

RewardCount is a free data retrieval call binding the contract method 0x963c94b9.

Solidity: function reward_count() view returns(uint256)

func (*CurveRewarderSession) RewardData

func (_CurveRewarder *CurveRewarderSession) RewardData(arg0 common.Address) (struct {
	Distributor  common.Address
	PeriodFinish *big.Int
	Rate         *big.Int
	Duration     *big.Int
	Received     *big.Int
	Paid         *big.Int
}, error)

RewardData is a free data retrieval call binding the contract method 0x48e9c65e.

Solidity: function reward_data(address arg0) view returns(address distributor, uint256 period_finish, uint256 rate, uint256 duration, uint256 received, uint256 paid)

func (*CurveRewarderSession) RewardReceiver

func (_CurveRewarder *CurveRewarderSession) RewardReceiver() (common.Address, error)

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

Solidity: function reward_receiver() view returns(address)

func (*CurveRewarderSession) RewardTokens

func (_CurveRewarder *CurveRewarderSession) 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 (*CurveRewarderSession) SetReceiver

func (_CurveRewarder *CurveRewarderSession) SetReceiver(_receiver common.Address) (*types.Transaction, error)

SetReceiver is a paid mutator transaction binding the contract method 0xd1dd6f56.

Solidity: function set_receiver(address _receiver) returns()

func (*CurveRewarderSession) SetRewardDistributor

func (_CurveRewarder *CurveRewarderSession) SetRewardDistributor(_token common.Address, _distributor common.Address) (*types.Transaction, error)

SetRewardDistributor is a paid mutator transaction binding the contract method 0x058a3a24.

Solidity: function set_reward_distributor(address _token, address _distributor) returns()

func (*CurveRewarderSession) SetRewardDuration

func (_CurveRewarder *CurveRewarderSession) SetRewardDuration(_token common.Address, _duration *big.Int) (*types.Transaction, error)

SetRewardDuration is a paid mutator transaction binding the contract method 0xd88449ee.

Solidity: function set_reward_duration(address _token, uint256 _duration) returns()

type CurveRewarderTransactor

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

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

func NewCurveRewarderTransactor

func NewCurveRewarderTransactor(address common.Address, transactor bind.ContractTransactor) (*CurveRewarderTransactor, error)

NewCurveRewarderTransactor creates a new write-only instance of CurveRewarder, bound to a specific deployed contract.

func (*CurveRewarderTransactor) AcceptTransferOwnership

func (_CurveRewarder *CurveRewarderTransactor) 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 (*CurveRewarderTransactor) AddReward

func (_CurveRewarder *CurveRewarderTransactor) AddReward(opts *bind.TransactOpts, _token common.Address, _distributor common.Address, _duration *big.Int) (*types.Transaction, error)

AddReward is a paid mutator transaction binding the contract method 0x661ab0b2.

Solidity: function add_reward(address _token, address _distributor, uint256 _duration) returns()

func (*CurveRewarderTransactor) CommitTransferOwnership

func (_CurveRewarder *CurveRewarderTransactor) CommitTransferOwnership(opts *bind.TransactOpts, _owner common.Address) (*types.Transaction, error)

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

Solidity: function commit_transfer_ownership(address _owner) returns()

func (*CurveRewarderTransactor) GetReward

func (_CurveRewarder *CurveRewarderTransactor) GetReward(opts *bind.TransactOpts) (*types.Transaction, error)

GetReward is a paid mutator transaction binding the contract method 0x1afe22a6.

Solidity: function get_reward() returns()

func (*CurveRewarderTransactor) NotifyRewardAmount

func (_CurveRewarder *CurveRewarderTransactor) NotifyRewardAmount(opts *bind.TransactOpts, _token common.Address) (*types.Transaction, error)

NotifyRewardAmount is a paid mutator transaction binding the contract method 0xa4f6af70.

Solidity: function notify_reward_amount(address _token) returns()

func (*CurveRewarderTransactor) RemoveReward

func (_CurveRewarder *CurveRewarderTransactor) RemoveReward(opts *bind.TransactOpts, _token common.Address) (*types.Transaction, error)

RemoveReward is a paid mutator transaction binding the contract method 0x5de59dbc.

Solidity: function remove_reward(address _token) returns()

func (*CurveRewarderTransactor) SetReceiver

func (_CurveRewarder *CurveRewarderTransactor) SetReceiver(opts *bind.TransactOpts, _receiver common.Address) (*types.Transaction, error)

SetReceiver is a paid mutator transaction binding the contract method 0xd1dd6f56.

Solidity: function set_receiver(address _receiver) returns()

func (*CurveRewarderTransactor) SetRewardDistributor

func (_CurveRewarder *CurveRewarderTransactor) SetRewardDistributor(opts *bind.TransactOpts, _token common.Address, _distributor common.Address) (*types.Transaction, error)

SetRewardDistributor is a paid mutator transaction binding the contract method 0x058a3a24.

Solidity: function set_reward_distributor(address _token, address _distributor) returns()

func (*CurveRewarderTransactor) SetRewardDuration

func (_CurveRewarder *CurveRewarderTransactor) SetRewardDuration(opts *bind.TransactOpts, _token common.Address, _duration *big.Int) (*types.Transaction, error)

SetRewardDuration is a paid mutator transaction binding the contract method 0xd88449ee.

Solidity: function set_reward_duration(address _token, uint256 _duration) returns()

type CurveRewarderTransactorRaw

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

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

func (*CurveRewarderTransactorRaw) Transact

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

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

func (*CurveRewarderTransactorRaw) Transfer

func (_CurveRewarder *CurveRewarderTransactorRaw) 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 CurveRewarderTransactorSession

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

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

func (*CurveRewarderTransactorSession) AcceptTransferOwnership

func (_CurveRewarder *CurveRewarderTransactorSession) AcceptTransferOwnership() (*types.Transaction, error)

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

Solidity: function accept_transfer_ownership() returns()

func (*CurveRewarderTransactorSession) AddReward

func (_CurveRewarder *CurveRewarderTransactorSession) AddReward(_token common.Address, _distributor common.Address, _duration *big.Int) (*types.Transaction, error)

AddReward is a paid mutator transaction binding the contract method 0x661ab0b2.

Solidity: function add_reward(address _token, address _distributor, uint256 _duration) returns()

func (*CurveRewarderTransactorSession) CommitTransferOwnership

func (_CurveRewarder *CurveRewarderTransactorSession) CommitTransferOwnership(_owner common.Address) (*types.Transaction, error)

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

Solidity: function commit_transfer_ownership(address _owner) returns()

func (*CurveRewarderTransactorSession) GetReward

func (_CurveRewarder *CurveRewarderTransactorSession) GetReward() (*types.Transaction, error)

GetReward is a paid mutator transaction binding the contract method 0x1afe22a6.

Solidity: function get_reward() returns()

func (*CurveRewarderTransactorSession) NotifyRewardAmount

func (_CurveRewarder *CurveRewarderTransactorSession) NotifyRewardAmount(_token common.Address) (*types.Transaction, error)

NotifyRewardAmount is a paid mutator transaction binding the contract method 0xa4f6af70.

Solidity: function notify_reward_amount(address _token) returns()

func (*CurveRewarderTransactorSession) RemoveReward

func (_CurveRewarder *CurveRewarderTransactorSession) RemoveReward(_token common.Address) (*types.Transaction, error)

RemoveReward is a paid mutator transaction binding the contract method 0x5de59dbc.

Solidity: function remove_reward(address _token) returns()

func (*CurveRewarderTransactorSession) SetReceiver

func (_CurveRewarder *CurveRewarderTransactorSession) SetReceiver(_receiver common.Address) (*types.Transaction, error)

SetReceiver is a paid mutator transaction binding the contract method 0xd1dd6f56.

Solidity: function set_receiver(address _receiver) returns()

func (*CurveRewarderTransactorSession) SetRewardDistributor

func (_CurveRewarder *CurveRewarderTransactorSession) SetRewardDistributor(_token common.Address, _distributor common.Address) (*types.Transaction, error)

SetRewardDistributor is a paid mutator transaction binding the contract method 0x058a3a24.

Solidity: function set_reward_distributor(address _token, address _distributor) returns()

func (*CurveRewarderTransactorSession) SetRewardDuration

func (_CurveRewarder *CurveRewarderTransactorSession) SetRewardDuration(_token common.Address, _duration *big.Int) (*types.Transaction, error)

SetRewardDuration is a paid mutator transaction binding the contract method 0xd88449ee.

Solidity: function set_reward_duration(address _token, uint256 _duration) returns()

Jump to

Keyboard shortcuts

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