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 AaveStakedABI = AaveStakedMetaData.ABI

AaveStakedABI is the input ABI used to generate the binding from. Deprecated: Use AaveStakedMetaData.ABI instead.

View Source
var AaveStakedMetaData = &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\"}]",
}

AaveStakedMetaData contains all meta data concerning the AaveStaked contract.

Functions

This section is empty.

Types

type AaveStaked

type AaveStaked struct {
	AaveStakedCaller     // Read-only binding to the contract
	AaveStakedTransactor // Write-only binding to the contract
	AaveStakedFilterer   // Log filterer for contract events
}

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

func NewAaveStaked

func NewAaveStaked(address common.Address, backend bind.ContractBackend) (*AaveStaked, error)

NewAaveStaked creates a new instance of AaveStaked, bound to a specific deployed contract.

type AaveStakedApproval

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

AaveStakedApproval represents a Approval event raised by the AaveStaked contract.

type AaveStakedApprovalIterator

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

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

func (*AaveStakedApprovalIterator) Close

func (it *AaveStakedApprovalIterator) Close() error

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

func (*AaveStakedApprovalIterator) Error

func (it *AaveStakedApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*AaveStakedApprovalIterator) Next

func (it *AaveStakedApprovalIterator) Next() bool

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 AaveStakedAssetConfigUpdated

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

AaveStakedAssetConfigUpdated represents a AssetConfigUpdated event raised by the AaveStaked contract.

type AaveStakedAssetConfigUpdatedIterator

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

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

func (*AaveStakedAssetConfigUpdatedIterator) Close

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

func (*AaveStakedAssetConfigUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AaveStakedAssetConfigUpdatedIterator) 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 AaveStakedAssetIndexUpdated

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

AaveStakedAssetIndexUpdated represents a AssetIndexUpdated event raised by the AaveStaked contract.

type AaveStakedAssetIndexUpdatedIterator

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

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

func (*AaveStakedAssetIndexUpdatedIterator) Close

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

func (*AaveStakedAssetIndexUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AaveStakedAssetIndexUpdatedIterator) 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 AaveStakedCaller

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

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

func NewAaveStakedCaller

func NewAaveStakedCaller(address common.Address, caller bind.ContractCaller) (*AaveStakedCaller, error)

NewAaveStakedCaller creates a new read-only instance of AaveStaked, bound to a specific deployed contract.

func (*AaveStakedCaller) AaveGovernance

func (_AaveStaked *AaveStakedCaller) 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 (*AaveStakedCaller) Allowance

func (_AaveStaked *AaveStakedCaller) 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 (*AaveStakedCaller) Assets

func (_AaveStaked *AaveStakedCaller) 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 (*AaveStakedCaller) BalanceOf

func (_AaveStaked *AaveStakedCaller) 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 (*AaveStakedCaller) COOLDOWNSECONDS

func (_AaveStaked *AaveStakedCaller) 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 (*AaveStakedCaller) DELEGATEBYTYPETYPEHASH

func (_AaveStaked *AaveStakedCaller) 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 (*AaveStakedCaller) DELEGATETYPEHASH

func (_AaveStaked *AaveStakedCaller) 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 (*AaveStakedCaller) DISTRIBUTIONEND

func (_AaveStaked *AaveStakedCaller) 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 (*AaveStakedCaller) DOMAINSEPARATOR

func (_AaveStaked *AaveStakedCaller) 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 (*AaveStakedCaller) Decimals

func (_AaveStaked *AaveStakedCaller) 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 (*AaveStakedCaller) EIP712REVISION

func (_AaveStaked *AaveStakedCaller) 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 (*AaveStakedCaller) EMISSIONMANAGER

func (_AaveStaked *AaveStakedCaller) 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 (*AaveStakedCaller) GetDelegateeByType

func (_AaveStaked *AaveStakedCaller) 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 (*AaveStakedCaller) GetNextCooldownTimestamp

func (_AaveStaked *AaveStakedCaller) 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 (*AaveStakedCaller) GetPowerAtBlock

func (_AaveStaked *AaveStakedCaller) 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 (*AaveStakedCaller) GetPowerCurrent

func (_AaveStaked *AaveStakedCaller) 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 (*AaveStakedCaller) GetTotalRewardsBalance

func (_AaveStaked *AaveStakedCaller) 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 (*AaveStakedCaller) GetUserAssetData

func (_AaveStaked *AaveStakedCaller) 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 (*AaveStakedCaller) Name

func (_AaveStaked *AaveStakedCaller) 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 (*AaveStakedCaller) Nonces

func (_AaveStaked *AaveStakedCaller) 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 (*AaveStakedCaller) PERMITTYPEHASH

func (_AaveStaked *AaveStakedCaller) 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 (*AaveStakedCaller) PRECISION

func (_AaveStaked *AaveStakedCaller) 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 (*AaveStakedCaller) REVISION

func (_AaveStaked *AaveStakedCaller) 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 (*AaveStakedCaller) REWARDSVAULT

func (_AaveStaked *AaveStakedCaller) 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 (*AaveStakedCaller) REWARDTOKEN

func (_AaveStaked *AaveStakedCaller) 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 (*AaveStakedCaller) STAKEDTOKEN

func (_AaveStaked *AaveStakedCaller) 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 (*AaveStakedCaller) StakerRewardsToClaim

func (_AaveStaked *AaveStakedCaller) 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 (*AaveStakedCaller) StakersCooldowns

func (_AaveStaked *AaveStakedCaller) 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 (*AaveStakedCaller) Symbol

func (_AaveStaked *AaveStakedCaller) 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 (*AaveStakedCaller) TotalSupply

func (_AaveStaked *AaveStakedCaller) 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 (*AaveStakedCaller) TotalSupplyAt

func (_AaveStaked *AaveStakedCaller) 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 (*AaveStakedCaller) UNSTAKEWINDOW

func (_AaveStaked *AaveStakedCaller) 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 (*AaveStakedCaller) VotingSnapshots

func (_AaveStaked *AaveStakedCaller) 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 (*AaveStakedCaller) VotingSnapshotsCounts

func (_AaveStaked *AaveStakedCaller) 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 AaveStakedCallerRaw

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

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

func (*AaveStakedCallerRaw) Call

func (_AaveStaked *AaveStakedCallerRaw) 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 AaveStakedCallerSession

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

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

func (*AaveStakedCallerSession) AaveGovernance

func (_AaveStaked *AaveStakedCallerSession) AaveGovernance() (common.Address, error)

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

Solidity: function _aaveGovernance() view returns(address)

func (*AaveStakedCallerSession) Allowance

func (_AaveStaked *AaveStakedCallerSession) 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 (*AaveStakedCallerSession) Assets

func (_AaveStaked *AaveStakedCallerSession) 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 (*AaveStakedCallerSession) BalanceOf

func (_AaveStaked *AaveStakedCallerSession) 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 (*AaveStakedCallerSession) COOLDOWNSECONDS

func (_AaveStaked *AaveStakedCallerSession) COOLDOWNSECONDS() (*big.Int, error)

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

Solidity: function COOLDOWN_SECONDS() view returns(uint256)

func (*AaveStakedCallerSession) DELEGATEBYTYPETYPEHASH

func (_AaveStaked *AaveStakedCallerSession) 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 (*AaveStakedCallerSession) DELEGATETYPEHASH

func (_AaveStaked *AaveStakedCallerSession) DELEGATETYPEHASH() ([32]byte, error)

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

Solidity: function DELEGATE_TYPEHASH() view returns(bytes32)

func (*AaveStakedCallerSession) DISTRIBUTIONEND

func (_AaveStaked *AaveStakedCallerSession) DISTRIBUTIONEND() (*big.Int, error)

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

Solidity: function DISTRIBUTION_END() view returns(uint256)

func (*AaveStakedCallerSession) DOMAINSEPARATOR

func (_AaveStaked *AaveStakedCallerSession) DOMAINSEPARATOR() ([32]byte, error)

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

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*AaveStakedCallerSession) Decimals

func (_AaveStaked *AaveStakedCallerSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*AaveStakedCallerSession) EIP712REVISION

func (_AaveStaked *AaveStakedCallerSession) EIP712REVISION() ([]byte, error)

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

Solidity: function EIP712_REVISION() view returns(bytes)

func (*AaveStakedCallerSession) EMISSIONMANAGER

func (_AaveStaked *AaveStakedCallerSession) EMISSIONMANAGER() (common.Address, error)

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

Solidity: function EMISSION_MANAGER() view returns(address)

func (*AaveStakedCallerSession) GetDelegateeByType

func (_AaveStaked *AaveStakedCallerSession) 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 (*AaveStakedCallerSession) GetNextCooldownTimestamp

func (_AaveStaked *AaveStakedCallerSession) 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 (*AaveStakedCallerSession) GetPowerAtBlock

func (_AaveStaked *AaveStakedCallerSession) 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 (*AaveStakedCallerSession) GetPowerCurrent

func (_AaveStaked *AaveStakedCallerSession) 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 (*AaveStakedCallerSession) GetTotalRewardsBalance

func (_AaveStaked *AaveStakedCallerSession) 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 (*AaveStakedCallerSession) GetUserAssetData

func (_AaveStaked *AaveStakedCallerSession) 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 (*AaveStakedCallerSession) Name

func (_AaveStaked *AaveStakedCallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*AaveStakedCallerSession) Nonces

func (_AaveStaked *AaveStakedCallerSession) 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 (*AaveStakedCallerSession) PERMITTYPEHASH

func (_AaveStaked *AaveStakedCallerSession) PERMITTYPEHASH() ([32]byte, error)

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

Solidity: function PERMIT_TYPEHASH() view returns(bytes32)

func (*AaveStakedCallerSession) PRECISION

func (_AaveStaked *AaveStakedCallerSession) PRECISION() (uint8, error)

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

Solidity: function PRECISION() view returns(uint8)

func (*AaveStakedCallerSession) REVISION

func (_AaveStaked *AaveStakedCallerSession) REVISION() (*big.Int, error)

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

Solidity: function REVISION() view returns(uint256)

func (*AaveStakedCallerSession) REWARDSVAULT

func (_AaveStaked *AaveStakedCallerSession) REWARDSVAULT() (common.Address, error)

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

Solidity: function REWARDS_VAULT() view returns(address)

func (*AaveStakedCallerSession) REWARDTOKEN

func (_AaveStaked *AaveStakedCallerSession) REWARDTOKEN() (common.Address, error)

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

Solidity: function REWARD_TOKEN() view returns(address)

func (*AaveStakedCallerSession) STAKEDTOKEN

func (_AaveStaked *AaveStakedCallerSession) STAKEDTOKEN() (common.Address, error)

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

Solidity: function STAKED_TOKEN() view returns(address)

func (*AaveStakedCallerSession) StakerRewardsToClaim

func (_AaveStaked *AaveStakedCallerSession) 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 (*AaveStakedCallerSession) StakersCooldowns

func (_AaveStaked *AaveStakedCallerSession) 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 (*AaveStakedCallerSession) Symbol

func (_AaveStaked *AaveStakedCallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*AaveStakedCallerSession) TotalSupply

func (_AaveStaked *AaveStakedCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*AaveStakedCallerSession) TotalSupplyAt

func (_AaveStaked *AaveStakedCallerSession) 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 (*AaveStakedCallerSession) UNSTAKEWINDOW

func (_AaveStaked *AaveStakedCallerSession) UNSTAKEWINDOW() (*big.Int, error)

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

Solidity: function UNSTAKE_WINDOW() view returns(uint256)

func (*AaveStakedCallerSession) VotingSnapshots

func (_AaveStaked *AaveStakedCallerSession) 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 (*AaveStakedCallerSession) VotingSnapshotsCounts

func (_AaveStaked *AaveStakedCallerSession) 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 AaveStakedCooldown

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

AaveStakedCooldown represents a Cooldown event raised by the AaveStaked contract.

type AaveStakedCooldownIterator

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

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

func (*AaveStakedCooldownIterator) Close

func (it *AaveStakedCooldownIterator) Close() error

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

func (*AaveStakedCooldownIterator) Error

func (it *AaveStakedCooldownIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*AaveStakedCooldownIterator) Next

func (it *AaveStakedCooldownIterator) Next() bool

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 AaveStakedDelegateChanged

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

AaveStakedDelegateChanged represents a DelegateChanged event raised by the AaveStaked contract.

type AaveStakedDelegateChangedIterator

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

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

func (*AaveStakedDelegateChangedIterator) Close

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

func (*AaveStakedDelegateChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AaveStakedDelegateChangedIterator) 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 AaveStakedDelegatedPowerChanged

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

AaveStakedDelegatedPowerChanged represents a DelegatedPowerChanged event raised by the AaveStaked contract.

type AaveStakedDelegatedPowerChangedIterator

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

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

func (*AaveStakedDelegatedPowerChangedIterator) Close

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

func (*AaveStakedDelegatedPowerChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AaveStakedDelegatedPowerChangedIterator) 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 AaveStakedFilterer

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

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

func NewAaveStakedFilterer

func NewAaveStakedFilterer(address common.Address, filterer bind.ContractFilterer) (*AaveStakedFilterer, error)

NewAaveStakedFilterer creates a new log filterer instance of AaveStaked, bound to a specific deployed contract.

func (*AaveStakedFilterer) FilterApproval

func (_AaveStaked *AaveStakedFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*AaveStakedApprovalIterator, 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 (*AaveStakedFilterer) FilterAssetConfigUpdated

func (_AaveStaked *AaveStakedFilterer) FilterAssetConfigUpdated(opts *bind.FilterOpts, asset []common.Address) (*AaveStakedAssetConfigUpdatedIterator, error)

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

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

func (*AaveStakedFilterer) FilterAssetIndexUpdated

func (_AaveStaked *AaveStakedFilterer) FilterAssetIndexUpdated(opts *bind.FilterOpts, asset []common.Address) (*AaveStakedAssetIndexUpdatedIterator, error)

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

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

func (*AaveStakedFilterer) FilterCooldown

func (_AaveStaked *AaveStakedFilterer) FilterCooldown(opts *bind.FilterOpts, user []common.Address) (*AaveStakedCooldownIterator, error)

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

Solidity: event Cooldown(address indexed user)

func (*AaveStakedFilterer) FilterDelegateChanged

func (_AaveStaked *AaveStakedFilterer) FilterDelegateChanged(opts *bind.FilterOpts, delegator []common.Address, delegatee []common.Address) (*AaveStakedDelegateChangedIterator, 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 (*AaveStakedFilterer) FilterDelegatedPowerChanged

func (_AaveStaked *AaveStakedFilterer) FilterDelegatedPowerChanged(opts *bind.FilterOpts, user []common.Address) (*AaveStakedDelegatedPowerChangedIterator, error)

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

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

func (*AaveStakedFilterer) FilterRedeem

func (_AaveStaked *AaveStakedFilterer) FilterRedeem(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*AaveStakedRedeemIterator, 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 (*AaveStakedFilterer) FilterRewardsAccrued

func (_AaveStaked *AaveStakedFilterer) FilterRewardsAccrued(opts *bind.FilterOpts) (*AaveStakedRewardsAccruedIterator, error)

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

Solidity: event RewardsAccrued(address user, uint256 amount)

func (*AaveStakedFilterer) FilterRewardsClaimed

func (_AaveStaked *AaveStakedFilterer) FilterRewardsClaimed(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*AaveStakedRewardsClaimedIterator, 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 (*AaveStakedFilterer) FilterStaked

func (_AaveStaked *AaveStakedFilterer) FilterStaked(opts *bind.FilterOpts, from []common.Address, onBehalfOf []common.Address) (*AaveStakedStakedIterator, 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 (*AaveStakedFilterer) FilterTransfer

func (_AaveStaked *AaveStakedFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*AaveStakedTransferIterator, 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 (*AaveStakedFilterer) FilterUserIndexUpdated

func (_AaveStaked *AaveStakedFilterer) FilterUserIndexUpdated(opts *bind.FilterOpts, user []common.Address, asset []common.Address) (*AaveStakedUserIndexUpdatedIterator, 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 (*AaveStakedFilterer) ParseApproval

func (_AaveStaked *AaveStakedFilterer) ParseApproval(log types.Log) (*AaveStakedApproval, error)

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

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

func (*AaveStakedFilterer) ParseAssetConfigUpdated

func (_AaveStaked *AaveStakedFilterer) ParseAssetConfigUpdated(log types.Log) (*AaveStakedAssetConfigUpdated, error)

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

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

func (*AaveStakedFilterer) ParseAssetIndexUpdated

func (_AaveStaked *AaveStakedFilterer) ParseAssetIndexUpdated(log types.Log) (*AaveStakedAssetIndexUpdated, error)

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

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

func (*AaveStakedFilterer) ParseCooldown

func (_AaveStaked *AaveStakedFilterer) ParseCooldown(log types.Log) (*AaveStakedCooldown, error)

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

Solidity: event Cooldown(address indexed user)

func (*AaveStakedFilterer) ParseDelegateChanged

func (_AaveStaked *AaveStakedFilterer) ParseDelegateChanged(log types.Log) (*AaveStakedDelegateChanged, error)

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

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

func (*AaveStakedFilterer) ParseDelegatedPowerChanged

func (_AaveStaked *AaveStakedFilterer) ParseDelegatedPowerChanged(log types.Log) (*AaveStakedDelegatedPowerChanged, error)

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

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

func (*AaveStakedFilterer) ParseRedeem

func (_AaveStaked *AaveStakedFilterer) ParseRedeem(log types.Log) (*AaveStakedRedeem, error)

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

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

func (*AaveStakedFilterer) ParseRewardsAccrued

func (_AaveStaked *AaveStakedFilterer) ParseRewardsAccrued(log types.Log) (*AaveStakedRewardsAccrued, error)

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

Solidity: event RewardsAccrued(address user, uint256 amount)

func (*AaveStakedFilterer) ParseRewardsClaimed

func (_AaveStaked *AaveStakedFilterer) ParseRewardsClaimed(log types.Log) (*AaveStakedRewardsClaimed, error)

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

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

func (*AaveStakedFilterer) ParseStaked

func (_AaveStaked *AaveStakedFilterer) ParseStaked(log types.Log) (*AaveStakedStaked, error)

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

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

func (*AaveStakedFilterer) ParseTransfer

func (_AaveStaked *AaveStakedFilterer) ParseTransfer(log types.Log) (*AaveStakedTransfer, error)

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

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

func (*AaveStakedFilterer) ParseUserIndexUpdated

func (_AaveStaked *AaveStakedFilterer) ParseUserIndexUpdated(log types.Log) (*AaveStakedUserIndexUpdated, error)

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

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

func (*AaveStakedFilterer) WatchApproval

func (_AaveStaked *AaveStakedFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *AaveStakedApproval, 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 (*AaveStakedFilterer) WatchAssetConfigUpdated

func (_AaveStaked *AaveStakedFilterer) WatchAssetConfigUpdated(opts *bind.WatchOpts, sink chan<- *AaveStakedAssetConfigUpdated, 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 (*AaveStakedFilterer) WatchAssetIndexUpdated

func (_AaveStaked *AaveStakedFilterer) WatchAssetIndexUpdated(opts *bind.WatchOpts, sink chan<- *AaveStakedAssetIndexUpdated, 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 (*AaveStakedFilterer) WatchCooldown

func (_AaveStaked *AaveStakedFilterer) WatchCooldown(opts *bind.WatchOpts, sink chan<- *AaveStakedCooldown, 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 (*AaveStakedFilterer) WatchDelegateChanged

func (_AaveStaked *AaveStakedFilterer) WatchDelegateChanged(opts *bind.WatchOpts, sink chan<- *AaveStakedDelegateChanged, 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 (*AaveStakedFilterer) WatchDelegatedPowerChanged

func (_AaveStaked *AaveStakedFilterer) WatchDelegatedPowerChanged(opts *bind.WatchOpts, sink chan<- *AaveStakedDelegatedPowerChanged, 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 (*AaveStakedFilterer) WatchRedeem

func (_AaveStaked *AaveStakedFilterer) WatchRedeem(opts *bind.WatchOpts, sink chan<- *AaveStakedRedeem, 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 (*AaveStakedFilterer) WatchRewardsAccrued

func (_AaveStaked *AaveStakedFilterer) WatchRewardsAccrued(opts *bind.WatchOpts, sink chan<- *AaveStakedRewardsAccrued) (event.Subscription, error)

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

Solidity: event RewardsAccrued(address user, uint256 amount)

func (*AaveStakedFilterer) WatchRewardsClaimed

func (_AaveStaked *AaveStakedFilterer) WatchRewardsClaimed(opts *bind.WatchOpts, sink chan<- *AaveStakedRewardsClaimed, 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 (*AaveStakedFilterer) WatchStaked

func (_AaveStaked *AaveStakedFilterer) WatchStaked(opts *bind.WatchOpts, sink chan<- *AaveStakedStaked, 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 (*AaveStakedFilterer) WatchTransfer

func (_AaveStaked *AaveStakedFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *AaveStakedTransfer, 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 (*AaveStakedFilterer) WatchUserIndexUpdated

func (_AaveStaked *AaveStakedFilterer) WatchUserIndexUpdated(opts *bind.WatchOpts, sink chan<- *AaveStakedUserIndexUpdated, 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 AaveStakedRaw

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

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

func (*AaveStakedRaw) Call

func (_AaveStaked *AaveStakedRaw) 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 (*AaveStakedRaw) Transact

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

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

func (*AaveStakedRaw) Transfer

func (_AaveStaked *AaveStakedRaw) 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 AaveStakedRedeem

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

AaveStakedRedeem represents a Redeem event raised by the AaveStaked contract.

type AaveStakedRedeemIterator

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

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

func (*AaveStakedRedeemIterator) Close

func (it *AaveStakedRedeemIterator) Close() error

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

func (*AaveStakedRedeemIterator) Error

func (it *AaveStakedRedeemIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*AaveStakedRedeemIterator) Next

func (it *AaveStakedRedeemIterator) Next() bool

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 AaveStakedRewardsAccrued

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

AaveStakedRewardsAccrued represents a RewardsAccrued event raised by the AaveStaked contract.

type AaveStakedRewardsAccruedIterator

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

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

func (*AaveStakedRewardsAccruedIterator) Close

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

func (*AaveStakedRewardsAccruedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AaveStakedRewardsAccruedIterator) 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 AaveStakedRewardsClaimed

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

AaveStakedRewardsClaimed represents a RewardsClaimed event raised by the AaveStaked contract.

type AaveStakedRewardsClaimedIterator

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

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

func (*AaveStakedRewardsClaimedIterator) Close

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

func (*AaveStakedRewardsClaimedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AaveStakedRewardsClaimedIterator) 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 AaveStakedSession

type AaveStakedSession struct {
	Contract     *AaveStaked       // 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
}

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

func (*AaveStakedSession) AaveGovernance

func (_AaveStaked *AaveStakedSession) AaveGovernance() (common.Address, error)

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

Solidity: function _aaveGovernance() view returns(address)

func (*AaveStakedSession) Allowance

func (_AaveStaked *AaveStakedSession) 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 (*AaveStakedSession) Approve

func (_AaveStaked *AaveStakedSession) 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 (*AaveStakedSession) Assets

func (_AaveStaked *AaveStakedSession) 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 (*AaveStakedSession) BalanceOf

func (_AaveStaked *AaveStakedSession) 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 (*AaveStakedSession) COOLDOWNSECONDS

func (_AaveStaked *AaveStakedSession) COOLDOWNSECONDS() (*big.Int, error)

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

Solidity: function COOLDOWN_SECONDS() view returns(uint256)

func (*AaveStakedSession) ClaimRewards

func (_AaveStaked *AaveStakedSession) 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 (*AaveStakedSession) ConfigureAssets

func (_AaveStaked *AaveStakedSession) 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 (*AaveStakedSession) Cooldown

func (_AaveStaked *AaveStakedSession) Cooldown() (*types.Transaction, error)

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

Solidity: function cooldown() returns()

func (*AaveStakedSession) DELEGATEBYTYPETYPEHASH

func (_AaveStaked *AaveStakedSession) 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 (*AaveStakedSession) DELEGATETYPEHASH

func (_AaveStaked *AaveStakedSession) DELEGATETYPEHASH() ([32]byte, error)

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

Solidity: function DELEGATE_TYPEHASH() view returns(bytes32)

func (*AaveStakedSession) DISTRIBUTIONEND

func (_AaveStaked *AaveStakedSession) DISTRIBUTIONEND() (*big.Int, error)

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

Solidity: function DISTRIBUTION_END() view returns(uint256)

func (*AaveStakedSession) DOMAINSEPARATOR

func (_AaveStaked *AaveStakedSession) DOMAINSEPARATOR() ([32]byte, error)

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

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*AaveStakedSession) Decimals

func (_AaveStaked *AaveStakedSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*AaveStakedSession) DecreaseAllowance

func (_AaveStaked *AaveStakedSession) 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 (*AaveStakedSession) Delegate

func (_AaveStaked *AaveStakedSession) 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 (*AaveStakedSession) DelegateBySig

func (_AaveStaked *AaveStakedSession) 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 (*AaveStakedSession) DelegateByType

func (_AaveStaked *AaveStakedSession) 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 (*AaveStakedSession) DelegateByTypeBySig

func (_AaveStaked *AaveStakedSession) 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 (*AaveStakedSession) EIP712REVISION

func (_AaveStaked *AaveStakedSession) EIP712REVISION() ([]byte, error)

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

Solidity: function EIP712_REVISION() view returns(bytes)

func (*AaveStakedSession) EMISSIONMANAGER

func (_AaveStaked *AaveStakedSession) EMISSIONMANAGER() (common.Address, error)

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

Solidity: function EMISSION_MANAGER() view returns(address)

func (*AaveStakedSession) GetDelegateeByType

func (_AaveStaked *AaveStakedSession) 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 (*AaveStakedSession) GetNextCooldownTimestamp

func (_AaveStaked *AaveStakedSession) 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 (*AaveStakedSession) GetPowerAtBlock

func (_AaveStaked *AaveStakedSession) 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 (*AaveStakedSession) GetPowerCurrent

func (_AaveStaked *AaveStakedSession) 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 (*AaveStakedSession) GetTotalRewardsBalance

func (_AaveStaked *AaveStakedSession) 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 (*AaveStakedSession) GetUserAssetData

func (_AaveStaked *AaveStakedSession) 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 (*AaveStakedSession) IncreaseAllowance

func (_AaveStaked *AaveStakedSession) 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 (*AaveStakedSession) Initialize

func (_AaveStaked *AaveStakedSession) Initialize() (*types.Transaction, error)

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

Solidity: function initialize() returns()

func (*AaveStakedSession) Name

func (_AaveStaked *AaveStakedSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*AaveStakedSession) Nonces

func (_AaveStaked *AaveStakedSession) 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 (*AaveStakedSession) PERMITTYPEHASH

func (_AaveStaked *AaveStakedSession) PERMITTYPEHASH() ([32]byte, error)

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

Solidity: function PERMIT_TYPEHASH() view returns(bytes32)

func (*AaveStakedSession) PRECISION

func (_AaveStaked *AaveStakedSession) PRECISION() (uint8, error)

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

Solidity: function PRECISION() view returns(uint8)

func (*AaveStakedSession) Permit

func (_AaveStaked *AaveStakedSession) 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 (*AaveStakedSession) REVISION

func (_AaveStaked *AaveStakedSession) REVISION() (*big.Int, error)

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

Solidity: function REVISION() view returns(uint256)

func (*AaveStakedSession) REWARDSVAULT

func (_AaveStaked *AaveStakedSession) REWARDSVAULT() (common.Address, error)

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

Solidity: function REWARDS_VAULT() view returns(address)

func (*AaveStakedSession) REWARDTOKEN

func (_AaveStaked *AaveStakedSession) REWARDTOKEN() (common.Address, error)

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

Solidity: function REWARD_TOKEN() view returns(address)

func (*AaveStakedSession) Redeem

func (_AaveStaked *AaveStakedSession) 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 (*AaveStakedSession) STAKEDTOKEN

func (_AaveStaked *AaveStakedSession) STAKEDTOKEN() (common.Address, error)

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

Solidity: function STAKED_TOKEN() view returns(address)

func (*AaveStakedSession) Stake

func (_AaveStaked *AaveStakedSession) 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 (*AaveStakedSession) StakerRewardsToClaim

func (_AaveStaked *AaveStakedSession) 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 (*AaveStakedSession) StakersCooldowns

func (_AaveStaked *AaveStakedSession) 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 (*AaveStakedSession) Symbol

func (_AaveStaked *AaveStakedSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*AaveStakedSession) TotalSupply

func (_AaveStaked *AaveStakedSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*AaveStakedSession) TotalSupplyAt

func (_AaveStaked *AaveStakedSession) 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 (*AaveStakedSession) Transfer

func (_AaveStaked *AaveStakedSession) 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 (*AaveStakedSession) TransferFrom

func (_AaveStaked *AaveStakedSession) 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 (*AaveStakedSession) UNSTAKEWINDOW

func (_AaveStaked *AaveStakedSession) UNSTAKEWINDOW() (*big.Int, error)

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

Solidity: function UNSTAKE_WINDOW() view returns(uint256)

func (*AaveStakedSession) VotingSnapshots

func (_AaveStaked *AaveStakedSession) 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 (*AaveStakedSession) VotingSnapshotsCounts

func (_AaveStaked *AaveStakedSession) 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 AaveStakedStaked

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

AaveStakedStaked represents a Staked event raised by the AaveStaked contract.

type AaveStakedStakedIterator

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

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

func (*AaveStakedStakedIterator) Close

func (it *AaveStakedStakedIterator) Close() error

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

func (*AaveStakedStakedIterator) Error

func (it *AaveStakedStakedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*AaveStakedStakedIterator) Next

func (it *AaveStakedStakedIterator) Next() bool

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 AaveStakedTransactor

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

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

func NewAaveStakedTransactor

func NewAaveStakedTransactor(address common.Address, transactor bind.ContractTransactor) (*AaveStakedTransactor, error)

NewAaveStakedTransactor creates a new write-only instance of AaveStaked, bound to a specific deployed contract.

func (*AaveStakedTransactor) Approve

func (_AaveStaked *AaveStakedTransactor) 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 (*AaveStakedTransactor) ClaimRewards

func (_AaveStaked *AaveStakedTransactor) 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 (*AaveStakedTransactor) ConfigureAssets

func (_AaveStaked *AaveStakedTransactor) 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 (*AaveStakedTransactor) Cooldown

func (_AaveStaked *AaveStakedTransactor) Cooldown(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function cooldown() returns()

func (*AaveStakedTransactor) DecreaseAllowance

func (_AaveStaked *AaveStakedTransactor) 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 (*AaveStakedTransactor) Delegate

func (_AaveStaked *AaveStakedTransactor) 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 (*AaveStakedTransactor) DelegateBySig

func (_AaveStaked *AaveStakedTransactor) 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 (*AaveStakedTransactor) DelegateByType

func (_AaveStaked *AaveStakedTransactor) 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 (*AaveStakedTransactor) DelegateByTypeBySig

func (_AaveStaked *AaveStakedTransactor) 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 (*AaveStakedTransactor) IncreaseAllowance

func (_AaveStaked *AaveStakedTransactor) 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 (*AaveStakedTransactor) Initialize

func (_AaveStaked *AaveStakedTransactor) Initialize(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function initialize() returns()

func (*AaveStakedTransactor) Permit

func (_AaveStaked *AaveStakedTransactor) 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 (*AaveStakedTransactor) Redeem

func (_AaveStaked *AaveStakedTransactor) 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 (*AaveStakedTransactor) Stake

func (_AaveStaked *AaveStakedTransactor) 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 (*AaveStakedTransactor) Transfer

func (_AaveStaked *AaveStakedTransactor) 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 (*AaveStakedTransactor) TransferFrom

func (_AaveStaked *AaveStakedTransactor) 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 AaveStakedTransactorRaw

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

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

func (*AaveStakedTransactorRaw) Transact

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

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

func (*AaveStakedTransactorRaw) Transfer

func (_AaveStaked *AaveStakedTransactorRaw) 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 AaveStakedTransactorSession

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

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

func (*AaveStakedTransactorSession) Approve

func (_AaveStaked *AaveStakedTransactorSession) 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 (*AaveStakedTransactorSession) ClaimRewards

func (_AaveStaked *AaveStakedTransactorSession) 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 (*AaveStakedTransactorSession) ConfigureAssets

func (_AaveStaked *AaveStakedTransactorSession) 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 (*AaveStakedTransactorSession) Cooldown

func (_AaveStaked *AaveStakedTransactorSession) Cooldown() (*types.Transaction, error)

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

Solidity: function cooldown() returns()

func (*AaveStakedTransactorSession) DecreaseAllowance

func (_AaveStaked *AaveStakedTransactorSession) 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 (*AaveStakedTransactorSession) Delegate

func (_AaveStaked *AaveStakedTransactorSession) 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 (*AaveStakedTransactorSession) DelegateBySig

func (_AaveStaked *AaveStakedTransactorSession) 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 (*AaveStakedTransactorSession) DelegateByType

func (_AaveStaked *AaveStakedTransactorSession) 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 (*AaveStakedTransactorSession) DelegateByTypeBySig

func (_AaveStaked *AaveStakedTransactorSession) 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 (*AaveStakedTransactorSession) IncreaseAllowance

func (_AaveStaked *AaveStakedTransactorSession) 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 (*AaveStakedTransactorSession) Initialize

func (_AaveStaked *AaveStakedTransactorSession) Initialize() (*types.Transaction, error)

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

Solidity: function initialize() returns()

func (*AaveStakedTransactorSession) Permit

func (_AaveStaked *AaveStakedTransactorSession) 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 (*AaveStakedTransactorSession) Redeem

func (_AaveStaked *AaveStakedTransactorSession) 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 (*AaveStakedTransactorSession) Stake

func (_AaveStaked *AaveStakedTransactorSession) 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 (*AaveStakedTransactorSession) Transfer

func (_AaveStaked *AaveStakedTransactorSession) 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 (*AaveStakedTransactorSession) TransferFrom

func (_AaveStaked *AaveStakedTransactorSession) 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 AaveStakedTransfer

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

AaveStakedTransfer represents a Transfer event raised by the AaveStaked contract.

type AaveStakedTransferIterator

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

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

func (*AaveStakedTransferIterator) Close

func (it *AaveStakedTransferIterator) Close() error

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

func (*AaveStakedTransferIterator) Error

func (it *AaveStakedTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*AaveStakedTransferIterator) Next

func (it *AaveStakedTransferIterator) Next() bool

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 AaveStakedUserIndexUpdated

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

AaveStakedUserIndexUpdated represents a UserIndexUpdated event raised by the AaveStaked contract.

type AaveStakedUserIndexUpdatedIterator

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

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

func (*AaveStakedUserIndexUpdatedIterator) Close

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

func (*AaveStakedUserIndexUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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