sparkRewardsController

package
v0.1.23 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SparkRewardsControllerABI = SparkRewardsControllerMetaData.ABI

SparkRewardsControllerABI is the input ABI used to generate the binding from. Deprecated: Use SparkRewardsControllerMetaData.ABI instead.

View Source
var SparkRewardsControllerMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"reward\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"assetIndex\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"userIndex\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"rewardsAccrued\",\"type\":\"uint256\"}],\"name\":\"Accrued\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"reward\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"oldEmission\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newEmission\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"oldDistributionEnd\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newDistributionEnd\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"assetIndex\",\"type\":\"uint256\"}],\"name\":\"AssetConfigUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"claimer\",\"type\":\"address\"}],\"name\":\"ClaimerSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"reward\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"rewardOracle\",\"type\":\"address\"}],\"name\":\"RewardOracleUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"reward\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"claimer\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"RewardsClaimed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"reward\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"transferStrategy\",\"type\":\"address\"}],\"name\":\"TransferStrategyInstalled\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"EMISSION_MANAGER\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"assets\",\"type\":\"address[]\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"claimAllRewards\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"rewardsList\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"claimedAmounts\",\"type\":\"uint256[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"assets\",\"type\":\"address[]\"},{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"claimAllRewardsOnBehalf\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"rewardsList\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"claimedAmounts\",\"type\":\"uint256[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"assets\",\"type\":\"address[]\"}],\"name\":\"claimAllRewardsToSelf\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"rewardsList\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"claimedAmounts\",\"type\":\"uint256[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"assets\",\"type\":\"address[]\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"reward\",\"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\"},{\"internalType\":\"address\",\"name\":\"reward\",\"type\":\"address\"}],\"name\":\"claimRewardsOnBehalf\",\"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\":\"reward\",\"type\":\"address\"}],\"name\":\"claimRewardsToSelf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint88\",\"name\":\"emissionPerSecond\",\"type\":\"uint88\"},{\"internalType\":\"uint256\",\"name\":\"totalSupply\",\"type\":\"uint256\"},{\"internalType\":\"uint32\",\"name\":\"distributionEnd\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"reward\",\"type\":\"address\"},{\"internalType\":\"contractITransferStrategyBase\",\"name\":\"transferStrategy\",\"type\":\"address\"},{\"internalType\":\"contractIEACAggregatorProxy\",\"name\":\"rewardOracle\",\"type\":\"address\"}],\"internalType\":\"structRewardsDataTypes.RewardsConfigInput[]\",\"name\":\"config\",\"type\":\"tuple[]\"}],\"name\":\"configureAssets\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"assets\",\"type\":\"address[]\"},{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"}],\"name\":\"getAllUserRewards\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"}],\"name\":\"getAssetDecimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"reward\",\"type\":\"address\"}],\"name\":\"getAssetIndex\",\"outputs\":[{\"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\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"reward\",\"type\":\"address\"}],\"name\":\"getDistributionEnd\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getEmissionManager\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"reward\",\"type\":\"address\"}],\"name\":\"getRewardOracle\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"}],\"name\":\"getRewardsByAsset\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"reward\",\"type\":\"address\"}],\"name\":\"getRewardsData\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getRewardsList\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"reward\",\"type\":\"address\"}],\"name\":\"getTransferStrategy\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"reward\",\"type\":\"address\"}],\"name\":\"getUserAccruedRewards\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"reward\",\"type\":\"address\"}],\"name\":\"getUserAssetIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"assets\",\"type\":\"address[]\"},{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"reward\",\"type\":\"address\"}],\"name\":\"getUserRewards\",\"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\":\"user\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"claimer\",\"type\":\"address\"}],\"name\":\"setClaimer\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"reward\",\"type\":\"address\"},{\"internalType\":\"uint32\",\"name\":\"newDistributionEnd\",\"type\":\"uint32\"}],\"name\":\"setDistributionEnd\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"internalType\":\"address[]\",\"name\":\"rewards\",\"type\":\"address[]\"},{\"internalType\":\"uint88[]\",\"name\":\"newEmissionsPerSecond\",\"type\":\"uint88[]\"}],\"name\":\"setEmissionPerSecond\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"reward\",\"type\":\"address\"},{\"internalType\":\"contractIEACAggregatorProxy\",\"name\":\"rewardOracle\",\"type\":\"address\"}],\"name\":\"setRewardOracle\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"reward\",\"type\":\"address\"},{\"internalType\":\"contractITransferStrategyBase\",\"name\":\"transferStrategy\",\"type\":\"address\"}],\"name\":\"setTransferStrategy\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

SparkRewardsControllerMetaData contains all meta data concerning the SparkRewardsController contract.

Functions

This section is empty.

Types

type RewardsDataTypesRewardsConfigInput

type RewardsDataTypesRewardsConfigInput struct {
	EmissionPerSecond *big.Int
	TotalSupply       *big.Int
	DistributionEnd   uint32
	Asset             common.Address
	Reward            common.Address
	TransferStrategy  common.Address
	RewardOracle      common.Address
}

RewardsDataTypesRewardsConfigInput is an auto generated low-level Go binding around an user-defined struct.

type SparkRewardsController

type SparkRewardsController struct {
	SparkRewardsControllerCaller     // Read-only binding to the contract
	SparkRewardsControllerTransactor // Write-only binding to the contract
	SparkRewardsControllerFilterer   // Log filterer for contract events
}

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

func NewSparkRewardsController

func NewSparkRewardsController(address common.Address, backend bind.ContractBackend) (*SparkRewardsController, error)

NewSparkRewardsController creates a new instance of SparkRewardsController, bound to a specific deployed contract.

type SparkRewardsControllerAccrued

type SparkRewardsControllerAccrued struct {
	Asset          common.Address
	Reward         common.Address
	User           common.Address
	AssetIndex     *big.Int
	UserIndex      *big.Int
	RewardsAccrued *big.Int
	Raw            types.Log // Blockchain specific contextual infos
}

SparkRewardsControllerAccrued represents a Accrued event raised by the SparkRewardsController contract.

type SparkRewardsControllerAccruedIterator

type SparkRewardsControllerAccruedIterator struct {
	Event *SparkRewardsControllerAccrued // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

SparkRewardsControllerAccruedIterator is returned from FilterAccrued and is used to iterate over the raw logs and unpacked data for Accrued events raised by the SparkRewardsController contract.

func (*SparkRewardsControllerAccruedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*SparkRewardsControllerAccruedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SparkRewardsControllerAccruedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type SparkRewardsControllerAssetConfigUpdated

type SparkRewardsControllerAssetConfigUpdated struct {
	Asset              common.Address
	Reward             common.Address
	OldEmission        *big.Int
	NewEmission        *big.Int
	OldDistributionEnd *big.Int
	NewDistributionEnd *big.Int
	AssetIndex         *big.Int
	Raw                types.Log // Blockchain specific contextual infos
}

SparkRewardsControllerAssetConfigUpdated represents a AssetConfigUpdated event raised by the SparkRewardsController contract.

type SparkRewardsControllerAssetConfigUpdatedIterator

type SparkRewardsControllerAssetConfigUpdatedIterator struct {
	Event *SparkRewardsControllerAssetConfigUpdated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

SparkRewardsControllerAssetConfigUpdatedIterator is returned from FilterAssetConfigUpdated and is used to iterate over the raw logs and unpacked data for AssetConfigUpdated events raised by the SparkRewardsController contract.

func (*SparkRewardsControllerAssetConfigUpdatedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*SparkRewardsControllerAssetConfigUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SparkRewardsControllerAssetConfigUpdatedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type SparkRewardsControllerCaller

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

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

func NewSparkRewardsControllerCaller

func NewSparkRewardsControllerCaller(address common.Address, caller bind.ContractCaller) (*SparkRewardsControllerCaller, error)

NewSparkRewardsControllerCaller creates a new read-only instance of SparkRewardsController, bound to a specific deployed contract.

func (*SparkRewardsControllerCaller) EMISSIONMANAGER

func (_SparkRewardsController *SparkRewardsControllerCaller) 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 (*SparkRewardsControllerCaller) GetAllUserRewards

func (_SparkRewardsController *SparkRewardsControllerCaller) GetAllUserRewards(opts *bind.CallOpts, assets []common.Address, user common.Address) ([]common.Address, []*big.Int, error)

GetAllUserRewards is a free data retrieval call binding the contract method 0x4c0369c3.

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

func (*SparkRewardsControllerCaller) GetAssetDecimals

func (_SparkRewardsController *SparkRewardsControllerCaller) GetAssetDecimals(opts *bind.CallOpts, asset common.Address) (uint8, error)

GetAssetDecimals is a free data retrieval call binding the contract method 0x9efd6f72.

Solidity: function getAssetDecimals(address asset) view returns(uint8)

func (*SparkRewardsControllerCaller) GetAssetIndex

func (_SparkRewardsController *SparkRewardsControllerCaller) GetAssetIndex(opts *bind.CallOpts, asset common.Address, reward common.Address) (*big.Int, *big.Int, error)

GetAssetIndex is a free data retrieval call binding the contract method 0x886fe70b.

Solidity: function getAssetIndex(address asset, address reward) view returns(uint256, uint256)

func (*SparkRewardsControllerCaller) GetClaimer

func (_SparkRewardsController *SparkRewardsControllerCaller) 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 (*SparkRewardsControllerCaller) GetDistributionEnd

func (_SparkRewardsController *SparkRewardsControllerCaller) GetDistributionEnd(opts *bind.CallOpts, asset common.Address, reward common.Address) (*big.Int, error)

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

Solidity: function getDistributionEnd(address asset, address reward) view returns(uint256)

func (*SparkRewardsControllerCaller) GetEmissionManager

func (_SparkRewardsController *SparkRewardsControllerCaller) GetEmissionManager(opts *bind.CallOpts) (common.Address, error)

GetEmissionManager is a free data retrieval call binding the contract method 0x92074b08.

Solidity: function getEmissionManager() view returns(address)

func (*SparkRewardsControllerCaller) GetRewardOracle

func (_SparkRewardsController *SparkRewardsControllerCaller) GetRewardOracle(opts *bind.CallOpts, reward common.Address) (common.Address, error)

GetRewardOracle is a free data retrieval call binding the contract method 0x2a17bf60.

Solidity: function getRewardOracle(address reward) view returns(address)

func (*SparkRewardsControllerCaller) GetRewardsByAsset

func (_SparkRewardsController *SparkRewardsControllerCaller) GetRewardsByAsset(opts *bind.CallOpts, asset common.Address) ([]common.Address, error)

GetRewardsByAsset is a free data retrieval call binding the contract method 0x6657732f.

Solidity: function getRewardsByAsset(address asset) view returns(address[])

func (*SparkRewardsControllerCaller) GetRewardsData

func (_SparkRewardsController *SparkRewardsControllerCaller) GetRewardsData(opts *bind.CallOpts, asset common.Address, reward common.Address) (*big.Int, *big.Int, *big.Int, *big.Int, error)

GetRewardsData is a free data retrieval call binding the contract method 0x7eff4ba8.

Solidity: function getRewardsData(address asset, address reward) view returns(uint256, uint256, uint256, uint256)

func (*SparkRewardsControllerCaller) GetRewardsList

func (_SparkRewardsController *SparkRewardsControllerCaller) GetRewardsList(opts *bind.CallOpts) ([]common.Address, error)

GetRewardsList is a free data retrieval call binding the contract method 0xb45ac1a9.

Solidity: function getRewardsList() view returns(address[])

func (*SparkRewardsControllerCaller) GetTransferStrategy

func (_SparkRewardsController *SparkRewardsControllerCaller) GetTransferStrategy(opts *bind.CallOpts, reward common.Address) (common.Address, error)

GetTransferStrategy is a free data retrieval call binding the contract method 0x5f130b24.

Solidity: function getTransferStrategy(address reward) view returns(address)

func (*SparkRewardsControllerCaller) GetUserAccruedRewards

func (_SparkRewardsController *SparkRewardsControllerCaller) GetUserAccruedRewards(opts *bind.CallOpts, user common.Address, reward common.Address) (*big.Int, error)

GetUserAccruedRewards is a free data retrieval call binding the contract method 0xb022418c.

Solidity: function getUserAccruedRewards(address user, address reward) view returns(uint256)

func (*SparkRewardsControllerCaller) GetUserAssetIndex

func (_SparkRewardsController *SparkRewardsControllerCaller) GetUserAssetIndex(opts *bind.CallOpts, user common.Address, asset common.Address, reward common.Address) (*big.Int, error)

GetUserAssetIndex is a free data retrieval call binding the contract method 0x533f542a.

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

func (*SparkRewardsControllerCaller) GetUserRewards

func (_SparkRewardsController *SparkRewardsControllerCaller) GetUserRewards(opts *bind.CallOpts, assets []common.Address, user common.Address, reward common.Address) (*big.Int, error)

GetUserRewards is a free data retrieval call binding the contract method 0x70674ab9.

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

type SparkRewardsControllerCallerRaw

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

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

func (*SparkRewardsControllerCallerRaw) Call

func (_SparkRewardsController *SparkRewardsControllerCallerRaw) 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 SparkRewardsControllerCallerSession

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

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

func (*SparkRewardsControllerCallerSession) EMISSIONMANAGER

func (_SparkRewardsController *SparkRewardsControllerCallerSession) EMISSIONMANAGER() (common.Address, error)

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

Solidity: function EMISSION_MANAGER() view returns(address)

func (*SparkRewardsControllerCallerSession) GetAllUserRewards

func (_SparkRewardsController *SparkRewardsControllerCallerSession) GetAllUserRewards(assets []common.Address, user common.Address) ([]common.Address, []*big.Int, error)

GetAllUserRewards is a free data retrieval call binding the contract method 0x4c0369c3.

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

func (*SparkRewardsControllerCallerSession) GetAssetDecimals

func (_SparkRewardsController *SparkRewardsControllerCallerSession) GetAssetDecimals(asset common.Address) (uint8, error)

GetAssetDecimals is a free data retrieval call binding the contract method 0x9efd6f72.

Solidity: function getAssetDecimals(address asset) view returns(uint8)

func (*SparkRewardsControllerCallerSession) GetAssetIndex

func (_SparkRewardsController *SparkRewardsControllerCallerSession) GetAssetIndex(asset common.Address, reward common.Address) (*big.Int, *big.Int, error)

GetAssetIndex is a free data retrieval call binding the contract method 0x886fe70b.

Solidity: function getAssetIndex(address asset, address reward) view returns(uint256, uint256)

func (*SparkRewardsControllerCallerSession) GetClaimer

func (_SparkRewardsController *SparkRewardsControllerCallerSession) 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 (*SparkRewardsControllerCallerSession) GetDistributionEnd

func (_SparkRewardsController *SparkRewardsControllerCallerSession) GetDistributionEnd(asset common.Address, reward common.Address) (*big.Int, error)

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

Solidity: function getDistributionEnd(address asset, address reward) view returns(uint256)

func (*SparkRewardsControllerCallerSession) GetEmissionManager

func (_SparkRewardsController *SparkRewardsControllerCallerSession) GetEmissionManager() (common.Address, error)

GetEmissionManager is a free data retrieval call binding the contract method 0x92074b08.

Solidity: function getEmissionManager() view returns(address)

func (*SparkRewardsControllerCallerSession) GetRewardOracle

func (_SparkRewardsController *SparkRewardsControllerCallerSession) GetRewardOracle(reward common.Address) (common.Address, error)

GetRewardOracle is a free data retrieval call binding the contract method 0x2a17bf60.

Solidity: function getRewardOracle(address reward) view returns(address)

func (*SparkRewardsControllerCallerSession) GetRewardsByAsset

func (_SparkRewardsController *SparkRewardsControllerCallerSession) GetRewardsByAsset(asset common.Address) ([]common.Address, error)

GetRewardsByAsset is a free data retrieval call binding the contract method 0x6657732f.

Solidity: function getRewardsByAsset(address asset) view returns(address[])

func (*SparkRewardsControllerCallerSession) GetRewardsData

func (_SparkRewardsController *SparkRewardsControllerCallerSession) GetRewardsData(asset common.Address, reward common.Address) (*big.Int, *big.Int, *big.Int, *big.Int, error)

GetRewardsData is a free data retrieval call binding the contract method 0x7eff4ba8.

Solidity: function getRewardsData(address asset, address reward) view returns(uint256, uint256, uint256, uint256)

func (*SparkRewardsControllerCallerSession) GetRewardsList

func (_SparkRewardsController *SparkRewardsControllerCallerSession) GetRewardsList() ([]common.Address, error)

GetRewardsList is a free data retrieval call binding the contract method 0xb45ac1a9.

Solidity: function getRewardsList() view returns(address[])

func (*SparkRewardsControllerCallerSession) GetTransferStrategy

func (_SparkRewardsController *SparkRewardsControllerCallerSession) GetTransferStrategy(reward common.Address) (common.Address, error)

GetTransferStrategy is a free data retrieval call binding the contract method 0x5f130b24.

Solidity: function getTransferStrategy(address reward) view returns(address)

func (*SparkRewardsControllerCallerSession) GetUserAccruedRewards

func (_SparkRewardsController *SparkRewardsControllerCallerSession) GetUserAccruedRewards(user common.Address, reward common.Address) (*big.Int, error)

GetUserAccruedRewards is a free data retrieval call binding the contract method 0xb022418c.

Solidity: function getUserAccruedRewards(address user, address reward) view returns(uint256)

func (*SparkRewardsControllerCallerSession) GetUserAssetIndex

func (_SparkRewardsController *SparkRewardsControllerCallerSession) GetUserAssetIndex(user common.Address, asset common.Address, reward common.Address) (*big.Int, error)

GetUserAssetIndex is a free data retrieval call binding the contract method 0x533f542a.

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

func (*SparkRewardsControllerCallerSession) GetUserRewards

func (_SparkRewardsController *SparkRewardsControllerCallerSession) GetUserRewards(assets []common.Address, user common.Address, reward common.Address) (*big.Int, error)

GetUserRewards is a free data retrieval call binding the contract method 0x70674ab9.

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

type SparkRewardsControllerClaimerSet

type SparkRewardsControllerClaimerSet struct {
	User    common.Address
	Claimer common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

SparkRewardsControllerClaimerSet represents a ClaimerSet event raised by the SparkRewardsController contract.

type SparkRewardsControllerClaimerSetIterator

type SparkRewardsControllerClaimerSetIterator struct {
	Event *SparkRewardsControllerClaimerSet // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

SparkRewardsControllerClaimerSetIterator is returned from FilterClaimerSet and is used to iterate over the raw logs and unpacked data for ClaimerSet events raised by the SparkRewardsController contract.

func (*SparkRewardsControllerClaimerSetIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*SparkRewardsControllerClaimerSetIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SparkRewardsControllerClaimerSetIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type SparkRewardsControllerFilterer

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

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

func NewSparkRewardsControllerFilterer

func NewSparkRewardsControllerFilterer(address common.Address, filterer bind.ContractFilterer) (*SparkRewardsControllerFilterer, error)

NewSparkRewardsControllerFilterer creates a new log filterer instance of SparkRewardsController, bound to a specific deployed contract.

func (*SparkRewardsControllerFilterer) FilterAccrued

func (_SparkRewardsController *SparkRewardsControllerFilterer) FilterAccrued(opts *bind.FilterOpts, asset []common.Address, reward []common.Address, user []common.Address) (*SparkRewardsControllerAccruedIterator, error)

FilterAccrued is a free log retrieval operation binding the contract event 0x3303facd24627943a92e9dc87cfbb34b15c49b726eec3ad3487c16be9ab8efe8.

Solidity: event Accrued(address indexed asset, address indexed reward, address indexed user, uint256 assetIndex, uint256 userIndex, uint256 rewardsAccrued)

func (*SparkRewardsControllerFilterer) FilterAssetConfigUpdated

func (_SparkRewardsController *SparkRewardsControllerFilterer) FilterAssetConfigUpdated(opts *bind.FilterOpts, asset []common.Address, reward []common.Address) (*SparkRewardsControllerAssetConfigUpdatedIterator, error)

FilterAssetConfigUpdated is a free log retrieval operation binding the contract event 0xac1777479f07f3e7c34da8402139d54027a6a260caaae168bdee825ca5580dc5.

Solidity: event AssetConfigUpdated(address indexed asset, address indexed reward, uint256 oldEmission, uint256 newEmission, uint256 oldDistributionEnd, uint256 newDistributionEnd, uint256 assetIndex)

func (*SparkRewardsControllerFilterer) FilterClaimerSet

func (_SparkRewardsController *SparkRewardsControllerFilterer) FilterClaimerSet(opts *bind.FilterOpts, user []common.Address, claimer []common.Address) (*SparkRewardsControllerClaimerSetIterator, error)

FilterClaimerSet is a free log retrieval operation binding the contract event 0x4925eafc82d0c4d67889898eeed64b18488ab19811e61620f387026dec126a28.

Solidity: event ClaimerSet(address indexed user, address indexed claimer)

func (*SparkRewardsControllerFilterer) FilterRewardOracleUpdated

func (_SparkRewardsController *SparkRewardsControllerFilterer) FilterRewardOracleUpdated(opts *bind.FilterOpts, reward []common.Address, rewardOracle []common.Address) (*SparkRewardsControllerRewardOracleUpdatedIterator, error)

FilterRewardOracleUpdated is a free log retrieval operation binding the contract event 0x1a1cd5483e52e60b9ff7f3b9d1db3bbd9e9d21c6324ad3a8c79dba9b75e62f4d.

Solidity: event RewardOracleUpdated(address indexed reward, address indexed rewardOracle)

func (*SparkRewardsControllerFilterer) FilterRewardsClaimed

func (_SparkRewardsController *SparkRewardsControllerFilterer) FilterRewardsClaimed(opts *bind.FilterOpts, user []common.Address, reward []common.Address, to []common.Address) (*SparkRewardsControllerRewardsClaimedIterator, error)

FilterRewardsClaimed is a free log retrieval operation binding the contract event 0xc052130bc4ef84580db505783484b067ea8b71b3bca78a7e12db7aea8658f004.

Solidity: event RewardsClaimed(address indexed user, address indexed reward, address indexed to, address claimer, uint256 amount)

func (*SparkRewardsControllerFilterer) FilterTransferStrategyInstalled

func (_SparkRewardsController *SparkRewardsControllerFilterer) FilterTransferStrategyInstalled(opts *bind.FilterOpts, reward []common.Address, transferStrategy []common.Address) (*SparkRewardsControllerTransferStrategyInstalledIterator, error)

FilterTransferStrategyInstalled is a free log retrieval operation binding the contract event 0x8ca1d928f1d72493a6b78c4f74aabde976bc37ffe2570f2a1ce5a8abd3dde0aa.

Solidity: event TransferStrategyInstalled(address indexed reward, address indexed transferStrategy)

func (*SparkRewardsControllerFilterer) ParseAccrued

func (_SparkRewardsController *SparkRewardsControllerFilterer) ParseAccrued(log types.Log) (*SparkRewardsControllerAccrued, error)

ParseAccrued is a log parse operation binding the contract event 0x3303facd24627943a92e9dc87cfbb34b15c49b726eec3ad3487c16be9ab8efe8.

Solidity: event Accrued(address indexed asset, address indexed reward, address indexed user, uint256 assetIndex, uint256 userIndex, uint256 rewardsAccrued)

func (*SparkRewardsControllerFilterer) ParseAssetConfigUpdated

func (_SparkRewardsController *SparkRewardsControllerFilterer) ParseAssetConfigUpdated(log types.Log) (*SparkRewardsControllerAssetConfigUpdated, error)

ParseAssetConfigUpdated is a log parse operation binding the contract event 0xac1777479f07f3e7c34da8402139d54027a6a260caaae168bdee825ca5580dc5.

Solidity: event AssetConfigUpdated(address indexed asset, address indexed reward, uint256 oldEmission, uint256 newEmission, uint256 oldDistributionEnd, uint256 newDistributionEnd, uint256 assetIndex)

func (*SparkRewardsControllerFilterer) ParseClaimerSet

func (_SparkRewardsController *SparkRewardsControllerFilterer) ParseClaimerSet(log types.Log) (*SparkRewardsControllerClaimerSet, error)

ParseClaimerSet is a log parse operation binding the contract event 0x4925eafc82d0c4d67889898eeed64b18488ab19811e61620f387026dec126a28.

Solidity: event ClaimerSet(address indexed user, address indexed claimer)

func (*SparkRewardsControllerFilterer) ParseRewardOracleUpdated

func (_SparkRewardsController *SparkRewardsControllerFilterer) ParseRewardOracleUpdated(log types.Log) (*SparkRewardsControllerRewardOracleUpdated, error)

ParseRewardOracleUpdated is a log parse operation binding the contract event 0x1a1cd5483e52e60b9ff7f3b9d1db3bbd9e9d21c6324ad3a8c79dba9b75e62f4d.

Solidity: event RewardOracleUpdated(address indexed reward, address indexed rewardOracle)

func (*SparkRewardsControllerFilterer) ParseRewardsClaimed

func (_SparkRewardsController *SparkRewardsControllerFilterer) ParseRewardsClaimed(log types.Log) (*SparkRewardsControllerRewardsClaimed, error)

ParseRewardsClaimed is a log parse operation binding the contract event 0xc052130bc4ef84580db505783484b067ea8b71b3bca78a7e12db7aea8658f004.

Solidity: event RewardsClaimed(address indexed user, address indexed reward, address indexed to, address claimer, uint256 amount)

func (*SparkRewardsControllerFilterer) ParseTransferStrategyInstalled

func (_SparkRewardsController *SparkRewardsControllerFilterer) ParseTransferStrategyInstalled(log types.Log) (*SparkRewardsControllerTransferStrategyInstalled, error)

ParseTransferStrategyInstalled is a log parse operation binding the contract event 0x8ca1d928f1d72493a6b78c4f74aabde976bc37ffe2570f2a1ce5a8abd3dde0aa.

Solidity: event TransferStrategyInstalled(address indexed reward, address indexed transferStrategy)

func (*SparkRewardsControllerFilterer) WatchAccrued

func (_SparkRewardsController *SparkRewardsControllerFilterer) WatchAccrued(opts *bind.WatchOpts, sink chan<- *SparkRewardsControllerAccrued, asset []common.Address, reward []common.Address, user []common.Address) (event.Subscription, error)

WatchAccrued is a free log subscription operation binding the contract event 0x3303facd24627943a92e9dc87cfbb34b15c49b726eec3ad3487c16be9ab8efe8.

Solidity: event Accrued(address indexed asset, address indexed reward, address indexed user, uint256 assetIndex, uint256 userIndex, uint256 rewardsAccrued)

func (*SparkRewardsControllerFilterer) WatchAssetConfigUpdated

func (_SparkRewardsController *SparkRewardsControllerFilterer) WatchAssetConfigUpdated(opts *bind.WatchOpts, sink chan<- *SparkRewardsControllerAssetConfigUpdated, asset []common.Address, reward []common.Address) (event.Subscription, error)

WatchAssetConfigUpdated is a free log subscription operation binding the contract event 0xac1777479f07f3e7c34da8402139d54027a6a260caaae168bdee825ca5580dc5.

Solidity: event AssetConfigUpdated(address indexed asset, address indexed reward, uint256 oldEmission, uint256 newEmission, uint256 oldDistributionEnd, uint256 newDistributionEnd, uint256 assetIndex)

func (*SparkRewardsControllerFilterer) WatchClaimerSet

func (_SparkRewardsController *SparkRewardsControllerFilterer) WatchClaimerSet(opts *bind.WatchOpts, sink chan<- *SparkRewardsControllerClaimerSet, user []common.Address, claimer []common.Address) (event.Subscription, error)

WatchClaimerSet is a free log subscription operation binding the contract event 0x4925eafc82d0c4d67889898eeed64b18488ab19811e61620f387026dec126a28.

Solidity: event ClaimerSet(address indexed user, address indexed claimer)

func (*SparkRewardsControllerFilterer) WatchRewardOracleUpdated

func (_SparkRewardsController *SparkRewardsControllerFilterer) WatchRewardOracleUpdated(opts *bind.WatchOpts, sink chan<- *SparkRewardsControllerRewardOracleUpdated, reward []common.Address, rewardOracle []common.Address) (event.Subscription, error)

WatchRewardOracleUpdated is a free log subscription operation binding the contract event 0x1a1cd5483e52e60b9ff7f3b9d1db3bbd9e9d21c6324ad3a8c79dba9b75e62f4d.

Solidity: event RewardOracleUpdated(address indexed reward, address indexed rewardOracle)

func (*SparkRewardsControllerFilterer) WatchRewardsClaimed

func (_SparkRewardsController *SparkRewardsControllerFilterer) WatchRewardsClaimed(opts *bind.WatchOpts, sink chan<- *SparkRewardsControllerRewardsClaimed, user []common.Address, reward []common.Address, to []common.Address) (event.Subscription, error)

WatchRewardsClaimed is a free log subscription operation binding the contract event 0xc052130bc4ef84580db505783484b067ea8b71b3bca78a7e12db7aea8658f004.

Solidity: event RewardsClaimed(address indexed user, address indexed reward, address indexed to, address claimer, uint256 amount)

func (*SparkRewardsControllerFilterer) WatchTransferStrategyInstalled

func (_SparkRewardsController *SparkRewardsControllerFilterer) WatchTransferStrategyInstalled(opts *bind.WatchOpts, sink chan<- *SparkRewardsControllerTransferStrategyInstalled, reward []common.Address, transferStrategy []common.Address) (event.Subscription, error)

WatchTransferStrategyInstalled is a free log subscription operation binding the contract event 0x8ca1d928f1d72493a6b78c4f74aabde976bc37ffe2570f2a1ce5a8abd3dde0aa.

Solidity: event TransferStrategyInstalled(address indexed reward, address indexed transferStrategy)

type SparkRewardsControllerRaw

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

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

func (*SparkRewardsControllerRaw) Call

func (_SparkRewardsController *SparkRewardsControllerRaw) 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 (*SparkRewardsControllerRaw) Transact

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

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

func (*SparkRewardsControllerRaw) Transfer

func (_SparkRewardsController *SparkRewardsControllerRaw) 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 SparkRewardsControllerRewardOracleUpdated

type SparkRewardsControllerRewardOracleUpdated struct {
	Reward       common.Address
	RewardOracle common.Address
	Raw          types.Log // Blockchain specific contextual infos
}

SparkRewardsControllerRewardOracleUpdated represents a RewardOracleUpdated event raised by the SparkRewardsController contract.

type SparkRewardsControllerRewardOracleUpdatedIterator

type SparkRewardsControllerRewardOracleUpdatedIterator struct {
	Event *SparkRewardsControllerRewardOracleUpdated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

SparkRewardsControllerRewardOracleUpdatedIterator is returned from FilterRewardOracleUpdated and is used to iterate over the raw logs and unpacked data for RewardOracleUpdated events raised by the SparkRewardsController contract.

func (*SparkRewardsControllerRewardOracleUpdatedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*SparkRewardsControllerRewardOracleUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SparkRewardsControllerRewardOracleUpdatedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type SparkRewardsControllerRewardsClaimed

type SparkRewardsControllerRewardsClaimed struct {
	User    common.Address
	Reward  common.Address
	To      common.Address
	Claimer common.Address
	Amount  *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

SparkRewardsControllerRewardsClaimed represents a RewardsClaimed event raised by the SparkRewardsController contract.

type SparkRewardsControllerRewardsClaimedIterator

type SparkRewardsControllerRewardsClaimedIterator struct {
	Event *SparkRewardsControllerRewardsClaimed // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

SparkRewardsControllerRewardsClaimedIterator is returned from FilterRewardsClaimed and is used to iterate over the raw logs and unpacked data for RewardsClaimed events raised by the SparkRewardsController contract.

func (*SparkRewardsControllerRewardsClaimedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*SparkRewardsControllerRewardsClaimedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SparkRewardsControllerRewardsClaimedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type SparkRewardsControllerSession

type SparkRewardsControllerSession struct {
	Contract     *SparkRewardsController // 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
}

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

func (*SparkRewardsControllerSession) ClaimAllRewards

func (_SparkRewardsController *SparkRewardsControllerSession) ClaimAllRewards(assets []common.Address, to common.Address) (*types.Transaction, error)

ClaimAllRewards is a paid mutator transaction binding the contract method 0xbb492bf5.

Solidity: function claimAllRewards(address[] assets, address to) returns(address[] rewardsList, uint256[] claimedAmounts)

func (*SparkRewardsControllerSession) ClaimAllRewardsOnBehalf

func (_SparkRewardsController *SparkRewardsControllerSession) ClaimAllRewardsOnBehalf(assets []common.Address, user common.Address, to common.Address) (*types.Transaction, error)

ClaimAllRewardsOnBehalf is a paid mutator transaction binding the contract method 0x9ff55db9.

Solidity: function claimAllRewardsOnBehalf(address[] assets, address user, address to) returns(address[] rewardsList, uint256[] claimedAmounts)

func (*SparkRewardsControllerSession) ClaimAllRewardsToSelf

func (_SparkRewardsController *SparkRewardsControllerSession) ClaimAllRewardsToSelf(assets []common.Address) (*types.Transaction, error)

ClaimAllRewardsToSelf is a paid mutator transaction binding the contract method 0xbf90f63a.

Solidity: function claimAllRewardsToSelf(address[] assets) returns(address[] rewardsList, uint256[] claimedAmounts)

func (*SparkRewardsControllerSession) ClaimRewards

func (_SparkRewardsController *SparkRewardsControllerSession) ClaimRewards(assets []common.Address, amount *big.Int, to common.Address, reward common.Address) (*types.Transaction, error)

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

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

func (*SparkRewardsControllerSession) ClaimRewardsOnBehalf

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

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

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

func (*SparkRewardsControllerSession) ClaimRewardsToSelf

func (_SparkRewardsController *SparkRewardsControllerSession) ClaimRewardsToSelf(assets []common.Address, amount *big.Int, reward common.Address) (*types.Transaction, error)

ClaimRewardsToSelf is a paid mutator transaction binding the contract method 0x57b89883.

Solidity: function claimRewardsToSelf(address[] assets, uint256 amount, address reward) returns(uint256)

func (*SparkRewardsControllerSession) ConfigureAssets

func (_SparkRewardsController *SparkRewardsControllerSession) ConfigureAssets(config []RewardsDataTypesRewardsConfigInput) (*types.Transaction, error)

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

Solidity: function configureAssets((uint88,uint256,uint32,address,address,address,address)[] config) returns()

func (*SparkRewardsControllerSession) EMISSIONMANAGER

func (_SparkRewardsController *SparkRewardsControllerSession) EMISSIONMANAGER() (common.Address, error)

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

Solidity: function EMISSION_MANAGER() view returns(address)

func (*SparkRewardsControllerSession) GetAllUserRewards

func (_SparkRewardsController *SparkRewardsControllerSession) GetAllUserRewards(assets []common.Address, user common.Address) ([]common.Address, []*big.Int, error)

GetAllUserRewards is a free data retrieval call binding the contract method 0x4c0369c3.

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

func (*SparkRewardsControllerSession) GetAssetDecimals

func (_SparkRewardsController *SparkRewardsControllerSession) GetAssetDecimals(asset common.Address) (uint8, error)

GetAssetDecimals is a free data retrieval call binding the contract method 0x9efd6f72.

Solidity: function getAssetDecimals(address asset) view returns(uint8)

func (*SparkRewardsControllerSession) GetAssetIndex

func (_SparkRewardsController *SparkRewardsControllerSession) GetAssetIndex(asset common.Address, reward common.Address) (*big.Int, *big.Int, error)

GetAssetIndex is a free data retrieval call binding the contract method 0x886fe70b.

Solidity: function getAssetIndex(address asset, address reward) view returns(uint256, uint256)

func (*SparkRewardsControllerSession) GetClaimer

func (_SparkRewardsController *SparkRewardsControllerSession) 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 (*SparkRewardsControllerSession) GetDistributionEnd

func (_SparkRewardsController *SparkRewardsControllerSession) GetDistributionEnd(asset common.Address, reward common.Address) (*big.Int, error)

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

Solidity: function getDistributionEnd(address asset, address reward) view returns(uint256)

func (*SparkRewardsControllerSession) GetEmissionManager

func (_SparkRewardsController *SparkRewardsControllerSession) GetEmissionManager() (common.Address, error)

GetEmissionManager is a free data retrieval call binding the contract method 0x92074b08.

Solidity: function getEmissionManager() view returns(address)

func (*SparkRewardsControllerSession) GetRewardOracle

func (_SparkRewardsController *SparkRewardsControllerSession) GetRewardOracle(reward common.Address) (common.Address, error)

GetRewardOracle is a free data retrieval call binding the contract method 0x2a17bf60.

Solidity: function getRewardOracle(address reward) view returns(address)

func (*SparkRewardsControllerSession) GetRewardsByAsset

func (_SparkRewardsController *SparkRewardsControllerSession) GetRewardsByAsset(asset common.Address) ([]common.Address, error)

GetRewardsByAsset is a free data retrieval call binding the contract method 0x6657732f.

Solidity: function getRewardsByAsset(address asset) view returns(address[])

func (*SparkRewardsControllerSession) GetRewardsData

func (_SparkRewardsController *SparkRewardsControllerSession) GetRewardsData(asset common.Address, reward common.Address) (*big.Int, *big.Int, *big.Int, *big.Int, error)

GetRewardsData is a free data retrieval call binding the contract method 0x7eff4ba8.

Solidity: function getRewardsData(address asset, address reward) view returns(uint256, uint256, uint256, uint256)

func (*SparkRewardsControllerSession) GetRewardsList

func (_SparkRewardsController *SparkRewardsControllerSession) GetRewardsList() ([]common.Address, error)

GetRewardsList is a free data retrieval call binding the contract method 0xb45ac1a9.

Solidity: function getRewardsList() view returns(address[])

func (*SparkRewardsControllerSession) GetTransferStrategy

func (_SparkRewardsController *SparkRewardsControllerSession) GetTransferStrategy(reward common.Address) (common.Address, error)

GetTransferStrategy is a free data retrieval call binding the contract method 0x5f130b24.

Solidity: function getTransferStrategy(address reward) view returns(address)

func (*SparkRewardsControllerSession) GetUserAccruedRewards

func (_SparkRewardsController *SparkRewardsControllerSession) GetUserAccruedRewards(user common.Address, reward common.Address) (*big.Int, error)

GetUserAccruedRewards is a free data retrieval call binding the contract method 0xb022418c.

Solidity: function getUserAccruedRewards(address user, address reward) view returns(uint256)

func (*SparkRewardsControllerSession) GetUserAssetIndex

func (_SparkRewardsController *SparkRewardsControllerSession) GetUserAssetIndex(user common.Address, asset common.Address, reward common.Address) (*big.Int, error)

GetUserAssetIndex is a free data retrieval call binding the contract method 0x533f542a.

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

func (*SparkRewardsControllerSession) GetUserRewards

func (_SparkRewardsController *SparkRewardsControllerSession) GetUserRewards(assets []common.Address, user common.Address, reward common.Address) (*big.Int, error)

GetUserRewards is a free data retrieval call binding the contract method 0x70674ab9.

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

func (*SparkRewardsControllerSession) HandleAction

func (_SparkRewardsController *SparkRewardsControllerSession) 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 (*SparkRewardsControllerSession) SetClaimer

func (_SparkRewardsController *SparkRewardsControllerSession) SetClaimer(user common.Address, claimer common.Address) (*types.Transaction, error)

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

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

func (*SparkRewardsControllerSession) SetDistributionEnd

func (_SparkRewardsController *SparkRewardsControllerSession) SetDistributionEnd(asset common.Address, reward common.Address, newDistributionEnd uint32) (*types.Transaction, error)

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

Solidity: function setDistributionEnd(address asset, address reward, uint32 newDistributionEnd) returns()

func (*SparkRewardsControllerSession) SetEmissionPerSecond

func (_SparkRewardsController *SparkRewardsControllerSession) SetEmissionPerSecond(asset common.Address, rewards []common.Address, newEmissionsPerSecond []*big.Int) (*types.Transaction, error)

SetEmissionPerSecond is a paid mutator transaction binding the contract method 0xf996868b.

Solidity: function setEmissionPerSecond(address asset, address[] rewards, uint88[] newEmissionsPerSecond) returns()

func (*SparkRewardsControllerSession) SetRewardOracle

func (_SparkRewardsController *SparkRewardsControllerSession) SetRewardOracle(reward common.Address, rewardOracle common.Address) (*types.Transaction, error)

SetRewardOracle is a paid mutator transaction binding the contract method 0x5453ba10.

Solidity: function setRewardOracle(address reward, address rewardOracle) returns()

func (*SparkRewardsControllerSession) SetTransferStrategy

func (_SparkRewardsController *SparkRewardsControllerSession) SetTransferStrategy(reward common.Address, transferStrategy common.Address) (*types.Transaction, error)

SetTransferStrategy is a paid mutator transaction binding the contract method 0xe15ac623.

Solidity: function setTransferStrategy(address reward, address transferStrategy) returns()

type SparkRewardsControllerTransactor

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

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

func NewSparkRewardsControllerTransactor

func NewSparkRewardsControllerTransactor(address common.Address, transactor bind.ContractTransactor) (*SparkRewardsControllerTransactor, error)

NewSparkRewardsControllerTransactor creates a new write-only instance of SparkRewardsController, bound to a specific deployed contract.

func (*SparkRewardsControllerTransactor) ClaimAllRewards

func (_SparkRewardsController *SparkRewardsControllerTransactor) ClaimAllRewards(opts *bind.TransactOpts, assets []common.Address, to common.Address) (*types.Transaction, error)

ClaimAllRewards is a paid mutator transaction binding the contract method 0xbb492bf5.

Solidity: function claimAllRewards(address[] assets, address to) returns(address[] rewardsList, uint256[] claimedAmounts)

func (*SparkRewardsControllerTransactor) ClaimAllRewardsOnBehalf

func (_SparkRewardsController *SparkRewardsControllerTransactor) ClaimAllRewardsOnBehalf(opts *bind.TransactOpts, assets []common.Address, user common.Address, to common.Address) (*types.Transaction, error)

ClaimAllRewardsOnBehalf is a paid mutator transaction binding the contract method 0x9ff55db9.

Solidity: function claimAllRewardsOnBehalf(address[] assets, address user, address to) returns(address[] rewardsList, uint256[] claimedAmounts)

func (*SparkRewardsControllerTransactor) ClaimAllRewardsToSelf

func (_SparkRewardsController *SparkRewardsControllerTransactor) ClaimAllRewardsToSelf(opts *bind.TransactOpts, assets []common.Address) (*types.Transaction, error)

ClaimAllRewardsToSelf is a paid mutator transaction binding the contract method 0xbf90f63a.

Solidity: function claimAllRewardsToSelf(address[] assets) returns(address[] rewardsList, uint256[] claimedAmounts)

func (*SparkRewardsControllerTransactor) ClaimRewards

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

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

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

func (*SparkRewardsControllerTransactor) ClaimRewardsOnBehalf

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

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

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

func (*SparkRewardsControllerTransactor) ClaimRewardsToSelf

func (_SparkRewardsController *SparkRewardsControllerTransactor) ClaimRewardsToSelf(opts *bind.TransactOpts, assets []common.Address, amount *big.Int, reward common.Address) (*types.Transaction, error)

ClaimRewardsToSelf is a paid mutator transaction binding the contract method 0x57b89883.

Solidity: function claimRewardsToSelf(address[] assets, uint256 amount, address reward) returns(uint256)

func (*SparkRewardsControllerTransactor) ConfigureAssets

func (_SparkRewardsController *SparkRewardsControllerTransactor) ConfigureAssets(opts *bind.TransactOpts, config []RewardsDataTypesRewardsConfigInput) (*types.Transaction, error)

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

Solidity: function configureAssets((uint88,uint256,uint32,address,address,address,address)[] config) returns()

func (*SparkRewardsControllerTransactor) HandleAction

func (_SparkRewardsController *SparkRewardsControllerTransactor) 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 (*SparkRewardsControllerTransactor) SetClaimer

func (_SparkRewardsController *SparkRewardsControllerTransactor) SetClaimer(opts *bind.TransactOpts, user common.Address, claimer common.Address) (*types.Transaction, error)

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

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

func (*SparkRewardsControllerTransactor) SetDistributionEnd

func (_SparkRewardsController *SparkRewardsControllerTransactor) SetDistributionEnd(opts *bind.TransactOpts, asset common.Address, reward common.Address, newDistributionEnd uint32) (*types.Transaction, error)

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

Solidity: function setDistributionEnd(address asset, address reward, uint32 newDistributionEnd) returns()

func (*SparkRewardsControllerTransactor) SetEmissionPerSecond

func (_SparkRewardsController *SparkRewardsControllerTransactor) SetEmissionPerSecond(opts *bind.TransactOpts, asset common.Address, rewards []common.Address, newEmissionsPerSecond []*big.Int) (*types.Transaction, error)

SetEmissionPerSecond is a paid mutator transaction binding the contract method 0xf996868b.

Solidity: function setEmissionPerSecond(address asset, address[] rewards, uint88[] newEmissionsPerSecond) returns()

func (*SparkRewardsControllerTransactor) SetRewardOracle

func (_SparkRewardsController *SparkRewardsControllerTransactor) SetRewardOracle(opts *bind.TransactOpts, reward common.Address, rewardOracle common.Address) (*types.Transaction, error)

SetRewardOracle is a paid mutator transaction binding the contract method 0x5453ba10.

Solidity: function setRewardOracle(address reward, address rewardOracle) returns()

func (*SparkRewardsControllerTransactor) SetTransferStrategy

func (_SparkRewardsController *SparkRewardsControllerTransactor) SetTransferStrategy(opts *bind.TransactOpts, reward common.Address, transferStrategy common.Address) (*types.Transaction, error)

SetTransferStrategy is a paid mutator transaction binding the contract method 0xe15ac623.

Solidity: function setTransferStrategy(address reward, address transferStrategy) returns()

type SparkRewardsControllerTransactorRaw

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

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

func (*SparkRewardsControllerTransactorRaw) Transact

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

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

func (*SparkRewardsControllerTransactorRaw) Transfer

func (_SparkRewardsController *SparkRewardsControllerTransactorRaw) 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 SparkRewardsControllerTransactorSession

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

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

func (*SparkRewardsControllerTransactorSession) ClaimAllRewards

func (_SparkRewardsController *SparkRewardsControllerTransactorSession) ClaimAllRewards(assets []common.Address, to common.Address) (*types.Transaction, error)

ClaimAllRewards is a paid mutator transaction binding the contract method 0xbb492bf5.

Solidity: function claimAllRewards(address[] assets, address to) returns(address[] rewardsList, uint256[] claimedAmounts)

func (*SparkRewardsControllerTransactorSession) ClaimAllRewardsOnBehalf

func (_SparkRewardsController *SparkRewardsControllerTransactorSession) ClaimAllRewardsOnBehalf(assets []common.Address, user common.Address, to common.Address) (*types.Transaction, error)

ClaimAllRewardsOnBehalf is a paid mutator transaction binding the contract method 0x9ff55db9.

Solidity: function claimAllRewardsOnBehalf(address[] assets, address user, address to) returns(address[] rewardsList, uint256[] claimedAmounts)

func (*SparkRewardsControllerTransactorSession) ClaimAllRewardsToSelf

func (_SparkRewardsController *SparkRewardsControllerTransactorSession) ClaimAllRewardsToSelf(assets []common.Address) (*types.Transaction, error)

ClaimAllRewardsToSelf is a paid mutator transaction binding the contract method 0xbf90f63a.

Solidity: function claimAllRewardsToSelf(address[] assets) returns(address[] rewardsList, uint256[] claimedAmounts)

func (*SparkRewardsControllerTransactorSession) ClaimRewards

func (_SparkRewardsController *SparkRewardsControllerTransactorSession) ClaimRewards(assets []common.Address, amount *big.Int, to common.Address, reward common.Address) (*types.Transaction, error)

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

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

func (*SparkRewardsControllerTransactorSession) ClaimRewardsOnBehalf

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

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

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

func (*SparkRewardsControllerTransactorSession) ClaimRewardsToSelf

func (_SparkRewardsController *SparkRewardsControllerTransactorSession) ClaimRewardsToSelf(assets []common.Address, amount *big.Int, reward common.Address) (*types.Transaction, error)

ClaimRewardsToSelf is a paid mutator transaction binding the contract method 0x57b89883.

Solidity: function claimRewardsToSelf(address[] assets, uint256 amount, address reward) returns(uint256)

func (*SparkRewardsControllerTransactorSession) ConfigureAssets

func (_SparkRewardsController *SparkRewardsControllerTransactorSession) ConfigureAssets(config []RewardsDataTypesRewardsConfigInput) (*types.Transaction, error)

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

Solidity: function configureAssets((uint88,uint256,uint32,address,address,address,address)[] config) returns()

func (*SparkRewardsControllerTransactorSession) HandleAction

func (_SparkRewardsController *SparkRewardsControllerTransactorSession) 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 (*SparkRewardsControllerTransactorSession) SetClaimer

func (_SparkRewardsController *SparkRewardsControllerTransactorSession) SetClaimer(user common.Address, claimer common.Address) (*types.Transaction, error)

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

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

func (*SparkRewardsControllerTransactorSession) SetDistributionEnd

func (_SparkRewardsController *SparkRewardsControllerTransactorSession) SetDistributionEnd(asset common.Address, reward common.Address, newDistributionEnd uint32) (*types.Transaction, error)

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

Solidity: function setDistributionEnd(address asset, address reward, uint32 newDistributionEnd) returns()

func (*SparkRewardsControllerTransactorSession) SetEmissionPerSecond

func (_SparkRewardsController *SparkRewardsControllerTransactorSession) SetEmissionPerSecond(asset common.Address, rewards []common.Address, newEmissionsPerSecond []*big.Int) (*types.Transaction, error)

SetEmissionPerSecond is a paid mutator transaction binding the contract method 0xf996868b.

Solidity: function setEmissionPerSecond(address asset, address[] rewards, uint88[] newEmissionsPerSecond) returns()

func (*SparkRewardsControllerTransactorSession) SetRewardOracle

func (_SparkRewardsController *SparkRewardsControllerTransactorSession) SetRewardOracle(reward common.Address, rewardOracle common.Address) (*types.Transaction, error)

SetRewardOracle is a paid mutator transaction binding the contract method 0x5453ba10.

Solidity: function setRewardOracle(address reward, address rewardOracle) returns()

func (*SparkRewardsControllerTransactorSession) SetTransferStrategy

func (_SparkRewardsController *SparkRewardsControllerTransactorSession) SetTransferStrategy(reward common.Address, transferStrategy common.Address) (*types.Transaction, error)

SetTransferStrategy is a paid mutator transaction binding the contract method 0xe15ac623.

Solidity: function setTransferStrategy(address reward, address transferStrategy) returns()

type SparkRewardsControllerTransferStrategyInstalled

type SparkRewardsControllerTransferStrategyInstalled struct {
	Reward           common.Address
	TransferStrategy common.Address
	Raw              types.Log // Blockchain specific contextual infos
}

SparkRewardsControllerTransferStrategyInstalled represents a TransferStrategyInstalled event raised by the SparkRewardsController contract.

type SparkRewardsControllerTransferStrategyInstalledIterator

type SparkRewardsControllerTransferStrategyInstalledIterator struct {
	Event *SparkRewardsControllerTransferStrategyInstalled // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

SparkRewardsControllerTransferStrategyInstalledIterator is returned from FilterTransferStrategyInstalled and is used to iterate over the raw logs and unpacked data for TransferStrategyInstalled events raised by the SparkRewardsController contract.

func (*SparkRewardsControllerTransferStrategyInstalledIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*SparkRewardsControllerTransferStrategyInstalledIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SparkRewardsControllerTransferStrategyInstalledIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

Jump to

Keyboard shortcuts

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