abi

package
v0.0.0-...-369a1d7 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TokenStakingABI = TokenStakingMetaData.ABI

TokenStakingABI is the input ABI used to generate the binding from. Deprecated: Use TokenStakingMetaData.ABI instead.

View Source
var TokenStakingMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"contractT\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"contractIKeepTokenStaking\",\"name\":\"_keepStakingContract\",\"type\":\"address\"},{\"internalType\":\"contractINuCypherStakingEscrow\",\"name\":\"_nucypherStakingContract\",\"type\":\"address\"},{\"internalType\":\"contractVendingMachine\",\"name\":\"_keepVendingMachine\",\"type\":\"address\"},{\"internalType\":\"contractVendingMachine\",\"name\":\"_nucypherVendingMachine\",\"type\":\"address\"},{\"internalType\":\"contractKeepStake\",\"name\":\"_keepStake\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"application\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"enumTokenStaking.ApplicationStatus\",\"name\":\"newStatus\",\"type\":\"uint8\"}],\"name\":\"ApplicationStatusChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"ceiling\",\"type\":\"uint256\"}],\"name\":\"AuthorizationCeilingSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"stakingProvider\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"application\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint96\",\"name\":\"fromAmount\",\"type\":\"uint96\"},{\"indexed\":false,\"internalType\":\"uint96\",\"name\":\"toAmount\",\"type\":\"uint96\"}],\"name\":\"AuthorizationDecreaseApproved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"stakingProvider\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"application\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint96\",\"name\":\"fromAmount\",\"type\":\"uint96\"},{\"indexed\":false,\"internalType\":\"uint96\",\"name\":\"toAmount\",\"type\":\"uint96\"}],\"name\":\"AuthorizationDecreaseRequested\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"stakingProvider\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"application\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint96\",\"name\":\"fromAmount\",\"type\":\"uint96\"},{\"indexed\":false,\"internalType\":\"uint96\",\"name\":\"toAmount\",\"type\":\"uint96\"}],\"name\":\"AuthorizationIncreased\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"stakingProvider\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"application\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint96\",\"name\":\"fromAmount\",\"type\":\"uint96\"},{\"indexed\":false,\"internalType\":\"uint96\",\"name\":\"toAmount\",\"type\":\"uint96\"},{\"indexed\":true,\"internalType\":\"bool\",\"name\":\"successfulCall\",\"type\":\"bool\"}],\"name\":\"AuthorizationInvoluntaryDecreased\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"delegator\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"fromDelegate\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"toDelegate\",\"type\":\"address\"}],\"name\":\"DelegateChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"delegate\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"previousBalance\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newBalance\",\"type\":\"uint256\"}],\"name\":\"DelegateVotesChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"oldGovernance\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newGovernance\",\"type\":\"address\"}],\"name\":\"GovernanceTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint96\",\"name\":\"amount\",\"type\":\"uint96\"}],\"name\":\"MinimumStakeAmountSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint96\",\"name\":\"reward\",\"type\":\"uint96\"}],\"name\":\"NotificationRewardPushed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint96\",\"name\":\"reward\",\"type\":\"uint96\"}],\"name\":\"NotificationRewardSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint96\",\"name\":\"amount\",\"type\":\"uint96\"}],\"name\":\"NotificationRewardWithdrawn\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"notifier\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"NotifierRewarded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"stakingProvider\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"oldOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnerRefreshed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"application\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"panicButton\",\"type\":\"address\"}],\"name\":\"PanicButtonSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"count\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"tAmount\",\"type\":\"uint256\"}],\"name\":\"SlashingProcessed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint96\",\"name\":\"penalty\",\"type\":\"uint96\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"rewardMultiplier\",\"type\":\"uint256\"}],\"name\":\"StakeDiscrepancyPenaltySet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"enumIStaking.StakeType\",\"name\":\"stakeType\",\"type\":\"uint8\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"stakingProvider\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"beneficiary\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"authorizer\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint96\",\"name\":\"amount\",\"type\":\"uint96\"}],\"name\":\"Staked\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"stakingProvider\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint96\",\"name\":\"amount\",\"type\":\"uint96\"},{\"indexed\":true,\"internalType\":\"bool\",\"name\":\"discrepancy\",\"type\":\"bool\"}],\"name\":\"TokensSeized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"stakingProvider\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint96\",\"name\":\"amount\",\"type\":\"uint96\"}],\"name\":\"ToppedUp\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"stakingProvider\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint96\",\"name\":\"amount\",\"type\":\"uint96\"}],\"name\":\"Unstaked\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"applicationInfo\",\"outputs\":[{\"internalType\":\"enumTokenStaking.ApplicationStatus\",\"name\":\"status\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"panicButton\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"applications\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"application\",\"type\":\"address\"}],\"name\":\"approveApplication\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"stakingProvider\",\"type\":\"address\"}],\"name\":\"approveAuthorizationDecrease\",\"outputs\":[{\"internalType\":\"uint96\",\"name\":\"\",\"type\":\"uint96\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"authorizationCeiling\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"stakingProvider\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"application\",\"type\":\"address\"}],\"name\":\"authorizedStake\",\"outputs\":[{\"internalType\":\"uint96\",\"name\":\"\",\"type\":\"uint96\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint32\",\"name\":\"pos\",\"type\":\"uint32\"}],\"name\":\"checkpoints\",\"outputs\":[{\"components\":[{\"internalType\":\"uint32\",\"name\":\"fromBlock\",\"type\":\"uint32\"},{\"internalType\":\"uint96\",\"name\":\"votes\",\"type\":\"uint96\"}],\"internalType\":\"structCheckpoints.Checkpoint\",\"name\":\"checkpoint\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"stakingProvider\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"delegatee\",\"type\":\"address\"}],\"name\":\"delegateVoting\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"delegates\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"application\",\"type\":\"address\"}],\"name\":\"disableApplication\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"stakingProvider\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"application\",\"type\":\"address\"}],\"name\":\"forceDecreaseAuthorization\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getApplicationsLength\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"stakingProvider\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"application\",\"type\":\"address\"}],\"name\":\"getAvailableToAuthorize\",\"outputs\":[{\"internalType\":\"uint96\",\"name\":\"availableTValue\",\"type\":\"uint96\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"stakingProvider\",\"type\":\"address\"},{\"internalType\":\"enumIStaking.StakeType\",\"name\":\"stakeTypes\",\"type\":\"uint8\"}],\"name\":\"getMinStaked\",\"outputs\":[{\"internalType\":\"uint96\",\"name\":\"\",\"type\":\"uint96\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"blockNumber\",\"type\":\"uint256\"}],\"name\":\"getPastTotalSupply\",\"outputs\":[{\"internalType\":\"uint96\",\"name\":\"\",\"type\":\"uint96\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"blockNumber\",\"type\":\"uint256\"}],\"name\":\"getPastVotes\",\"outputs\":[{\"internalType\":\"uint96\",\"name\":\"\",\"type\":\"uint96\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getSlashingQueueLength\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"stakingProvider\",\"type\":\"address\"}],\"name\":\"getStartStakingTimestamp\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"getVotes\",\"outputs\":[{\"internalType\":\"uint96\",\"name\":\"\",\"type\":\"uint96\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"governance\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"stakingProvider\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"application\",\"type\":\"address\"},{\"internalType\":\"uint96\",\"name\":\"amount\",\"type\":\"uint96\"}],\"name\":\"increaseAuthorization\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"minTStakeAmount\",\"outputs\":[{\"internalType\":\"uint96\",\"name\":\"\",\"type\":\"uint96\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"notificationReward\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"notifiersTreasury\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"stakingProvider\",\"type\":\"address\"}],\"name\":\"notifyKeepStakeDiscrepancy\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"stakingProvider\",\"type\":\"address\"}],\"name\":\"notifyNuStakeDiscrepancy\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"numCheckpoints\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"application\",\"type\":\"address\"}],\"name\":\"pauseApplication\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"count\",\"type\":\"uint256\"}],\"name\":\"processSlashing\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint96\",\"name\":\"reward\",\"type\":\"uint96\"}],\"name\":\"pushNotificationReward\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"stakingProvider\",\"type\":\"address\"}],\"name\":\"refreshKeepStakeOwner\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"stakingProvider\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"application\",\"type\":\"address\"},{\"internalType\":\"uint96\",\"name\":\"amount\",\"type\":\"uint96\"}],\"name\":\"requestAuthorizationDecrease\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"stakingProvider\",\"type\":\"address\"}],\"name\":\"requestAuthorizationDecrease\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"stakingProvider\",\"type\":\"address\"}],\"name\":\"rolesOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"addresspayable\",\"name\":\"beneficiary\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"authorizer\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint96\",\"name\":\"amount\",\"type\":\"uint96\"},{\"internalType\":\"uint256\",\"name\":\"rewardMultiplier\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"notifier\",\"type\":\"address\"},{\"internalType\":\"address[]\",\"name\":\"_stakingProviders\",\"type\":\"address[]\"}],\"name\":\"seize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"ceiling\",\"type\":\"uint256\"}],\"name\":\"setAuthorizationCeiling\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint96\",\"name\":\"amount\",\"type\":\"uint96\"}],\"name\":\"setMinimumStakeAmount\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint96\",\"name\":\"reward\",\"type\":\"uint96\"}],\"name\":\"setNotificationReward\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"application\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"panicButton\",\"type\":\"address\"}],\"name\":\"setPanicButton\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint96\",\"name\":\"penalty\",\"type\":\"uint96\"},{\"internalType\":\"uint256\",\"name\":\"rewardMultiplier\",\"type\":\"uint256\"}],\"name\":\"setStakeDiscrepancyPenalty\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint96\",\"name\":\"amount\",\"type\":\"uint96\"},{\"internalType\":\"address[]\",\"name\":\"_stakingProviders\",\"type\":\"address[]\"}],\"name\":\"slash\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"slashingQueue\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"stakingProvider\",\"type\":\"address\"},{\"internalType\":\"uint96\",\"name\":\"amount\",\"type\":\"uint96\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"slashingQueueIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"stakingProvider\",\"type\":\"address\"},{\"internalType\":\"addresspayable\",\"name\":\"beneficiary\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"authorizer\",\"type\":\"address\"},{\"internalType\":\"uint96\",\"name\":\"amount\",\"type\":\"uint96\"}],\"name\":\"stake\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"stakeDiscrepancyPenalty\",\"outputs\":[{\"internalType\":\"uint96\",\"name\":\"\",\"type\":\"uint96\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"stakeDiscrepancyRewardMultiplier\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"stakingProvider\",\"type\":\"address\"}],\"name\":\"stakeKeep\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"stakingProvider\",\"type\":\"address\"},{\"internalType\":\"addresspayable\",\"name\":\"beneficiary\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"authorizer\",\"type\":\"address\"}],\"name\":\"stakeNu\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"stakingProvider\",\"type\":\"address\"}],\"name\":\"stakedNu\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"nuAmount\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"stakingProvider\",\"type\":\"address\"}],\"name\":\"stakes\",\"outputs\":[{\"internalType\":\"uint96\",\"name\":\"tStake\",\"type\":\"uint96\"},{\"internalType\":\"uint96\",\"name\":\"keepInTStake\",\"type\":\"uint96\"},{\"internalType\":\"uint96\",\"name\":\"nuInTStake\",\"type\":\"uint96\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"stakingProvider\",\"type\":\"address\"},{\"internalType\":\"uint96\",\"name\":\"amount\",\"type\":\"uint96\"}],\"name\":\"topUp\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"stakingProvider\",\"type\":\"address\"}],\"name\":\"topUpKeep\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"stakingProvider\",\"type\":\"address\"}],\"name\":\"topUpNu\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newGuvnor\",\"type\":\"address\"}],\"name\":\"transferGovernance\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"stakingProvider\",\"type\":\"address\"}],\"name\":\"unstakeAll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"stakingProvider\",\"type\":\"address\"}],\"name\":\"unstakeKeep\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"stakingProvider\",\"type\":\"address\"},{\"internalType\":\"uint96\",\"name\":\"amount\",\"type\":\"uint96\"}],\"name\":\"unstakeNu\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"stakingProvider\",\"type\":\"address\"},{\"internalType\":\"uint96\",\"name\":\"amount\",\"type\":\"uint96\"}],\"name\":\"unstakeT\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint96\",\"name\":\"amount\",\"type\":\"uint96\"}],\"name\":\"withdrawNotificationReward\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

TokenStakingMetaData contains all meta data concerning the TokenStaking contract.

Functions

This section is empty.

Types

type CheckpointsCheckpoint

type CheckpointsCheckpoint struct {
	FromBlock uint32
	Votes     *big.Int
}

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

type TokenStaking

type TokenStaking struct {
	TokenStakingCaller     // Read-only binding to the contract
	TokenStakingTransactor // Write-only binding to the contract
	TokenStakingFilterer   // Log filterer for contract events
}

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

func NewTokenStaking

func NewTokenStaking(address common.Address, backend bind.ContractBackend) (*TokenStaking, error)

NewTokenStaking creates a new instance of TokenStaking, bound to a specific deployed contract.

type TokenStakingApplicationStatusChanged

type TokenStakingApplicationStatusChanged struct {
	Application common.Address
	NewStatus   uint8
	Raw         types.Log // Blockchain specific contextual infos
}

TokenStakingApplicationStatusChanged represents a ApplicationStatusChanged event raised by the TokenStaking contract.

type TokenStakingApplicationStatusChangedIterator

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

TokenStakingApplicationStatusChangedIterator is returned from FilterApplicationStatusChanged and is used to iterate over the raw logs and unpacked data for ApplicationStatusChanged events raised by the TokenStaking contract.

func (*TokenStakingApplicationStatusChangedIterator) Close

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

func (*TokenStakingApplicationStatusChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

type TokenStakingAuthorizationCeilingSet struct {
	Ceiling *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

TokenStakingAuthorizationCeilingSet represents a AuthorizationCeilingSet event raised by the TokenStaking contract.

type TokenStakingAuthorizationCeilingSetIterator

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

TokenStakingAuthorizationCeilingSetIterator is returned from FilterAuthorizationCeilingSet and is used to iterate over the raw logs and unpacked data for AuthorizationCeilingSet events raised by the TokenStaking contract.

func (*TokenStakingAuthorizationCeilingSetIterator) Close

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

func (*TokenStakingAuthorizationCeilingSetIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

type TokenStakingAuthorizationDecreaseApproved struct {
	StakingProvider common.Address
	Application     common.Address
	FromAmount      *big.Int
	ToAmount        *big.Int
	Raw             types.Log // Blockchain specific contextual infos
}

TokenStakingAuthorizationDecreaseApproved represents a AuthorizationDecreaseApproved event raised by the TokenStaking contract.

type TokenStakingAuthorizationDecreaseApprovedIterator

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

TokenStakingAuthorizationDecreaseApprovedIterator is returned from FilterAuthorizationDecreaseApproved and is used to iterate over the raw logs and unpacked data for AuthorizationDecreaseApproved events raised by the TokenStaking contract.

func (*TokenStakingAuthorizationDecreaseApprovedIterator) Close

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

func (*TokenStakingAuthorizationDecreaseApprovedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

type TokenStakingAuthorizationDecreaseRequested struct {
	StakingProvider common.Address
	Application     common.Address
	FromAmount      *big.Int
	ToAmount        *big.Int
	Raw             types.Log // Blockchain specific contextual infos
}

TokenStakingAuthorizationDecreaseRequested represents a AuthorizationDecreaseRequested event raised by the TokenStaking contract.

type TokenStakingAuthorizationDecreaseRequestedIterator

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

TokenStakingAuthorizationDecreaseRequestedIterator is returned from FilterAuthorizationDecreaseRequested and is used to iterate over the raw logs and unpacked data for AuthorizationDecreaseRequested events raised by the TokenStaking contract.

func (*TokenStakingAuthorizationDecreaseRequestedIterator) Close

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

func (*TokenStakingAuthorizationDecreaseRequestedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

type TokenStakingAuthorizationIncreased struct {
	StakingProvider common.Address
	Application     common.Address
	FromAmount      *big.Int
	ToAmount        *big.Int
	Raw             types.Log // Blockchain specific contextual infos
}

TokenStakingAuthorizationIncreased represents a AuthorizationIncreased event raised by the TokenStaking contract.

type TokenStakingAuthorizationIncreasedIterator

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

TokenStakingAuthorizationIncreasedIterator is returned from FilterAuthorizationIncreased and is used to iterate over the raw logs and unpacked data for AuthorizationIncreased events raised by the TokenStaking contract.

func (*TokenStakingAuthorizationIncreasedIterator) Close

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

func (*TokenStakingAuthorizationIncreasedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

type TokenStakingAuthorizationInvoluntaryDecreased struct {
	StakingProvider common.Address
	Application     common.Address
	FromAmount      *big.Int
	ToAmount        *big.Int
	SuccessfulCall  bool
	Raw             types.Log // Blockchain specific contextual infos
}

TokenStakingAuthorizationInvoluntaryDecreased represents a AuthorizationInvoluntaryDecreased event raised by the TokenStaking contract.

type TokenStakingAuthorizationInvoluntaryDecreasedIterator

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

TokenStakingAuthorizationInvoluntaryDecreasedIterator is returned from FilterAuthorizationInvoluntaryDecreased and is used to iterate over the raw logs and unpacked data for AuthorizationInvoluntaryDecreased events raised by the TokenStaking contract.

func (*TokenStakingAuthorizationInvoluntaryDecreasedIterator) Close

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

func (*TokenStakingAuthorizationInvoluntaryDecreasedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

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

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

func NewTokenStakingCaller

func NewTokenStakingCaller(address common.Address, caller bind.ContractCaller) (*TokenStakingCaller, error)

NewTokenStakingCaller creates a new read-only instance of TokenStaking, bound to a specific deployed contract.

func (*TokenStakingCaller) ApplicationInfo

func (_TokenStaking *TokenStakingCaller) ApplicationInfo(opts *bind.CallOpts, arg0 common.Address) (struct {
	Status      uint8
	PanicButton common.Address
}, error)

ApplicationInfo is a free data retrieval call binding the contract method 0x067e6bb1.

Solidity: function applicationInfo(address ) view returns(uint8 status, address panicButton)

func (*TokenStakingCaller) Applications

func (_TokenStaking *TokenStakingCaller) Applications(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)

Applications is a free data retrieval call binding the contract method 0xdfefadff.

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

func (*TokenStakingCaller) AuthorizationCeiling

func (_TokenStaking *TokenStakingCaller) AuthorizationCeiling(opts *bind.CallOpts) (*big.Int, error)

AuthorizationCeiling is a free data retrieval call binding the contract method 0x2cd62915.

Solidity: function authorizationCeiling() view returns(uint256)

func (*TokenStakingCaller) AuthorizedStake

func (_TokenStaking *TokenStakingCaller) AuthorizedStake(opts *bind.CallOpts, stakingProvider common.Address, application common.Address) (*big.Int, error)

AuthorizedStake is a free data retrieval call binding the contract method 0xe009245a.

Solidity: function authorizedStake(address stakingProvider, address application) view returns(uint96)

func (*TokenStakingCaller) Checkpoints

func (_TokenStaking *TokenStakingCaller) Checkpoints(opts *bind.CallOpts, account common.Address, pos uint32) (CheckpointsCheckpoint, error)

Checkpoints is a free data retrieval call binding the contract method 0xf1127ed8.

Solidity: function checkpoints(address account, uint32 pos) view returns((uint32,uint96) checkpoint)

func (*TokenStakingCaller) Delegates

func (_TokenStaking *TokenStakingCaller) Delegates(opts *bind.CallOpts, account common.Address) (common.Address, error)

Delegates is a free data retrieval call binding the contract method 0x587cde1e.

Solidity: function delegates(address account) view returns(address)

func (*TokenStakingCaller) GetApplicationsLength

func (_TokenStaking *TokenStakingCaller) GetApplicationsLength(opts *bind.CallOpts) (*big.Int, error)

GetApplicationsLength is a free data retrieval call binding the contract method 0xad30e4cd.

Solidity: function getApplicationsLength() view returns(uint256)

func (*TokenStakingCaller) GetAvailableToAuthorize

func (_TokenStaking *TokenStakingCaller) GetAvailableToAuthorize(opts *bind.CallOpts, stakingProvider common.Address, application common.Address) (*big.Int, error)

GetAvailableToAuthorize is a free data retrieval call binding the contract method 0x8b7adc09.

Solidity: function getAvailableToAuthorize(address stakingProvider, address application) view returns(uint96 availableTValue)

func (*TokenStakingCaller) GetMinStaked

func (_TokenStaking *TokenStakingCaller) GetMinStaked(opts *bind.CallOpts, stakingProvider common.Address, stakeTypes uint8) (*big.Int, error)

GetMinStaked is a free data retrieval call binding the contract method 0x6da91d8b.

Solidity: function getMinStaked(address stakingProvider, uint8 stakeTypes) view returns(uint96)

func (*TokenStakingCaller) GetPastTotalSupply

func (_TokenStaking *TokenStakingCaller) GetPastTotalSupply(opts *bind.CallOpts, blockNumber *big.Int) (*big.Int, error)

GetPastTotalSupply is a free data retrieval call binding the contract method 0x8e539e8c.

Solidity: function getPastTotalSupply(uint256 blockNumber) view returns(uint96)

func (*TokenStakingCaller) GetPastVotes

func (_TokenStaking *TokenStakingCaller) GetPastVotes(opts *bind.CallOpts, account common.Address, blockNumber *big.Int) (*big.Int, error)

GetPastVotes is a free data retrieval call binding the contract method 0x3a46b1a8.

Solidity: function getPastVotes(address account, uint256 blockNumber) view returns(uint96)

func (*TokenStakingCaller) GetSlashingQueueLength

func (_TokenStaking *TokenStakingCaller) GetSlashingQueueLength(opts *bind.CallOpts) (*big.Int, error)

GetSlashingQueueLength is a free data retrieval call binding the contract method 0xffd2f984.

Solidity: function getSlashingQueueLength() view returns(uint256)

func (*TokenStakingCaller) GetStartStakingTimestamp

func (_TokenStaking *TokenStakingCaller) GetStartStakingTimestamp(opts *bind.CallOpts, stakingProvider common.Address) (*big.Int, error)

GetStartStakingTimestamp is a free data retrieval call binding the contract method 0xf6e0faeb.

Solidity: function getStartStakingTimestamp(address stakingProvider) view returns(uint256)

func (*TokenStakingCaller) GetVotes

func (_TokenStaking *TokenStakingCaller) GetVotes(opts *bind.CallOpts, account common.Address) (*big.Int, error)

GetVotes is a free data retrieval call binding the contract method 0x9ab24eb0.

Solidity: function getVotes(address account) view returns(uint96)

func (*TokenStakingCaller) Governance

func (_TokenStaking *TokenStakingCaller) Governance(opts *bind.CallOpts) (common.Address, error)

Governance is a free data retrieval call binding the contract method 0x5aa6e675.

Solidity: function governance() view returns(address)

func (*TokenStakingCaller) MinTStakeAmount

func (_TokenStaking *TokenStakingCaller) MinTStakeAmount(opts *bind.CallOpts) (*big.Int, error)

MinTStakeAmount is a free data retrieval call binding the contract method 0x32719e06.

Solidity: function minTStakeAmount() view returns(uint96)

func (*TokenStakingCaller) NotificationReward

func (_TokenStaking *TokenStakingCaller) NotificationReward(opts *bind.CallOpts) (*big.Int, error)

NotificationReward is a free data retrieval call binding the contract method 0x7368dba2.

Solidity: function notificationReward() view returns(uint256)

func (*TokenStakingCaller) NotifiersTreasury

func (_TokenStaking *TokenStakingCaller) NotifiersTreasury(opts *bind.CallOpts) (*big.Int, error)

NotifiersTreasury is a free data retrieval call binding the contract method 0x793c1365.

Solidity: function notifiersTreasury() view returns(uint256)

func (*TokenStakingCaller) NumCheckpoints

func (_TokenStaking *TokenStakingCaller) NumCheckpoints(opts *bind.CallOpts, account common.Address) (uint32, error)

NumCheckpoints is a free data retrieval call binding the contract method 0x6fcfff45.

Solidity: function numCheckpoints(address account) view returns(uint32)

func (*TokenStakingCaller) RolesOf

func (_TokenStaking *TokenStakingCaller) RolesOf(opts *bind.CallOpts, stakingProvider common.Address) (struct {
	Owner       common.Address
	Beneficiary common.Address
	Authorizer  common.Address
}, error)

RolesOf is a free data retrieval call binding the contract method 0x2de94807.

Solidity: function rolesOf(address stakingProvider) view returns(address owner, address beneficiary, address authorizer)

func (*TokenStakingCaller) SlashingQueue

func (_TokenStaking *TokenStakingCaller) SlashingQueue(opts *bind.CallOpts, arg0 *big.Int) (struct {
	StakingProvider common.Address
	Amount          *big.Int
}, error)

SlashingQueue is a free data retrieval call binding the contract method 0xf1f6c315.

Solidity: function slashingQueue(uint256 ) view returns(address stakingProvider, uint96 amount)

func (*TokenStakingCaller) SlashingQueueIndex

func (_TokenStaking *TokenStakingCaller) SlashingQueueIndex(opts *bind.CallOpts) (*big.Int, error)

SlashingQueueIndex is a free data retrieval call binding the contract method 0xa7bb8ba8.

Solidity: function slashingQueueIndex() view returns(uint256)

func (*TokenStakingCaller) StakeDiscrepancyPenalty

func (_TokenStaking *TokenStakingCaller) StakeDiscrepancyPenalty(opts *bind.CallOpts) (*big.Int, error)

StakeDiscrepancyPenalty is a free data retrieval call binding the contract method 0xeaa86492.

Solidity: function stakeDiscrepancyPenalty() view returns(uint96)

func (*TokenStakingCaller) StakeDiscrepancyRewardMultiplier

func (_TokenStaking *TokenStakingCaller) StakeDiscrepancyRewardMultiplier(opts *bind.CallOpts) (*big.Int, error)

StakeDiscrepancyRewardMultiplier is a free data retrieval call binding the contract method 0x44e97423.

Solidity: function stakeDiscrepancyRewardMultiplier() view returns(uint256)

func (*TokenStakingCaller) StakedNu

func (_TokenStaking *TokenStakingCaller) StakedNu(opts *bind.CallOpts, stakingProvider common.Address) (*big.Int, error)

StakedNu is a free data retrieval call binding the contract method 0x4a11fae3.

Solidity: function stakedNu(address stakingProvider) view returns(uint256 nuAmount)

func (*TokenStakingCaller) Stakes

func (_TokenStaking *TokenStakingCaller) Stakes(opts *bind.CallOpts, stakingProvider common.Address) (struct {
	TStake       *big.Int
	KeepInTStake *big.Int
	NuInTStake   *big.Int
}, error)

Stakes is a free data retrieval call binding the contract method 0x16934fc4.

Solidity: function stakes(address stakingProvider) view returns(uint96 tStake, uint96 keepInTStake, uint96 nuInTStake)

type TokenStakingCallerRaw

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

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

func (*TokenStakingCallerRaw) Call

func (_TokenStaking *TokenStakingCallerRaw) 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 TokenStakingCallerSession

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

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

func (*TokenStakingCallerSession) ApplicationInfo

func (_TokenStaking *TokenStakingCallerSession) ApplicationInfo(arg0 common.Address) (struct {
	Status      uint8
	PanicButton common.Address
}, error)

ApplicationInfo is a free data retrieval call binding the contract method 0x067e6bb1.

Solidity: function applicationInfo(address ) view returns(uint8 status, address panicButton)

func (*TokenStakingCallerSession) Applications

func (_TokenStaking *TokenStakingCallerSession) Applications(arg0 *big.Int) (common.Address, error)

Applications is a free data retrieval call binding the contract method 0xdfefadff.

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

func (*TokenStakingCallerSession) AuthorizationCeiling

func (_TokenStaking *TokenStakingCallerSession) AuthorizationCeiling() (*big.Int, error)

AuthorizationCeiling is a free data retrieval call binding the contract method 0x2cd62915.

Solidity: function authorizationCeiling() view returns(uint256)

func (*TokenStakingCallerSession) AuthorizedStake

func (_TokenStaking *TokenStakingCallerSession) AuthorizedStake(stakingProvider common.Address, application common.Address) (*big.Int, error)

AuthorizedStake is a free data retrieval call binding the contract method 0xe009245a.

Solidity: function authorizedStake(address stakingProvider, address application) view returns(uint96)

func (*TokenStakingCallerSession) Checkpoints

func (_TokenStaking *TokenStakingCallerSession) Checkpoints(account common.Address, pos uint32) (CheckpointsCheckpoint, error)

Checkpoints is a free data retrieval call binding the contract method 0xf1127ed8.

Solidity: function checkpoints(address account, uint32 pos) view returns((uint32,uint96) checkpoint)

func (*TokenStakingCallerSession) Delegates

func (_TokenStaking *TokenStakingCallerSession) Delegates(account common.Address) (common.Address, error)

Delegates is a free data retrieval call binding the contract method 0x587cde1e.

Solidity: function delegates(address account) view returns(address)

func (*TokenStakingCallerSession) GetApplicationsLength

func (_TokenStaking *TokenStakingCallerSession) GetApplicationsLength() (*big.Int, error)

GetApplicationsLength is a free data retrieval call binding the contract method 0xad30e4cd.

Solidity: function getApplicationsLength() view returns(uint256)

func (*TokenStakingCallerSession) GetAvailableToAuthorize

func (_TokenStaking *TokenStakingCallerSession) GetAvailableToAuthorize(stakingProvider common.Address, application common.Address) (*big.Int, error)

GetAvailableToAuthorize is a free data retrieval call binding the contract method 0x8b7adc09.

Solidity: function getAvailableToAuthorize(address stakingProvider, address application) view returns(uint96 availableTValue)

func (*TokenStakingCallerSession) GetMinStaked

func (_TokenStaking *TokenStakingCallerSession) GetMinStaked(stakingProvider common.Address, stakeTypes uint8) (*big.Int, error)

GetMinStaked is a free data retrieval call binding the contract method 0x6da91d8b.

Solidity: function getMinStaked(address stakingProvider, uint8 stakeTypes) view returns(uint96)

func (*TokenStakingCallerSession) GetPastTotalSupply

func (_TokenStaking *TokenStakingCallerSession) GetPastTotalSupply(blockNumber *big.Int) (*big.Int, error)

GetPastTotalSupply is a free data retrieval call binding the contract method 0x8e539e8c.

Solidity: function getPastTotalSupply(uint256 blockNumber) view returns(uint96)

func (*TokenStakingCallerSession) GetPastVotes

func (_TokenStaking *TokenStakingCallerSession) GetPastVotes(account common.Address, blockNumber *big.Int) (*big.Int, error)

GetPastVotes is a free data retrieval call binding the contract method 0x3a46b1a8.

Solidity: function getPastVotes(address account, uint256 blockNumber) view returns(uint96)

func (*TokenStakingCallerSession) GetSlashingQueueLength

func (_TokenStaking *TokenStakingCallerSession) GetSlashingQueueLength() (*big.Int, error)

GetSlashingQueueLength is a free data retrieval call binding the contract method 0xffd2f984.

Solidity: function getSlashingQueueLength() view returns(uint256)

func (*TokenStakingCallerSession) GetStartStakingTimestamp

func (_TokenStaking *TokenStakingCallerSession) GetStartStakingTimestamp(stakingProvider common.Address) (*big.Int, error)

GetStartStakingTimestamp is a free data retrieval call binding the contract method 0xf6e0faeb.

Solidity: function getStartStakingTimestamp(address stakingProvider) view returns(uint256)

func (*TokenStakingCallerSession) GetVotes

func (_TokenStaking *TokenStakingCallerSession) GetVotes(account common.Address) (*big.Int, error)

GetVotes is a free data retrieval call binding the contract method 0x9ab24eb0.

Solidity: function getVotes(address account) view returns(uint96)

func (*TokenStakingCallerSession) Governance

func (_TokenStaking *TokenStakingCallerSession) Governance() (common.Address, error)

Governance is a free data retrieval call binding the contract method 0x5aa6e675.

Solidity: function governance() view returns(address)

func (*TokenStakingCallerSession) MinTStakeAmount

func (_TokenStaking *TokenStakingCallerSession) MinTStakeAmount() (*big.Int, error)

MinTStakeAmount is a free data retrieval call binding the contract method 0x32719e06.

Solidity: function minTStakeAmount() view returns(uint96)

func (*TokenStakingCallerSession) NotificationReward

func (_TokenStaking *TokenStakingCallerSession) NotificationReward() (*big.Int, error)

NotificationReward is a free data retrieval call binding the contract method 0x7368dba2.

Solidity: function notificationReward() view returns(uint256)

func (*TokenStakingCallerSession) NotifiersTreasury

func (_TokenStaking *TokenStakingCallerSession) NotifiersTreasury() (*big.Int, error)

NotifiersTreasury is a free data retrieval call binding the contract method 0x793c1365.

Solidity: function notifiersTreasury() view returns(uint256)

func (*TokenStakingCallerSession) NumCheckpoints

func (_TokenStaking *TokenStakingCallerSession) NumCheckpoints(account common.Address) (uint32, error)

NumCheckpoints is a free data retrieval call binding the contract method 0x6fcfff45.

Solidity: function numCheckpoints(address account) view returns(uint32)

func (*TokenStakingCallerSession) RolesOf

func (_TokenStaking *TokenStakingCallerSession) RolesOf(stakingProvider common.Address) (struct {
	Owner       common.Address
	Beneficiary common.Address
	Authorizer  common.Address
}, error)

RolesOf is a free data retrieval call binding the contract method 0x2de94807.

Solidity: function rolesOf(address stakingProvider) view returns(address owner, address beneficiary, address authorizer)

func (*TokenStakingCallerSession) SlashingQueue

func (_TokenStaking *TokenStakingCallerSession) SlashingQueue(arg0 *big.Int) (struct {
	StakingProvider common.Address
	Amount          *big.Int
}, error)

SlashingQueue is a free data retrieval call binding the contract method 0xf1f6c315.

Solidity: function slashingQueue(uint256 ) view returns(address stakingProvider, uint96 amount)

func (*TokenStakingCallerSession) SlashingQueueIndex

func (_TokenStaking *TokenStakingCallerSession) SlashingQueueIndex() (*big.Int, error)

SlashingQueueIndex is a free data retrieval call binding the contract method 0xa7bb8ba8.

Solidity: function slashingQueueIndex() view returns(uint256)

func (*TokenStakingCallerSession) StakeDiscrepancyPenalty

func (_TokenStaking *TokenStakingCallerSession) StakeDiscrepancyPenalty() (*big.Int, error)

StakeDiscrepancyPenalty is a free data retrieval call binding the contract method 0xeaa86492.

Solidity: function stakeDiscrepancyPenalty() view returns(uint96)

func (*TokenStakingCallerSession) StakeDiscrepancyRewardMultiplier

func (_TokenStaking *TokenStakingCallerSession) StakeDiscrepancyRewardMultiplier() (*big.Int, error)

StakeDiscrepancyRewardMultiplier is a free data retrieval call binding the contract method 0x44e97423.

Solidity: function stakeDiscrepancyRewardMultiplier() view returns(uint256)

func (*TokenStakingCallerSession) StakedNu

func (_TokenStaking *TokenStakingCallerSession) StakedNu(stakingProvider common.Address) (*big.Int, error)

StakedNu is a free data retrieval call binding the contract method 0x4a11fae3.

Solidity: function stakedNu(address stakingProvider) view returns(uint256 nuAmount)

func (*TokenStakingCallerSession) Stakes

func (_TokenStaking *TokenStakingCallerSession) Stakes(stakingProvider common.Address) (struct {
	TStake       *big.Int
	KeepInTStake *big.Int
	NuInTStake   *big.Int
}, error)

Stakes is a free data retrieval call binding the contract method 0x16934fc4.

Solidity: function stakes(address stakingProvider) view returns(uint96 tStake, uint96 keepInTStake, uint96 nuInTStake)

type TokenStakingDelegateChanged

type TokenStakingDelegateChanged struct {
	Delegator    common.Address
	FromDelegate common.Address
	ToDelegate   common.Address
	Raw          types.Log // Blockchain specific contextual infos
}

TokenStakingDelegateChanged represents a DelegateChanged event raised by the TokenStaking contract.

type TokenStakingDelegateChangedIterator

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

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

func (*TokenStakingDelegateChangedIterator) Close

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

func (*TokenStakingDelegateChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

type TokenStakingDelegateVotesChanged struct {
	Delegate        common.Address
	PreviousBalance *big.Int
	NewBalance      *big.Int
	Raw             types.Log // Blockchain specific contextual infos
}

TokenStakingDelegateVotesChanged represents a DelegateVotesChanged event raised by the TokenStaking contract.

type TokenStakingDelegateVotesChangedIterator

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

TokenStakingDelegateVotesChangedIterator is returned from FilterDelegateVotesChanged and is used to iterate over the raw logs and unpacked data for DelegateVotesChanged events raised by the TokenStaking contract.

func (*TokenStakingDelegateVotesChangedIterator) Close

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

func (*TokenStakingDelegateVotesChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

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

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

func NewTokenStakingFilterer

func NewTokenStakingFilterer(address common.Address, filterer bind.ContractFilterer) (*TokenStakingFilterer, error)

NewTokenStakingFilterer creates a new log filterer instance of TokenStaking, bound to a specific deployed contract.

func (*TokenStakingFilterer) FilterApplicationStatusChanged

func (_TokenStaking *TokenStakingFilterer) FilterApplicationStatusChanged(opts *bind.FilterOpts, application []common.Address, newStatus []uint8) (*TokenStakingApplicationStatusChangedIterator, error)

FilterApplicationStatusChanged is a free log retrieval operation binding the contract event 0x96a3c8e9780312d2e82e746b65a21aaca458dd91c375fea6066416ef241e87cb.

Solidity: event ApplicationStatusChanged(address indexed application, uint8 indexed newStatus)

func (*TokenStakingFilterer) FilterAuthorizationCeilingSet

func (_TokenStaking *TokenStakingFilterer) FilterAuthorizationCeilingSet(opts *bind.FilterOpts) (*TokenStakingAuthorizationCeilingSetIterator, error)

FilterAuthorizationCeilingSet is a free log retrieval operation binding the contract event 0xf82f602e8097a5c312216f60ca94cd1ff03aac29893f9adef7ed7e6ae33c76e2.

Solidity: event AuthorizationCeilingSet(uint256 ceiling)

func (*TokenStakingFilterer) FilterAuthorizationDecreaseApproved

func (_TokenStaking *TokenStakingFilterer) FilterAuthorizationDecreaseApproved(opts *bind.FilterOpts, stakingProvider []common.Address, application []common.Address) (*TokenStakingAuthorizationDecreaseApprovedIterator, error)

FilterAuthorizationDecreaseApproved is a free log retrieval operation binding the contract event 0xdfabb38007f28b342b8f536c8c832f746c2a53627133be65453ac0b98968f40e.

Solidity: event AuthorizationDecreaseApproved(address indexed stakingProvider, address indexed application, uint96 fromAmount, uint96 toAmount)

func (*TokenStakingFilterer) FilterAuthorizationDecreaseRequested

func (_TokenStaking *TokenStakingFilterer) FilterAuthorizationDecreaseRequested(opts *bind.FilterOpts, stakingProvider []common.Address, application []common.Address) (*TokenStakingAuthorizationDecreaseRequestedIterator, error)

FilterAuthorizationDecreaseRequested is a free log retrieval operation binding the contract event 0x132e76775c4e3b4b2c36fe4acc18d539b6c34b984ac6ba494a5996c48d8a0174.

Solidity: event AuthorizationDecreaseRequested(address indexed stakingProvider, address indexed application, uint96 fromAmount, uint96 toAmount)

func (*TokenStakingFilterer) FilterAuthorizationIncreased

func (_TokenStaking *TokenStakingFilterer) FilterAuthorizationIncreased(opts *bind.FilterOpts, stakingProvider []common.Address, application []common.Address) (*TokenStakingAuthorizationIncreasedIterator, error)

FilterAuthorizationIncreased is a free log retrieval operation binding the contract event 0x87f9f9f59204f53d57a89a817c6083a17979cd0531791c91e18551a56e3cfdd7.

Solidity: event AuthorizationIncreased(address indexed stakingProvider, address indexed application, uint96 fromAmount, uint96 toAmount)

func (*TokenStakingFilterer) FilterAuthorizationInvoluntaryDecreased

func (_TokenStaking *TokenStakingFilterer) FilterAuthorizationInvoluntaryDecreased(opts *bind.FilterOpts, stakingProvider []common.Address, application []common.Address, successfulCall []bool) (*TokenStakingAuthorizationInvoluntaryDecreasedIterator, error)

FilterAuthorizationInvoluntaryDecreased is a free log retrieval operation binding the contract event 0x0f0171fffaa54732b1f79a3164b315658061a1a51bf8c1010fbed908a8e333f9.

Solidity: event AuthorizationInvoluntaryDecreased(address indexed stakingProvider, address indexed application, uint96 fromAmount, uint96 toAmount, bool indexed successfulCall)

func (*TokenStakingFilterer) FilterDelegateChanged

func (_TokenStaking *TokenStakingFilterer) FilterDelegateChanged(opts *bind.FilterOpts, delegator []common.Address, fromDelegate []common.Address, toDelegate []common.Address) (*TokenStakingDelegateChangedIterator, error)

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

Solidity: event DelegateChanged(address indexed delegator, address indexed fromDelegate, address indexed toDelegate)

func (*TokenStakingFilterer) FilterDelegateVotesChanged

func (_TokenStaking *TokenStakingFilterer) FilterDelegateVotesChanged(opts *bind.FilterOpts, delegate []common.Address) (*TokenStakingDelegateVotesChangedIterator, error)

FilterDelegateVotesChanged is a free log retrieval operation binding the contract event 0xdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724.

Solidity: event DelegateVotesChanged(address indexed delegate, uint256 previousBalance, uint256 newBalance)

func (*TokenStakingFilterer) FilterGovernanceTransferred

func (_TokenStaking *TokenStakingFilterer) FilterGovernanceTransferred(opts *bind.FilterOpts) (*TokenStakingGovernanceTransferredIterator, error)

FilterGovernanceTransferred is a free log retrieval operation binding the contract event 0x5f56bee8cffbe9a78652a74a60705edede02af10b0bbb888ca44b79a0d42ce80.

Solidity: event GovernanceTransferred(address oldGovernance, address newGovernance)

func (*TokenStakingFilterer) FilterMinimumStakeAmountSet

func (_TokenStaking *TokenStakingFilterer) FilterMinimumStakeAmountSet(opts *bind.FilterOpts) (*TokenStakingMinimumStakeAmountSetIterator, error)

FilterMinimumStakeAmountSet is a free log retrieval operation binding the contract event 0x91d1e8918c0ec490b6eccd803db78273458f0a7d4b3915e062f1402e9521f518.

Solidity: event MinimumStakeAmountSet(uint96 amount)

func (*TokenStakingFilterer) FilterNotificationRewardPushed

func (_TokenStaking *TokenStakingFilterer) FilterNotificationRewardPushed(opts *bind.FilterOpts) (*TokenStakingNotificationRewardPushedIterator, error)

FilterNotificationRewardPushed is a free log retrieval operation binding the contract event 0x9de5348508c6ad1f6ff7fcfb84e126bb094784e85bf83f7e3801bc44f9c6dc97.

Solidity: event NotificationRewardPushed(uint96 reward)

func (*TokenStakingFilterer) FilterNotificationRewardSet

func (_TokenStaking *TokenStakingFilterer) FilterNotificationRewardSet(opts *bind.FilterOpts) (*TokenStakingNotificationRewardSetIterator, error)

FilterNotificationRewardSet is a free log retrieval operation binding the contract event 0xd579c7b509b9a61b7408309a980bcfcbbf0f336f1b2bb0a760d71f72f0cf3132.

Solidity: event NotificationRewardSet(uint96 reward)

func (*TokenStakingFilterer) FilterNotificationRewardWithdrawn

func (_TokenStaking *TokenStakingFilterer) FilterNotificationRewardWithdrawn(opts *bind.FilterOpts) (*TokenStakingNotificationRewardWithdrawnIterator, error)

FilterNotificationRewardWithdrawn is a free log retrieval operation binding the contract event 0x7083cb4f4c81bb6d7425a5bde6b6969cd8c446730ed572607ef79246bc44ee42.

Solidity: event NotificationRewardWithdrawn(address recipient, uint96 amount)

func (*TokenStakingFilterer) FilterNotifierRewarded

func (_TokenStaking *TokenStakingFilterer) FilterNotifierRewarded(opts *bind.FilterOpts, notifier []common.Address) (*TokenStakingNotifierRewardedIterator, error)

FilterNotifierRewarded is a free log retrieval operation binding the contract event 0x104879b09c38b3b66d79ce8f4cbdcfbe117b79797db65a37ef151d22b5e31471.

Solidity: event NotifierRewarded(address indexed notifier, uint256 amount)

func (*TokenStakingFilterer) FilterOwnerRefreshed

func (_TokenStaking *TokenStakingFilterer) FilterOwnerRefreshed(opts *bind.FilterOpts, stakingProvider []common.Address, oldOwner []common.Address, newOwner []common.Address) (*TokenStakingOwnerRefreshedIterator, error)

FilterOwnerRefreshed is a free log retrieval operation binding the contract event 0xda8908ea0ecabda6b6dec96ed40b9c47ffbf9be10f30912965c984face902e14.

Solidity: event OwnerRefreshed(address indexed stakingProvider, address indexed oldOwner, address indexed newOwner)

func (*TokenStakingFilterer) FilterPanicButtonSet

func (_TokenStaking *TokenStakingFilterer) FilterPanicButtonSet(opts *bind.FilterOpts, application []common.Address, panicButton []common.Address) (*TokenStakingPanicButtonSetIterator, error)

FilterPanicButtonSet is a free log retrieval operation binding the contract event 0x5a38ebc6ef9570e77e12b2162c48413d53357005add9be886ab130a58d44feb8.

Solidity: event PanicButtonSet(address indexed application, address indexed panicButton)

func (*TokenStakingFilterer) FilterSlashingProcessed

func (_TokenStaking *TokenStakingFilterer) FilterSlashingProcessed(opts *bind.FilterOpts, caller []common.Address) (*TokenStakingSlashingProcessedIterator, error)

FilterSlashingProcessed is a free log retrieval operation binding the contract event 0x8efe68d059265c97157a10a6aadc9afe80dfa0e96fc959c4de863300e244e156.

Solidity: event SlashingProcessed(address indexed caller, uint256 count, uint256 tAmount)

func (*TokenStakingFilterer) FilterStakeDiscrepancyPenaltySet

func (_TokenStaking *TokenStakingFilterer) FilterStakeDiscrepancyPenaltySet(opts *bind.FilterOpts) (*TokenStakingStakeDiscrepancyPenaltySetIterator, error)

FilterStakeDiscrepancyPenaltySet is a free log retrieval operation binding the contract event 0x3f84f36f8e044bbbc00d303ae27c8871614781ac684742a3d8db7eb2eb98785f.

Solidity: event StakeDiscrepancyPenaltySet(uint96 penalty, uint256 rewardMultiplier)

func (*TokenStakingFilterer) FilterStaked

func (_TokenStaking *TokenStakingFilterer) FilterStaked(opts *bind.FilterOpts, stakeType []uint8, owner []common.Address, stakingProvider []common.Address) (*TokenStakingStakedIterator, error)

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

Solidity: event Staked(uint8 indexed stakeType, address indexed owner, address indexed stakingProvider, address beneficiary, address authorizer, uint96 amount)

func (*TokenStakingFilterer) FilterTokensSeized

func (_TokenStaking *TokenStakingFilterer) FilterTokensSeized(opts *bind.FilterOpts, stakingProvider []common.Address, discrepancy []bool) (*TokenStakingTokensSeizedIterator, error)

FilterTokensSeized is a free log retrieval operation binding the contract event 0xfab4356687062505cc650292203fc214dc8cb4b8bd603e53699e3297186e8dd6.

Solidity: event TokensSeized(address indexed stakingProvider, uint96 amount, bool indexed discrepancy)

func (*TokenStakingFilterer) FilterToppedUp

func (_TokenStaking *TokenStakingFilterer) FilterToppedUp(opts *bind.FilterOpts, stakingProvider []common.Address) (*TokenStakingToppedUpIterator, error)

FilterToppedUp is a free log retrieval operation binding the contract event 0xb8f8e488e98410126386f575c0e233d2effb198a4e68af68ab1de9c2e542ae82.

Solidity: event ToppedUp(address indexed stakingProvider, uint96 amount)

func (*TokenStakingFilterer) FilterUnstaked

func (_TokenStaking *TokenStakingFilterer) FilterUnstaked(opts *bind.FilterOpts, stakingProvider []common.Address) (*TokenStakingUnstakedIterator, error)

FilterUnstaked is a free log retrieval operation binding the contract event 0x1221739f34decc066e1d68b15c5fc76b65e7ebe2f08c9f38b3ea3092f9912353.

Solidity: event Unstaked(address indexed stakingProvider, uint96 amount)

func (*TokenStakingFilterer) ParseApplicationStatusChanged

func (_TokenStaking *TokenStakingFilterer) ParseApplicationStatusChanged(log types.Log) (*TokenStakingApplicationStatusChanged, error)

ParseApplicationStatusChanged is a log parse operation binding the contract event 0x96a3c8e9780312d2e82e746b65a21aaca458dd91c375fea6066416ef241e87cb.

Solidity: event ApplicationStatusChanged(address indexed application, uint8 indexed newStatus)

func (*TokenStakingFilterer) ParseAuthorizationCeilingSet

func (_TokenStaking *TokenStakingFilterer) ParseAuthorizationCeilingSet(log types.Log) (*TokenStakingAuthorizationCeilingSet, error)

ParseAuthorizationCeilingSet is a log parse operation binding the contract event 0xf82f602e8097a5c312216f60ca94cd1ff03aac29893f9adef7ed7e6ae33c76e2.

Solidity: event AuthorizationCeilingSet(uint256 ceiling)

func (*TokenStakingFilterer) ParseAuthorizationDecreaseApproved

func (_TokenStaking *TokenStakingFilterer) ParseAuthorizationDecreaseApproved(log types.Log) (*TokenStakingAuthorizationDecreaseApproved, error)

ParseAuthorizationDecreaseApproved is a log parse operation binding the contract event 0xdfabb38007f28b342b8f536c8c832f746c2a53627133be65453ac0b98968f40e.

Solidity: event AuthorizationDecreaseApproved(address indexed stakingProvider, address indexed application, uint96 fromAmount, uint96 toAmount)

func (*TokenStakingFilterer) ParseAuthorizationDecreaseRequested

func (_TokenStaking *TokenStakingFilterer) ParseAuthorizationDecreaseRequested(log types.Log) (*TokenStakingAuthorizationDecreaseRequested, error)

ParseAuthorizationDecreaseRequested is a log parse operation binding the contract event 0x132e76775c4e3b4b2c36fe4acc18d539b6c34b984ac6ba494a5996c48d8a0174.

Solidity: event AuthorizationDecreaseRequested(address indexed stakingProvider, address indexed application, uint96 fromAmount, uint96 toAmount)

func (*TokenStakingFilterer) ParseAuthorizationIncreased

func (_TokenStaking *TokenStakingFilterer) ParseAuthorizationIncreased(log types.Log) (*TokenStakingAuthorizationIncreased, error)

ParseAuthorizationIncreased is a log parse operation binding the contract event 0x87f9f9f59204f53d57a89a817c6083a17979cd0531791c91e18551a56e3cfdd7.

Solidity: event AuthorizationIncreased(address indexed stakingProvider, address indexed application, uint96 fromAmount, uint96 toAmount)

func (*TokenStakingFilterer) ParseAuthorizationInvoluntaryDecreased

func (_TokenStaking *TokenStakingFilterer) ParseAuthorizationInvoluntaryDecreased(log types.Log) (*TokenStakingAuthorizationInvoluntaryDecreased, error)

ParseAuthorizationInvoluntaryDecreased is a log parse operation binding the contract event 0x0f0171fffaa54732b1f79a3164b315658061a1a51bf8c1010fbed908a8e333f9.

Solidity: event AuthorizationInvoluntaryDecreased(address indexed stakingProvider, address indexed application, uint96 fromAmount, uint96 toAmount, bool indexed successfulCall)

func (*TokenStakingFilterer) ParseDelegateChanged

func (_TokenStaking *TokenStakingFilterer) ParseDelegateChanged(log types.Log) (*TokenStakingDelegateChanged, error)

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

Solidity: event DelegateChanged(address indexed delegator, address indexed fromDelegate, address indexed toDelegate)

func (*TokenStakingFilterer) ParseDelegateVotesChanged

func (_TokenStaking *TokenStakingFilterer) ParseDelegateVotesChanged(log types.Log) (*TokenStakingDelegateVotesChanged, error)

ParseDelegateVotesChanged is a log parse operation binding the contract event 0xdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724.

Solidity: event DelegateVotesChanged(address indexed delegate, uint256 previousBalance, uint256 newBalance)

func (*TokenStakingFilterer) ParseGovernanceTransferred

func (_TokenStaking *TokenStakingFilterer) ParseGovernanceTransferred(log types.Log) (*TokenStakingGovernanceTransferred, error)

ParseGovernanceTransferred is a log parse operation binding the contract event 0x5f56bee8cffbe9a78652a74a60705edede02af10b0bbb888ca44b79a0d42ce80.

Solidity: event GovernanceTransferred(address oldGovernance, address newGovernance)

func (*TokenStakingFilterer) ParseMinimumStakeAmountSet

func (_TokenStaking *TokenStakingFilterer) ParseMinimumStakeAmountSet(log types.Log) (*TokenStakingMinimumStakeAmountSet, error)

ParseMinimumStakeAmountSet is a log parse operation binding the contract event 0x91d1e8918c0ec490b6eccd803db78273458f0a7d4b3915e062f1402e9521f518.

Solidity: event MinimumStakeAmountSet(uint96 amount)

func (*TokenStakingFilterer) ParseNotificationRewardPushed

func (_TokenStaking *TokenStakingFilterer) ParseNotificationRewardPushed(log types.Log) (*TokenStakingNotificationRewardPushed, error)

ParseNotificationRewardPushed is a log parse operation binding the contract event 0x9de5348508c6ad1f6ff7fcfb84e126bb094784e85bf83f7e3801bc44f9c6dc97.

Solidity: event NotificationRewardPushed(uint96 reward)

func (*TokenStakingFilterer) ParseNotificationRewardSet

func (_TokenStaking *TokenStakingFilterer) ParseNotificationRewardSet(log types.Log) (*TokenStakingNotificationRewardSet, error)

ParseNotificationRewardSet is a log parse operation binding the contract event 0xd579c7b509b9a61b7408309a980bcfcbbf0f336f1b2bb0a760d71f72f0cf3132.

Solidity: event NotificationRewardSet(uint96 reward)

func (*TokenStakingFilterer) ParseNotificationRewardWithdrawn

func (_TokenStaking *TokenStakingFilterer) ParseNotificationRewardWithdrawn(log types.Log) (*TokenStakingNotificationRewardWithdrawn, error)

ParseNotificationRewardWithdrawn is a log parse operation binding the contract event 0x7083cb4f4c81bb6d7425a5bde6b6969cd8c446730ed572607ef79246bc44ee42.

Solidity: event NotificationRewardWithdrawn(address recipient, uint96 amount)

func (*TokenStakingFilterer) ParseNotifierRewarded

func (_TokenStaking *TokenStakingFilterer) ParseNotifierRewarded(log types.Log) (*TokenStakingNotifierRewarded, error)

ParseNotifierRewarded is a log parse operation binding the contract event 0x104879b09c38b3b66d79ce8f4cbdcfbe117b79797db65a37ef151d22b5e31471.

Solidity: event NotifierRewarded(address indexed notifier, uint256 amount)

func (*TokenStakingFilterer) ParseOwnerRefreshed

func (_TokenStaking *TokenStakingFilterer) ParseOwnerRefreshed(log types.Log) (*TokenStakingOwnerRefreshed, error)

ParseOwnerRefreshed is a log parse operation binding the contract event 0xda8908ea0ecabda6b6dec96ed40b9c47ffbf9be10f30912965c984face902e14.

Solidity: event OwnerRefreshed(address indexed stakingProvider, address indexed oldOwner, address indexed newOwner)

func (*TokenStakingFilterer) ParsePanicButtonSet

func (_TokenStaking *TokenStakingFilterer) ParsePanicButtonSet(log types.Log) (*TokenStakingPanicButtonSet, error)

ParsePanicButtonSet is a log parse operation binding the contract event 0x5a38ebc6ef9570e77e12b2162c48413d53357005add9be886ab130a58d44feb8.

Solidity: event PanicButtonSet(address indexed application, address indexed panicButton)

func (*TokenStakingFilterer) ParseSlashingProcessed

func (_TokenStaking *TokenStakingFilterer) ParseSlashingProcessed(log types.Log) (*TokenStakingSlashingProcessed, error)

ParseSlashingProcessed is a log parse operation binding the contract event 0x8efe68d059265c97157a10a6aadc9afe80dfa0e96fc959c4de863300e244e156.

Solidity: event SlashingProcessed(address indexed caller, uint256 count, uint256 tAmount)

func (*TokenStakingFilterer) ParseStakeDiscrepancyPenaltySet

func (_TokenStaking *TokenStakingFilterer) ParseStakeDiscrepancyPenaltySet(log types.Log) (*TokenStakingStakeDiscrepancyPenaltySet, error)

ParseStakeDiscrepancyPenaltySet is a log parse operation binding the contract event 0x3f84f36f8e044bbbc00d303ae27c8871614781ac684742a3d8db7eb2eb98785f.

Solidity: event StakeDiscrepancyPenaltySet(uint96 penalty, uint256 rewardMultiplier)

func (*TokenStakingFilterer) ParseStaked

func (_TokenStaking *TokenStakingFilterer) ParseStaked(log types.Log) (*TokenStakingStaked, error)

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

Solidity: event Staked(uint8 indexed stakeType, address indexed owner, address indexed stakingProvider, address beneficiary, address authorizer, uint96 amount)

func (*TokenStakingFilterer) ParseTokensSeized

func (_TokenStaking *TokenStakingFilterer) ParseTokensSeized(log types.Log) (*TokenStakingTokensSeized, error)

ParseTokensSeized is a log parse operation binding the contract event 0xfab4356687062505cc650292203fc214dc8cb4b8bd603e53699e3297186e8dd6.

Solidity: event TokensSeized(address indexed stakingProvider, uint96 amount, bool indexed discrepancy)

func (*TokenStakingFilterer) ParseToppedUp

func (_TokenStaking *TokenStakingFilterer) ParseToppedUp(log types.Log) (*TokenStakingToppedUp, error)

ParseToppedUp is a log parse operation binding the contract event 0xb8f8e488e98410126386f575c0e233d2effb198a4e68af68ab1de9c2e542ae82.

Solidity: event ToppedUp(address indexed stakingProvider, uint96 amount)

func (*TokenStakingFilterer) ParseUnstaked

func (_TokenStaking *TokenStakingFilterer) ParseUnstaked(log types.Log) (*TokenStakingUnstaked, error)

ParseUnstaked is a log parse operation binding the contract event 0x1221739f34decc066e1d68b15c5fc76b65e7ebe2f08c9f38b3ea3092f9912353.

Solidity: event Unstaked(address indexed stakingProvider, uint96 amount)

func (*TokenStakingFilterer) WatchApplicationStatusChanged

func (_TokenStaking *TokenStakingFilterer) WatchApplicationStatusChanged(opts *bind.WatchOpts, sink chan<- *TokenStakingApplicationStatusChanged, application []common.Address, newStatus []uint8) (event.Subscription, error)

WatchApplicationStatusChanged is a free log subscription operation binding the contract event 0x96a3c8e9780312d2e82e746b65a21aaca458dd91c375fea6066416ef241e87cb.

Solidity: event ApplicationStatusChanged(address indexed application, uint8 indexed newStatus)

func (*TokenStakingFilterer) WatchAuthorizationCeilingSet

func (_TokenStaking *TokenStakingFilterer) WatchAuthorizationCeilingSet(opts *bind.WatchOpts, sink chan<- *TokenStakingAuthorizationCeilingSet) (event.Subscription, error)

WatchAuthorizationCeilingSet is a free log subscription operation binding the contract event 0xf82f602e8097a5c312216f60ca94cd1ff03aac29893f9adef7ed7e6ae33c76e2.

Solidity: event AuthorizationCeilingSet(uint256 ceiling)

func (*TokenStakingFilterer) WatchAuthorizationDecreaseApproved

func (_TokenStaking *TokenStakingFilterer) WatchAuthorizationDecreaseApproved(opts *bind.WatchOpts, sink chan<- *TokenStakingAuthorizationDecreaseApproved, stakingProvider []common.Address, application []common.Address) (event.Subscription, error)

WatchAuthorizationDecreaseApproved is a free log subscription operation binding the contract event 0xdfabb38007f28b342b8f536c8c832f746c2a53627133be65453ac0b98968f40e.

Solidity: event AuthorizationDecreaseApproved(address indexed stakingProvider, address indexed application, uint96 fromAmount, uint96 toAmount)

func (*TokenStakingFilterer) WatchAuthorizationDecreaseRequested

func (_TokenStaking *TokenStakingFilterer) WatchAuthorizationDecreaseRequested(opts *bind.WatchOpts, sink chan<- *TokenStakingAuthorizationDecreaseRequested, stakingProvider []common.Address, application []common.Address) (event.Subscription, error)

WatchAuthorizationDecreaseRequested is a free log subscription operation binding the contract event 0x132e76775c4e3b4b2c36fe4acc18d539b6c34b984ac6ba494a5996c48d8a0174.

Solidity: event AuthorizationDecreaseRequested(address indexed stakingProvider, address indexed application, uint96 fromAmount, uint96 toAmount)

func (*TokenStakingFilterer) WatchAuthorizationIncreased

func (_TokenStaking *TokenStakingFilterer) WatchAuthorizationIncreased(opts *bind.WatchOpts, sink chan<- *TokenStakingAuthorizationIncreased, stakingProvider []common.Address, application []common.Address) (event.Subscription, error)

WatchAuthorizationIncreased is a free log subscription operation binding the contract event 0x87f9f9f59204f53d57a89a817c6083a17979cd0531791c91e18551a56e3cfdd7.

Solidity: event AuthorizationIncreased(address indexed stakingProvider, address indexed application, uint96 fromAmount, uint96 toAmount)

func (*TokenStakingFilterer) WatchAuthorizationInvoluntaryDecreased

func (_TokenStaking *TokenStakingFilterer) WatchAuthorizationInvoluntaryDecreased(opts *bind.WatchOpts, sink chan<- *TokenStakingAuthorizationInvoluntaryDecreased, stakingProvider []common.Address, application []common.Address, successfulCall []bool) (event.Subscription, error)

WatchAuthorizationInvoluntaryDecreased is a free log subscription operation binding the contract event 0x0f0171fffaa54732b1f79a3164b315658061a1a51bf8c1010fbed908a8e333f9.

Solidity: event AuthorizationInvoluntaryDecreased(address indexed stakingProvider, address indexed application, uint96 fromAmount, uint96 toAmount, bool indexed successfulCall)

func (*TokenStakingFilterer) WatchDelegateChanged

func (_TokenStaking *TokenStakingFilterer) WatchDelegateChanged(opts *bind.WatchOpts, sink chan<- *TokenStakingDelegateChanged, delegator []common.Address, fromDelegate []common.Address, toDelegate []common.Address) (event.Subscription, error)

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

Solidity: event DelegateChanged(address indexed delegator, address indexed fromDelegate, address indexed toDelegate)

func (*TokenStakingFilterer) WatchDelegateVotesChanged

func (_TokenStaking *TokenStakingFilterer) WatchDelegateVotesChanged(opts *bind.WatchOpts, sink chan<- *TokenStakingDelegateVotesChanged, delegate []common.Address) (event.Subscription, error)

WatchDelegateVotesChanged is a free log subscription operation binding the contract event 0xdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724.

Solidity: event DelegateVotesChanged(address indexed delegate, uint256 previousBalance, uint256 newBalance)

func (*TokenStakingFilterer) WatchGovernanceTransferred

func (_TokenStaking *TokenStakingFilterer) WatchGovernanceTransferred(opts *bind.WatchOpts, sink chan<- *TokenStakingGovernanceTransferred) (event.Subscription, error)

WatchGovernanceTransferred is a free log subscription operation binding the contract event 0x5f56bee8cffbe9a78652a74a60705edede02af10b0bbb888ca44b79a0d42ce80.

Solidity: event GovernanceTransferred(address oldGovernance, address newGovernance)

func (*TokenStakingFilterer) WatchMinimumStakeAmountSet

func (_TokenStaking *TokenStakingFilterer) WatchMinimumStakeAmountSet(opts *bind.WatchOpts, sink chan<- *TokenStakingMinimumStakeAmountSet) (event.Subscription, error)

WatchMinimumStakeAmountSet is a free log subscription operation binding the contract event 0x91d1e8918c0ec490b6eccd803db78273458f0a7d4b3915e062f1402e9521f518.

Solidity: event MinimumStakeAmountSet(uint96 amount)

func (*TokenStakingFilterer) WatchNotificationRewardPushed

func (_TokenStaking *TokenStakingFilterer) WatchNotificationRewardPushed(opts *bind.WatchOpts, sink chan<- *TokenStakingNotificationRewardPushed) (event.Subscription, error)

WatchNotificationRewardPushed is a free log subscription operation binding the contract event 0x9de5348508c6ad1f6ff7fcfb84e126bb094784e85bf83f7e3801bc44f9c6dc97.

Solidity: event NotificationRewardPushed(uint96 reward)

func (*TokenStakingFilterer) WatchNotificationRewardSet

func (_TokenStaking *TokenStakingFilterer) WatchNotificationRewardSet(opts *bind.WatchOpts, sink chan<- *TokenStakingNotificationRewardSet) (event.Subscription, error)

WatchNotificationRewardSet is a free log subscription operation binding the contract event 0xd579c7b509b9a61b7408309a980bcfcbbf0f336f1b2bb0a760d71f72f0cf3132.

Solidity: event NotificationRewardSet(uint96 reward)

func (*TokenStakingFilterer) WatchNotificationRewardWithdrawn

func (_TokenStaking *TokenStakingFilterer) WatchNotificationRewardWithdrawn(opts *bind.WatchOpts, sink chan<- *TokenStakingNotificationRewardWithdrawn) (event.Subscription, error)

WatchNotificationRewardWithdrawn is a free log subscription operation binding the contract event 0x7083cb4f4c81bb6d7425a5bde6b6969cd8c446730ed572607ef79246bc44ee42.

Solidity: event NotificationRewardWithdrawn(address recipient, uint96 amount)

func (*TokenStakingFilterer) WatchNotifierRewarded

func (_TokenStaking *TokenStakingFilterer) WatchNotifierRewarded(opts *bind.WatchOpts, sink chan<- *TokenStakingNotifierRewarded, notifier []common.Address) (event.Subscription, error)

WatchNotifierRewarded is a free log subscription operation binding the contract event 0x104879b09c38b3b66d79ce8f4cbdcfbe117b79797db65a37ef151d22b5e31471.

Solidity: event NotifierRewarded(address indexed notifier, uint256 amount)

func (*TokenStakingFilterer) WatchOwnerRefreshed

func (_TokenStaking *TokenStakingFilterer) WatchOwnerRefreshed(opts *bind.WatchOpts, sink chan<- *TokenStakingOwnerRefreshed, stakingProvider []common.Address, oldOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnerRefreshed is a free log subscription operation binding the contract event 0xda8908ea0ecabda6b6dec96ed40b9c47ffbf9be10f30912965c984face902e14.

Solidity: event OwnerRefreshed(address indexed stakingProvider, address indexed oldOwner, address indexed newOwner)

func (*TokenStakingFilterer) WatchPanicButtonSet

func (_TokenStaking *TokenStakingFilterer) WatchPanicButtonSet(opts *bind.WatchOpts, sink chan<- *TokenStakingPanicButtonSet, application []common.Address, panicButton []common.Address) (event.Subscription, error)

WatchPanicButtonSet is a free log subscription operation binding the contract event 0x5a38ebc6ef9570e77e12b2162c48413d53357005add9be886ab130a58d44feb8.

Solidity: event PanicButtonSet(address indexed application, address indexed panicButton)

func (*TokenStakingFilterer) WatchSlashingProcessed

func (_TokenStaking *TokenStakingFilterer) WatchSlashingProcessed(opts *bind.WatchOpts, sink chan<- *TokenStakingSlashingProcessed, caller []common.Address) (event.Subscription, error)

WatchSlashingProcessed is a free log subscription operation binding the contract event 0x8efe68d059265c97157a10a6aadc9afe80dfa0e96fc959c4de863300e244e156.

Solidity: event SlashingProcessed(address indexed caller, uint256 count, uint256 tAmount)

func (*TokenStakingFilterer) WatchStakeDiscrepancyPenaltySet

func (_TokenStaking *TokenStakingFilterer) WatchStakeDiscrepancyPenaltySet(opts *bind.WatchOpts, sink chan<- *TokenStakingStakeDiscrepancyPenaltySet) (event.Subscription, error)

WatchStakeDiscrepancyPenaltySet is a free log subscription operation binding the contract event 0x3f84f36f8e044bbbc00d303ae27c8871614781ac684742a3d8db7eb2eb98785f.

Solidity: event StakeDiscrepancyPenaltySet(uint96 penalty, uint256 rewardMultiplier)

func (*TokenStakingFilterer) WatchStaked

func (_TokenStaking *TokenStakingFilterer) WatchStaked(opts *bind.WatchOpts, sink chan<- *TokenStakingStaked, stakeType []uint8, owner []common.Address, stakingProvider []common.Address) (event.Subscription, error)

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

Solidity: event Staked(uint8 indexed stakeType, address indexed owner, address indexed stakingProvider, address beneficiary, address authorizer, uint96 amount)

func (*TokenStakingFilterer) WatchTokensSeized

func (_TokenStaking *TokenStakingFilterer) WatchTokensSeized(opts *bind.WatchOpts, sink chan<- *TokenStakingTokensSeized, stakingProvider []common.Address, discrepancy []bool) (event.Subscription, error)

WatchTokensSeized is a free log subscription operation binding the contract event 0xfab4356687062505cc650292203fc214dc8cb4b8bd603e53699e3297186e8dd6.

Solidity: event TokensSeized(address indexed stakingProvider, uint96 amount, bool indexed discrepancy)

func (*TokenStakingFilterer) WatchToppedUp

func (_TokenStaking *TokenStakingFilterer) WatchToppedUp(opts *bind.WatchOpts, sink chan<- *TokenStakingToppedUp, stakingProvider []common.Address) (event.Subscription, error)

WatchToppedUp is a free log subscription operation binding the contract event 0xb8f8e488e98410126386f575c0e233d2effb198a4e68af68ab1de9c2e542ae82.

Solidity: event ToppedUp(address indexed stakingProvider, uint96 amount)

func (*TokenStakingFilterer) WatchUnstaked

func (_TokenStaking *TokenStakingFilterer) WatchUnstaked(opts *bind.WatchOpts, sink chan<- *TokenStakingUnstaked, stakingProvider []common.Address) (event.Subscription, error)

WatchUnstaked is a free log subscription operation binding the contract event 0x1221739f34decc066e1d68b15c5fc76b65e7ebe2f08c9f38b3ea3092f9912353.

Solidity: event Unstaked(address indexed stakingProvider, uint96 amount)

type TokenStakingGovernanceTransferred

type TokenStakingGovernanceTransferred struct {
	OldGovernance common.Address
	NewGovernance common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

TokenStakingGovernanceTransferred represents a GovernanceTransferred event raised by the TokenStaking contract.

type TokenStakingGovernanceTransferredIterator

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

TokenStakingGovernanceTransferredIterator is returned from FilterGovernanceTransferred and is used to iterate over the raw logs and unpacked data for GovernanceTransferred events raised by the TokenStaking contract.

func (*TokenStakingGovernanceTransferredIterator) Close

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

func (*TokenStakingGovernanceTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

type TokenStakingMinimumStakeAmountSet struct {
	Amount *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

TokenStakingMinimumStakeAmountSet represents a MinimumStakeAmountSet event raised by the TokenStaking contract.

type TokenStakingMinimumStakeAmountSetIterator

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

TokenStakingMinimumStakeAmountSetIterator is returned from FilterMinimumStakeAmountSet and is used to iterate over the raw logs and unpacked data for MinimumStakeAmountSet events raised by the TokenStaking contract.

func (*TokenStakingMinimumStakeAmountSetIterator) Close

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

func (*TokenStakingMinimumStakeAmountSetIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

type TokenStakingNotificationRewardPushed struct {
	Reward *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

TokenStakingNotificationRewardPushed represents a NotificationRewardPushed event raised by the TokenStaking contract.

type TokenStakingNotificationRewardPushedIterator

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

TokenStakingNotificationRewardPushedIterator is returned from FilterNotificationRewardPushed and is used to iterate over the raw logs and unpacked data for NotificationRewardPushed events raised by the TokenStaking contract.

func (*TokenStakingNotificationRewardPushedIterator) Close

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

func (*TokenStakingNotificationRewardPushedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

type TokenStakingNotificationRewardSet struct {
	Reward *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

TokenStakingNotificationRewardSet represents a NotificationRewardSet event raised by the TokenStaking contract.

type TokenStakingNotificationRewardSetIterator

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

TokenStakingNotificationRewardSetIterator is returned from FilterNotificationRewardSet and is used to iterate over the raw logs and unpacked data for NotificationRewardSet events raised by the TokenStaking contract.

func (*TokenStakingNotificationRewardSetIterator) Close

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

func (*TokenStakingNotificationRewardSetIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

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

TokenStakingNotificationRewardWithdrawn represents a NotificationRewardWithdrawn event raised by the TokenStaking contract.

type TokenStakingNotificationRewardWithdrawnIterator

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

TokenStakingNotificationRewardWithdrawnIterator is returned from FilterNotificationRewardWithdrawn and is used to iterate over the raw logs and unpacked data for NotificationRewardWithdrawn events raised by the TokenStaking contract.

func (*TokenStakingNotificationRewardWithdrawnIterator) Close

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

func (*TokenStakingNotificationRewardWithdrawnIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

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

TokenStakingNotifierRewarded represents a NotifierRewarded event raised by the TokenStaking contract.

type TokenStakingNotifierRewardedIterator

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

TokenStakingNotifierRewardedIterator is returned from FilterNotifierRewarded and is used to iterate over the raw logs and unpacked data for NotifierRewarded events raised by the TokenStaking contract.

func (*TokenStakingNotifierRewardedIterator) Close

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

func (*TokenStakingNotifierRewardedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

type TokenStakingOwnerRefreshed struct {
	StakingProvider common.Address
	OldOwner        common.Address
	NewOwner        common.Address
	Raw             types.Log // Blockchain specific contextual infos
}

TokenStakingOwnerRefreshed represents a OwnerRefreshed event raised by the TokenStaking contract.

type TokenStakingOwnerRefreshedIterator

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

TokenStakingOwnerRefreshedIterator is returned from FilterOwnerRefreshed and is used to iterate over the raw logs and unpacked data for OwnerRefreshed events raised by the TokenStaking contract.

func (*TokenStakingOwnerRefreshedIterator) Close

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

func (*TokenStakingOwnerRefreshedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

type TokenStakingPanicButtonSet struct {
	Application common.Address
	PanicButton common.Address
	Raw         types.Log // Blockchain specific contextual infos
}

TokenStakingPanicButtonSet represents a PanicButtonSet event raised by the TokenStaking contract.

type TokenStakingPanicButtonSetIterator

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

TokenStakingPanicButtonSetIterator is returned from FilterPanicButtonSet and is used to iterate over the raw logs and unpacked data for PanicButtonSet events raised by the TokenStaking contract.

func (*TokenStakingPanicButtonSetIterator) Close

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

func (*TokenStakingPanicButtonSetIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

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

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

func (*TokenStakingRaw) Call

func (_TokenStaking *TokenStakingRaw) 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 (*TokenStakingRaw) Transact

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

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

func (*TokenStakingRaw) Transfer

func (_TokenStaking *TokenStakingRaw) 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 TokenStakingSession

type TokenStakingSession struct {
	Contract     *TokenStaking     // 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
}

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

func (*TokenStakingSession) ApplicationInfo

func (_TokenStaking *TokenStakingSession) ApplicationInfo(arg0 common.Address) (struct {
	Status      uint8
	PanicButton common.Address
}, error)

ApplicationInfo is a free data retrieval call binding the contract method 0x067e6bb1.

Solidity: function applicationInfo(address ) view returns(uint8 status, address panicButton)

func (*TokenStakingSession) Applications

func (_TokenStaking *TokenStakingSession) Applications(arg0 *big.Int) (common.Address, error)

Applications is a free data retrieval call binding the contract method 0xdfefadff.

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

func (*TokenStakingSession) ApproveApplication

func (_TokenStaking *TokenStakingSession) ApproveApplication(application common.Address) (*types.Transaction, error)

ApproveApplication is a paid mutator transaction binding the contract method 0xe3ae4d0a.

Solidity: function approveApplication(address application) returns()

func (*TokenStakingSession) ApproveAuthorizationDecrease

func (_TokenStaking *TokenStakingSession) ApproveAuthorizationDecrease(stakingProvider common.Address) (*types.Transaction, error)

ApproveAuthorizationDecrease is a paid mutator transaction binding the contract method 0x75e0ae5a.

Solidity: function approveAuthorizationDecrease(address stakingProvider) returns(uint96)

func (*TokenStakingSession) AuthorizationCeiling

func (_TokenStaking *TokenStakingSession) AuthorizationCeiling() (*big.Int, error)

AuthorizationCeiling is a free data retrieval call binding the contract method 0x2cd62915.

Solidity: function authorizationCeiling() view returns(uint256)

func (*TokenStakingSession) AuthorizedStake

func (_TokenStaking *TokenStakingSession) AuthorizedStake(stakingProvider common.Address, application common.Address) (*big.Int, error)

AuthorizedStake is a free data retrieval call binding the contract method 0xe009245a.

Solidity: function authorizedStake(address stakingProvider, address application) view returns(uint96)

func (*TokenStakingSession) Checkpoints

func (_TokenStaking *TokenStakingSession) Checkpoints(account common.Address, pos uint32) (CheckpointsCheckpoint, error)

Checkpoints is a free data retrieval call binding the contract method 0xf1127ed8.

Solidity: function checkpoints(address account, uint32 pos) view returns((uint32,uint96) checkpoint)

func (*TokenStakingSession) DelegateVoting

func (_TokenStaking *TokenStakingSession) DelegateVoting(stakingProvider common.Address, delegatee common.Address) (*types.Transaction, error)

DelegateVoting is a paid mutator transaction binding the contract method 0x0fa78bf4.

Solidity: function delegateVoting(address stakingProvider, address delegatee) returns()

func (*TokenStakingSession) Delegates

func (_TokenStaking *TokenStakingSession) Delegates(account common.Address) (common.Address, error)

Delegates is a free data retrieval call binding the contract method 0x587cde1e.

Solidity: function delegates(address account) view returns(address)

func (*TokenStakingSession) DisableApplication

func (_TokenStaking *TokenStakingSession) DisableApplication(application common.Address) (*types.Transaction, error)

DisableApplication is a paid mutator transaction binding the contract method 0x43445748.

Solidity: function disableApplication(address application) returns()

func (*TokenStakingSession) ForceDecreaseAuthorization

func (_TokenStaking *TokenStakingSession) ForceDecreaseAuthorization(stakingProvider common.Address, application common.Address) (*types.Transaction, error)

ForceDecreaseAuthorization is a paid mutator transaction binding the contract method 0xb626ca3e.

Solidity: function forceDecreaseAuthorization(address stakingProvider, address application) returns()

func (*TokenStakingSession) GetApplicationsLength

func (_TokenStaking *TokenStakingSession) GetApplicationsLength() (*big.Int, error)

GetApplicationsLength is a free data retrieval call binding the contract method 0xad30e4cd.

Solidity: function getApplicationsLength() view returns(uint256)

func (*TokenStakingSession) GetAvailableToAuthorize

func (_TokenStaking *TokenStakingSession) GetAvailableToAuthorize(stakingProvider common.Address, application common.Address) (*big.Int, error)

GetAvailableToAuthorize is a free data retrieval call binding the contract method 0x8b7adc09.

Solidity: function getAvailableToAuthorize(address stakingProvider, address application) view returns(uint96 availableTValue)

func (*TokenStakingSession) GetMinStaked

func (_TokenStaking *TokenStakingSession) GetMinStaked(stakingProvider common.Address, stakeTypes uint8) (*big.Int, error)

GetMinStaked is a free data retrieval call binding the contract method 0x6da91d8b.

Solidity: function getMinStaked(address stakingProvider, uint8 stakeTypes) view returns(uint96)

func (*TokenStakingSession) GetPastTotalSupply

func (_TokenStaking *TokenStakingSession) GetPastTotalSupply(blockNumber *big.Int) (*big.Int, error)

GetPastTotalSupply is a free data retrieval call binding the contract method 0x8e539e8c.

Solidity: function getPastTotalSupply(uint256 blockNumber) view returns(uint96)

func (*TokenStakingSession) GetPastVotes

func (_TokenStaking *TokenStakingSession) GetPastVotes(account common.Address, blockNumber *big.Int) (*big.Int, error)

GetPastVotes is a free data retrieval call binding the contract method 0x3a46b1a8.

Solidity: function getPastVotes(address account, uint256 blockNumber) view returns(uint96)

func (*TokenStakingSession) GetSlashingQueueLength

func (_TokenStaking *TokenStakingSession) GetSlashingQueueLength() (*big.Int, error)

GetSlashingQueueLength is a free data retrieval call binding the contract method 0xffd2f984.

Solidity: function getSlashingQueueLength() view returns(uint256)

func (*TokenStakingSession) GetStartStakingTimestamp

func (_TokenStaking *TokenStakingSession) GetStartStakingTimestamp(stakingProvider common.Address) (*big.Int, error)

GetStartStakingTimestamp is a free data retrieval call binding the contract method 0xf6e0faeb.

Solidity: function getStartStakingTimestamp(address stakingProvider) view returns(uint256)

func (*TokenStakingSession) GetVotes

func (_TokenStaking *TokenStakingSession) GetVotes(account common.Address) (*big.Int, error)

GetVotes is a free data retrieval call binding the contract method 0x9ab24eb0.

Solidity: function getVotes(address account) view returns(uint96)

func (*TokenStakingSession) Governance

func (_TokenStaking *TokenStakingSession) Governance() (common.Address, error)

Governance is a free data retrieval call binding the contract method 0x5aa6e675.

Solidity: function governance() view returns(address)

func (*TokenStakingSession) IncreaseAuthorization

func (_TokenStaking *TokenStakingSession) IncreaseAuthorization(stakingProvider common.Address, application common.Address, amount *big.Int) (*types.Transaction, error)

IncreaseAuthorization is a paid mutator transaction binding the contract method 0xf848beff.

Solidity: function increaseAuthorization(address stakingProvider, address application, uint96 amount) returns()

func (*TokenStakingSession) Initialize

func (_TokenStaking *TokenStakingSession) Initialize() (*types.Transaction, error)

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

Solidity: function initialize() returns()

func (*TokenStakingSession) MinTStakeAmount

func (_TokenStaking *TokenStakingSession) MinTStakeAmount() (*big.Int, error)

MinTStakeAmount is a free data retrieval call binding the contract method 0x32719e06.

Solidity: function minTStakeAmount() view returns(uint96)

func (*TokenStakingSession) NotificationReward

func (_TokenStaking *TokenStakingSession) NotificationReward() (*big.Int, error)

NotificationReward is a free data retrieval call binding the contract method 0x7368dba2.

Solidity: function notificationReward() view returns(uint256)

func (*TokenStakingSession) NotifiersTreasury

func (_TokenStaking *TokenStakingSession) NotifiersTreasury() (*big.Int, error)

NotifiersTreasury is a free data retrieval call binding the contract method 0x793c1365.

Solidity: function notifiersTreasury() view returns(uint256)

func (*TokenStakingSession) NotifyKeepStakeDiscrepancy

func (_TokenStaking *TokenStakingSession) NotifyKeepStakeDiscrepancy(stakingProvider common.Address) (*types.Transaction, error)

NotifyKeepStakeDiscrepancy is a paid mutator transaction binding the contract method 0x402121af.

Solidity: function notifyKeepStakeDiscrepancy(address stakingProvider) returns()

func (*TokenStakingSession) NotifyNuStakeDiscrepancy

func (_TokenStaking *TokenStakingSession) NotifyNuStakeDiscrepancy(stakingProvider common.Address) (*types.Transaction, error)

NotifyNuStakeDiscrepancy is a paid mutator transaction binding the contract method 0x8e46ecb6.

Solidity: function notifyNuStakeDiscrepancy(address stakingProvider) returns()

func (*TokenStakingSession) NumCheckpoints

func (_TokenStaking *TokenStakingSession) NumCheckpoints(account common.Address) (uint32, error)

NumCheckpoints is a free data retrieval call binding the contract method 0x6fcfff45.

Solidity: function numCheckpoints(address account) view returns(uint32)

func (*TokenStakingSession) PauseApplication

func (_TokenStaking *TokenStakingSession) PauseApplication(application common.Address) (*types.Transaction, error)

PauseApplication is a paid mutator transaction binding the contract method 0x2c686ca0.

Solidity: function pauseApplication(address application) returns()

func (*TokenStakingSession) ProcessSlashing

func (_TokenStaking *TokenStakingSession) ProcessSlashing(count *big.Int) (*types.Transaction, error)

ProcessSlashing is a paid mutator transaction binding the contract method 0xbe2f3351.

Solidity: function processSlashing(uint256 count) returns()

func (*TokenStakingSession) PushNotificationReward

func (_TokenStaking *TokenStakingSession) PushNotificationReward(reward *big.Int) (*types.Transaction, error)

PushNotificationReward is a paid mutator transaction binding the contract method 0x483046bb.

Solidity: function pushNotificationReward(uint96 reward) returns()

func (*TokenStakingSession) RefreshKeepStakeOwner

func (_TokenStaking *TokenStakingSession) RefreshKeepStakeOwner(stakingProvider common.Address) (*types.Transaction, error)

RefreshKeepStakeOwner is a paid mutator transaction binding the contract method 0xaf5f24ad.

Solidity: function refreshKeepStakeOwner(address stakingProvider) returns()

func (*TokenStakingSession) RequestAuthorizationDecrease

func (_TokenStaking *TokenStakingSession) RequestAuthorizationDecrease(stakingProvider common.Address, application common.Address, amount *big.Int) (*types.Transaction, error)

RequestAuthorizationDecrease is a paid mutator transaction binding the contract method 0x5f2d5030.

Solidity: function requestAuthorizationDecrease(address stakingProvider, address application, uint96 amount) returns()

func (*TokenStakingSession) RequestAuthorizationDecrease0

func (_TokenStaking *TokenStakingSession) RequestAuthorizationDecrease0(stakingProvider common.Address) (*types.Transaction, error)

RequestAuthorizationDecrease0 is a paid mutator transaction binding the contract method 0x86d18a25.

Solidity: function requestAuthorizationDecrease(address stakingProvider) returns()

func (*TokenStakingSession) RolesOf

func (_TokenStaking *TokenStakingSession) RolesOf(stakingProvider common.Address) (struct {
	Owner       common.Address
	Beneficiary common.Address
	Authorizer  common.Address
}, error)

RolesOf is a free data retrieval call binding the contract method 0x2de94807.

Solidity: function rolesOf(address stakingProvider) view returns(address owner, address beneficiary, address authorizer)

func (*TokenStakingSession) Seize

func (_TokenStaking *TokenStakingSession) Seize(amount *big.Int, rewardMultiplier *big.Int, notifier common.Address, _stakingProviders []common.Address) (*types.Transaction, error)

Seize is a paid mutator transaction binding the contract method 0x83ddba8f.

Solidity: function seize(uint96 amount, uint256 rewardMultiplier, address notifier, address[] _stakingProviders) returns()

func (*TokenStakingSession) SetAuthorizationCeiling

func (_TokenStaking *TokenStakingSession) SetAuthorizationCeiling(ceiling *big.Int) (*types.Transaction, error)

SetAuthorizationCeiling is a paid mutator transaction binding the contract method 0xb1958150.

Solidity: function setAuthorizationCeiling(uint256 ceiling) returns()

func (*TokenStakingSession) SetMinimumStakeAmount

func (_TokenStaking *TokenStakingSession) SetMinimumStakeAmount(amount *big.Int) (*types.Transaction, error)

SetMinimumStakeAmount is a paid mutator transaction binding the contract method 0x6d08f5b0.

Solidity: function setMinimumStakeAmount(uint96 amount) returns()

func (*TokenStakingSession) SetNotificationReward

func (_TokenStaking *TokenStakingSession) SetNotificationReward(reward *big.Int) (*types.Transaction, error)

SetNotificationReward is a paid mutator transaction binding the contract method 0xd3e25ef3.

Solidity: function setNotificationReward(uint96 reward) returns()

func (*TokenStakingSession) SetPanicButton

func (_TokenStaking *TokenStakingSession) SetPanicButton(application common.Address, panicButton common.Address) (*types.Transaction, error)

SetPanicButton is a paid mutator transaction binding the contract method 0x1d5270d3.

Solidity: function setPanicButton(address application, address panicButton) returns()

func (*TokenStakingSession) SetStakeDiscrepancyPenalty

func (_TokenStaking *TokenStakingSession) SetStakeDiscrepancyPenalty(penalty *big.Int, rewardMultiplier *big.Int) (*types.Transaction, error)

SetStakeDiscrepancyPenalty is a paid mutator transaction binding the contract method 0x7d0379f0.

Solidity: function setStakeDiscrepancyPenalty(uint96 penalty, uint256 rewardMultiplier) returns()

func (*TokenStakingSession) Slash

func (_TokenStaking *TokenStakingSession) Slash(amount *big.Int, _stakingProviders []common.Address) (*types.Transaction, error)

Slash is a paid mutator transaction binding the contract method 0xf07f91c5.

Solidity: function slash(uint96 amount, address[] _stakingProviders) returns()

func (*TokenStakingSession) SlashingQueue

func (_TokenStaking *TokenStakingSession) SlashingQueue(arg0 *big.Int) (struct {
	StakingProvider common.Address
	Amount          *big.Int
}, error)

SlashingQueue is a free data retrieval call binding the contract method 0xf1f6c315.

Solidity: function slashingQueue(uint256 ) view returns(address stakingProvider, uint96 amount)

func (*TokenStakingSession) SlashingQueueIndex

func (_TokenStaking *TokenStakingSession) SlashingQueueIndex() (*big.Int, error)

SlashingQueueIndex is a free data retrieval call binding the contract method 0xa7bb8ba8.

Solidity: function slashingQueueIndex() view returns(uint256)

func (*TokenStakingSession) Stake

func (_TokenStaking *TokenStakingSession) Stake(stakingProvider common.Address, beneficiary common.Address, authorizer common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function stake(address stakingProvider, address beneficiary, address authorizer, uint96 amount) returns()

func (*TokenStakingSession) StakeDiscrepancyPenalty

func (_TokenStaking *TokenStakingSession) StakeDiscrepancyPenalty() (*big.Int, error)

StakeDiscrepancyPenalty is a free data retrieval call binding the contract method 0xeaa86492.

Solidity: function stakeDiscrepancyPenalty() view returns(uint96)

func (*TokenStakingSession) StakeDiscrepancyRewardMultiplier

func (_TokenStaking *TokenStakingSession) StakeDiscrepancyRewardMultiplier() (*big.Int, error)

StakeDiscrepancyRewardMultiplier is a free data retrieval call binding the contract method 0x44e97423.

Solidity: function stakeDiscrepancyRewardMultiplier() view returns(uint256)

func (*TokenStakingSession) StakeKeep

func (_TokenStaking *TokenStakingSession) StakeKeep(stakingProvider common.Address) (*types.Transaction, error)

StakeKeep is a paid mutator transaction binding the contract method 0x570ea461.

Solidity: function stakeKeep(address stakingProvider) returns()

func (*TokenStakingSession) StakeNu

func (_TokenStaking *TokenStakingSession) StakeNu(stakingProvider common.Address, beneficiary common.Address, authorizer common.Address) (*types.Transaction, error)

StakeNu is a paid mutator transaction binding the contract method 0x81b0a0ce.

Solidity: function stakeNu(address stakingProvider, address beneficiary, address authorizer) returns()

func (*TokenStakingSession) StakedNu

func (_TokenStaking *TokenStakingSession) StakedNu(stakingProvider common.Address) (*big.Int, error)

StakedNu is a free data retrieval call binding the contract method 0x4a11fae3.

Solidity: function stakedNu(address stakingProvider) view returns(uint256 nuAmount)

func (*TokenStakingSession) Stakes

func (_TokenStaking *TokenStakingSession) Stakes(stakingProvider common.Address) (struct {
	TStake       *big.Int
	KeepInTStake *big.Int
	NuInTStake   *big.Int
}, error)

Stakes is a free data retrieval call binding the contract method 0x16934fc4.

Solidity: function stakes(address stakingProvider) view returns(uint96 tStake, uint96 keepInTStake, uint96 nuInTStake)

func (*TokenStakingSession) TopUp

func (_TokenStaking *TokenStakingSession) TopUp(stakingProvider common.Address, amount *big.Int) (*types.Transaction, error)

TopUp is a paid mutator transaction binding the contract method 0x28c8c55f.

Solidity: function topUp(address stakingProvider, uint96 amount) returns()

func (*TokenStakingSession) TopUpKeep

func (_TokenStaking *TokenStakingSession) TopUpKeep(stakingProvider common.Address) (*types.Transaction, error)

TopUpKeep is a paid mutator transaction binding the contract method 0xef47bf40.

Solidity: function topUpKeep(address stakingProvider) returns()

func (*TokenStakingSession) TopUpNu

func (_TokenStaking *TokenStakingSession) TopUpNu(stakingProvider common.Address) (*types.Transaction, error)

TopUpNu is a paid mutator transaction binding the contract method 0x56f958ee.

Solidity: function topUpNu(address stakingProvider) returns()

func (*TokenStakingSession) TransferGovernance

func (_TokenStaking *TokenStakingSession) TransferGovernance(newGuvnor common.Address) (*types.Transaction, error)

TransferGovernance is a paid mutator transaction binding the contract method 0xd38bfff4.

Solidity: function transferGovernance(address newGuvnor) returns()

func (*TokenStakingSession) UnstakeAll

func (_TokenStaking *TokenStakingSession) UnstakeAll(stakingProvider common.Address) (*types.Transaction, error)

UnstakeAll is a paid mutator transaction binding the contract method 0xa0d6ff9a.

Solidity: function unstakeAll(address stakingProvider) returns()

func (*TokenStakingSession) UnstakeKeep

func (_TokenStaking *TokenStakingSession) UnstakeKeep(stakingProvider common.Address) (*types.Transaction, error)

UnstakeKeep is a paid mutator transaction binding the contract method 0x4ec0a9fe.

Solidity: function unstakeKeep(address stakingProvider) returns()

func (*TokenStakingSession) UnstakeNu

func (_TokenStaking *TokenStakingSession) UnstakeNu(stakingProvider common.Address, amount *big.Int) (*types.Transaction, error)

UnstakeNu is a paid mutator transaction binding the contract method 0x58ccdf38.

Solidity: function unstakeNu(address stakingProvider, uint96 amount) returns()

func (*TokenStakingSession) UnstakeT

func (_TokenStaking *TokenStakingSession) UnstakeT(stakingProvider common.Address, amount *big.Int) (*types.Transaction, error)

UnstakeT is a paid mutator transaction binding the contract method 0xd3ecb6cd.

Solidity: function unstakeT(address stakingProvider, uint96 amount) returns()

func (*TokenStakingSession) WithdrawNotificationReward

func (_TokenStaking *TokenStakingSession) WithdrawNotificationReward(recipient common.Address, amount *big.Int) (*types.Transaction, error)

WithdrawNotificationReward is a paid mutator transaction binding the contract method 0x6d9b9a34.

Solidity: function withdrawNotificationReward(address recipient, uint96 amount) returns()

type TokenStakingSlashingProcessed

type TokenStakingSlashingProcessed struct {
	Caller  common.Address
	Count   *big.Int
	TAmount *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

TokenStakingSlashingProcessed represents a SlashingProcessed event raised by the TokenStaking contract.

type TokenStakingSlashingProcessedIterator

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

TokenStakingSlashingProcessedIterator is returned from FilterSlashingProcessed and is used to iterate over the raw logs and unpacked data for SlashingProcessed events raised by the TokenStaking contract.

func (*TokenStakingSlashingProcessedIterator) Close

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

func (*TokenStakingSlashingProcessedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

type TokenStakingStakeDiscrepancyPenaltySet struct {
	Penalty          *big.Int
	RewardMultiplier *big.Int
	Raw              types.Log // Blockchain specific contextual infos
}

TokenStakingStakeDiscrepancyPenaltySet represents a StakeDiscrepancyPenaltySet event raised by the TokenStaking contract.

type TokenStakingStakeDiscrepancyPenaltySetIterator

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

TokenStakingStakeDiscrepancyPenaltySetIterator is returned from FilterStakeDiscrepancyPenaltySet and is used to iterate over the raw logs and unpacked data for StakeDiscrepancyPenaltySet events raised by the TokenStaking contract.

func (*TokenStakingStakeDiscrepancyPenaltySetIterator) Close

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

func (*TokenStakingStakeDiscrepancyPenaltySetIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

type TokenStakingStaked struct {
	StakeType       uint8
	Owner           common.Address
	StakingProvider common.Address
	Beneficiary     common.Address
	Authorizer      common.Address
	Amount          *big.Int
	Raw             types.Log // Blockchain specific contextual infos
}

TokenStakingStaked represents a Staked event raised by the TokenStaking contract.

type TokenStakingStakedIterator

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

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

func (*TokenStakingStakedIterator) Close

func (it *TokenStakingStakedIterator) Close() error

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

func (*TokenStakingStakedIterator) Error

func (it *TokenStakingStakedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*TokenStakingStakedIterator) Next

func (it *TokenStakingStakedIterator) 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 TokenStakingTokensSeized

type TokenStakingTokensSeized struct {
	StakingProvider common.Address
	Amount          *big.Int
	Discrepancy     bool
	Raw             types.Log // Blockchain specific contextual infos
}

TokenStakingTokensSeized represents a TokensSeized event raised by the TokenStaking contract.

type TokenStakingTokensSeizedIterator

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

TokenStakingTokensSeizedIterator is returned from FilterTokensSeized and is used to iterate over the raw logs and unpacked data for TokensSeized events raised by the TokenStaking contract.

func (*TokenStakingTokensSeizedIterator) Close

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

func (*TokenStakingTokensSeizedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

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

TokenStakingToppedUp represents a ToppedUp event raised by the TokenStaking contract.

type TokenStakingToppedUpIterator

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

TokenStakingToppedUpIterator is returned from FilterToppedUp and is used to iterate over the raw logs and unpacked data for ToppedUp events raised by the TokenStaking contract.

func (*TokenStakingToppedUpIterator) Close

func (it *TokenStakingToppedUpIterator) Close() error

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

func (*TokenStakingToppedUpIterator) Error

func (it *TokenStakingToppedUpIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

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

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

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

func NewTokenStakingTransactor

func NewTokenStakingTransactor(address common.Address, transactor bind.ContractTransactor) (*TokenStakingTransactor, error)

NewTokenStakingTransactor creates a new write-only instance of TokenStaking, bound to a specific deployed contract.

func (*TokenStakingTransactor) ApproveApplication

func (_TokenStaking *TokenStakingTransactor) ApproveApplication(opts *bind.TransactOpts, application common.Address) (*types.Transaction, error)

ApproveApplication is a paid mutator transaction binding the contract method 0xe3ae4d0a.

Solidity: function approveApplication(address application) returns()

func (*TokenStakingTransactor) ApproveAuthorizationDecrease

func (_TokenStaking *TokenStakingTransactor) ApproveAuthorizationDecrease(opts *bind.TransactOpts, stakingProvider common.Address) (*types.Transaction, error)

ApproveAuthorizationDecrease is a paid mutator transaction binding the contract method 0x75e0ae5a.

Solidity: function approveAuthorizationDecrease(address stakingProvider) returns(uint96)

func (*TokenStakingTransactor) DelegateVoting

func (_TokenStaking *TokenStakingTransactor) DelegateVoting(opts *bind.TransactOpts, stakingProvider common.Address, delegatee common.Address) (*types.Transaction, error)

DelegateVoting is a paid mutator transaction binding the contract method 0x0fa78bf4.

Solidity: function delegateVoting(address stakingProvider, address delegatee) returns()

func (*TokenStakingTransactor) DisableApplication

func (_TokenStaking *TokenStakingTransactor) DisableApplication(opts *bind.TransactOpts, application common.Address) (*types.Transaction, error)

DisableApplication is a paid mutator transaction binding the contract method 0x43445748.

Solidity: function disableApplication(address application) returns()

func (*TokenStakingTransactor) ForceDecreaseAuthorization

func (_TokenStaking *TokenStakingTransactor) ForceDecreaseAuthorization(opts *bind.TransactOpts, stakingProvider common.Address, application common.Address) (*types.Transaction, error)

ForceDecreaseAuthorization is a paid mutator transaction binding the contract method 0xb626ca3e.

Solidity: function forceDecreaseAuthorization(address stakingProvider, address application) returns()

func (*TokenStakingTransactor) IncreaseAuthorization

func (_TokenStaking *TokenStakingTransactor) IncreaseAuthorization(opts *bind.TransactOpts, stakingProvider common.Address, application common.Address, amount *big.Int) (*types.Transaction, error)

IncreaseAuthorization is a paid mutator transaction binding the contract method 0xf848beff.

Solidity: function increaseAuthorization(address stakingProvider, address application, uint96 amount) returns()

func (*TokenStakingTransactor) Initialize

func (_TokenStaking *TokenStakingTransactor) Initialize(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function initialize() returns()

func (*TokenStakingTransactor) NotifyKeepStakeDiscrepancy

func (_TokenStaking *TokenStakingTransactor) NotifyKeepStakeDiscrepancy(opts *bind.TransactOpts, stakingProvider common.Address) (*types.Transaction, error)

NotifyKeepStakeDiscrepancy is a paid mutator transaction binding the contract method 0x402121af.

Solidity: function notifyKeepStakeDiscrepancy(address stakingProvider) returns()

func (*TokenStakingTransactor) NotifyNuStakeDiscrepancy

func (_TokenStaking *TokenStakingTransactor) NotifyNuStakeDiscrepancy(opts *bind.TransactOpts, stakingProvider common.Address) (*types.Transaction, error)

NotifyNuStakeDiscrepancy is a paid mutator transaction binding the contract method 0x8e46ecb6.

Solidity: function notifyNuStakeDiscrepancy(address stakingProvider) returns()

func (*TokenStakingTransactor) PauseApplication

func (_TokenStaking *TokenStakingTransactor) PauseApplication(opts *bind.TransactOpts, application common.Address) (*types.Transaction, error)

PauseApplication is a paid mutator transaction binding the contract method 0x2c686ca0.

Solidity: function pauseApplication(address application) returns()

func (*TokenStakingTransactor) ProcessSlashing

func (_TokenStaking *TokenStakingTransactor) ProcessSlashing(opts *bind.TransactOpts, count *big.Int) (*types.Transaction, error)

ProcessSlashing is a paid mutator transaction binding the contract method 0xbe2f3351.

Solidity: function processSlashing(uint256 count) returns()

func (*TokenStakingTransactor) PushNotificationReward

func (_TokenStaking *TokenStakingTransactor) PushNotificationReward(opts *bind.TransactOpts, reward *big.Int) (*types.Transaction, error)

PushNotificationReward is a paid mutator transaction binding the contract method 0x483046bb.

Solidity: function pushNotificationReward(uint96 reward) returns()

func (*TokenStakingTransactor) RefreshKeepStakeOwner

func (_TokenStaking *TokenStakingTransactor) RefreshKeepStakeOwner(opts *bind.TransactOpts, stakingProvider common.Address) (*types.Transaction, error)

RefreshKeepStakeOwner is a paid mutator transaction binding the contract method 0xaf5f24ad.

Solidity: function refreshKeepStakeOwner(address stakingProvider) returns()

func (*TokenStakingTransactor) RequestAuthorizationDecrease

func (_TokenStaking *TokenStakingTransactor) RequestAuthorizationDecrease(opts *bind.TransactOpts, stakingProvider common.Address, application common.Address, amount *big.Int) (*types.Transaction, error)

RequestAuthorizationDecrease is a paid mutator transaction binding the contract method 0x5f2d5030.

Solidity: function requestAuthorizationDecrease(address stakingProvider, address application, uint96 amount) returns()

func (*TokenStakingTransactor) RequestAuthorizationDecrease0

func (_TokenStaking *TokenStakingTransactor) RequestAuthorizationDecrease0(opts *bind.TransactOpts, stakingProvider common.Address) (*types.Transaction, error)

RequestAuthorizationDecrease0 is a paid mutator transaction binding the contract method 0x86d18a25.

Solidity: function requestAuthorizationDecrease(address stakingProvider) returns()

func (*TokenStakingTransactor) Seize

func (_TokenStaking *TokenStakingTransactor) Seize(opts *bind.TransactOpts, amount *big.Int, rewardMultiplier *big.Int, notifier common.Address, _stakingProviders []common.Address) (*types.Transaction, error)

Seize is a paid mutator transaction binding the contract method 0x83ddba8f.

Solidity: function seize(uint96 amount, uint256 rewardMultiplier, address notifier, address[] _stakingProviders) returns()

func (*TokenStakingTransactor) SetAuthorizationCeiling

func (_TokenStaking *TokenStakingTransactor) SetAuthorizationCeiling(opts *bind.TransactOpts, ceiling *big.Int) (*types.Transaction, error)

SetAuthorizationCeiling is a paid mutator transaction binding the contract method 0xb1958150.

Solidity: function setAuthorizationCeiling(uint256 ceiling) returns()

func (*TokenStakingTransactor) SetMinimumStakeAmount

func (_TokenStaking *TokenStakingTransactor) SetMinimumStakeAmount(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)

SetMinimumStakeAmount is a paid mutator transaction binding the contract method 0x6d08f5b0.

Solidity: function setMinimumStakeAmount(uint96 amount) returns()

func (*TokenStakingTransactor) SetNotificationReward

func (_TokenStaking *TokenStakingTransactor) SetNotificationReward(opts *bind.TransactOpts, reward *big.Int) (*types.Transaction, error)

SetNotificationReward is a paid mutator transaction binding the contract method 0xd3e25ef3.

Solidity: function setNotificationReward(uint96 reward) returns()

func (*TokenStakingTransactor) SetPanicButton

func (_TokenStaking *TokenStakingTransactor) SetPanicButton(opts *bind.TransactOpts, application common.Address, panicButton common.Address) (*types.Transaction, error)

SetPanicButton is a paid mutator transaction binding the contract method 0x1d5270d3.

Solidity: function setPanicButton(address application, address panicButton) returns()

func (*TokenStakingTransactor) SetStakeDiscrepancyPenalty

func (_TokenStaking *TokenStakingTransactor) SetStakeDiscrepancyPenalty(opts *bind.TransactOpts, penalty *big.Int, rewardMultiplier *big.Int) (*types.Transaction, error)

SetStakeDiscrepancyPenalty is a paid mutator transaction binding the contract method 0x7d0379f0.

Solidity: function setStakeDiscrepancyPenalty(uint96 penalty, uint256 rewardMultiplier) returns()

func (*TokenStakingTransactor) Slash

func (_TokenStaking *TokenStakingTransactor) Slash(opts *bind.TransactOpts, amount *big.Int, _stakingProviders []common.Address) (*types.Transaction, error)

Slash is a paid mutator transaction binding the contract method 0xf07f91c5.

Solidity: function slash(uint96 amount, address[] _stakingProviders) returns()

func (*TokenStakingTransactor) Stake

func (_TokenStaking *TokenStakingTransactor) Stake(opts *bind.TransactOpts, stakingProvider common.Address, beneficiary common.Address, authorizer common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function stake(address stakingProvider, address beneficiary, address authorizer, uint96 amount) returns()

func (*TokenStakingTransactor) StakeKeep

func (_TokenStaking *TokenStakingTransactor) StakeKeep(opts *bind.TransactOpts, stakingProvider common.Address) (*types.Transaction, error)

StakeKeep is a paid mutator transaction binding the contract method 0x570ea461.

Solidity: function stakeKeep(address stakingProvider) returns()

func (*TokenStakingTransactor) StakeNu

func (_TokenStaking *TokenStakingTransactor) StakeNu(opts *bind.TransactOpts, stakingProvider common.Address, beneficiary common.Address, authorizer common.Address) (*types.Transaction, error)

StakeNu is a paid mutator transaction binding the contract method 0x81b0a0ce.

Solidity: function stakeNu(address stakingProvider, address beneficiary, address authorizer) returns()

func (*TokenStakingTransactor) TopUp

func (_TokenStaking *TokenStakingTransactor) TopUp(opts *bind.TransactOpts, stakingProvider common.Address, amount *big.Int) (*types.Transaction, error)

TopUp is a paid mutator transaction binding the contract method 0x28c8c55f.

Solidity: function topUp(address stakingProvider, uint96 amount) returns()

func (*TokenStakingTransactor) TopUpKeep

func (_TokenStaking *TokenStakingTransactor) TopUpKeep(opts *bind.TransactOpts, stakingProvider common.Address) (*types.Transaction, error)

TopUpKeep is a paid mutator transaction binding the contract method 0xef47bf40.

Solidity: function topUpKeep(address stakingProvider) returns()

func (*TokenStakingTransactor) TopUpNu

func (_TokenStaking *TokenStakingTransactor) TopUpNu(opts *bind.TransactOpts, stakingProvider common.Address) (*types.Transaction, error)

TopUpNu is a paid mutator transaction binding the contract method 0x56f958ee.

Solidity: function topUpNu(address stakingProvider) returns()

func (*TokenStakingTransactor) TransferGovernance

func (_TokenStaking *TokenStakingTransactor) TransferGovernance(opts *bind.TransactOpts, newGuvnor common.Address) (*types.Transaction, error)

TransferGovernance is a paid mutator transaction binding the contract method 0xd38bfff4.

Solidity: function transferGovernance(address newGuvnor) returns()

func (*TokenStakingTransactor) UnstakeAll

func (_TokenStaking *TokenStakingTransactor) UnstakeAll(opts *bind.TransactOpts, stakingProvider common.Address) (*types.Transaction, error)

UnstakeAll is a paid mutator transaction binding the contract method 0xa0d6ff9a.

Solidity: function unstakeAll(address stakingProvider) returns()

func (*TokenStakingTransactor) UnstakeKeep

func (_TokenStaking *TokenStakingTransactor) UnstakeKeep(opts *bind.TransactOpts, stakingProvider common.Address) (*types.Transaction, error)

UnstakeKeep is a paid mutator transaction binding the contract method 0x4ec0a9fe.

Solidity: function unstakeKeep(address stakingProvider) returns()

func (*TokenStakingTransactor) UnstakeNu

func (_TokenStaking *TokenStakingTransactor) UnstakeNu(opts *bind.TransactOpts, stakingProvider common.Address, amount *big.Int) (*types.Transaction, error)

UnstakeNu is a paid mutator transaction binding the contract method 0x58ccdf38.

Solidity: function unstakeNu(address stakingProvider, uint96 amount) returns()

func (*TokenStakingTransactor) UnstakeT

func (_TokenStaking *TokenStakingTransactor) UnstakeT(opts *bind.TransactOpts, stakingProvider common.Address, amount *big.Int) (*types.Transaction, error)

UnstakeT is a paid mutator transaction binding the contract method 0xd3ecb6cd.

Solidity: function unstakeT(address stakingProvider, uint96 amount) returns()

func (*TokenStakingTransactor) WithdrawNotificationReward

func (_TokenStaking *TokenStakingTransactor) WithdrawNotificationReward(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)

WithdrawNotificationReward is a paid mutator transaction binding the contract method 0x6d9b9a34.

Solidity: function withdrawNotificationReward(address recipient, uint96 amount) returns()

type TokenStakingTransactorRaw

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

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

func (*TokenStakingTransactorRaw) Transact

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

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

func (*TokenStakingTransactorRaw) Transfer

func (_TokenStaking *TokenStakingTransactorRaw) 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 TokenStakingTransactorSession

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

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

func (*TokenStakingTransactorSession) ApproveApplication

func (_TokenStaking *TokenStakingTransactorSession) ApproveApplication(application common.Address) (*types.Transaction, error)

ApproveApplication is a paid mutator transaction binding the contract method 0xe3ae4d0a.

Solidity: function approveApplication(address application) returns()

func (*TokenStakingTransactorSession) ApproveAuthorizationDecrease

func (_TokenStaking *TokenStakingTransactorSession) ApproveAuthorizationDecrease(stakingProvider common.Address) (*types.Transaction, error)

ApproveAuthorizationDecrease is a paid mutator transaction binding the contract method 0x75e0ae5a.

Solidity: function approveAuthorizationDecrease(address stakingProvider) returns(uint96)

func (*TokenStakingTransactorSession) DelegateVoting

func (_TokenStaking *TokenStakingTransactorSession) DelegateVoting(stakingProvider common.Address, delegatee common.Address) (*types.Transaction, error)

DelegateVoting is a paid mutator transaction binding the contract method 0x0fa78bf4.

Solidity: function delegateVoting(address stakingProvider, address delegatee) returns()

func (*TokenStakingTransactorSession) DisableApplication

func (_TokenStaking *TokenStakingTransactorSession) DisableApplication(application common.Address) (*types.Transaction, error)

DisableApplication is a paid mutator transaction binding the contract method 0x43445748.

Solidity: function disableApplication(address application) returns()

func (*TokenStakingTransactorSession) ForceDecreaseAuthorization

func (_TokenStaking *TokenStakingTransactorSession) ForceDecreaseAuthorization(stakingProvider common.Address, application common.Address) (*types.Transaction, error)

ForceDecreaseAuthorization is a paid mutator transaction binding the contract method 0xb626ca3e.

Solidity: function forceDecreaseAuthorization(address stakingProvider, address application) returns()

func (*TokenStakingTransactorSession) IncreaseAuthorization

func (_TokenStaking *TokenStakingTransactorSession) IncreaseAuthorization(stakingProvider common.Address, application common.Address, amount *big.Int) (*types.Transaction, error)

IncreaseAuthorization is a paid mutator transaction binding the contract method 0xf848beff.

Solidity: function increaseAuthorization(address stakingProvider, address application, uint96 amount) returns()

func (*TokenStakingTransactorSession) Initialize

func (_TokenStaking *TokenStakingTransactorSession) Initialize() (*types.Transaction, error)

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

Solidity: function initialize() returns()

func (*TokenStakingTransactorSession) NotifyKeepStakeDiscrepancy

func (_TokenStaking *TokenStakingTransactorSession) NotifyKeepStakeDiscrepancy(stakingProvider common.Address) (*types.Transaction, error)

NotifyKeepStakeDiscrepancy is a paid mutator transaction binding the contract method 0x402121af.

Solidity: function notifyKeepStakeDiscrepancy(address stakingProvider) returns()

func (*TokenStakingTransactorSession) NotifyNuStakeDiscrepancy

func (_TokenStaking *TokenStakingTransactorSession) NotifyNuStakeDiscrepancy(stakingProvider common.Address) (*types.Transaction, error)

NotifyNuStakeDiscrepancy is a paid mutator transaction binding the contract method 0x8e46ecb6.

Solidity: function notifyNuStakeDiscrepancy(address stakingProvider) returns()

func (*TokenStakingTransactorSession) PauseApplication

func (_TokenStaking *TokenStakingTransactorSession) PauseApplication(application common.Address) (*types.Transaction, error)

PauseApplication is a paid mutator transaction binding the contract method 0x2c686ca0.

Solidity: function pauseApplication(address application) returns()

func (*TokenStakingTransactorSession) ProcessSlashing

func (_TokenStaking *TokenStakingTransactorSession) ProcessSlashing(count *big.Int) (*types.Transaction, error)

ProcessSlashing is a paid mutator transaction binding the contract method 0xbe2f3351.

Solidity: function processSlashing(uint256 count) returns()

func (*TokenStakingTransactorSession) PushNotificationReward

func (_TokenStaking *TokenStakingTransactorSession) PushNotificationReward(reward *big.Int) (*types.Transaction, error)

PushNotificationReward is a paid mutator transaction binding the contract method 0x483046bb.

Solidity: function pushNotificationReward(uint96 reward) returns()

func (*TokenStakingTransactorSession) RefreshKeepStakeOwner

func (_TokenStaking *TokenStakingTransactorSession) RefreshKeepStakeOwner(stakingProvider common.Address) (*types.Transaction, error)

RefreshKeepStakeOwner is a paid mutator transaction binding the contract method 0xaf5f24ad.

Solidity: function refreshKeepStakeOwner(address stakingProvider) returns()

func (*TokenStakingTransactorSession) RequestAuthorizationDecrease

func (_TokenStaking *TokenStakingTransactorSession) RequestAuthorizationDecrease(stakingProvider common.Address, application common.Address, amount *big.Int) (*types.Transaction, error)

RequestAuthorizationDecrease is a paid mutator transaction binding the contract method 0x5f2d5030.

Solidity: function requestAuthorizationDecrease(address stakingProvider, address application, uint96 amount) returns()

func (*TokenStakingTransactorSession) RequestAuthorizationDecrease0

func (_TokenStaking *TokenStakingTransactorSession) RequestAuthorizationDecrease0(stakingProvider common.Address) (*types.Transaction, error)

RequestAuthorizationDecrease0 is a paid mutator transaction binding the contract method 0x86d18a25.

Solidity: function requestAuthorizationDecrease(address stakingProvider) returns()

func (*TokenStakingTransactorSession) Seize

func (_TokenStaking *TokenStakingTransactorSession) Seize(amount *big.Int, rewardMultiplier *big.Int, notifier common.Address, _stakingProviders []common.Address) (*types.Transaction, error)

Seize is a paid mutator transaction binding the contract method 0x83ddba8f.

Solidity: function seize(uint96 amount, uint256 rewardMultiplier, address notifier, address[] _stakingProviders) returns()

func (*TokenStakingTransactorSession) SetAuthorizationCeiling

func (_TokenStaking *TokenStakingTransactorSession) SetAuthorizationCeiling(ceiling *big.Int) (*types.Transaction, error)

SetAuthorizationCeiling is a paid mutator transaction binding the contract method 0xb1958150.

Solidity: function setAuthorizationCeiling(uint256 ceiling) returns()

func (*TokenStakingTransactorSession) SetMinimumStakeAmount

func (_TokenStaking *TokenStakingTransactorSession) SetMinimumStakeAmount(amount *big.Int) (*types.Transaction, error)

SetMinimumStakeAmount is a paid mutator transaction binding the contract method 0x6d08f5b0.

Solidity: function setMinimumStakeAmount(uint96 amount) returns()

func (*TokenStakingTransactorSession) SetNotificationReward

func (_TokenStaking *TokenStakingTransactorSession) SetNotificationReward(reward *big.Int) (*types.Transaction, error)

SetNotificationReward is a paid mutator transaction binding the contract method 0xd3e25ef3.

Solidity: function setNotificationReward(uint96 reward) returns()

func (*TokenStakingTransactorSession) SetPanicButton

func (_TokenStaking *TokenStakingTransactorSession) SetPanicButton(application common.Address, panicButton common.Address) (*types.Transaction, error)

SetPanicButton is a paid mutator transaction binding the contract method 0x1d5270d3.

Solidity: function setPanicButton(address application, address panicButton) returns()

func (*TokenStakingTransactorSession) SetStakeDiscrepancyPenalty

func (_TokenStaking *TokenStakingTransactorSession) SetStakeDiscrepancyPenalty(penalty *big.Int, rewardMultiplier *big.Int) (*types.Transaction, error)

SetStakeDiscrepancyPenalty is a paid mutator transaction binding the contract method 0x7d0379f0.

Solidity: function setStakeDiscrepancyPenalty(uint96 penalty, uint256 rewardMultiplier) returns()

func (*TokenStakingTransactorSession) Slash

func (_TokenStaking *TokenStakingTransactorSession) Slash(amount *big.Int, _stakingProviders []common.Address) (*types.Transaction, error)

Slash is a paid mutator transaction binding the contract method 0xf07f91c5.

Solidity: function slash(uint96 amount, address[] _stakingProviders) returns()

func (*TokenStakingTransactorSession) Stake

func (_TokenStaking *TokenStakingTransactorSession) Stake(stakingProvider common.Address, beneficiary common.Address, authorizer common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function stake(address stakingProvider, address beneficiary, address authorizer, uint96 amount) returns()

func (*TokenStakingTransactorSession) StakeKeep

func (_TokenStaking *TokenStakingTransactorSession) StakeKeep(stakingProvider common.Address) (*types.Transaction, error)

StakeKeep is a paid mutator transaction binding the contract method 0x570ea461.

Solidity: function stakeKeep(address stakingProvider) returns()

func (*TokenStakingTransactorSession) StakeNu

func (_TokenStaking *TokenStakingTransactorSession) StakeNu(stakingProvider common.Address, beneficiary common.Address, authorizer common.Address) (*types.Transaction, error)

StakeNu is a paid mutator transaction binding the contract method 0x81b0a0ce.

Solidity: function stakeNu(address stakingProvider, address beneficiary, address authorizer) returns()

func (*TokenStakingTransactorSession) TopUp

func (_TokenStaking *TokenStakingTransactorSession) TopUp(stakingProvider common.Address, amount *big.Int) (*types.Transaction, error)

TopUp is a paid mutator transaction binding the contract method 0x28c8c55f.

Solidity: function topUp(address stakingProvider, uint96 amount) returns()

func (*TokenStakingTransactorSession) TopUpKeep

func (_TokenStaking *TokenStakingTransactorSession) TopUpKeep(stakingProvider common.Address) (*types.Transaction, error)

TopUpKeep is a paid mutator transaction binding the contract method 0xef47bf40.

Solidity: function topUpKeep(address stakingProvider) returns()

func (*TokenStakingTransactorSession) TopUpNu

func (_TokenStaking *TokenStakingTransactorSession) TopUpNu(stakingProvider common.Address) (*types.Transaction, error)

TopUpNu is a paid mutator transaction binding the contract method 0x56f958ee.

Solidity: function topUpNu(address stakingProvider) returns()

func (*TokenStakingTransactorSession) TransferGovernance

func (_TokenStaking *TokenStakingTransactorSession) TransferGovernance(newGuvnor common.Address) (*types.Transaction, error)

TransferGovernance is a paid mutator transaction binding the contract method 0xd38bfff4.

Solidity: function transferGovernance(address newGuvnor) returns()

func (*TokenStakingTransactorSession) UnstakeAll

func (_TokenStaking *TokenStakingTransactorSession) UnstakeAll(stakingProvider common.Address) (*types.Transaction, error)

UnstakeAll is a paid mutator transaction binding the contract method 0xa0d6ff9a.

Solidity: function unstakeAll(address stakingProvider) returns()

func (*TokenStakingTransactorSession) UnstakeKeep

func (_TokenStaking *TokenStakingTransactorSession) UnstakeKeep(stakingProvider common.Address) (*types.Transaction, error)

UnstakeKeep is a paid mutator transaction binding the contract method 0x4ec0a9fe.

Solidity: function unstakeKeep(address stakingProvider) returns()

func (*TokenStakingTransactorSession) UnstakeNu

func (_TokenStaking *TokenStakingTransactorSession) UnstakeNu(stakingProvider common.Address, amount *big.Int) (*types.Transaction, error)

UnstakeNu is a paid mutator transaction binding the contract method 0x58ccdf38.

Solidity: function unstakeNu(address stakingProvider, uint96 amount) returns()

func (*TokenStakingTransactorSession) UnstakeT

func (_TokenStaking *TokenStakingTransactorSession) UnstakeT(stakingProvider common.Address, amount *big.Int) (*types.Transaction, error)

UnstakeT is a paid mutator transaction binding the contract method 0xd3ecb6cd.

Solidity: function unstakeT(address stakingProvider, uint96 amount) returns()

func (*TokenStakingTransactorSession) WithdrawNotificationReward

func (_TokenStaking *TokenStakingTransactorSession) WithdrawNotificationReward(recipient common.Address, amount *big.Int) (*types.Transaction, error)

WithdrawNotificationReward is a paid mutator transaction binding the contract method 0x6d9b9a34.

Solidity: function withdrawNotificationReward(address recipient, uint96 amount) returns()

type TokenStakingUnstaked

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

TokenStakingUnstaked represents a Unstaked event raised by the TokenStaking contract.

type TokenStakingUnstakedIterator

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

TokenStakingUnstakedIterator is returned from FilterUnstaked and is used to iterate over the raw logs and unpacked data for Unstaked events raised by the TokenStaking contract.

func (*TokenStakingUnstakedIterator) Close

func (it *TokenStakingUnstakedIterator) Close() error

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

func (*TokenStakingUnstakedIterator) Error

func (it *TokenStakingUnstakedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*TokenStakingUnstakedIterator) Next

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

Jump to

Keyboard shortcuts

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