aave

package
v0.0.0-...-bd3dd7f Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AaveStakedContractABI = AaveStakedContractMetaData.ABI

AaveStakedContractABI is the input ABI used to generate the binding from. Deprecated: Use AaveStakedContractMetaData.ABI instead.

View Source
var AaveStakedContractMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"stakedToken\",\"type\":\"address\"},{\"internalType\":\"contractIERC20\",\"name\":\"rewardToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"cooldownSeconds\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"unstakeWindow\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"rewardsVault\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"emissionManager\",\"type\":\"address\"},{\"internalType\":\"uint128\",\"name\":\"distributionDuration\",\"type\":\"uint128\"},{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"symbol\",\"type\":\"string\"},{\"internalType\":\"uint8\",\"name\":\"decimals\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"governance\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"emission\",\"type\":\"uint256\"}],\"name\":\"AssetConfigUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"AssetIndexUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"}],\"name\":\"Cooldown\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"delegator\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"delegatee\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"enumIGovernancePowerDelegationToken.DelegationType\",\"name\":\"delegationType\",\"type\":\"uint8\"}],\"name\":\"DelegateChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"enumIGovernancePowerDelegationToken.DelegationType\",\"name\":\"delegationType\",\"type\":\"uint8\"}],\"name\":\"DelegatedPowerChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Redeem\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"RewardsAccrued\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"RewardsClaimed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"onBehalfOf\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Staked\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"UserIndexUpdated\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"COOLDOWN_SECONDS\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"DELEGATE_BY_TYPE_TYPEHASH\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"DELEGATE_TYPEHASH\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"DISTRIBUTION_END\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"DOMAIN_SEPARATOR\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"EIP712_REVISION\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"EMISSION_MANAGER\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"PERMIT_TYPEHASH\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"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\":\"REWARDS_VAULT\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"REWARD_TOKEN\",\"outputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"STAKED_TOKEN\",\"outputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"UNSTAKE_WINDOW\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"_aaveGovernance\",\"outputs\":[{\"internalType\":\"contractITransferHook\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"_nonces\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"_votingSnapshots\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"blockNumber\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"value\",\"type\":\"uint128\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"_votingSnapshotsCounts\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"assets\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"emissionPerSecond\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"lastUpdateTimestamp\",\"type\":\"uint128\"},{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"claimRewards\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint128\",\"name\":\"emissionPerSecond\",\"type\":\"uint128\"},{\"internalType\":\"uint256\",\"name\":\"totalStaked\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"underlyingAsset\",\"type\":\"address\"}],\"internalType\":\"structDistributionTypes.AssetConfigInput[]\",\"name\":\"assetsConfigInput\",\"type\":\"tuple[]\"}],\"name\":\"configureAssets\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"cooldown\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subtractedValue\",\"type\":\"uint256\"}],\"name\":\"decreaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"delegatee\",\"type\":\"address\"}],\"name\":\"delegate\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"delegatee\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"expiry\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"delegateBySig\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"delegatee\",\"type\":\"address\"},{\"internalType\":\"enumIGovernancePowerDelegationToken.DelegationType\",\"name\":\"delegationType\",\"type\":\"uint8\"}],\"name\":\"delegateByType\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"delegatee\",\"type\":\"address\"},{\"internalType\":\"enumIGovernancePowerDelegationToken.DelegationType\",\"name\":\"delegationType\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"expiry\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"delegateByTypeBySig\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"delegator\",\"type\":\"address\"},{\"internalType\":\"enumIGovernancePowerDelegationToken.DelegationType\",\"name\":\"delegationType\",\"type\":\"uint8\"}],\"name\":\"getDelegateeByType\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"fromCooldownTimestamp\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountToReceive\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"toAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"toBalance\",\"type\":\"uint256\"}],\"name\":\"getNextCooldownTimestamp\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"blockNumber\",\"type\":\"uint256\"},{\"internalType\":\"enumIGovernancePowerDelegationToken.DelegationType\",\"name\":\"delegationType\",\"type\":\"uint8\"}],\"name\":\"getPowerAtBlock\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"internalType\":\"enumIGovernancePowerDelegationToken.DelegationType\",\"name\":\"delegationType\",\"type\":\"uint8\"}],\"name\":\"getPowerCurrent\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"staker\",\"type\":\"address\"}],\"name\":\"getTotalRewardsBalance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"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\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"addedValue\",\"type\":\"uint256\"}],\"name\":\"increaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"permit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"redeem\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"onBehalfOf\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"stake\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"stakerRewardsToClaim\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"stakersCooldowns\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"blockNumber\",\"type\":\"uint256\"}],\"name\":\"totalSupplyAt\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

AaveStakedContractMetaData contains all meta data concerning the AaveStakedContract contract.

Functions

This section is empty.

Types

type AaveStakedContract

type AaveStakedContract struct {
	AaveStakedContractCaller     // Read-only binding to the contract
	AaveStakedContractTransactor // Write-only binding to the contract
	AaveStakedContractFilterer   // Log filterer for contract events
}

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

func NewAaveStakedContract

func NewAaveStakedContract(address common.Address, backend bind.ContractBackend) (*AaveStakedContract, error)

NewAaveStakedContract creates a new instance of AaveStakedContract, bound to a specific deployed contract.

type AaveStakedContractApproval

type AaveStakedContractApproval struct {
	Owner   common.Address
	Spender common.Address
	Value   *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

AaveStakedContractApproval represents a Approval event raised by the AaveStakedContract contract.

type AaveStakedContractApprovalIterator

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

AaveStakedContractApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the AaveStakedContract contract.

func (*AaveStakedContractApprovalIterator) Close

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

func (*AaveStakedContractApprovalIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AaveStakedContractApprovalIterator) 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 AaveStakedContractAssetConfigUpdated

type AaveStakedContractAssetConfigUpdated struct {
	Asset    common.Address
	Emission *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

AaveStakedContractAssetConfigUpdated represents a AssetConfigUpdated event raised by the AaveStakedContract contract.

type AaveStakedContractAssetConfigUpdatedIterator

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

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

func (*AaveStakedContractAssetConfigUpdatedIterator) Close

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

func (*AaveStakedContractAssetConfigUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AaveStakedContractAssetConfigUpdatedIterator) 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 AaveStakedContractAssetIndexUpdated

type AaveStakedContractAssetIndexUpdated struct {
	Asset common.Address
	Index *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

AaveStakedContractAssetIndexUpdated represents a AssetIndexUpdated event raised by the AaveStakedContract contract.

type AaveStakedContractAssetIndexUpdatedIterator

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

AaveStakedContractAssetIndexUpdatedIterator is returned from FilterAssetIndexUpdated and is used to iterate over the raw logs and unpacked data for AssetIndexUpdated events raised by the AaveStakedContract contract.

func (*AaveStakedContractAssetIndexUpdatedIterator) Close

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

func (*AaveStakedContractAssetIndexUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AaveStakedContractAssetIndexUpdatedIterator) 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 AaveStakedContractCaller

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

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

func NewAaveStakedContractCaller

func NewAaveStakedContractCaller(address common.Address, caller bind.ContractCaller) (*AaveStakedContractCaller, error)

NewAaveStakedContractCaller creates a new read-only instance of AaveStakedContract, bound to a specific deployed contract.

func (*AaveStakedContractCaller) AaveGovernance

func (_AaveStakedContract *AaveStakedContractCaller) AaveGovernance(opts *bind.CallOpts) (common.Address, error)

AaveGovernance is a free data retrieval call binding the contract method 0xc3863ada.

Solidity: function _aaveGovernance() view returns(address)

func (*AaveStakedContractCaller) Allowance

func (_AaveStakedContract *AaveStakedContractCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address owner, address spender) view returns(uint256)

func (*AaveStakedContractCaller) Assets

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

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

Solidity: function assets(address ) view returns(uint128 emissionPerSecond, uint128 lastUpdateTimestamp, uint256 index)

func (*AaveStakedContractCaller) BalanceOf

func (_AaveStakedContract *AaveStakedContractCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address account) view returns(uint256)

func (*AaveStakedContractCaller) COOLDOWNSECONDS

func (_AaveStakedContract *AaveStakedContractCaller) COOLDOWNSECONDS(opts *bind.CallOpts) (*big.Int, error)

COOLDOWNSECONDS is a free data retrieval call binding the contract method 0x72b49d63.

Solidity: function COOLDOWN_SECONDS() view returns(uint256)

func (*AaveStakedContractCaller) DELEGATEBYTYPETYPEHASH

func (_AaveStakedContract *AaveStakedContractCaller) DELEGATEBYTYPETYPEHASH(opts *bind.CallOpts) ([32]byte, error)

DELEGATEBYTYPETYPEHASH is a free data retrieval call binding the contract method 0xaa9fbe02.

Solidity: function DELEGATE_BY_TYPE_TYPEHASH() view returns(bytes32)

func (*AaveStakedContractCaller) DELEGATETYPEHASH

func (_AaveStakedContract *AaveStakedContractCaller) DELEGATETYPEHASH(opts *bind.CallOpts) ([32]byte, error)

DELEGATETYPEHASH is a free data retrieval call binding the contract method 0x41cbf54a.

Solidity: function DELEGATE_TYPEHASH() view returns(bytes32)

func (*AaveStakedContractCaller) DISTRIBUTIONEND

func (_AaveStakedContract *AaveStakedContractCaller) 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 (*AaveStakedContractCaller) DOMAINSEPARATOR

func (_AaveStakedContract *AaveStakedContractCaller) DOMAINSEPARATOR(opts *bind.CallOpts) ([32]byte, error)

DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*AaveStakedContractCaller) Decimals

func (_AaveStakedContract *AaveStakedContractCaller) Decimals(opts *bind.CallOpts) (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*AaveStakedContractCaller) EIP712REVISION

func (_AaveStakedContract *AaveStakedContractCaller) EIP712REVISION(opts *bind.CallOpts) ([]byte, error)

EIP712REVISION is a free data retrieval call binding the contract method 0x78160376.

Solidity: function EIP712_REVISION() view returns(bytes)

func (*AaveStakedContractCaller) EMISSIONMANAGER

func (_AaveStakedContract *AaveStakedContractCaller) 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 (*AaveStakedContractCaller) GetDelegateeByType

func (_AaveStakedContract *AaveStakedContractCaller) GetDelegateeByType(opts *bind.CallOpts, delegator common.Address, delegationType uint8) (common.Address, error)

GetDelegateeByType is a free data retrieval call binding the contract method 0x6f50458d.

Solidity: function getDelegateeByType(address delegator, uint8 delegationType) view returns(address)

func (*AaveStakedContractCaller) GetNextCooldownTimestamp

func (_AaveStakedContract *AaveStakedContractCaller) GetNextCooldownTimestamp(opts *bind.CallOpts, fromCooldownTimestamp *big.Int, amountToReceive *big.Int, toAddress common.Address, toBalance *big.Int) (*big.Int, error)

GetNextCooldownTimestamp is a free data retrieval call binding the contract method 0xf1cc432a.

Solidity: function getNextCooldownTimestamp(uint256 fromCooldownTimestamp, uint256 amountToReceive, address toAddress, uint256 toBalance) view returns(uint256)

func (*AaveStakedContractCaller) GetPowerAtBlock

func (_AaveStakedContract *AaveStakedContractCaller) GetPowerAtBlock(opts *bind.CallOpts, user common.Address, blockNumber *big.Int, delegationType uint8) (*big.Int, error)

GetPowerAtBlock is a free data retrieval call binding the contract method 0xc2ffbb91.

Solidity: function getPowerAtBlock(address user, uint256 blockNumber, uint8 delegationType) view returns(uint256)

func (*AaveStakedContractCaller) GetPowerCurrent

func (_AaveStakedContract *AaveStakedContractCaller) GetPowerCurrent(opts *bind.CallOpts, user common.Address, delegationType uint8) (*big.Int, error)

GetPowerCurrent is a free data retrieval call binding the contract method 0xb2f4201d.

Solidity: function getPowerCurrent(address user, uint8 delegationType) view returns(uint256)

func (*AaveStakedContractCaller) GetTotalRewardsBalance

func (_AaveStakedContract *AaveStakedContractCaller) GetTotalRewardsBalance(opts *bind.CallOpts, staker common.Address) (*big.Int, error)

GetTotalRewardsBalance is a free data retrieval call binding the contract method 0x8dbefee2.

Solidity: function getTotalRewardsBalance(address staker) view returns(uint256)

func (*AaveStakedContractCaller) GetUserAssetData

func (_AaveStakedContract *AaveStakedContractCaller) 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 (*AaveStakedContractCaller) Name

func (_AaveStakedContract *AaveStakedContractCaller) Name(opts *bind.CallOpts) (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*AaveStakedContractCaller) Nonces

func (_AaveStakedContract *AaveStakedContractCaller) Nonces(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0xb9844d8d.

Solidity: function _nonces(address ) view returns(uint256)

func (*AaveStakedContractCaller) PERMITTYPEHASH

func (_AaveStakedContract *AaveStakedContractCaller) PERMITTYPEHASH(opts *bind.CallOpts) ([32]byte, error)

PERMITTYPEHASH is a free data retrieval call binding the contract method 0x30adf81f.

Solidity: function PERMIT_TYPEHASH() view returns(bytes32)

func (*AaveStakedContractCaller) PRECISION

func (_AaveStakedContract *AaveStakedContractCaller) 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 (*AaveStakedContractCaller) REVISION

func (_AaveStakedContract *AaveStakedContractCaller) 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 (*AaveStakedContractCaller) REWARDSVAULT

func (_AaveStakedContract *AaveStakedContractCaller) REWARDSVAULT(opts *bind.CallOpts) (common.Address, error)

REWARDSVAULT is a free data retrieval call binding the contract method 0x946776cd.

Solidity: function REWARDS_VAULT() view returns(address)

func (*AaveStakedContractCaller) REWARDTOKEN

func (_AaveStakedContract *AaveStakedContractCaller) 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)

func (*AaveStakedContractCaller) STAKEDTOKEN

func (_AaveStakedContract *AaveStakedContractCaller) STAKEDTOKEN(opts *bind.CallOpts) (common.Address, error)

STAKEDTOKEN is a free data retrieval call binding the contract method 0x312f6b83.

Solidity: function STAKED_TOKEN() view returns(address)

func (*AaveStakedContractCaller) StakerRewardsToClaim

func (_AaveStakedContract *AaveStakedContractCaller) StakerRewardsToClaim(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

StakerRewardsToClaim is a free data retrieval call binding the contract method 0x7e90d7ef.

Solidity: function stakerRewardsToClaim(address ) view returns(uint256)

func (*AaveStakedContractCaller) StakersCooldowns

func (_AaveStakedContract *AaveStakedContractCaller) StakersCooldowns(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

StakersCooldowns is a free data retrieval call binding the contract method 0x091030c3.

Solidity: function stakersCooldowns(address ) view returns(uint256)

func (*AaveStakedContractCaller) Symbol

func (_AaveStakedContract *AaveStakedContractCaller) Symbol(opts *bind.CallOpts) (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*AaveStakedContractCaller) TotalSupply

func (_AaveStakedContract *AaveStakedContractCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*AaveStakedContractCaller) TotalSupplyAt

func (_AaveStakedContract *AaveStakedContractCaller) TotalSupplyAt(opts *bind.CallOpts, blockNumber *big.Int) (*big.Int, error)

TotalSupplyAt is a free data retrieval call binding the contract method 0x981b24d0.

Solidity: function totalSupplyAt(uint256 blockNumber) view returns(uint256)

func (*AaveStakedContractCaller) UNSTAKEWINDOW

func (_AaveStakedContract *AaveStakedContractCaller) UNSTAKEWINDOW(opts *bind.CallOpts) (*big.Int, error)

UNSTAKEWINDOW is a free data retrieval call binding the contract method 0x359c4a96.

Solidity: function UNSTAKE_WINDOW() view returns(uint256)

func (*AaveStakedContractCaller) VotingSnapshots

func (_AaveStakedContract *AaveStakedContractCaller) VotingSnapshots(opts *bind.CallOpts, arg0 common.Address, arg1 *big.Int) (struct {
	BlockNumber *big.Int
	Value       *big.Int
}, error)

VotingSnapshots is a free data retrieval call binding the contract method 0x5b3cc0cf.

Solidity: function _votingSnapshots(address , uint256 ) view returns(uint128 blockNumber, uint128 value)

func (*AaveStakedContractCaller) VotingSnapshotsCounts

func (_AaveStakedContract *AaveStakedContractCaller) VotingSnapshotsCounts(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

VotingSnapshotsCounts is a free data retrieval call binding the contract method 0x7bb73c97.

Solidity: function _votingSnapshotsCounts(address ) view returns(uint256)

type AaveStakedContractCallerRaw

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

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

func (*AaveStakedContractCallerRaw) Call

func (_AaveStakedContract *AaveStakedContractCallerRaw) 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 AaveStakedContractCallerSession

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

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

func (*AaveStakedContractCallerSession) AaveGovernance

func (_AaveStakedContract *AaveStakedContractCallerSession) AaveGovernance() (common.Address, error)

AaveGovernance is a free data retrieval call binding the contract method 0xc3863ada.

Solidity: function _aaveGovernance() view returns(address)

func (*AaveStakedContractCallerSession) Allowance

func (_AaveStakedContract *AaveStakedContractCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address owner, address spender) view returns(uint256)

func (*AaveStakedContractCallerSession) Assets

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

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

Solidity: function assets(address ) view returns(uint128 emissionPerSecond, uint128 lastUpdateTimestamp, uint256 index)

func (*AaveStakedContractCallerSession) BalanceOf

func (_AaveStakedContract *AaveStakedContractCallerSession) BalanceOf(account common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address account) view returns(uint256)

func (*AaveStakedContractCallerSession) COOLDOWNSECONDS

func (_AaveStakedContract *AaveStakedContractCallerSession) COOLDOWNSECONDS() (*big.Int, error)

COOLDOWNSECONDS is a free data retrieval call binding the contract method 0x72b49d63.

Solidity: function COOLDOWN_SECONDS() view returns(uint256)

func (*AaveStakedContractCallerSession) DELEGATEBYTYPETYPEHASH

func (_AaveStakedContract *AaveStakedContractCallerSession) DELEGATEBYTYPETYPEHASH() ([32]byte, error)

DELEGATEBYTYPETYPEHASH is a free data retrieval call binding the contract method 0xaa9fbe02.

Solidity: function DELEGATE_BY_TYPE_TYPEHASH() view returns(bytes32)

func (*AaveStakedContractCallerSession) DELEGATETYPEHASH

func (_AaveStakedContract *AaveStakedContractCallerSession) DELEGATETYPEHASH() ([32]byte, error)

DELEGATETYPEHASH is a free data retrieval call binding the contract method 0x41cbf54a.

Solidity: function DELEGATE_TYPEHASH() view returns(bytes32)

func (*AaveStakedContractCallerSession) DISTRIBUTIONEND

func (_AaveStakedContract *AaveStakedContractCallerSession) DISTRIBUTIONEND() (*big.Int, error)

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

Solidity: function DISTRIBUTION_END() view returns(uint256)

func (*AaveStakedContractCallerSession) DOMAINSEPARATOR

func (_AaveStakedContract *AaveStakedContractCallerSession) DOMAINSEPARATOR() ([32]byte, error)

DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*AaveStakedContractCallerSession) Decimals

func (_AaveStakedContract *AaveStakedContractCallerSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*AaveStakedContractCallerSession) EIP712REVISION

func (_AaveStakedContract *AaveStakedContractCallerSession) EIP712REVISION() ([]byte, error)

EIP712REVISION is a free data retrieval call binding the contract method 0x78160376.

Solidity: function EIP712_REVISION() view returns(bytes)

func (*AaveStakedContractCallerSession) EMISSIONMANAGER

func (_AaveStakedContract *AaveStakedContractCallerSession) EMISSIONMANAGER() (common.Address, error)

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

Solidity: function EMISSION_MANAGER() view returns(address)

func (*AaveStakedContractCallerSession) GetDelegateeByType

func (_AaveStakedContract *AaveStakedContractCallerSession) GetDelegateeByType(delegator common.Address, delegationType uint8) (common.Address, error)

GetDelegateeByType is a free data retrieval call binding the contract method 0x6f50458d.

Solidity: function getDelegateeByType(address delegator, uint8 delegationType) view returns(address)

func (*AaveStakedContractCallerSession) GetNextCooldownTimestamp

func (_AaveStakedContract *AaveStakedContractCallerSession) GetNextCooldownTimestamp(fromCooldownTimestamp *big.Int, amountToReceive *big.Int, toAddress common.Address, toBalance *big.Int) (*big.Int, error)

GetNextCooldownTimestamp is a free data retrieval call binding the contract method 0xf1cc432a.

Solidity: function getNextCooldownTimestamp(uint256 fromCooldownTimestamp, uint256 amountToReceive, address toAddress, uint256 toBalance) view returns(uint256)

func (*AaveStakedContractCallerSession) GetPowerAtBlock

func (_AaveStakedContract *AaveStakedContractCallerSession) GetPowerAtBlock(user common.Address, blockNumber *big.Int, delegationType uint8) (*big.Int, error)

GetPowerAtBlock is a free data retrieval call binding the contract method 0xc2ffbb91.

Solidity: function getPowerAtBlock(address user, uint256 blockNumber, uint8 delegationType) view returns(uint256)

func (*AaveStakedContractCallerSession) GetPowerCurrent

func (_AaveStakedContract *AaveStakedContractCallerSession) GetPowerCurrent(user common.Address, delegationType uint8) (*big.Int, error)

GetPowerCurrent is a free data retrieval call binding the contract method 0xb2f4201d.

Solidity: function getPowerCurrent(address user, uint8 delegationType) view returns(uint256)

func (*AaveStakedContractCallerSession) GetTotalRewardsBalance

func (_AaveStakedContract *AaveStakedContractCallerSession) GetTotalRewardsBalance(staker common.Address) (*big.Int, error)

GetTotalRewardsBalance is a free data retrieval call binding the contract method 0x8dbefee2.

Solidity: function getTotalRewardsBalance(address staker) view returns(uint256)

func (*AaveStakedContractCallerSession) GetUserAssetData

func (_AaveStakedContract *AaveStakedContractCallerSession) 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 (*AaveStakedContractCallerSession) Name

func (_AaveStakedContract *AaveStakedContractCallerSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*AaveStakedContractCallerSession) Nonces

func (_AaveStakedContract *AaveStakedContractCallerSession) Nonces(arg0 common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0xb9844d8d.

Solidity: function _nonces(address ) view returns(uint256)

func (*AaveStakedContractCallerSession) PERMITTYPEHASH

func (_AaveStakedContract *AaveStakedContractCallerSession) PERMITTYPEHASH() ([32]byte, error)

PERMITTYPEHASH is a free data retrieval call binding the contract method 0x30adf81f.

Solidity: function PERMIT_TYPEHASH() view returns(bytes32)

func (*AaveStakedContractCallerSession) PRECISION

func (_AaveStakedContract *AaveStakedContractCallerSession) PRECISION() (uint8, error)

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

Solidity: function PRECISION() view returns(uint8)

func (*AaveStakedContractCallerSession) REVISION

func (_AaveStakedContract *AaveStakedContractCallerSession) REVISION() (*big.Int, error)

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

Solidity: function REVISION() view returns(uint256)

func (*AaveStakedContractCallerSession) REWARDSVAULT

func (_AaveStakedContract *AaveStakedContractCallerSession) REWARDSVAULT() (common.Address, error)

REWARDSVAULT is a free data retrieval call binding the contract method 0x946776cd.

Solidity: function REWARDS_VAULT() view returns(address)

func (*AaveStakedContractCallerSession) REWARDTOKEN

func (_AaveStakedContract *AaveStakedContractCallerSession) REWARDTOKEN() (common.Address, error)

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

Solidity: function REWARD_TOKEN() view returns(address)

func (*AaveStakedContractCallerSession) STAKEDTOKEN

func (_AaveStakedContract *AaveStakedContractCallerSession) STAKEDTOKEN() (common.Address, error)

STAKEDTOKEN is a free data retrieval call binding the contract method 0x312f6b83.

Solidity: function STAKED_TOKEN() view returns(address)

func (*AaveStakedContractCallerSession) StakerRewardsToClaim

func (_AaveStakedContract *AaveStakedContractCallerSession) StakerRewardsToClaim(arg0 common.Address) (*big.Int, error)

StakerRewardsToClaim is a free data retrieval call binding the contract method 0x7e90d7ef.

Solidity: function stakerRewardsToClaim(address ) view returns(uint256)

func (*AaveStakedContractCallerSession) StakersCooldowns

func (_AaveStakedContract *AaveStakedContractCallerSession) StakersCooldowns(arg0 common.Address) (*big.Int, error)

StakersCooldowns is a free data retrieval call binding the contract method 0x091030c3.

Solidity: function stakersCooldowns(address ) view returns(uint256)

func (*AaveStakedContractCallerSession) Symbol

func (_AaveStakedContract *AaveStakedContractCallerSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*AaveStakedContractCallerSession) TotalSupply

func (_AaveStakedContract *AaveStakedContractCallerSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*AaveStakedContractCallerSession) TotalSupplyAt

func (_AaveStakedContract *AaveStakedContractCallerSession) TotalSupplyAt(blockNumber *big.Int) (*big.Int, error)

TotalSupplyAt is a free data retrieval call binding the contract method 0x981b24d0.

Solidity: function totalSupplyAt(uint256 blockNumber) view returns(uint256)

func (*AaveStakedContractCallerSession) UNSTAKEWINDOW

func (_AaveStakedContract *AaveStakedContractCallerSession) UNSTAKEWINDOW() (*big.Int, error)

UNSTAKEWINDOW is a free data retrieval call binding the contract method 0x359c4a96.

Solidity: function UNSTAKE_WINDOW() view returns(uint256)

func (*AaveStakedContractCallerSession) VotingSnapshots

func (_AaveStakedContract *AaveStakedContractCallerSession) VotingSnapshots(arg0 common.Address, arg1 *big.Int) (struct {
	BlockNumber *big.Int
	Value       *big.Int
}, error)

VotingSnapshots is a free data retrieval call binding the contract method 0x5b3cc0cf.

Solidity: function _votingSnapshots(address , uint256 ) view returns(uint128 blockNumber, uint128 value)

func (*AaveStakedContractCallerSession) VotingSnapshotsCounts

func (_AaveStakedContract *AaveStakedContractCallerSession) VotingSnapshotsCounts(arg0 common.Address) (*big.Int, error)

VotingSnapshotsCounts is a free data retrieval call binding the contract method 0x7bb73c97.

Solidity: function _votingSnapshotsCounts(address ) view returns(uint256)

type AaveStakedContractCooldown

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

AaveStakedContractCooldown represents a Cooldown event raised by the AaveStakedContract contract.

type AaveStakedContractCooldownIterator

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

AaveStakedContractCooldownIterator is returned from FilterCooldown and is used to iterate over the raw logs and unpacked data for Cooldown events raised by the AaveStakedContract contract.

func (*AaveStakedContractCooldownIterator) Close

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

func (*AaveStakedContractCooldownIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AaveStakedContractCooldownIterator) 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 AaveStakedContractDelegateChanged

type AaveStakedContractDelegateChanged struct {
	Delegator      common.Address
	Delegatee      common.Address
	DelegationType uint8
	Raw            types.Log // Blockchain specific contextual infos
}

AaveStakedContractDelegateChanged represents a DelegateChanged event raised by the AaveStakedContract contract.

type AaveStakedContractDelegateChangedIterator

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

AaveStakedContractDelegateChangedIterator is returned from FilterDelegateChanged and is used to iterate over the raw logs and unpacked data for DelegateChanged events raised by the AaveStakedContract contract.

func (*AaveStakedContractDelegateChangedIterator) Close

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

func (*AaveStakedContractDelegateChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AaveStakedContractDelegateChangedIterator) 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 AaveStakedContractDelegatedPowerChanged

type AaveStakedContractDelegatedPowerChanged struct {
	User           common.Address
	Amount         *big.Int
	DelegationType uint8
	Raw            types.Log // Blockchain specific contextual infos
}

AaveStakedContractDelegatedPowerChanged represents a DelegatedPowerChanged event raised by the AaveStakedContract contract.

type AaveStakedContractDelegatedPowerChangedIterator

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

AaveStakedContractDelegatedPowerChangedIterator is returned from FilterDelegatedPowerChanged and is used to iterate over the raw logs and unpacked data for DelegatedPowerChanged events raised by the AaveStakedContract contract.

func (*AaveStakedContractDelegatedPowerChangedIterator) Close

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

func (*AaveStakedContractDelegatedPowerChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AaveStakedContractDelegatedPowerChangedIterator) 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 AaveStakedContractFilterer

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

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

func NewAaveStakedContractFilterer

func NewAaveStakedContractFilterer(address common.Address, filterer bind.ContractFilterer) (*AaveStakedContractFilterer, error)

NewAaveStakedContractFilterer creates a new log filterer instance of AaveStakedContract, bound to a specific deployed contract.

func (*AaveStakedContractFilterer) FilterApproval

func (_AaveStakedContract *AaveStakedContractFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*AaveStakedContractApprovalIterator, error)

FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*AaveStakedContractFilterer) FilterAssetConfigUpdated

func (_AaveStakedContract *AaveStakedContractFilterer) FilterAssetConfigUpdated(opts *bind.FilterOpts, asset []common.Address) (*AaveStakedContractAssetConfigUpdatedIterator, error)

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

Solidity: event AssetConfigUpdated(address indexed asset, uint256 emission)

func (*AaveStakedContractFilterer) FilterAssetIndexUpdated

func (_AaveStakedContract *AaveStakedContractFilterer) FilterAssetIndexUpdated(opts *bind.FilterOpts, asset []common.Address) (*AaveStakedContractAssetIndexUpdatedIterator, error)

FilterAssetIndexUpdated is a free log retrieval operation binding the contract event 0x5777ca300dfe5bead41006fbce4389794dbc0ed8d6cccebfaf94630aa04184bc.

Solidity: event AssetIndexUpdated(address indexed asset, uint256 index)

func (*AaveStakedContractFilterer) FilterCooldown

func (_AaveStakedContract *AaveStakedContractFilterer) FilterCooldown(opts *bind.FilterOpts, user []common.Address) (*AaveStakedContractCooldownIterator, error)

FilterCooldown is a free log retrieval operation binding the contract event 0xf52f50426b32362d3e6bb8cb36b7074756b224622def6352a59eac7f66ebe6e8.

Solidity: event Cooldown(address indexed user)

func (*AaveStakedContractFilterer) FilterDelegateChanged

func (_AaveStakedContract *AaveStakedContractFilterer) FilterDelegateChanged(opts *bind.FilterOpts, delegator []common.Address, delegatee []common.Address) (*AaveStakedContractDelegateChangedIterator, error)

FilterDelegateChanged is a free log retrieval operation binding the contract event 0xe8d51c8e11bd570db1734c8ec775785330e77007feed45c43b608ef33ff914bd.

Solidity: event DelegateChanged(address indexed delegator, address indexed delegatee, uint8 delegationType)

func (*AaveStakedContractFilterer) FilterDelegatedPowerChanged

func (_AaveStakedContract *AaveStakedContractFilterer) FilterDelegatedPowerChanged(opts *bind.FilterOpts, user []common.Address) (*AaveStakedContractDelegatedPowerChangedIterator, error)

FilterDelegatedPowerChanged is a free log retrieval operation binding the contract event 0xa0a19463ee116110c9b282012d9b65cc5522dc38a9520340cbaf3142e550127f.

Solidity: event DelegatedPowerChanged(address indexed user, uint256 amount, uint8 delegationType)

func (*AaveStakedContractFilterer) FilterRedeem

func (_AaveStakedContract *AaveStakedContractFilterer) FilterRedeem(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*AaveStakedContractRedeemIterator, error)

FilterRedeem is a free log retrieval operation binding the contract event 0xd12200efa34901b99367694174c3b0d32c99585fdf37c7c26892136ddd0836d9.

Solidity: event Redeem(address indexed from, address indexed to, uint256 amount)

func (*AaveStakedContractFilterer) FilterRewardsAccrued

func (_AaveStakedContract *AaveStakedContractFilterer) FilterRewardsAccrued(opts *bind.FilterOpts) (*AaveStakedContractRewardsAccruedIterator, error)

FilterRewardsAccrued is a free log retrieval operation binding the contract event 0x2468f9268c60ad90e2d49edb0032c8a001e733ae888b3ab8e982edf535be1a76.

Solidity: event RewardsAccrued(address user, uint256 amount)

func (*AaveStakedContractFilterer) FilterRewardsClaimed

func (_AaveStakedContract *AaveStakedContractFilterer) FilterRewardsClaimed(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*AaveStakedContractRewardsClaimedIterator, error)

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

Solidity: event RewardsClaimed(address indexed from, address indexed to, uint256 amount)

func (*AaveStakedContractFilterer) FilterStaked

func (_AaveStakedContract *AaveStakedContractFilterer) FilterStaked(opts *bind.FilterOpts, from []common.Address, onBehalfOf []common.Address) (*AaveStakedContractStakedIterator, error)

FilterStaked is a free log retrieval operation binding the contract event 0x5dac0c1b1112564a045ba943c9d50270893e8e826c49be8e7073adc713ab7bd7.

Solidity: event Staked(address indexed from, address indexed onBehalfOf, uint256 amount)

func (*AaveStakedContractFilterer) FilterTransfer

func (_AaveStakedContract *AaveStakedContractFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*AaveStakedContractTransferIterator, error)

FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*AaveStakedContractFilterer) FilterUserIndexUpdated

func (_AaveStakedContract *AaveStakedContractFilterer) FilterUserIndexUpdated(opts *bind.FilterOpts, user []common.Address, asset []common.Address) (*AaveStakedContractUserIndexUpdatedIterator, error)

FilterUserIndexUpdated is a free log retrieval operation binding the contract event 0xbb123b5c06d5408bbea3c4fef481578175cfb432e3b482c6186f02ed9086585b.

Solidity: event UserIndexUpdated(address indexed user, address indexed asset, uint256 index)

func (*AaveStakedContractFilterer) ParseApproval

func (_AaveStakedContract *AaveStakedContractFilterer) ParseApproval(log types.Log) (*AaveStakedContractApproval, error)

ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*AaveStakedContractFilterer) ParseAssetConfigUpdated

func (_AaveStakedContract *AaveStakedContractFilterer) ParseAssetConfigUpdated(log types.Log) (*AaveStakedContractAssetConfigUpdated, error)

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

Solidity: event AssetConfigUpdated(address indexed asset, uint256 emission)

func (*AaveStakedContractFilterer) ParseAssetIndexUpdated

func (_AaveStakedContract *AaveStakedContractFilterer) ParseAssetIndexUpdated(log types.Log) (*AaveStakedContractAssetIndexUpdated, error)

ParseAssetIndexUpdated is a log parse operation binding the contract event 0x5777ca300dfe5bead41006fbce4389794dbc0ed8d6cccebfaf94630aa04184bc.

Solidity: event AssetIndexUpdated(address indexed asset, uint256 index)

func (*AaveStakedContractFilterer) ParseCooldown

func (_AaveStakedContract *AaveStakedContractFilterer) ParseCooldown(log types.Log) (*AaveStakedContractCooldown, error)

ParseCooldown is a log parse operation binding the contract event 0xf52f50426b32362d3e6bb8cb36b7074756b224622def6352a59eac7f66ebe6e8.

Solidity: event Cooldown(address indexed user)

func (*AaveStakedContractFilterer) ParseDelegateChanged

func (_AaveStakedContract *AaveStakedContractFilterer) ParseDelegateChanged(log types.Log) (*AaveStakedContractDelegateChanged, error)

ParseDelegateChanged is a log parse operation binding the contract event 0xe8d51c8e11bd570db1734c8ec775785330e77007feed45c43b608ef33ff914bd.

Solidity: event DelegateChanged(address indexed delegator, address indexed delegatee, uint8 delegationType)

func (*AaveStakedContractFilterer) ParseDelegatedPowerChanged

func (_AaveStakedContract *AaveStakedContractFilterer) ParseDelegatedPowerChanged(log types.Log) (*AaveStakedContractDelegatedPowerChanged, error)

ParseDelegatedPowerChanged is a log parse operation binding the contract event 0xa0a19463ee116110c9b282012d9b65cc5522dc38a9520340cbaf3142e550127f.

Solidity: event DelegatedPowerChanged(address indexed user, uint256 amount, uint8 delegationType)

func (*AaveStakedContractFilterer) ParseRedeem

func (_AaveStakedContract *AaveStakedContractFilterer) ParseRedeem(log types.Log) (*AaveStakedContractRedeem, error)

ParseRedeem is a log parse operation binding the contract event 0xd12200efa34901b99367694174c3b0d32c99585fdf37c7c26892136ddd0836d9.

Solidity: event Redeem(address indexed from, address indexed to, uint256 amount)

func (*AaveStakedContractFilterer) ParseRewardsAccrued

func (_AaveStakedContract *AaveStakedContractFilterer) ParseRewardsAccrued(log types.Log) (*AaveStakedContractRewardsAccrued, error)

ParseRewardsAccrued is a log parse operation binding the contract event 0x2468f9268c60ad90e2d49edb0032c8a001e733ae888b3ab8e982edf535be1a76.

Solidity: event RewardsAccrued(address user, uint256 amount)

func (*AaveStakedContractFilterer) ParseRewardsClaimed

func (_AaveStakedContract *AaveStakedContractFilterer) ParseRewardsClaimed(log types.Log) (*AaveStakedContractRewardsClaimed, error)

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

Solidity: event RewardsClaimed(address indexed from, address indexed to, uint256 amount)

func (*AaveStakedContractFilterer) ParseStaked

func (_AaveStakedContract *AaveStakedContractFilterer) ParseStaked(log types.Log) (*AaveStakedContractStaked, error)

ParseStaked is a log parse operation binding the contract event 0x5dac0c1b1112564a045ba943c9d50270893e8e826c49be8e7073adc713ab7bd7.

Solidity: event Staked(address indexed from, address indexed onBehalfOf, uint256 amount)

func (*AaveStakedContractFilterer) ParseTransfer

func (_AaveStakedContract *AaveStakedContractFilterer) ParseTransfer(log types.Log) (*AaveStakedContractTransfer, error)

ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*AaveStakedContractFilterer) ParseUserIndexUpdated

func (_AaveStakedContract *AaveStakedContractFilterer) ParseUserIndexUpdated(log types.Log) (*AaveStakedContractUserIndexUpdated, error)

ParseUserIndexUpdated is a log parse operation binding the contract event 0xbb123b5c06d5408bbea3c4fef481578175cfb432e3b482c6186f02ed9086585b.

Solidity: event UserIndexUpdated(address indexed user, address indexed asset, uint256 index)

func (*AaveStakedContractFilterer) WatchApproval

func (_AaveStakedContract *AaveStakedContractFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *AaveStakedContractApproval, owner []common.Address, spender []common.Address) (event.Subscription, error)

WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*AaveStakedContractFilterer) WatchAssetConfigUpdated

func (_AaveStakedContract *AaveStakedContractFilterer) WatchAssetConfigUpdated(opts *bind.WatchOpts, sink chan<- *AaveStakedContractAssetConfigUpdated, asset []common.Address) (event.Subscription, error)

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

Solidity: event AssetConfigUpdated(address indexed asset, uint256 emission)

func (*AaveStakedContractFilterer) WatchAssetIndexUpdated

func (_AaveStakedContract *AaveStakedContractFilterer) WatchAssetIndexUpdated(opts *bind.WatchOpts, sink chan<- *AaveStakedContractAssetIndexUpdated, asset []common.Address) (event.Subscription, error)

WatchAssetIndexUpdated is a free log subscription operation binding the contract event 0x5777ca300dfe5bead41006fbce4389794dbc0ed8d6cccebfaf94630aa04184bc.

Solidity: event AssetIndexUpdated(address indexed asset, uint256 index)

func (*AaveStakedContractFilterer) WatchCooldown

func (_AaveStakedContract *AaveStakedContractFilterer) WatchCooldown(opts *bind.WatchOpts, sink chan<- *AaveStakedContractCooldown, user []common.Address) (event.Subscription, error)

WatchCooldown is a free log subscription operation binding the contract event 0xf52f50426b32362d3e6bb8cb36b7074756b224622def6352a59eac7f66ebe6e8.

Solidity: event Cooldown(address indexed user)

func (*AaveStakedContractFilterer) WatchDelegateChanged

func (_AaveStakedContract *AaveStakedContractFilterer) WatchDelegateChanged(opts *bind.WatchOpts, sink chan<- *AaveStakedContractDelegateChanged, delegator []common.Address, delegatee []common.Address) (event.Subscription, error)

WatchDelegateChanged is a free log subscription operation binding the contract event 0xe8d51c8e11bd570db1734c8ec775785330e77007feed45c43b608ef33ff914bd.

Solidity: event DelegateChanged(address indexed delegator, address indexed delegatee, uint8 delegationType)

func (*AaveStakedContractFilterer) WatchDelegatedPowerChanged

func (_AaveStakedContract *AaveStakedContractFilterer) WatchDelegatedPowerChanged(opts *bind.WatchOpts, sink chan<- *AaveStakedContractDelegatedPowerChanged, user []common.Address) (event.Subscription, error)

WatchDelegatedPowerChanged is a free log subscription operation binding the contract event 0xa0a19463ee116110c9b282012d9b65cc5522dc38a9520340cbaf3142e550127f.

Solidity: event DelegatedPowerChanged(address indexed user, uint256 amount, uint8 delegationType)

func (*AaveStakedContractFilterer) WatchRedeem

func (_AaveStakedContract *AaveStakedContractFilterer) WatchRedeem(opts *bind.WatchOpts, sink chan<- *AaveStakedContractRedeem, from []common.Address, to []common.Address) (event.Subscription, error)

WatchRedeem is a free log subscription operation binding the contract event 0xd12200efa34901b99367694174c3b0d32c99585fdf37c7c26892136ddd0836d9.

Solidity: event Redeem(address indexed from, address indexed to, uint256 amount)

func (*AaveStakedContractFilterer) WatchRewardsAccrued

func (_AaveStakedContract *AaveStakedContractFilterer) WatchRewardsAccrued(opts *bind.WatchOpts, sink chan<- *AaveStakedContractRewardsAccrued) (event.Subscription, error)

WatchRewardsAccrued is a free log subscription operation binding the contract event 0x2468f9268c60ad90e2d49edb0032c8a001e733ae888b3ab8e982edf535be1a76.

Solidity: event RewardsAccrued(address user, uint256 amount)

func (*AaveStakedContractFilterer) WatchRewardsClaimed

func (_AaveStakedContract *AaveStakedContractFilterer) WatchRewardsClaimed(opts *bind.WatchOpts, sink chan<- *AaveStakedContractRewardsClaimed, from []common.Address, to []common.Address) (event.Subscription, error)

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

Solidity: event RewardsClaimed(address indexed from, address indexed to, uint256 amount)

func (*AaveStakedContractFilterer) WatchStaked

func (_AaveStakedContract *AaveStakedContractFilterer) WatchStaked(opts *bind.WatchOpts, sink chan<- *AaveStakedContractStaked, from []common.Address, onBehalfOf []common.Address) (event.Subscription, error)

WatchStaked is a free log subscription operation binding the contract event 0x5dac0c1b1112564a045ba943c9d50270893e8e826c49be8e7073adc713ab7bd7.

Solidity: event Staked(address indexed from, address indexed onBehalfOf, uint256 amount)

func (*AaveStakedContractFilterer) WatchTransfer

func (_AaveStakedContract *AaveStakedContractFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *AaveStakedContractTransfer, from []common.Address, to []common.Address) (event.Subscription, error)

WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*AaveStakedContractFilterer) WatchUserIndexUpdated

func (_AaveStakedContract *AaveStakedContractFilterer) WatchUserIndexUpdated(opts *bind.WatchOpts, sink chan<- *AaveStakedContractUserIndexUpdated, user []common.Address, asset []common.Address) (event.Subscription, error)

WatchUserIndexUpdated is a free log subscription operation binding the contract event 0xbb123b5c06d5408bbea3c4fef481578175cfb432e3b482c6186f02ed9086585b.

Solidity: event UserIndexUpdated(address indexed user, address indexed asset, uint256 index)

type AaveStakedContractRaw

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

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

func (*AaveStakedContractRaw) Call

func (_AaveStakedContract *AaveStakedContractRaw) 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 (*AaveStakedContractRaw) Transact

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

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

func (*AaveStakedContractRaw) Transfer

func (_AaveStakedContract *AaveStakedContractRaw) 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 AaveStakedContractRedeem

type AaveStakedContractRedeem struct {
	From   common.Address
	To     common.Address
	Amount *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

AaveStakedContractRedeem represents a Redeem event raised by the AaveStakedContract contract.

type AaveStakedContractRedeemIterator

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

AaveStakedContractRedeemIterator is returned from FilterRedeem and is used to iterate over the raw logs and unpacked data for Redeem events raised by the AaveStakedContract contract.

func (*AaveStakedContractRedeemIterator) Close

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

func (*AaveStakedContractRedeemIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AaveStakedContractRedeemIterator) 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 AaveStakedContractRewardsAccrued

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

AaveStakedContractRewardsAccrued represents a RewardsAccrued event raised by the AaveStakedContract contract.

type AaveStakedContractRewardsAccruedIterator

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

AaveStakedContractRewardsAccruedIterator is returned from FilterRewardsAccrued and is used to iterate over the raw logs and unpacked data for RewardsAccrued events raised by the AaveStakedContract contract.

func (*AaveStakedContractRewardsAccruedIterator) Close

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

func (*AaveStakedContractRewardsAccruedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AaveStakedContractRewardsAccruedIterator) 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 AaveStakedContractRewardsClaimed

type AaveStakedContractRewardsClaimed struct {
	From   common.Address
	To     common.Address
	Amount *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

AaveStakedContractRewardsClaimed represents a RewardsClaimed event raised by the AaveStakedContract contract.

type AaveStakedContractRewardsClaimedIterator

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

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

func (*AaveStakedContractRewardsClaimedIterator) Close

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

func (*AaveStakedContractRewardsClaimedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AaveStakedContractRewardsClaimedIterator) 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 AaveStakedContractSession

type AaveStakedContractSession struct {
	Contract     *AaveStakedContract // 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
}

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

func (*AaveStakedContractSession) AaveGovernance

func (_AaveStakedContract *AaveStakedContractSession) AaveGovernance() (common.Address, error)

AaveGovernance is a free data retrieval call binding the contract method 0xc3863ada.

Solidity: function _aaveGovernance() view returns(address)

func (*AaveStakedContractSession) Allowance

func (_AaveStakedContract *AaveStakedContractSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address owner, address spender) view returns(uint256)

func (*AaveStakedContractSession) Approve

func (_AaveStakedContract *AaveStakedContractSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*AaveStakedContractSession) Assets

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

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

Solidity: function assets(address ) view returns(uint128 emissionPerSecond, uint128 lastUpdateTimestamp, uint256 index)

func (*AaveStakedContractSession) BalanceOf

func (_AaveStakedContract *AaveStakedContractSession) BalanceOf(account common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address account) view returns(uint256)

func (*AaveStakedContractSession) COOLDOWNSECONDS

func (_AaveStakedContract *AaveStakedContractSession) COOLDOWNSECONDS() (*big.Int, error)

COOLDOWNSECONDS is a free data retrieval call binding the contract method 0x72b49d63.

Solidity: function COOLDOWN_SECONDS() view returns(uint256)

func (*AaveStakedContractSession) ClaimRewards

func (_AaveStakedContract *AaveStakedContractSession) ClaimRewards(to common.Address, amount *big.Int) (*types.Transaction, error)

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

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

func (*AaveStakedContractSession) ConfigureAssets

func (_AaveStakedContract *AaveStakedContractSession) ConfigureAssets(assetsConfigInput []DistributionTypesAssetConfigInput) (*types.Transaction, error)

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

Solidity: function configureAssets((uint128,uint256,address)[] assetsConfigInput) returns()

func (*AaveStakedContractSession) Cooldown

func (_AaveStakedContract *AaveStakedContractSession) Cooldown() (*types.Transaction, error)

Cooldown is a paid mutator transaction binding the contract method 0x787a08a6.

Solidity: function cooldown() returns()

func (*AaveStakedContractSession) DELEGATEBYTYPETYPEHASH

func (_AaveStakedContract *AaveStakedContractSession) DELEGATEBYTYPETYPEHASH() ([32]byte, error)

DELEGATEBYTYPETYPEHASH is a free data retrieval call binding the contract method 0xaa9fbe02.

Solidity: function DELEGATE_BY_TYPE_TYPEHASH() view returns(bytes32)

func (*AaveStakedContractSession) DELEGATETYPEHASH

func (_AaveStakedContract *AaveStakedContractSession) DELEGATETYPEHASH() ([32]byte, error)

DELEGATETYPEHASH is a free data retrieval call binding the contract method 0x41cbf54a.

Solidity: function DELEGATE_TYPEHASH() view returns(bytes32)

func (*AaveStakedContractSession) DISTRIBUTIONEND

func (_AaveStakedContract *AaveStakedContractSession) DISTRIBUTIONEND() (*big.Int, error)

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

Solidity: function DISTRIBUTION_END() view returns(uint256)

func (*AaveStakedContractSession) DOMAINSEPARATOR

func (_AaveStakedContract *AaveStakedContractSession) DOMAINSEPARATOR() ([32]byte, error)

DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*AaveStakedContractSession) Decimals

func (_AaveStakedContract *AaveStakedContractSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*AaveStakedContractSession) DecreaseAllowance

func (_AaveStakedContract *AaveStakedContractSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*AaveStakedContractSession) Delegate

func (_AaveStakedContract *AaveStakedContractSession) Delegate(delegatee common.Address) (*types.Transaction, error)

Delegate is a paid mutator transaction binding the contract method 0x5c19a95c.

Solidity: function delegate(address delegatee) returns()

func (*AaveStakedContractSession) DelegateBySig

func (_AaveStakedContract *AaveStakedContractSession) DelegateBySig(delegatee common.Address, nonce *big.Int, expiry *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

DelegateBySig is a paid mutator transaction binding the contract method 0xc3cda520.

Solidity: function delegateBySig(address delegatee, uint256 nonce, uint256 expiry, uint8 v, bytes32 r, bytes32 s) returns()

func (*AaveStakedContractSession) DelegateByType

func (_AaveStakedContract *AaveStakedContractSession) DelegateByType(delegatee common.Address, delegationType uint8) (*types.Transaction, error)

DelegateByType is a paid mutator transaction binding the contract method 0xdc937e1c.

Solidity: function delegateByType(address delegatee, uint8 delegationType) returns()

func (*AaveStakedContractSession) DelegateByTypeBySig

func (_AaveStakedContract *AaveStakedContractSession) DelegateByTypeBySig(delegatee common.Address, delegationType uint8, nonce *big.Int, expiry *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

DelegateByTypeBySig is a paid mutator transaction binding the contract method 0xf713d8a8.

Solidity: function delegateByTypeBySig(address delegatee, uint8 delegationType, uint256 nonce, uint256 expiry, uint8 v, bytes32 r, bytes32 s) returns()

func (*AaveStakedContractSession) EIP712REVISION

func (_AaveStakedContract *AaveStakedContractSession) EIP712REVISION() ([]byte, error)

EIP712REVISION is a free data retrieval call binding the contract method 0x78160376.

Solidity: function EIP712_REVISION() view returns(bytes)

func (*AaveStakedContractSession) EMISSIONMANAGER

func (_AaveStakedContract *AaveStakedContractSession) EMISSIONMANAGER() (common.Address, error)

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

Solidity: function EMISSION_MANAGER() view returns(address)

func (*AaveStakedContractSession) GetDelegateeByType

func (_AaveStakedContract *AaveStakedContractSession) GetDelegateeByType(delegator common.Address, delegationType uint8) (common.Address, error)

GetDelegateeByType is a free data retrieval call binding the contract method 0x6f50458d.

Solidity: function getDelegateeByType(address delegator, uint8 delegationType) view returns(address)

func (*AaveStakedContractSession) GetNextCooldownTimestamp

func (_AaveStakedContract *AaveStakedContractSession) GetNextCooldownTimestamp(fromCooldownTimestamp *big.Int, amountToReceive *big.Int, toAddress common.Address, toBalance *big.Int) (*big.Int, error)

GetNextCooldownTimestamp is a free data retrieval call binding the contract method 0xf1cc432a.

Solidity: function getNextCooldownTimestamp(uint256 fromCooldownTimestamp, uint256 amountToReceive, address toAddress, uint256 toBalance) view returns(uint256)

func (*AaveStakedContractSession) GetPowerAtBlock

func (_AaveStakedContract *AaveStakedContractSession) GetPowerAtBlock(user common.Address, blockNumber *big.Int, delegationType uint8) (*big.Int, error)

GetPowerAtBlock is a free data retrieval call binding the contract method 0xc2ffbb91.

Solidity: function getPowerAtBlock(address user, uint256 blockNumber, uint8 delegationType) view returns(uint256)

func (*AaveStakedContractSession) GetPowerCurrent

func (_AaveStakedContract *AaveStakedContractSession) GetPowerCurrent(user common.Address, delegationType uint8) (*big.Int, error)

GetPowerCurrent is a free data retrieval call binding the contract method 0xb2f4201d.

Solidity: function getPowerCurrent(address user, uint8 delegationType) view returns(uint256)

func (*AaveStakedContractSession) GetTotalRewardsBalance

func (_AaveStakedContract *AaveStakedContractSession) GetTotalRewardsBalance(staker common.Address) (*big.Int, error)

GetTotalRewardsBalance is a free data retrieval call binding the contract method 0x8dbefee2.

Solidity: function getTotalRewardsBalance(address staker) view returns(uint256)

func (*AaveStakedContractSession) GetUserAssetData

func (_AaveStakedContract *AaveStakedContractSession) 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 (*AaveStakedContractSession) IncreaseAllowance

func (_AaveStakedContract *AaveStakedContractSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)

func (*AaveStakedContractSession) Initialize

func (_AaveStakedContract *AaveStakedContractSession) Initialize() (*types.Transaction, error)

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

Solidity: function initialize() returns()

func (*AaveStakedContractSession) Name

func (_AaveStakedContract *AaveStakedContractSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*AaveStakedContractSession) Nonces

func (_AaveStakedContract *AaveStakedContractSession) Nonces(arg0 common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0xb9844d8d.

Solidity: function _nonces(address ) view returns(uint256)

func (*AaveStakedContractSession) PERMITTYPEHASH

func (_AaveStakedContract *AaveStakedContractSession) PERMITTYPEHASH() ([32]byte, error)

PERMITTYPEHASH is a free data retrieval call binding the contract method 0x30adf81f.

Solidity: function PERMIT_TYPEHASH() view returns(bytes32)

func (*AaveStakedContractSession) PRECISION

func (_AaveStakedContract *AaveStakedContractSession) PRECISION() (uint8, error)

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

Solidity: function PRECISION() view returns(uint8)

func (*AaveStakedContractSession) Permit

func (_AaveStakedContract *AaveStakedContractSession) Permit(owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

Permit is a paid mutator transaction binding the contract method 0xd505accf.

Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()

func (*AaveStakedContractSession) REVISION

func (_AaveStakedContract *AaveStakedContractSession) REVISION() (*big.Int, error)

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

Solidity: function REVISION() view returns(uint256)

func (*AaveStakedContractSession) REWARDSVAULT

func (_AaveStakedContract *AaveStakedContractSession) REWARDSVAULT() (common.Address, error)

REWARDSVAULT is a free data retrieval call binding the contract method 0x946776cd.

Solidity: function REWARDS_VAULT() view returns(address)

func (*AaveStakedContractSession) REWARDTOKEN

func (_AaveStakedContract *AaveStakedContractSession) REWARDTOKEN() (common.Address, error)

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

Solidity: function REWARD_TOKEN() view returns(address)

func (*AaveStakedContractSession) Redeem

func (_AaveStakedContract *AaveStakedContractSession) Redeem(to common.Address, amount *big.Int) (*types.Transaction, error)

Redeem is a paid mutator transaction binding the contract method 0x1e9a6950.

Solidity: function redeem(address to, uint256 amount) returns()

func (*AaveStakedContractSession) STAKEDTOKEN

func (_AaveStakedContract *AaveStakedContractSession) STAKEDTOKEN() (common.Address, error)

STAKEDTOKEN is a free data retrieval call binding the contract method 0x312f6b83.

Solidity: function STAKED_TOKEN() view returns(address)

func (*AaveStakedContractSession) Stake

func (_AaveStakedContract *AaveStakedContractSession) Stake(onBehalfOf common.Address, amount *big.Int) (*types.Transaction, error)

Stake is a paid mutator transaction binding the contract method 0xadc9772e.

Solidity: function stake(address onBehalfOf, uint256 amount) returns()

func (*AaveStakedContractSession) StakerRewardsToClaim

func (_AaveStakedContract *AaveStakedContractSession) StakerRewardsToClaim(arg0 common.Address) (*big.Int, error)

StakerRewardsToClaim is a free data retrieval call binding the contract method 0x7e90d7ef.

Solidity: function stakerRewardsToClaim(address ) view returns(uint256)

func (*AaveStakedContractSession) StakersCooldowns

func (_AaveStakedContract *AaveStakedContractSession) StakersCooldowns(arg0 common.Address) (*big.Int, error)

StakersCooldowns is a free data retrieval call binding the contract method 0x091030c3.

Solidity: function stakersCooldowns(address ) view returns(uint256)

func (*AaveStakedContractSession) Symbol

func (_AaveStakedContract *AaveStakedContractSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*AaveStakedContractSession) TotalSupply

func (_AaveStakedContract *AaveStakedContractSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*AaveStakedContractSession) TotalSupplyAt

func (_AaveStakedContract *AaveStakedContractSession) TotalSupplyAt(blockNumber *big.Int) (*big.Int, error)

TotalSupplyAt is a free data retrieval call binding the contract method 0x981b24d0.

Solidity: function totalSupplyAt(uint256 blockNumber) view returns(uint256)

func (*AaveStakedContractSession) Transfer

func (_AaveStakedContract *AaveStakedContractSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address recipient, uint256 amount) returns(bool)

func (*AaveStakedContractSession) TransferFrom

func (_AaveStakedContract *AaveStakedContractSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)

func (*AaveStakedContractSession) UNSTAKEWINDOW

func (_AaveStakedContract *AaveStakedContractSession) UNSTAKEWINDOW() (*big.Int, error)

UNSTAKEWINDOW is a free data retrieval call binding the contract method 0x359c4a96.

Solidity: function UNSTAKE_WINDOW() view returns(uint256)

func (*AaveStakedContractSession) VotingSnapshots

func (_AaveStakedContract *AaveStakedContractSession) VotingSnapshots(arg0 common.Address, arg1 *big.Int) (struct {
	BlockNumber *big.Int
	Value       *big.Int
}, error)

VotingSnapshots is a free data retrieval call binding the contract method 0x5b3cc0cf.

Solidity: function _votingSnapshots(address , uint256 ) view returns(uint128 blockNumber, uint128 value)

func (*AaveStakedContractSession) VotingSnapshotsCounts

func (_AaveStakedContract *AaveStakedContractSession) VotingSnapshotsCounts(arg0 common.Address) (*big.Int, error)

VotingSnapshotsCounts is a free data retrieval call binding the contract method 0x7bb73c97.

Solidity: function _votingSnapshotsCounts(address ) view returns(uint256)

type AaveStakedContractStaked

type AaveStakedContractStaked struct {
	From       common.Address
	OnBehalfOf common.Address
	Amount     *big.Int
	Raw        types.Log // Blockchain specific contextual infos
}

AaveStakedContractStaked represents a Staked event raised by the AaveStakedContract contract.

type AaveStakedContractStakedIterator

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

AaveStakedContractStakedIterator is returned from FilterStaked and is used to iterate over the raw logs and unpacked data for Staked events raised by the AaveStakedContract contract.

func (*AaveStakedContractStakedIterator) Close

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

func (*AaveStakedContractStakedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AaveStakedContractStakedIterator) 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 AaveStakedContractTransactor

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

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

func NewAaveStakedContractTransactor

func NewAaveStakedContractTransactor(address common.Address, transactor bind.ContractTransactor) (*AaveStakedContractTransactor, error)

NewAaveStakedContractTransactor creates a new write-only instance of AaveStakedContract, bound to a specific deployed contract.

func (*AaveStakedContractTransactor) Approve

func (_AaveStakedContract *AaveStakedContractTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*AaveStakedContractTransactor) ClaimRewards

func (_AaveStakedContract *AaveStakedContractTransactor) ClaimRewards(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)

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

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

func (*AaveStakedContractTransactor) ConfigureAssets

func (_AaveStakedContract *AaveStakedContractTransactor) ConfigureAssets(opts *bind.TransactOpts, assetsConfigInput []DistributionTypesAssetConfigInput) (*types.Transaction, error)

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

Solidity: function configureAssets((uint128,uint256,address)[] assetsConfigInput) returns()

func (*AaveStakedContractTransactor) Cooldown

func (_AaveStakedContract *AaveStakedContractTransactor) Cooldown(opts *bind.TransactOpts) (*types.Transaction, error)

Cooldown is a paid mutator transaction binding the contract method 0x787a08a6.

Solidity: function cooldown() returns()

func (*AaveStakedContractTransactor) DecreaseAllowance

func (_AaveStakedContract *AaveStakedContractTransactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*AaveStakedContractTransactor) Delegate

func (_AaveStakedContract *AaveStakedContractTransactor) Delegate(opts *bind.TransactOpts, delegatee common.Address) (*types.Transaction, error)

Delegate is a paid mutator transaction binding the contract method 0x5c19a95c.

Solidity: function delegate(address delegatee) returns()

func (*AaveStakedContractTransactor) DelegateBySig

func (_AaveStakedContract *AaveStakedContractTransactor) DelegateBySig(opts *bind.TransactOpts, delegatee common.Address, nonce *big.Int, expiry *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

DelegateBySig is a paid mutator transaction binding the contract method 0xc3cda520.

Solidity: function delegateBySig(address delegatee, uint256 nonce, uint256 expiry, uint8 v, bytes32 r, bytes32 s) returns()

func (*AaveStakedContractTransactor) DelegateByType

func (_AaveStakedContract *AaveStakedContractTransactor) DelegateByType(opts *bind.TransactOpts, delegatee common.Address, delegationType uint8) (*types.Transaction, error)

DelegateByType is a paid mutator transaction binding the contract method 0xdc937e1c.

Solidity: function delegateByType(address delegatee, uint8 delegationType) returns()

func (*AaveStakedContractTransactor) DelegateByTypeBySig

func (_AaveStakedContract *AaveStakedContractTransactor) DelegateByTypeBySig(opts *bind.TransactOpts, delegatee common.Address, delegationType uint8, nonce *big.Int, expiry *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

DelegateByTypeBySig is a paid mutator transaction binding the contract method 0xf713d8a8.

Solidity: function delegateByTypeBySig(address delegatee, uint8 delegationType, uint256 nonce, uint256 expiry, uint8 v, bytes32 r, bytes32 s) returns()

func (*AaveStakedContractTransactor) IncreaseAllowance

func (_AaveStakedContract *AaveStakedContractTransactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)

func (*AaveStakedContractTransactor) Initialize

func (_AaveStakedContract *AaveStakedContractTransactor) Initialize(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function initialize() returns()

func (*AaveStakedContractTransactor) Permit

func (_AaveStakedContract *AaveStakedContractTransactor) Permit(opts *bind.TransactOpts, owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

Permit is a paid mutator transaction binding the contract method 0xd505accf.

Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()

func (*AaveStakedContractTransactor) Redeem

func (_AaveStakedContract *AaveStakedContractTransactor) Redeem(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)

Redeem is a paid mutator transaction binding the contract method 0x1e9a6950.

Solidity: function redeem(address to, uint256 amount) returns()

func (*AaveStakedContractTransactor) Stake

func (_AaveStakedContract *AaveStakedContractTransactor) Stake(opts *bind.TransactOpts, onBehalfOf common.Address, amount *big.Int) (*types.Transaction, error)

Stake is a paid mutator transaction binding the contract method 0xadc9772e.

Solidity: function stake(address onBehalfOf, uint256 amount) returns()

func (*AaveStakedContractTransactor) Transfer

func (_AaveStakedContract *AaveStakedContractTransactor) Transfer(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address recipient, uint256 amount) returns(bool)

func (*AaveStakedContractTransactor) TransferFrom

func (_AaveStakedContract *AaveStakedContractTransactor) TransferFrom(opts *bind.TransactOpts, sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)

type AaveStakedContractTransactorRaw

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

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

func (*AaveStakedContractTransactorRaw) Transact

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

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

func (*AaveStakedContractTransactorRaw) Transfer

func (_AaveStakedContract *AaveStakedContractTransactorRaw) 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 AaveStakedContractTransactorSession

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

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

func (*AaveStakedContractTransactorSession) Approve

func (_AaveStakedContract *AaveStakedContractTransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*AaveStakedContractTransactorSession) ClaimRewards

func (_AaveStakedContract *AaveStakedContractTransactorSession) ClaimRewards(to common.Address, amount *big.Int) (*types.Transaction, error)

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

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

func (*AaveStakedContractTransactorSession) ConfigureAssets

func (_AaveStakedContract *AaveStakedContractTransactorSession) ConfigureAssets(assetsConfigInput []DistributionTypesAssetConfigInput) (*types.Transaction, error)

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

Solidity: function configureAssets((uint128,uint256,address)[] assetsConfigInput) returns()

func (*AaveStakedContractTransactorSession) Cooldown

func (_AaveStakedContract *AaveStakedContractTransactorSession) Cooldown() (*types.Transaction, error)

Cooldown is a paid mutator transaction binding the contract method 0x787a08a6.

Solidity: function cooldown() returns()

func (*AaveStakedContractTransactorSession) DecreaseAllowance

func (_AaveStakedContract *AaveStakedContractTransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*AaveStakedContractTransactorSession) Delegate

func (_AaveStakedContract *AaveStakedContractTransactorSession) Delegate(delegatee common.Address) (*types.Transaction, error)

Delegate is a paid mutator transaction binding the contract method 0x5c19a95c.

Solidity: function delegate(address delegatee) returns()

func (*AaveStakedContractTransactorSession) DelegateBySig

func (_AaveStakedContract *AaveStakedContractTransactorSession) DelegateBySig(delegatee common.Address, nonce *big.Int, expiry *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

DelegateBySig is a paid mutator transaction binding the contract method 0xc3cda520.

Solidity: function delegateBySig(address delegatee, uint256 nonce, uint256 expiry, uint8 v, bytes32 r, bytes32 s) returns()

func (*AaveStakedContractTransactorSession) DelegateByType

func (_AaveStakedContract *AaveStakedContractTransactorSession) DelegateByType(delegatee common.Address, delegationType uint8) (*types.Transaction, error)

DelegateByType is a paid mutator transaction binding the contract method 0xdc937e1c.

Solidity: function delegateByType(address delegatee, uint8 delegationType) returns()

func (*AaveStakedContractTransactorSession) DelegateByTypeBySig

func (_AaveStakedContract *AaveStakedContractTransactorSession) DelegateByTypeBySig(delegatee common.Address, delegationType uint8, nonce *big.Int, expiry *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

DelegateByTypeBySig is a paid mutator transaction binding the contract method 0xf713d8a8.

Solidity: function delegateByTypeBySig(address delegatee, uint8 delegationType, uint256 nonce, uint256 expiry, uint8 v, bytes32 r, bytes32 s) returns()

func (*AaveStakedContractTransactorSession) IncreaseAllowance

func (_AaveStakedContract *AaveStakedContractTransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)

func (*AaveStakedContractTransactorSession) Initialize

func (_AaveStakedContract *AaveStakedContractTransactorSession) Initialize() (*types.Transaction, error)

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

Solidity: function initialize() returns()

func (*AaveStakedContractTransactorSession) Permit

func (_AaveStakedContract *AaveStakedContractTransactorSession) Permit(owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

Permit is a paid mutator transaction binding the contract method 0xd505accf.

Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()

func (*AaveStakedContractTransactorSession) Redeem

func (_AaveStakedContract *AaveStakedContractTransactorSession) Redeem(to common.Address, amount *big.Int) (*types.Transaction, error)

Redeem is a paid mutator transaction binding the contract method 0x1e9a6950.

Solidity: function redeem(address to, uint256 amount) returns()

func (*AaveStakedContractTransactorSession) Stake

func (_AaveStakedContract *AaveStakedContractTransactorSession) Stake(onBehalfOf common.Address, amount *big.Int) (*types.Transaction, error)

Stake is a paid mutator transaction binding the contract method 0xadc9772e.

Solidity: function stake(address onBehalfOf, uint256 amount) returns()

func (*AaveStakedContractTransactorSession) Transfer

func (_AaveStakedContract *AaveStakedContractTransactorSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address recipient, uint256 amount) returns(bool)

func (*AaveStakedContractTransactorSession) TransferFrom

func (_AaveStakedContract *AaveStakedContractTransactorSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)

type AaveStakedContractTransfer

type AaveStakedContractTransfer struct {
	From  common.Address
	To    common.Address
	Value *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

AaveStakedContractTransfer represents a Transfer event raised by the AaveStakedContract contract.

type AaveStakedContractTransferIterator

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

AaveStakedContractTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the AaveStakedContract contract.

func (*AaveStakedContractTransferIterator) Close

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

func (*AaveStakedContractTransferIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AaveStakedContractTransferIterator) 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 AaveStakedContractUserIndexUpdated

type AaveStakedContractUserIndexUpdated struct {
	User  common.Address
	Asset common.Address
	Index *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

AaveStakedContractUserIndexUpdated represents a UserIndexUpdated event raised by the AaveStakedContract contract.

type AaveStakedContractUserIndexUpdatedIterator

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

AaveStakedContractUserIndexUpdatedIterator is returned from FilterUserIndexUpdated and is used to iterate over the raw logs and unpacked data for UserIndexUpdated events raised by the AaveStakedContract contract.

func (*AaveStakedContractUserIndexUpdatedIterator) Close

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

func (*AaveStakedContractUserIndexUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AaveStakedContractUserIndexUpdatedIterator) 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 DistributionTypesAssetConfigInput

type DistributionTypesAssetConfigInput struct {
	EmissionPerSecond *big.Int
	TotalStaked       *big.Int
	UnderlyingAsset   common.Address
}

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

Jump to

Keyboard shortcuts

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