aaveIncentivesControllerV2

package
v0.1.12 Latest Latest
Warning

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

Go to latest
Published: May 15, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AaveIncentivesControllerV2ABI = AaveIncentivesControllerV2MetaData.ABI

AaveIncentivesControllerV2ABI is the input ABI used to generate the binding from. Deprecated: Use AaveIncentivesControllerV2MetaData.ABI instead.

View Source
var AaveIncentivesControllerV2MetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"name\":\"DISTRIBUTION_END\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"EMISSION_MANAGER\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"PRECISION\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"REVISION\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"REWARD_TOKEN\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"assets\",\"outputs\":[{\"internalType\":\"uint104\",\"name\":\"emissionPerSecond\",\"type\":\"uint104\"},{\"internalType\":\"uint104\",\"name\":\"index\",\"type\":\"uint104\"},{\"internalType\":\"uint40\",\"name\":\"lastUpdateTimestamp\",\"type\":\"uint40\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"assets\",\"type\":\"address[]\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"claimRewards\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"assets\",\"type\":\"address[]\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"claimRewardsOnBehalf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"assets\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"emissionsPerSecond\",\"type\":\"uint256[]\"}],\"name\":\"configureAssets\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"}],\"name\":\"getAssetData\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"}],\"name\":\"getClaimer\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getDistributionEnd\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"assets\",\"type\":\"address[]\"},{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"}],\"name\":\"getRewardsBalance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getRewardsVault\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"}],\"name\":\"getUserAssetData\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_user\",\"type\":\"address\"}],\"name\":\"getUserUnclaimedRewards\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"totalSupply\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"userBalance\",\"type\":\"uint256\"}],\"name\":\"handleAction\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"rewardsVault\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"}],\"name\":\"setClaimer\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"distributionEnd\",\"type\":\"uint256\"}],\"name\":\"setDistributionEnd\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"rewardsVault\",\"type\":\"address\"}],\"name\":\"setRewardsVault\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

AaveIncentivesControllerV2MetaData contains all meta data concerning the AaveIncentivesControllerV2 contract.

Functions

This section is empty.

Types

type AaveIncentivesControllerV2

type AaveIncentivesControllerV2 struct {
	AaveIncentivesControllerV2Caller     // Read-only binding to the contract
	AaveIncentivesControllerV2Transactor // Write-only binding to the contract
	AaveIncentivesControllerV2Filterer   // Log filterer for contract events
}

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

func NewAaveIncentivesControllerV2

func NewAaveIncentivesControllerV2(address common.Address, backend bind.ContractBackend) (*AaveIncentivesControllerV2, error)

NewAaveIncentivesControllerV2 creates a new instance of AaveIncentivesControllerV2, bound to a specific deployed contract.

type AaveIncentivesControllerV2Caller

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

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

func NewAaveIncentivesControllerV2Caller

func NewAaveIncentivesControllerV2Caller(address common.Address, caller bind.ContractCaller) (*AaveIncentivesControllerV2Caller, error)

NewAaveIncentivesControllerV2Caller creates a new read-only instance of AaveIncentivesControllerV2, bound to a specific deployed contract.

func (*AaveIncentivesControllerV2Caller) Assets

func (_AaveIncentivesControllerV2 *AaveIncentivesControllerV2Caller) Assets(opts *bind.CallOpts, arg0 common.Address) (struct {
	EmissionPerSecond   *big.Int
	Index               *big.Int
	LastUpdateTimestamp *big.Int
}, error)

Assets is a free data retrieval call binding the contract method 0xf11b8188.

Solidity: function assets(address ) view returns(uint104 emissionPerSecond, uint104 index, uint40 lastUpdateTimestamp)

func (*AaveIncentivesControllerV2Caller) DISTRIBUTIONEND

func (_AaveIncentivesControllerV2 *AaveIncentivesControllerV2Caller) DISTRIBUTIONEND(opts *bind.CallOpts) (*big.Int, error)

DISTRIBUTIONEND is a free data retrieval call binding the contract method 0x919cd40f.

Solidity: function DISTRIBUTION_END() view returns(uint256)

func (*AaveIncentivesControllerV2Caller) EMISSIONMANAGER

func (_AaveIncentivesControllerV2 *AaveIncentivesControllerV2Caller) EMISSIONMANAGER(opts *bind.CallOpts) (common.Address, error)

EMISSIONMANAGER is a free data retrieval call binding the contract method 0xcbcbb507.

Solidity: function EMISSION_MANAGER() view returns(address)

func (*AaveIncentivesControllerV2Caller) GetAssetData

func (_AaveIncentivesControllerV2 *AaveIncentivesControllerV2Caller) GetAssetData(opts *bind.CallOpts, asset common.Address) (*big.Int, *big.Int, *big.Int, error)

GetAssetData is a free data retrieval call binding the contract method 0x1652e7b7.

Solidity: function getAssetData(address asset) view returns(uint256, uint256, uint256)

func (*AaveIncentivesControllerV2Caller) GetClaimer

func (_AaveIncentivesControllerV2 *AaveIncentivesControllerV2Caller) GetClaimer(opts *bind.CallOpts, user common.Address) (common.Address, error)

GetClaimer is a free data retrieval call binding the contract method 0x74d945ec.

Solidity: function getClaimer(address user) view returns(address)

func (*AaveIncentivesControllerV2Caller) GetDistributionEnd

func (_AaveIncentivesControllerV2 *AaveIncentivesControllerV2Caller) GetDistributionEnd(opts *bind.CallOpts) (*big.Int, error)

GetDistributionEnd is a free data retrieval call binding the contract method 0xcc69afec.

Solidity: function getDistributionEnd() view returns(uint256)

func (*AaveIncentivesControllerV2Caller) GetRewardsBalance

func (_AaveIncentivesControllerV2 *AaveIncentivesControllerV2Caller) GetRewardsBalance(opts *bind.CallOpts, assets []common.Address, user common.Address) (*big.Int, error)

GetRewardsBalance is a free data retrieval call binding the contract method 0x8b599f26.

Solidity: function getRewardsBalance(address[] assets, address user) view returns(uint256)

func (*AaveIncentivesControllerV2Caller) GetRewardsVault

func (_AaveIncentivesControllerV2 *AaveIncentivesControllerV2Caller) GetRewardsVault(opts *bind.CallOpts) (common.Address, error)

GetRewardsVault is a free data retrieval call binding the contract method 0xe23ddec5.

Solidity: function getRewardsVault() view returns(address)

func (*AaveIncentivesControllerV2Caller) GetUserAssetData

func (_AaveIncentivesControllerV2 *AaveIncentivesControllerV2Caller) GetUserAssetData(opts *bind.CallOpts, user common.Address, asset common.Address) (*big.Int, error)

GetUserAssetData is a free data retrieval call binding the contract method 0x3373ee4c.

Solidity: function getUserAssetData(address user, address asset) view returns(uint256)

func (*AaveIncentivesControllerV2Caller) GetUserUnclaimedRewards

func (_AaveIncentivesControllerV2 *AaveIncentivesControllerV2Caller) GetUserUnclaimedRewards(opts *bind.CallOpts, _user common.Address) (*big.Int, error)

GetUserUnclaimedRewards is a free data retrieval call binding the contract method 0x198fa81e.

Solidity: function getUserUnclaimedRewards(address _user) view returns(uint256)

func (*AaveIncentivesControllerV2Caller) PRECISION

func (_AaveIncentivesControllerV2 *AaveIncentivesControllerV2Caller) PRECISION(opts *bind.CallOpts) (uint8, error)

PRECISION is a free data retrieval call binding the contract method 0xaaf5eb68.

Solidity: function PRECISION() view returns(uint8)

func (*AaveIncentivesControllerV2Caller) REVISION

func (_AaveIncentivesControllerV2 *AaveIncentivesControllerV2Caller) REVISION(opts *bind.CallOpts) (*big.Int, error)

REVISION is a free data retrieval call binding the contract method 0xdde43cba.

Solidity: function REVISION() view returns(uint256)

func (*AaveIncentivesControllerV2Caller) REWARDTOKEN

func (_AaveIncentivesControllerV2 *AaveIncentivesControllerV2Caller) REWARDTOKEN(opts *bind.CallOpts) (common.Address, error)

REWARDTOKEN is a free data retrieval call binding the contract method 0x99248ea7.

Solidity: function REWARD_TOKEN() view returns(address)

type AaveIncentivesControllerV2CallerRaw

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

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

func (*AaveIncentivesControllerV2CallerRaw) Call

func (_AaveIncentivesControllerV2 *AaveIncentivesControllerV2CallerRaw) 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 AaveIncentivesControllerV2CallerSession

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

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

func (*AaveIncentivesControllerV2CallerSession) Assets

func (_AaveIncentivesControllerV2 *AaveIncentivesControllerV2CallerSession) Assets(arg0 common.Address) (struct {
	EmissionPerSecond   *big.Int
	Index               *big.Int
	LastUpdateTimestamp *big.Int
}, error)

Assets is a free data retrieval call binding the contract method 0xf11b8188.

Solidity: function assets(address ) view returns(uint104 emissionPerSecond, uint104 index, uint40 lastUpdateTimestamp)

func (*AaveIncentivesControllerV2CallerSession) DISTRIBUTIONEND

func (_AaveIncentivesControllerV2 *AaveIncentivesControllerV2CallerSession) DISTRIBUTIONEND() (*big.Int, error)

DISTRIBUTIONEND is a free data retrieval call binding the contract method 0x919cd40f.

Solidity: function DISTRIBUTION_END() view returns(uint256)

func (*AaveIncentivesControllerV2CallerSession) EMISSIONMANAGER

func (_AaveIncentivesControllerV2 *AaveIncentivesControllerV2CallerSession) EMISSIONMANAGER() (common.Address, error)

EMISSIONMANAGER is a free data retrieval call binding the contract method 0xcbcbb507.

Solidity: function EMISSION_MANAGER() view returns(address)

func (*AaveIncentivesControllerV2CallerSession) GetAssetData

func (_AaveIncentivesControllerV2 *AaveIncentivesControllerV2CallerSession) GetAssetData(asset common.Address) (*big.Int, *big.Int, *big.Int, error)

GetAssetData is a free data retrieval call binding the contract method 0x1652e7b7.

Solidity: function getAssetData(address asset) view returns(uint256, uint256, uint256)

func (*AaveIncentivesControllerV2CallerSession) GetClaimer

func (_AaveIncentivesControllerV2 *AaveIncentivesControllerV2CallerSession) GetClaimer(user common.Address) (common.Address, error)

GetClaimer is a free data retrieval call binding the contract method 0x74d945ec.

Solidity: function getClaimer(address user) view returns(address)

func (*AaveIncentivesControllerV2CallerSession) GetDistributionEnd

func (_AaveIncentivesControllerV2 *AaveIncentivesControllerV2CallerSession) GetDistributionEnd() (*big.Int, error)

GetDistributionEnd is a free data retrieval call binding the contract method 0xcc69afec.

Solidity: function getDistributionEnd() view returns(uint256)

func (*AaveIncentivesControllerV2CallerSession) GetRewardsBalance

func (_AaveIncentivesControllerV2 *AaveIncentivesControllerV2CallerSession) GetRewardsBalance(assets []common.Address, user common.Address) (*big.Int, error)

GetRewardsBalance is a free data retrieval call binding the contract method 0x8b599f26.

Solidity: function getRewardsBalance(address[] assets, address user) view returns(uint256)

func (*AaveIncentivesControllerV2CallerSession) GetRewardsVault

func (_AaveIncentivesControllerV2 *AaveIncentivesControllerV2CallerSession) GetRewardsVault() (common.Address, error)

GetRewardsVault is a free data retrieval call binding the contract method 0xe23ddec5.

Solidity: function getRewardsVault() view returns(address)

func (*AaveIncentivesControllerV2CallerSession) GetUserAssetData

func (_AaveIncentivesControllerV2 *AaveIncentivesControllerV2CallerSession) GetUserAssetData(user common.Address, asset common.Address) (*big.Int, error)

GetUserAssetData is a free data retrieval call binding the contract method 0x3373ee4c.

Solidity: function getUserAssetData(address user, address asset) view returns(uint256)

func (*AaveIncentivesControllerV2CallerSession) GetUserUnclaimedRewards

func (_AaveIncentivesControllerV2 *AaveIncentivesControllerV2CallerSession) GetUserUnclaimedRewards(_user common.Address) (*big.Int, error)

GetUserUnclaimedRewards is a free data retrieval call binding the contract method 0x198fa81e.

Solidity: function getUserUnclaimedRewards(address _user) view returns(uint256)

func (*AaveIncentivesControllerV2CallerSession) PRECISION

func (_AaveIncentivesControllerV2 *AaveIncentivesControllerV2CallerSession) PRECISION() (uint8, error)

PRECISION is a free data retrieval call binding the contract method 0xaaf5eb68.

Solidity: function PRECISION() view returns(uint8)

func (*AaveIncentivesControllerV2CallerSession) REVISION

func (_AaveIncentivesControllerV2 *AaveIncentivesControllerV2CallerSession) REVISION() (*big.Int, error)

REVISION is a free data retrieval call binding the contract method 0xdde43cba.

Solidity: function REVISION() view returns(uint256)

func (*AaveIncentivesControllerV2CallerSession) REWARDTOKEN

func (_AaveIncentivesControllerV2 *AaveIncentivesControllerV2CallerSession) REWARDTOKEN() (common.Address, error)

REWARDTOKEN is a free data retrieval call binding the contract method 0x99248ea7.

Solidity: function REWARD_TOKEN() view returns(address)

type AaveIncentivesControllerV2Filterer

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

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

func NewAaveIncentivesControllerV2Filterer

func NewAaveIncentivesControllerV2Filterer(address common.Address, filterer bind.ContractFilterer) (*AaveIncentivesControllerV2Filterer, error)

NewAaveIncentivesControllerV2Filterer creates a new log filterer instance of AaveIncentivesControllerV2, bound to a specific deployed contract.

type AaveIncentivesControllerV2Raw

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

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

func (*AaveIncentivesControllerV2Raw) Call

func (_AaveIncentivesControllerV2 *AaveIncentivesControllerV2Raw) 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 (*AaveIncentivesControllerV2Raw) Transact

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

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

func (*AaveIncentivesControllerV2Raw) Transfer

func (_AaveIncentivesControllerV2 *AaveIncentivesControllerV2Raw) 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 AaveIncentivesControllerV2Session

type AaveIncentivesControllerV2Session struct {
	Contract     *AaveIncentivesControllerV2 // 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
}

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

func (*AaveIncentivesControllerV2Session) Assets

func (_AaveIncentivesControllerV2 *AaveIncentivesControllerV2Session) Assets(arg0 common.Address) (struct {
	EmissionPerSecond   *big.Int
	Index               *big.Int
	LastUpdateTimestamp *big.Int
}, error)

Assets is a free data retrieval call binding the contract method 0xf11b8188.

Solidity: function assets(address ) view returns(uint104 emissionPerSecond, uint104 index, uint40 lastUpdateTimestamp)

func (*AaveIncentivesControllerV2Session) ClaimRewards

func (_AaveIncentivesControllerV2 *AaveIncentivesControllerV2Session) ClaimRewards(assets []common.Address, amount *big.Int, to common.Address) (*types.Transaction, error)

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

Solidity: function claimRewards(address[] assets, uint256 amount, address to) returns(uint256)

func (*AaveIncentivesControllerV2Session) ClaimRewardsOnBehalf

func (_AaveIncentivesControllerV2 *AaveIncentivesControllerV2Session) ClaimRewardsOnBehalf(assets []common.Address, amount *big.Int, user common.Address, to common.Address) (*types.Transaction, error)

ClaimRewardsOnBehalf is a paid mutator transaction binding the contract method 0x6d34b96e.

Solidity: function claimRewardsOnBehalf(address[] assets, uint256 amount, address user, address to) returns(uint256)

func (*AaveIncentivesControllerV2Session) ConfigureAssets

func (_AaveIncentivesControllerV2 *AaveIncentivesControllerV2Session) ConfigureAssets(assets []common.Address, emissionsPerSecond []*big.Int) (*types.Transaction, error)

ConfigureAssets is a paid mutator transaction binding the contract method 0x79f171b2.

Solidity: function configureAssets(address[] assets, uint256[] emissionsPerSecond) returns()

func (*AaveIncentivesControllerV2Session) DISTRIBUTIONEND

func (_AaveIncentivesControllerV2 *AaveIncentivesControllerV2Session) DISTRIBUTIONEND() (*big.Int, error)

DISTRIBUTIONEND is a free data retrieval call binding the contract method 0x919cd40f.

Solidity: function DISTRIBUTION_END() view returns(uint256)

func (*AaveIncentivesControllerV2Session) EMISSIONMANAGER

func (_AaveIncentivesControllerV2 *AaveIncentivesControllerV2Session) EMISSIONMANAGER() (common.Address, error)

EMISSIONMANAGER is a free data retrieval call binding the contract method 0xcbcbb507.

Solidity: function EMISSION_MANAGER() view returns(address)

func (*AaveIncentivesControllerV2Session) GetAssetData

func (_AaveIncentivesControllerV2 *AaveIncentivesControllerV2Session) GetAssetData(asset common.Address) (*big.Int, *big.Int, *big.Int, error)

GetAssetData is a free data retrieval call binding the contract method 0x1652e7b7.

Solidity: function getAssetData(address asset) view returns(uint256, uint256, uint256)

func (*AaveIncentivesControllerV2Session) GetClaimer

func (_AaveIncentivesControllerV2 *AaveIncentivesControllerV2Session) GetClaimer(user common.Address) (common.Address, error)

GetClaimer is a free data retrieval call binding the contract method 0x74d945ec.

Solidity: function getClaimer(address user) view returns(address)

func (*AaveIncentivesControllerV2Session) GetDistributionEnd

func (_AaveIncentivesControllerV2 *AaveIncentivesControllerV2Session) GetDistributionEnd() (*big.Int, error)

GetDistributionEnd is a free data retrieval call binding the contract method 0xcc69afec.

Solidity: function getDistributionEnd() view returns(uint256)

func (*AaveIncentivesControllerV2Session) GetRewardsBalance

func (_AaveIncentivesControllerV2 *AaveIncentivesControllerV2Session) GetRewardsBalance(assets []common.Address, user common.Address) (*big.Int, error)

GetRewardsBalance is a free data retrieval call binding the contract method 0x8b599f26.

Solidity: function getRewardsBalance(address[] assets, address user) view returns(uint256)

func (*AaveIncentivesControllerV2Session) GetRewardsVault

func (_AaveIncentivesControllerV2 *AaveIncentivesControllerV2Session) GetRewardsVault() (common.Address, error)

GetRewardsVault is a free data retrieval call binding the contract method 0xe23ddec5.

Solidity: function getRewardsVault() view returns(address)

func (*AaveIncentivesControllerV2Session) GetUserAssetData

func (_AaveIncentivesControllerV2 *AaveIncentivesControllerV2Session) GetUserAssetData(user common.Address, asset common.Address) (*big.Int, error)

GetUserAssetData is a free data retrieval call binding the contract method 0x3373ee4c.

Solidity: function getUserAssetData(address user, address asset) view returns(uint256)

func (*AaveIncentivesControllerV2Session) GetUserUnclaimedRewards

func (_AaveIncentivesControllerV2 *AaveIncentivesControllerV2Session) GetUserUnclaimedRewards(_user common.Address) (*big.Int, error)

GetUserUnclaimedRewards is a free data retrieval call binding the contract method 0x198fa81e.

Solidity: function getUserUnclaimedRewards(address _user) view returns(uint256)

func (*AaveIncentivesControllerV2Session) HandleAction

func (_AaveIncentivesControllerV2 *AaveIncentivesControllerV2Session) HandleAction(user common.Address, totalSupply *big.Int, userBalance *big.Int) (*types.Transaction, error)

HandleAction is a paid mutator transaction binding the contract method 0x31873e2e.

Solidity: function handleAction(address user, uint256 totalSupply, uint256 userBalance) returns()

func (*AaveIncentivesControllerV2Session) Initialize

func (_AaveIncentivesControllerV2 *AaveIncentivesControllerV2Session) Initialize(rewardsVault common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xc4d66de8.

Solidity: function initialize(address rewardsVault) returns()

func (*AaveIncentivesControllerV2Session) PRECISION

func (_AaveIncentivesControllerV2 *AaveIncentivesControllerV2Session) PRECISION() (uint8, error)

PRECISION is a free data retrieval call binding the contract method 0xaaf5eb68.

Solidity: function PRECISION() view returns(uint8)

func (*AaveIncentivesControllerV2Session) REVISION

func (_AaveIncentivesControllerV2 *AaveIncentivesControllerV2Session) REVISION() (*big.Int, error)

REVISION is a free data retrieval call binding the contract method 0xdde43cba.

Solidity: function REVISION() view returns(uint256)

func (*AaveIncentivesControllerV2Session) REWARDTOKEN

func (_AaveIncentivesControllerV2 *AaveIncentivesControllerV2Session) REWARDTOKEN() (common.Address, error)

REWARDTOKEN is a free data retrieval call binding the contract method 0x99248ea7.

Solidity: function REWARD_TOKEN() view returns(address)

func (*AaveIncentivesControllerV2Session) SetClaimer

func (_AaveIncentivesControllerV2 *AaveIncentivesControllerV2Session) SetClaimer(user common.Address, caller common.Address) (*types.Transaction, error)

SetClaimer is a paid mutator transaction binding the contract method 0xf5cf673b.

Solidity: function setClaimer(address user, address caller) returns()

func (*AaveIncentivesControllerV2Session) SetDistributionEnd

func (_AaveIncentivesControllerV2 *AaveIncentivesControllerV2Session) SetDistributionEnd(distributionEnd *big.Int) (*types.Transaction, error)

SetDistributionEnd is a paid mutator transaction binding the contract method 0x39ccbdd3.

Solidity: function setDistributionEnd(uint256 distributionEnd) returns()

func (*AaveIncentivesControllerV2Session) SetRewardsVault

func (_AaveIncentivesControllerV2 *AaveIncentivesControllerV2Session) SetRewardsVault(rewardsVault common.Address) (*types.Transaction, error)

SetRewardsVault is a paid mutator transaction binding the contract method 0xf5bb3e02.

Solidity: function setRewardsVault(address rewardsVault) returns()

type AaveIncentivesControllerV2Transactor

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

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

func NewAaveIncentivesControllerV2Transactor

func NewAaveIncentivesControllerV2Transactor(address common.Address, transactor bind.ContractTransactor) (*AaveIncentivesControllerV2Transactor, error)

NewAaveIncentivesControllerV2Transactor creates a new write-only instance of AaveIncentivesControllerV2, bound to a specific deployed contract.

func (*AaveIncentivesControllerV2Transactor) ClaimRewards

func (_AaveIncentivesControllerV2 *AaveIncentivesControllerV2Transactor) ClaimRewards(opts *bind.TransactOpts, assets []common.Address, amount *big.Int, to common.Address) (*types.Transaction, error)

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

Solidity: function claimRewards(address[] assets, uint256 amount, address to) returns(uint256)

func (*AaveIncentivesControllerV2Transactor) ClaimRewardsOnBehalf

func (_AaveIncentivesControllerV2 *AaveIncentivesControllerV2Transactor) ClaimRewardsOnBehalf(opts *bind.TransactOpts, assets []common.Address, amount *big.Int, user common.Address, to common.Address) (*types.Transaction, error)

ClaimRewardsOnBehalf is a paid mutator transaction binding the contract method 0x6d34b96e.

Solidity: function claimRewardsOnBehalf(address[] assets, uint256 amount, address user, address to) returns(uint256)

func (*AaveIncentivesControllerV2Transactor) ConfigureAssets

func (_AaveIncentivesControllerV2 *AaveIncentivesControllerV2Transactor) ConfigureAssets(opts *bind.TransactOpts, assets []common.Address, emissionsPerSecond []*big.Int) (*types.Transaction, error)

ConfigureAssets is a paid mutator transaction binding the contract method 0x79f171b2.

Solidity: function configureAssets(address[] assets, uint256[] emissionsPerSecond) returns()

func (*AaveIncentivesControllerV2Transactor) HandleAction

func (_AaveIncentivesControllerV2 *AaveIncentivesControllerV2Transactor) HandleAction(opts *bind.TransactOpts, user common.Address, totalSupply *big.Int, userBalance *big.Int) (*types.Transaction, error)

HandleAction is a paid mutator transaction binding the contract method 0x31873e2e.

Solidity: function handleAction(address user, uint256 totalSupply, uint256 userBalance) returns()

func (*AaveIncentivesControllerV2Transactor) Initialize

func (_AaveIncentivesControllerV2 *AaveIncentivesControllerV2Transactor) Initialize(opts *bind.TransactOpts, rewardsVault common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xc4d66de8.

Solidity: function initialize(address rewardsVault) returns()

func (*AaveIncentivesControllerV2Transactor) SetClaimer

func (_AaveIncentivesControllerV2 *AaveIncentivesControllerV2Transactor) SetClaimer(opts *bind.TransactOpts, user common.Address, caller common.Address) (*types.Transaction, error)

SetClaimer is a paid mutator transaction binding the contract method 0xf5cf673b.

Solidity: function setClaimer(address user, address caller) returns()

func (*AaveIncentivesControllerV2Transactor) SetDistributionEnd

func (_AaveIncentivesControllerV2 *AaveIncentivesControllerV2Transactor) SetDistributionEnd(opts *bind.TransactOpts, distributionEnd *big.Int) (*types.Transaction, error)

SetDistributionEnd is a paid mutator transaction binding the contract method 0x39ccbdd3.

Solidity: function setDistributionEnd(uint256 distributionEnd) returns()

func (*AaveIncentivesControllerV2Transactor) SetRewardsVault

func (_AaveIncentivesControllerV2 *AaveIncentivesControllerV2Transactor) SetRewardsVault(opts *bind.TransactOpts, rewardsVault common.Address) (*types.Transaction, error)

SetRewardsVault is a paid mutator transaction binding the contract method 0xf5bb3e02.

Solidity: function setRewardsVault(address rewardsVault) returns()

type AaveIncentivesControllerV2TransactorRaw

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

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

func (*AaveIncentivesControllerV2TransactorRaw) Transact

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

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

func (*AaveIncentivesControllerV2TransactorRaw) Transfer

func (_AaveIncentivesControllerV2 *AaveIncentivesControllerV2TransactorRaw) 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 AaveIncentivesControllerV2TransactorSession

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

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

func (*AaveIncentivesControllerV2TransactorSession) ClaimRewards

func (_AaveIncentivesControllerV2 *AaveIncentivesControllerV2TransactorSession) ClaimRewards(assets []common.Address, amount *big.Int, to common.Address) (*types.Transaction, error)

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

Solidity: function claimRewards(address[] assets, uint256 amount, address to) returns(uint256)

func (*AaveIncentivesControllerV2TransactorSession) ClaimRewardsOnBehalf

func (_AaveIncentivesControllerV2 *AaveIncentivesControllerV2TransactorSession) ClaimRewardsOnBehalf(assets []common.Address, amount *big.Int, user common.Address, to common.Address) (*types.Transaction, error)

ClaimRewardsOnBehalf is a paid mutator transaction binding the contract method 0x6d34b96e.

Solidity: function claimRewardsOnBehalf(address[] assets, uint256 amount, address user, address to) returns(uint256)

func (*AaveIncentivesControllerV2TransactorSession) ConfigureAssets

func (_AaveIncentivesControllerV2 *AaveIncentivesControllerV2TransactorSession) ConfigureAssets(assets []common.Address, emissionsPerSecond []*big.Int) (*types.Transaction, error)

ConfigureAssets is a paid mutator transaction binding the contract method 0x79f171b2.

Solidity: function configureAssets(address[] assets, uint256[] emissionsPerSecond) returns()

func (*AaveIncentivesControllerV2TransactorSession) HandleAction

func (_AaveIncentivesControllerV2 *AaveIncentivesControllerV2TransactorSession) HandleAction(user common.Address, totalSupply *big.Int, userBalance *big.Int) (*types.Transaction, error)

HandleAction is a paid mutator transaction binding the contract method 0x31873e2e.

Solidity: function handleAction(address user, uint256 totalSupply, uint256 userBalance) returns()

func (*AaveIncentivesControllerV2TransactorSession) Initialize

func (_AaveIncentivesControllerV2 *AaveIncentivesControllerV2TransactorSession) Initialize(rewardsVault common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xc4d66de8.

Solidity: function initialize(address rewardsVault) returns()

func (*AaveIncentivesControllerV2TransactorSession) SetClaimer

func (_AaveIncentivesControllerV2 *AaveIncentivesControllerV2TransactorSession) SetClaimer(user common.Address, caller common.Address) (*types.Transaction, error)

SetClaimer is a paid mutator transaction binding the contract method 0xf5cf673b.

Solidity: function setClaimer(address user, address caller) returns()

func (*AaveIncentivesControllerV2TransactorSession) SetDistributionEnd

func (_AaveIncentivesControllerV2 *AaveIncentivesControllerV2TransactorSession) SetDistributionEnd(distributionEnd *big.Int) (*types.Transaction, error)

SetDistributionEnd is a paid mutator transaction binding the contract method 0x39ccbdd3.

Solidity: function setDistributionEnd(uint256 distributionEnd) returns()

func (*AaveIncentivesControllerV2TransactorSession) SetRewardsVault

func (_AaveIncentivesControllerV2 *AaveIncentivesControllerV2TransactorSession) SetRewardsVault(rewardsVault common.Address) (*types.Transaction, error)

SetRewardsVault is a paid mutator transaction binding the contract method 0xf5bb3e02.

Solidity: function setRewardsVault(address rewardsVault) returns()

Jump to

Keyboard shortcuts

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