Documentation
¶
Index ¶
- Variables
- type ChainbaseToken
- type ChainbaseTokenApproval
- type ChainbaseTokenApprovalIterator
- type ChainbaseTokenCaller
- func (_ChainbaseToken *ChainbaseTokenCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)
- func (_ChainbaseToken *ChainbaseTokenCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)
- func (_ChainbaseToken *ChainbaseTokenCaller) Cap(opts *bind.CallOpts) (*big.Int, error)
- func (_ChainbaseToken *ChainbaseTokenCaller) Decimals(opts *bind.CallOpts) (uint8, error)
- func (_ChainbaseToken *ChainbaseTokenCaller) Name(opts *bind.CallOpts) (string, error)
- func (_ChainbaseToken *ChainbaseTokenCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_ChainbaseToken *ChainbaseTokenCaller) Symbol(opts *bind.CallOpts) (string, error)
- func (_ChainbaseToken *ChainbaseTokenCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type ChainbaseTokenCallerRaw
- type ChainbaseTokenCallerSession
- func (_ChainbaseToken *ChainbaseTokenCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_ChainbaseToken *ChainbaseTokenCallerSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_ChainbaseToken *ChainbaseTokenCallerSession) Cap() (*big.Int, error)
- func (_ChainbaseToken *ChainbaseTokenCallerSession) Decimals() (uint8, error)
- func (_ChainbaseToken *ChainbaseTokenCallerSession) Name() (string, error)
- func (_ChainbaseToken *ChainbaseTokenCallerSession) Owner() (common.Address, error)
- func (_ChainbaseToken *ChainbaseTokenCallerSession) Symbol() (string, error)
- func (_ChainbaseToken *ChainbaseTokenCallerSession) TotalSupply() (*big.Int, error)
- type ChainbaseTokenFilterer
- func (_ChainbaseToken *ChainbaseTokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*ChainbaseTokenApprovalIterator, error)
- func (_ChainbaseToken *ChainbaseTokenFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*ChainbaseTokenOwnershipTransferredIterator, error)
- func (_ChainbaseToken *ChainbaseTokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ChainbaseTokenTransferIterator, error)
- func (_ChainbaseToken *ChainbaseTokenFilterer) ParseApproval(log types.Log) (*ChainbaseTokenApproval, error)
- func (_ChainbaseToken *ChainbaseTokenFilterer) ParseOwnershipTransferred(log types.Log) (*ChainbaseTokenOwnershipTransferred, error)
- func (_ChainbaseToken *ChainbaseTokenFilterer) ParseTransfer(log types.Log) (*ChainbaseTokenTransfer, error)
- func (_ChainbaseToken *ChainbaseTokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ChainbaseTokenApproval, ...) (event.Subscription, error)
- func (_ChainbaseToken *ChainbaseTokenFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ChainbaseTokenOwnershipTransferred, ...) (event.Subscription, error)
- func (_ChainbaseToken *ChainbaseTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ChainbaseTokenTransfer, ...) (event.Subscription, error)
- type ChainbaseTokenOwnershipTransferred
- type ChainbaseTokenOwnershipTransferredIterator
- type ChainbaseTokenRaw
- func (_ChainbaseToken *ChainbaseTokenRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_ChainbaseToken *ChainbaseTokenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ChainbaseToken *ChainbaseTokenRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ChainbaseTokenSession
- func (_ChainbaseToken *ChainbaseTokenSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_ChainbaseToken *ChainbaseTokenSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ChainbaseToken *ChainbaseTokenSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_ChainbaseToken *ChainbaseTokenSession) Burn(amount *big.Int) (*types.Transaction, error)
- func (_ChainbaseToken *ChainbaseTokenSession) BurnFrom(account common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ChainbaseToken *ChainbaseTokenSession) Cap() (*big.Int, error)
- func (_ChainbaseToken *ChainbaseTokenSession) Decimals() (uint8, error)
- func (_ChainbaseToken *ChainbaseTokenSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_ChainbaseToken *ChainbaseTokenSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_ChainbaseToken *ChainbaseTokenSession) Mint(to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ChainbaseToken *ChainbaseTokenSession) Name() (string, error)
- func (_ChainbaseToken *ChainbaseTokenSession) Owner() (common.Address, error)
- func (_ChainbaseToken *ChainbaseTokenSession) RenounceOwnership() (*types.Transaction, error)
- func (_ChainbaseToken *ChainbaseTokenSession) Symbol() (string, error)
- func (_ChainbaseToken *ChainbaseTokenSession) TotalSupply() (*big.Int, error)
- func (_ChainbaseToken *ChainbaseTokenSession) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ChainbaseToken *ChainbaseTokenSession) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ChainbaseToken *ChainbaseTokenSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type ChainbaseTokenTransactor
- func (_ChainbaseToken *ChainbaseTokenTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ChainbaseToken *ChainbaseTokenTransactor) Burn(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)
- func (_ChainbaseToken *ChainbaseTokenTransactor) BurnFrom(opts *bind.TransactOpts, account common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ChainbaseToken *ChainbaseTokenTransactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_ChainbaseToken *ChainbaseTokenTransactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_ChainbaseToken *ChainbaseTokenTransactor) Mint(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ChainbaseToken *ChainbaseTokenTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_ChainbaseToken *ChainbaseTokenTransactor) Transfer(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ChainbaseToken *ChainbaseTokenTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- func (_ChainbaseToken *ChainbaseTokenTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- type ChainbaseTokenTransactorRaw
- type ChainbaseTokenTransactorSession
- func (_ChainbaseToken *ChainbaseTokenTransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ChainbaseToken *ChainbaseTokenTransactorSession) Burn(amount *big.Int) (*types.Transaction, error)
- func (_ChainbaseToken *ChainbaseTokenTransactorSession) BurnFrom(account common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ChainbaseToken *ChainbaseTokenTransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_ChainbaseToken *ChainbaseTokenTransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_ChainbaseToken *ChainbaseTokenTransactorSession) Mint(to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ChainbaseToken *ChainbaseTokenTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_ChainbaseToken *ChainbaseTokenTransactorSession) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ChainbaseToken *ChainbaseTokenTransactorSession) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ChainbaseToken *ChainbaseTokenTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type ChainbaseTokenTransfer
- type ChainbaseTokenTransferIterator
- type Staking
- type StakingCaller
- func (_Staking *StakingCaller) CToken(opts *bind.CallOpts) (common.Address, error)
- func (_Staking *StakingCaller) Delegations(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_Staking *StakingCaller) MinOperatorStake(opts *bind.CallOpts) (*big.Int, error)
- func (_Staking *StakingCaller) OperatorStakes(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_Staking *StakingCaller) OperatorWhitelist(opts *bind.CallOpts, arg0 common.Address) (bool, error)
- func (_Staking *StakingCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_Staking *StakingCaller) Paused(opts *bind.CallOpts) (bool, error)
- func (_Staking *StakingCaller) UNLOCKPERIOD(opts *bind.CallOpts) (*big.Int, error)
- func (_Staking *StakingCaller) UnstakeRequests(opts *bind.CallOpts, arg0 common.Address) (struct{ ... }, error)
- type StakingCallerRaw
- type StakingCallerSession
- func (_Staking *StakingCallerSession) CToken() (common.Address, error)
- func (_Staking *StakingCallerSession) Delegations(arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_Staking *StakingCallerSession) MinOperatorStake() (*big.Int, error)
- func (_Staking *StakingCallerSession) OperatorStakes(arg0 common.Address) (*big.Int, error)
- func (_Staking *StakingCallerSession) OperatorWhitelist(arg0 common.Address) (bool, error)
- func (_Staking *StakingCallerSession) Owner() (common.Address, error)
- func (_Staking *StakingCallerSession) Paused() (bool, error)
- func (_Staking *StakingCallerSession) UNLOCKPERIOD() (*big.Int, error)
- func (_Staking *StakingCallerSession) UnstakeRequests(arg0 common.Address) (struct{ ... }, error)
- type StakingDelegationDeposited
- type StakingDelegationDepositedIterator
- type StakingDelegationWithdrawn
- type StakingDelegationWithdrawnIterator
- type StakingFilterer
- func (_Staking *StakingFilterer) FilterDelegationDeposited(opts *bind.FilterOpts, delegator []common.Address, operator []common.Address) (*StakingDelegationDepositedIterator, error)
- func (_Staking *StakingFilterer) FilterDelegationWithdrawn(opts *bind.FilterOpts, delegator []common.Address, operator []common.Address) (*StakingDelegationWithdrawnIterator, error)
- func (_Staking *StakingFilterer) FilterInitialized(opts *bind.FilterOpts) (*StakingInitializedIterator, error)
- func (_Staking *StakingFilterer) FilterMinOperatorStakeUpdated(opts *bind.FilterOpts) (*StakingMinOperatorStakeUpdatedIterator, error)
- func (_Staking *StakingFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*StakingOwnershipTransferredIterator, error)
- func (_Staking *StakingFilterer) FilterPaused(opts *bind.FilterOpts) (*StakingPausedIterator, error)
- func (_Staking *StakingFilterer) FilterStakeDeposited(opts *bind.FilterOpts, operator []common.Address) (*StakingStakeDepositedIterator, error)
- func (_Staking *StakingFilterer) FilterStakeWithdrawn(opts *bind.FilterOpts, operator []common.Address) (*StakingStakeWithdrawnIterator, error)
- func (_Staking *StakingFilterer) FilterUnpaused(opts *bind.FilterOpts) (*StakingUnpausedIterator, error)
- func (_Staking *StakingFilterer) FilterUnstakeRequested(opts *bind.FilterOpts, operator []common.Address) (*StakingUnstakeRequestedIterator, error)
- func (_Staking *StakingFilterer) FilterWhitelistAdded(opts *bind.FilterOpts, operator []common.Address) (*StakingWhitelistAddedIterator, error)
- func (_Staking *StakingFilterer) FilterWhitelistRemoved(opts *bind.FilterOpts, operator []common.Address) (*StakingWhitelistRemovedIterator, error)
- func (_Staking *StakingFilterer) ParseDelegationDeposited(log types.Log) (*StakingDelegationDeposited, error)
- func (_Staking *StakingFilterer) ParseDelegationWithdrawn(log types.Log) (*StakingDelegationWithdrawn, error)
- func (_Staking *StakingFilterer) ParseInitialized(log types.Log) (*StakingInitialized, error)
- func (_Staking *StakingFilterer) ParseMinOperatorStakeUpdated(log types.Log) (*StakingMinOperatorStakeUpdated, error)
- func (_Staking *StakingFilterer) ParseOwnershipTransferred(log types.Log) (*StakingOwnershipTransferred, error)
- func (_Staking *StakingFilterer) ParsePaused(log types.Log) (*StakingPaused, error)
- func (_Staking *StakingFilterer) ParseStakeDeposited(log types.Log) (*StakingStakeDeposited, error)
- func (_Staking *StakingFilterer) ParseStakeWithdrawn(log types.Log) (*StakingStakeWithdrawn, error)
- func (_Staking *StakingFilterer) ParseUnpaused(log types.Log) (*StakingUnpaused, error)
- func (_Staking *StakingFilterer) ParseUnstakeRequested(log types.Log) (*StakingUnstakeRequested, error)
- func (_Staking *StakingFilterer) ParseWhitelistAdded(log types.Log) (*StakingWhitelistAdded, error)
- func (_Staking *StakingFilterer) ParseWhitelistRemoved(log types.Log) (*StakingWhitelistRemoved, error)
- func (_Staking *StakingFilterer) WatchDelegationDeposited(opts *bind.WatchOpts, sink chan<- *StakingDelegationDeposited, ...) (event.Subscription, error)
- func (_Staking *StakingFilterer) WatchDelegationWithdrawn(opts *bind.WatchOpts, sink chan<- *StakingDelegationWithdrawn, ...) (event.Subscription, error)
- func (_Staking *StakingFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *StakingInitialized) (event.Subscription, error)
- func (_Staking *StakingFilterer) WatchMinOperatorStakeUpdated(opts *bind.WatchOpts, sink chan<- *StakingMinOperatorStakeUpdated) (event.Subscription, error)
- func (_Staking *StakingFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *StakingOwnershipTransferred, ...) (event.Subscription, error)
- func (_Staking *StakingFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *StakingPaused) (event.Subscription, error)
- func (_Staking *StakingFilterer) WatchStakeDeposited(opts *bind.WatchOpts, sink chan<- *StakingStakeDeposited, ...) (event.Subscription, error)
- func (_Staking *StakingFilterer) WatchStakeWithdrawn(opts *bind.WatchOpts, sink chan<- *StakingStakeWithdrawn, ...) (event.Subscription, error)
- func (_Staking *StakingFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *StakingUnpaused) (event.Subscription, error)
- func (_Staking *StakingFilterer) WatchUnstakeRequested(opts *bind.WatchOpts, sink chan<- *StakingUnstakeRequested, ...) (event.Subscription, error)
- func (_Staking *StakingFilterer) WatchWhitelistAdded(opts *bind.WatchOpts, sink chan<- *StakingWhitelistAdded, ...) (event.Subscription, error)
- func (_Staking *StakingFilterer) WatchWhitelistRemoved(opts *bind.WatchOpts, sink chan<- *StakingWhitelistRemoved, ...) (event.Subscription, error)
- type StakingInitialized
- type StakingInitializedIterator
- type StakingMinOperatorStakeUpdated
- type StakingMinOperatorStakeUpdatedIterator
- type StakingOwnershipTransferred
- type StakingOwnershipTransferredIterator
- type StakingPaused
- type StakingPausedIterator
- type StakingRaw
- func (_Staking *StakingRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Staking *StakingRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Staking *StakingRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type StakingSession
- func (_Staking *StakingSession) AddWhitelist(operators []common.Address) (*types.Transaction, error)
- func (_Staking *StakingSession) CToken() (common.Address, error)
- func (_Staking *StakingSession) Delegate(operator common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Staking *StakingSession) Delegations(arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_Staking *StakingSession) Initialize(initialOwner common.Address) (*types.Transaction, error)
- func (_Staking *StakingSession) MinOperatorStake() (*big.Int, error)
- func (_Staking *StakingSession) OperatorStakes(arg0 common.Address) (*big.Int, error)
- func (_Staking *StakingSession) OperatorWhitelist(arg0 common.Address) (bool, error)
- func (_Staking *StakingSession) Owner() (common.Address, error)
- func (_Staking *StakingSession) Pause() (*types.Transaction, error)
- func (_Staking *StakingSession) Paused() (bool, error)
- func (_Staking *StakingSession) RemoveWhitelist(operators []common.Address) (*types.Transaction, error)
- func (_Staking *StakingSession) RenounceOwnership() (*types.Transaction, error)
- func (_Staking *StakingSession) SetMinOperatorStake(_minOperatorStake *big.Int) (*types.Transaction, error)
- func (_Staking *StakingSession) Stake(amount *big.Int) (*types.Transaction, error)
- func (_Staking *StakingSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_Staking *StakingSession) UNLOCKPERIOD() (*big.Int, error)
- func (_Staking *StakingSession) Unpause() (*types.Transaction, error)
- func (_Staking *StakingSession) Unstake() (*types.Transaction, error)
- func (_Staking *StakingSession) UnstakeRequests(arg0 common.Address) (struct{ ... }, error)
- func (_Staking *StakingSession) WithdrawDelegation(operator common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Staking *StakingSession) WithdrawStake() (*types.Transaction, error)
- type StakingStakeDeposited
- type StakingStakeDepositedIterator
- type StakingStakeWithdrawn
- type StakingStakeWithdrawnIterator
- type StakingTransactor
- func (_Staking *StakingTransactor) AddWhitelist(opts *bind.TransactOpts, operators []common.Address) (*types.Transaction, error)
- func (_Staking *StakingTransactor) Delegate(opts *bind.TransactOpts, operator common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Staking *StakingTransactor) Initialize(opts *bind.TransactOpts, initialOwner common.Address) (*types.Transaction, error)
- func (_Staking *StakingTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Staking *StakingTransactor) RemoveWhitelist(opts *bind.TransactOpts, operators []common.Address) (*types.Transaction, error)
- func (_Staking *StakingTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Staking *StakingTransactor) SetMinOperatorStake(opts *bind.TransactOpts, _minOperatorStake *big.Int) (*types.Transaction, error)
- func (_Staking *StakingTransactor) Stake(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)
- func (_Staking *StakingTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- func (_Staking *StakingTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Staking *StakingTransactor) Unstake(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Staking *StakingTransactor) WithdrawDelegation(opts *bind.TransactOpts, operator common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Staking *StakingTransactor) WithdrawStake(opts *bind.TransactOpts) (*types.Transaction, error)
- type StakingTransactorRaw
- type StakingTransactorSession
- func (_Staking *StakingTransactorSession) AddWhitelist(operators []common.Address) (*types.Transaction, error)
- func (_Staking *StakingTransactorSession) Delegate(operator common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Staking *StakingTransactorSession) Initialize(initialOwner common.Address) (*types.Transaction, error)
- func (_Staking *StakingTransactorSession) Pause() (*types.Transaction, error)
- func (_Staking *StakingTransactorSession) RemoveWhitelist(operators []common.Address) (*types.Transaction, error)
- func (_Staking *StakingTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_Staking *StakingTransactorSession) SetMinOperatorStake(_minOperatorStake *big.Int) (*types.Transaction, error)
- func (_Staking *StakingTransactorSession) Stake(amount *big.Int) (*types.Transaction, error)
- func (_Staking *StakingTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_Staking *StakingTransactorSession) Unpause() (*types.Transaction, error)
- func (_Staking *StakingTransactorSession) Unstake() (*types.Transaction, error)
- func (_Staking *StakingTransactorSession) WithdrawDelegation(operator common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Staking *StakingTransactorSession) WithdrawStake() (*types.Transaction, error)
- type StakingUnpaused
- type StakingUnpausedIterator
- type StakingUnstakeRequested
- type StakingUnstakeRequestedIterator
- type StakingWhitelistAdded
- type StakingWhitelistAddedIterator
- type StakingWhitelistRemoved
- type StakingWhitelistRemovedIterator
Constants ¶
This section is empty.
Variables ¶
var ChainbaseTokenABI = ChainbaseTokenMetaData.ABI
ChainbaseTokenABI is the input ABI used to generate the binding from. Deprecated: Use ChainbaseTokenMetaData.ABI instead.
var ChainbaseTokenBin = ChainbaseTokenMetaData.Bin
ChainbaseTokenBin is the compiled bytecode used for deploying new contracts. Deprecated: Use ChainbaseTokenMetaData.Bin instead.
var ChainbaseTokenMetaData = &bind.MetaData{
ABI: "[{\"type\":\"constructor\",\"inputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"allowance\",\"inputs\":[{\"name\":\"owner\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"spender\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"approve\",\"inputs\":[{\"name\":\"spender\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"balanceOf\",\"inputs\":[{\"name\":\"account\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"burn\",\"inputs\":[{\"name\":\"amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"burnFrom\",\"inputs\":[{\"name\":\"account\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"cap\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"decimals\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint8\",\"internalType\":\"uint8\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"decreaseAllowance\",\"inputs\":[{\"name\":\"spender\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"subtractedValue\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"increaseAllowance\",\"inputs\":[{\"name\":\"spender\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"addedValue\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"mint\",\"inputs\":[{\"name\":\"to\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"name\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"string\",\"internalType\":\"string\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"owner\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"renounceOwnership\",\"inputs\":[],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"symbol\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"string\",\"internalType\":\"string\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"totalSupply\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"transfer\",\"inputs\":[{\"name\":\"to\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"transferFrom\",\"inputs\":[{\"name\":\"from\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"to\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"transferOwnership\",\"inputs\":[{\"name\":\"newOwner\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"event\",\"name\":\"Approval\",\"inputs\":[{\"name\":\"owner\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"spender\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"value\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"OwnershipTransferred\",\"inputs\":[{\"name\":\"previousOwner\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"newOwner\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Transfer\",\"inputs\":[{\"name\":\"from\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"to\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"value\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false}]",
Bin: "0x60a06040523480156200001157600080fd5b506c02a68bedbb190931f6500000006040518060400160405280600f81526020016e21b430b4b73130b9b2902a37b5b2b760891b815250604051806040016040528060018152602001604360f81b8152508160039081620000739190620001e7565b506004620000828282620001e7565b50505060008111620000da5760405162461bcd60e51b815260206004820152601560248201527f45524332304361707065643a2063617020697320300000000000000000000000604482015260640160405180910390fd5b608052620000e833620000ee565b620002b3565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200016b57607f821691505b6020821081036200018c57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620001e2576000816000526020600020601f850160051c81016020861015620001bd5750805b601f850160051c820191505b81811015620001de57828155600101620001c9565b5050505b505050565b81516001600160401b0381111562000203576200020362000140565b6200021b8162000214845462000156565b8462000192565b602080601f8311600181146200025357600084156200023a5750858301515b600019600386901b1c1916600185901b178555620001de565b600085815260208120601f198616915b82811015620002845788860151825594840194600190910190840162000263565b5085821015620002a35787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b608051610d5a620002d6600039600081816101920152610a450152610d5a6000f3fe608060405234801561001057600080fd5b50600436106101165760003560e01c806370a08231116100a257806395d89b411161007157806395d89b4114610250578063a457c2d714610258578063a9059cbb1461026b578063dd62ed3e1461027e578063f2fde38b1461029157600080fd5b806370a08231146101f1578063715018a61461021a57806379cc6790146102225780638da5cb5b1461023557600080fd5b8063313ce567116100e9578063313ce56714610181578063355274ea1461019057806339509351146101b657806340c10f19146101c957806342966c68146101de57600080fd5b806306fdde031461011b578063095ea7b31461013957806318160ddd1461015c57806323b872dd1461016e575b600080fd5b6101236102a4565b6040516101309190610b8a565b60405180910390f35b61014c610147366004610bf5565b610336565b6040519015158152602001610130565b6002545b604051908152602001610130565b61014c61017c366004610c1f565b610350565b60405160128152602001610130565b7f0000000000000000000000000000000000000000000000000000000000000000610160565b61014c6101c4366004610bf5565b610374565b6101dc6101d7366004610bf5565b610396565b005b6101dc6101ec366004610c5b565b6103ac565b6101606101ff366004610c74565b6001600160a01b031660009081526020819052604090205490565b6101dc6103b9565b6101dc610230366004610bf5565b6103cd565b6005546040516001600160a01b039091168152602001610130565b6101236103e2565b61014c610266366004610bf5565b6103f1565b61014c610279366004610bf5565b610471565b61016061028c366004610c96565b61047f565b6101dc61029f366004610c74565b6104aa565b6060600380546102b390610cc9565b80601f01602080910402602001604051908101604052809291908181526020018280546102df90610cc9565b801561032c5780601f106103015761010080835404028352916020019161032c565b820191906000526020600020905b81548152906001019060200180831161030f57829003601f168201915b5050505050905090565b600033610344818585610520565b60019150505b92915050565b60003361035e858285610645565b6103698585856106bf565b506001949350505050565b600033610344818585610387838361047f565b6103919190610d03565b610520565b61039e610863565b6103a882826108bd565b5050565b6103b633826108c7565b50565b6103c1610863565b6103cb60006109f1565b565b6103d8823383610645565b6103a882826108c7565b6060600480546102b390610cc9565b600033816103ff828661047f565b9050838110156104645760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b6103698286868403610520565b6000336103448185856106bf565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6104b2610863565b6001600160a01b0381166105175760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161045b565b6103b6816109f1565b6001600160a01b0383166105825760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161045b565b6001600160a01b0382166105e35760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161045b565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6000610651848461047f565b905060001981146106b957818110156106ac5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161045b565b6106b98484848403610520565b50505050565b6001600160a01b0383166107235760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161045b565b6001600160a01b0382166107855760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161045b565b6001600160a01b038316600090815260208190526040902054818110156107fd5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161045b565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36106b9565b6005546001600160a01b031633146103cb5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161045b565b6103a88282610a43565b6001600160a01b0382166109275760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840161045b565b6001600160a01b0382166000908152602081905260409020548181101561099b5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b606482015260840161045b565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9101610638565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b7f000000000000000000000000000000000000000000000000000000000000000081610a6e60025490565b610a789190610d03565b1115610ac65760405162461bcd60e51b815260206004820152601960248201527f45524332304361707065643a2063617020657863656564656400000000000000604482015260640161045b565b6103a882826001600160a01b038216610b215760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161045b565b8060026000828254610b339190610d03565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b60006020808352835180602085015260005b81811015610bb857858101830151858201604001528201610b9c565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610bf057600080fd5b919050565b60008060408385031215610c0857600080fd5b610c1183610bd9565b946020939093013593505050565b600080600060608486031215610c3457600080fd5b610c3d84610bd9565b9250610c4b60208501610bd9565b9150604084013590509250925092565b600060208284031215610c6d57600080fd5b5035919050565b600060208284031215610c8657600080fd5b610c8f82610bd9565b9392505050565b60008060408385031215610ca957600080fd5b610cb283610bd9565b9150610cc060208401610bd9565b90509250929050565b600181811c90821680610cdd57607f821691505b602082108103610cfd57634e487b7160e01b600052602260045260246000fd5b50919050565b8082018082111561034a57634e487b7160e01b600052601160045260246000fdfea2646970667358221220a0271dc67ad8cd244323bd4495c18d7ba684bda1a93c95e581958019dc65220564736f6c63430008160033",
}
ChainbaseTokenMetaData contains all meta data concerning the ChainbaseToken contract.
var StakingABI = StakingMetaData.ABI
StakingABI is the input ABI used to generate the binding from. Deprecated: Use StakingMetaData.ABI instead.
var StakingBin = StakingMetaData.Bin
StakingBin is the compiled bytecode used for deploying new contracts. Deprecated: Use StakingMetaData.Bin instead.
var StakingMetaData = &bind.MetaData{
ABI: "[{\"type\":\"constructor\",\"inputs\":[{\"name\":\"_cToken\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"UNLOCK_PERIOD\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"addWhitelist\",\"inputs\":[{\"name\":\"operators\",\"type\":\"address[]\",\"internalType\":\"address[]\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"cToken\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"contractIERC20\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"delegate\",\"inputs\":[{\"name\":\"operator\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"delegations\",\"inputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"initialize\",\"inputs\":[{\"name\":\"initialOwner\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"minOperatorStake\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"operatorStakes\",\"inputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"operatorWhitelist\",\"inputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"owner\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"pause\",\"inputs\":[],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"paused\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"removeWhitelist\",\"inputs\":[{\"name\":\"operators\",\"type\":\"address[]\",\"internalType\":\"address[]\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"renounceOwnership\",\"inputs\":[],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setMinOperatorStake\",\"inputs\":[{\"name\":\"_minOperatorStake\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"stake\",\"inputs\":[{\"name\":\"amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"transferOwnership\",\"inputs\":[{\"name\":\"newOwner\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"unpause\",\"inputs\":[],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"unstake\",\"inputs\":[],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"unstakeRequests\",\"inputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"unlockTime\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"withdrawDelegation\",\"inputs\":[{\"name\":\"operator\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"withdrawStake\",\"inputs\":[],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"event\",\"name\":\"DelegationDeposited\",\"inputs\":[{\"name\":\"delegator\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"operator\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"DelegationWithdrawn\",\"inputs\":[{\"name\":\"delegator\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"operator\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Initialized\",\"inputs\":[{\"name\":\"version\",\"type\":\"uint64\",\"indexed\":false,\"internalType\":\"uint64\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"MinOperatorStakeUpdated\",\"inputs\":[{\"name\":\"oldAmount\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"newAmount\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"OwnershipTransferred\",\"inputs\":[{\"name\":\"previousOwner\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"newOwner\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Paused\",\"inputs\":[{\"name\":\"account\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"StakeDeposited\",\"inputs\":[{\"name\":\"operator\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"StakeWithdrawn\",\"inputs\":[{\"name\":\"operator\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Unpaused\",\"inputs\":[{\"name\":\"account\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"UnstakeRequested\",\"inputs\":[{\"name\":\"operator\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"unlockTime\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"WhitelistAdded\",\"inputs\":[{\"name\":\"operator\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"WhitelistRemoved\",\"inputs\":[{\"name\":\"operator\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"error\",\"name\":\"EnforcedPause\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"ExpectedPause\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"InvalidInitialization\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"NotInitializing\",\"inputs\":[]},{\"type\":\"error\",\"name\":\"OwnableInvalidOwner\",\"inputs\":[{\"name\":\"owner\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"type\":\"error\",\"name\":\"OwnableUnauthorizedAccount\",\"inputs\":[{\"name\":\"account\",\"type\":\"address\",\"internalType\":\"address\"}]},{\"type\":\"error\",\"name\":\"ReentrancyGuardReentrantCall\",\"inputs\":[]}]",
Bin: "0x60a06040523480156200001157600080fd5b5060405162001ad238038062001ad2833981016040819052620000349162000161565b6001600160a01b0381166200008f5760405162461bcd60e51b815260206004820152601f60248201527f5374616b696e673a20496e76616c69642063546f6b656e206164647265737300604482015260640160405180910390fd5b6001600160a01b038116608052620000a6620000ad565b5062000193565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000fe5760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b03908116146200015e5780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b6000602082840312156200017457600080fd5b81516001600160a01b03811681146200018c57600080fd5b9392505050565b608051611907620001cb6000396000818161020b015281816104720152818161062c01528181610b0e0152610cfc01526119076000f3fe608060405234801561001057600080fd5b50600436106101425760003560e01c80638456cb59116100b8578063c64814dd1161007c578063c64814dd146102b3578063d775cb61146102de578063e03c8632146102e7578063e0eb4d2e1461030a578063edac985b14610346578063f2fde38b1461035957600080fd5b80638456cb591461024d5780638da5cb5b14610255578063a694fc3a14610285578063bed9d86114610298578063c4d66de8146102a057600080fd5b8063259a28cf1161010a578063259a28cf146101c85780632def6620146101d25780633f4ba83a146101da5780635c975abb146101e257806369e527da14610206578063715018a61461024557600080fd5b806301a5d67e14610147578063026e402b1461015c578063030029021461016f5780631c9856ae1461018257806323245216146101b5575b600080fd5b61015a61015536600461160e565b61036c565b005b61015a61016a36600461160e565b610502565b61015a61017d366004611638565b6106d7565b6101a2610190366004611651565b60026020526000908152604090205481565b6040519081526020015b60405180910390f35b61015a6101c3366004611673565b61079a565b6101a262093a8081565b61015a61082f565b61015a6109f3565b6000805160206118928339815191525460ff165b60405190151581526020016101ac565b61022d7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016101ac565b61015a610a03565b61015a610a15565b7f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c199300546001600160a01b031661022d565b61015a610293366004611638565b610a25565b61015a610bbc565b61015a6102ae366004611651565b610d5e565b6101a26102c13660046116e8565b600460209081526000928352604080842090915290825290205481565b6101a260005481565b6101f66102f5366004611651565b60016020526000908152604090205460ff1681565b610331610318366004611651565b6003602052600090815260409020805460019091015482565b604080519283526020830191909152016101ac565b61015a610354366004611673565b610ef1565b61015a610367366004611651565b610fe4565b61037461101f565b61037c611050565b33816103a35760405162461bcd60e51b815260040161039a9061171b565b60405180910390fd5b6001600160a01b038082166000908152600460209081526040808320938716835292905220548211156104285760405162461bcd60e51b815260206004820152602760248201527f5374616b696e673a20496e73756666696369656e742064656c65676174696f6e60448201526608185b5bdd5b9d60ca1b606482015260840161039a565b6001600160a01b0380821660009081526004602090815260408083209387168352929052908120805484929061045f908490611777565b9091555061049990506001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168284611088565b826001600160a01b0316816001600160a01b03167faa0001b0e2e76b9a1b925257fefa58b756aebc52d2d7c8a85ea5beacc77a2100846040516104de91815260200190565b60405180910390a3506104fe60016000805160206118b283398151915255565b5050565b61050a61101f565b610512611050565b33816105305760405162461bcd60e51b815260040161039a9061171b565b6001600160a01b03831660009081526001602052604090205460ff166105a25760405162461bcd60e51b815260206004820152602160248201527f5374616b696e673a204f70657261746f72206e6f742077686974656c697374656044820152601960fa1b606482015260840161039a565b600080546001600160a01b03851682526002602052604090912054101561061f5760405162461bcd60e51b815260206004820152602b60248201527f5374616b696e673a20496e73756666696369656e74206f70657261746f72207360448201526a1d185ad948185b5bdd5b9d60aa1b606482015260840161039a565b6106546001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168230856110ff565b6001600160a01b0380821660009081526004602090815260408083209387168352929052908120805484929061068b908490611790565b92505081905550826001600160a01b0316816001600160a01b03167f7816331f779ea2479e6f58bd6f82595b0beefd00953fe2a25702e915976befdc846040516104de91815260200190565b6106df61113d565b600081116107555760405162461bcd60e51b815260206004820152603d60248201527f5374616b696e673a206d696e696d756d206f70657261746f72207374616b652060448201527f616d6f756e74206d7573742062652067726561746572207468616e2030000000606482015260840161039a565b600080549082905560408051828152602081018490527ff6eefd49a83d72df0cc9ddb5557cfa6a047393b8d4a85163a8cefe7aa490a30f910160405180910390a15050565b6107a261113d565b60005b8181101561082a5760008383838181106107c1576107c16117a3565b90506020020160208101906107d69190611651565b6001600160a01b038116600081815260016020526040808220805460ff191690555192935090917fde8cf212af7ce38b2840785a2768d97ff2dbf3c21b516961cec0061e134c2a1e9190a2506001016107a5565b505050565b3360009081526001602052604090205460ff1661085e5760405162461bcd60e51b815260040161039a906117b9565b61086661101f565b61086e611050565b33600081815260026020526040902054806108cb5760405162461bcd60e51b815260206004820152601d60248201527f5374616b696e673a204e6f207374616b6520746f207769746864726177000000604482015260640161039a565b6001600160a01b0382166000908152600360205260409020541561093b5760405162461bcd60e51b815260206004820152602160248201527f5374616b696e673a204578697374696e6720756e7374616b65207265717565736044820152601d60fa1b606482015260840161039a565b6001600160a01b038216600090815260026020526040812081905561096362093a8042611790565b60408051808201825284815260208082018481526001600160a01b0388166000818152600384528590209351845590516001909301929092558251868152908101849052929350917f57e41df54512c76148b5ba9b643d149752b0d35e493b969bd017d0a3fe5228cf91015b60405180910390a25050506109f160016000805160206118b283398151915255565b565b6109fb61113d565b6109f1611198565b610a0b61113d565b6109f160006111f8565b610a1d61113d565b6109f1611269565b3360009081526001602052604090205460ff16610a545760405162461bcd60e51b815260040161039a906117b9565b610a5c61101f565b610a64611050565b3381610a825760405162461bcd60e51b815260040161039a9061171b565b600080546001600160a01b03831682526002602052604090912054610aa8908490611790565b1015610b015760405162461bcd60e51b815260206004820152602260248201527f5374616b696e673a20496e73756666696369656e74207374616b6520616d6f756044820152611b9d60f21b606482015260840161039a565b610b366001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168230856110ff565b6001600160a01b03811660009081526002602052604081208054849290610b5e908490611790565b90915550506040518281526001600160a01b038216907f0a7bb2e28cc4698aac06db79cf9163bfcc20719286cf59fa7d492ceda1b8edc29060200160405180910390a250610bb960016000805160206118b283398151915255565b50565b3360009081526001602052604090205460ff16610beb5760405162461bcd60e51b815260040161039a906117b9565b610bf361101f565b610bfb611050565b336000818152600360209081526040918290208251808401909352805480845260019091015491830191909152610c805760405162461bcd60e51b815260206004820152602360248201527f5374616b696e673a204e6f2070656e64696e6720756e7374616b652072657175604482015262195cdd60ea1b606482015260840161039a565b8060200151421015610cd45760405162461bcd60e51b815260206004820152601c60248201527f5374616b696e673a20546f6b656e73207374696c6c206c6f636b656400000000604482015260640161039a565b80516001600160a01b03808416600090815260036020526040812081815560010155610d23907f0000000000000000000000000000000000000000000000000000000000000000168483611088565b826001600160a01b03167f8108595eb6bad3acefa9da467d90cc2217686d5c5ac85460f8b7849c840645fc826040516109cf91815260200190565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff16600081158015610da45750825b905060008267ffffffffffffffff166001148015610dc15750303b155b905081158015610dcf575080155b15610ded5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610e1757845460ff60401b1916600160401b1785555b6001600160a01b038616610e7c5760405162461bcd60e51b815260206004820152602660248201527f5374616b696e673a20496e76616c696420696e697469616c206f776e6572206160448201526564647265737360d01b606482015260840161039a565b610e85866112b2565b610e8d6112c3565b610e956112d3565b6969e10de76676d08000006000558315610ee957845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050565b610ef961113d565b60005b8181101561082a576000838383818110610f1857610f186117a3565b9050602002016020810190610f2d9190611651565b90506001600160a01b038116610f8f5760405162461bcd60e51b815260206004820152602160248201527f5374616b696e673a20496e76616c6964206f70657261746f72206164647265736044820152607360f81b606482015260840161039a565b6001600160a01b0381166000818152600160208190526040808320805460ff1916909217909155517f4790a4adb426ca2345bb5108f6e454eae852a7bf687544cd66a7270dff3a41d69190a250600101610efc565b610fec61113d565b6001600160a01b03811661101657604051631e4fbdf760e01b81526000600482015260240161039a565b610bb9816111f8565b6000805160206118928339815191525460ff16156109f15760405163d93c066560e01b815260040160405180910390fd5b6000805160206118b283398151915280546001190161108257604051633ee5aeb560e01b815260040160405180910390fd5b60029055565b6040516001600160a01b03831660248201526044810182905261082a90849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091526112e3565b60016000805160206118b283398151915255565b6040516001600160a01b03808516602483015283166044820152606481018290526111379085906323b872dd60e01b906084016110b4565b50505050565b3361116f7f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c199300546001600160a01b031690565b6001600160a01b0316146109f15760405163118cdaa760e01b815233600482015260240161039a565b6111a06113b8565b600080516020611892833981519152805460ff191681557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a150565b7f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c19930080546001600160a01b031981166001600160a01b03848116918217845560405192169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3505050565b61127161101f565b600080516020611892833981519152805460ff191660011781557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258336111da565b6112ba6113e8565b610bb981611431565b6112cb6113e8565b6109f1611439565b6112db6113e8565b6109f161145a565b6000611338826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166114629092919063ffffffff16565b905080516000148061135957508080602001905181019061135991906117fc565b61082a5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b606482015260840161039a565b6000805160206118928339815191525460ff166109f157604051638dfc202b60e01b815260040160405180910390fd5b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff166109f157604051631afcd79f60e31b815260040160405180910390fd5b610fec6113e8565b6114416113e8565b600080516020611892833981519152805460ff19169055565b6110eb6113e8565b60606114718484600085611479565b949350505050565b6060824710156114da5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b606482015260840161039a565b600080866001600160a01b031685876040516114f69190611842565b60006040518083038185875af1925050503d8060008114611533576040519150601f19603f3d011682016040523d82523d6000602084013e611538565b606091505b509150915061154987838387611554565b979650505050505050565b606083156115c35782516000036115bc576001600160a01b0385163b6115bc5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161039a565b5081611471565b61147183838151156115d85781518083602001fd5b8060405162461bcd60e51b815260040161039a919061185e565b80356001600160a01b038116811461160957600080fd5b919050565b6000806040838503121561162157600080fd5b61162a836115f2565b946020939093013593505050565b60006020828403121561164a57600080fd5b5035919050565b60006020828403121561166357600080fd5b61166c826115f2565b9392505050565b6000806020838503121561168657600080fd5b823567ffffffffffffffff8082111561169e57600080fd5b818501915085601f8301126116b257600080fd5b8135818111156116c157600080fd5b8660208260051b85010111156116d657600080fd5b60209290920196919550909350505050565b600080604083850312156116fb57600080fd5b611704836115f2565b9150611712602084016115f2565b90509250929050565b60208082526026908201527f5374616b696e673a20416d6f756e74206d75737420626520677265617465722060408201526507468616e20360d41b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b8181038181111561178a5761178a611761565b92915050565b8082018082111561178a5761178a611761565b634e487b7160e01b600052603260045260246000fd5b60208082526023908201527f5374616b696e673a204e6f7420612077686974656c6973746564206f706572616040820152623a37b960e91b606082015260800190565b60006020828403121561180e57600080fd5b8151801515811461166c57600080fd5b60005b83811015611839578181015183820152602001611821565b50506000910152565b6000825161185481846020870161181e565b9190910192915050565b602081526000825180602084015261187d81604085016020870161181e565b601f01601f1916919091016040019291505056fecd5ed15c6e187e77e9aee88184c21f4f2182ab5827cb3b7e07fbedcd63f033009b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00a26469706673582212203de80c6c5493e67e49838c0a609c708748409ace473817e40caf9b30a0c7fa4864736f6c63430008160033",
}
StakingMetaData contains all meta data concerning the Staking contract.
Functions ¶
This section is empty.
Types ¶
type ChainbaseToken ¶
type ChainbaseToken struct {
ChainbaseTokenCaller // Read-only binding to the contract
ChainbaseTokenTransactor // Write-only binding to the contract
ChainbaseTokenFilterer // Log filterer for contract events
}
ChainbaseToken is an auto generated Go binding around an Ethereum contract.
func DeployChainbaseToken ¶
func DeployChainbaseToken(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *ChainbaseToken, error)
DeployChainbaseToken deploys a new Ethereum contract, binding an instance of ChainbaseToken to it.
func NewChainbaseToken ¶
func NewChainbaseToken(address common.Address, backend bind.ContractBackend) (*ChainbaseToken, error)
NewChainbaseToken creates a new instance of ChainbaseToken, bound to a specific deployed contract.
type ChainbaseTokenApproval ¶
type ChainbaseTokenApproval struct {
Owner common.Address
Spender common.Address
Value *big.Int
Raw types.Log // Blockchain specific contextual infos
}
ChainbaseTokenApproval represents a Approval event raised by the ChainbaseToken contract.
type ChainbaseTokenApprovalIterator ¶
type ChainbaseTokenApprovalIterator struct {
Event *ChainbaseTokenApproval // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
ChainbaseTokenApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the ChainbaseToken contract.
func (*ChainbaseTokenApprovalIterator) Close ¶
func (it *ChainbaseTokenApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ChainbaseTokenApprovalIterator) Error ¶
func (it *ChainbaseTokenApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ChainbaseTokenApprovalIterator) Next ¶
func (it *ChainbaseTokenApprovalIterator) 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 ChainbaseTokenCaller ¶
type ChainbaseTokenCaller struct {
// contains filtered or unexported fields
}
ChainbaseTokenCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewChainbaseTokenCaller ¶
func NewChainbaseTokenCaller(address common.Address, caller bind.ContractCaller) (*ChainbaseTokenCaller, error)
NewChainbaseTokenCaller creates a new read-only instance of ChainbaseToken, bound to a specific deployed contract.
func (*ChainbaseTokenCaller) Allowance ¶
func (_ChainbaseToken *ChainbaseTokenCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address owner, address spender) view returns(uint256)
func (*ChainbaseTokenCaller) BalanceOf ¶
func (_ChainbaseToken *ChainbaseTokenCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*ChainbaseTokenCaller) Cap ¶
Cap is a free data retrieval call binding the contract method 0x355274ea.
Solidity: function cap() view returns(uint256)
func (*ChainbaseTokenCaller) Decimals ¶
func (_ChainbaseToken *ChainbaseTokenCaller) Decimals(opts *bind.CallOpts) (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*ChainbaseTokenCaller) Name ¶
func (_ChainbaseToken *ChainbaseTokenCaller) Name(opts *bind.CallOpts) (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*ChainbaseTokenCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*ChainbaseTokenCaller) Symbol ¶
func (_ChainbaseToken *ChainbaseTokenCaller) Symbol(opts *bind.CallOpts) (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*ChainbaseTokenCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type ChainbaseTokenCallerRaw ¶
type ChainbaseTokenCallerRaw struct {
Contract *ChainbaseTokenCaller // Generic read-only contract binding to access the raw methods on
}
ChainbaseTokenCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ChainbaseTokenCallerRaw) Call ¶
func (_ChainbaseToken *ChainbaseTokenCallerRaw) 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 ChainbaseTokenCallerSession ¶
type ChainbaseTokenCallerSession struct {
Contract *ChainbaseTokenCaller // Generic contract caller binding to set the session for
CallOpts bind.CallOpts // Call options to use throughout this session
}
ChainbaseTokenCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*ChainbaseTokenCallerSession) Allowance ¶
func (_ChainbaseToken *ChainbaseTokenCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address owner, address spender) view returns(uint256)
func (*ChainbaseTokenCallerSession) BalanceOf ¶
func (_ChainbaseToken *ChainbaseTokenCallerSession) BalanceOf(account common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*ChainbaseTokenCallerSession) Cap ¶
func (_ChainbaseToken *ChainbaseTokenCallerSession) Cap() (*big.Int, error)
Cap is a free data retrieval call binding the contract method 0x355274ea.
Solidity: function cap() view returns(uint256)
func (*ChainbaseTokenCallerSession) Decimals ¶
func (_ChainbaseToken *ChainbaseTokenCallerSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*ChainbaseTokenCallerSession) Name ¶
func (_ChainbaseToken *ChainbaseTokenCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*ChainbaseTokenCallerSession) Owner ¶
func (_ChainbaseToken *ChainbaseTokenCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*ChainbaseTokenCallerSession) Symbol ¶
func (_ChainbaseToken *ChainbaseTokenCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*ChainbaseTokenCallerSession) TotalSupply ¶
func (_ChainbaseToken *ChainbaseTokenCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type ChainbaseTokenFilterer ¶
type ChainbaseTokenFilterer struct {
// contains filtered or unexported fields
}
ChainbaseTokenFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewChainbaseTokenFilterer ¶
func NewChainbaseTokenFilterer(address common.Address, filterer bind.ContractFilterer) (*ChainbaseTokenFilterer, error)
NewChainbaseTokenFilterer creates a new log filterer instance of ChainbaseToken, bound to a specific deployed contract.
func (*ChainbaseTokenFilterer) FilterApproval ¶
func (_ChainbaseToken *ChainbaseTokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*ChainbaseTokenApprovalIterator, error)
FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*ChainbaseTokenFilterer) FilterOwnershipTransferred ¶
func (_ChainbaseToken *ChainbaseTokenFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*ChainbaseTokenOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*ChainbaseTokenFilterer) FilterTransfer ¶
func (_ChainbaseToken *ChainbaseTokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ChainbaseTokenTransferIterator, error)
FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*ChainbaseTokenFilterer) ParseApproval ¶
func (_ChainbaseToken *ChainbaseTokenFilterer) ParseApproval(log types.Log) (*ChainbaseTokenApproval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*ChainbaseTokenFilterer) ParseOwnershipTransferred ¶
func (_ChainbaseToken *ChainbaseTokenFilterer) ParseOwnershipTransferred(log types.Log) (*ChainbaseTokenOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*ChainbaseTokenFilterer) ParseTransfer ¶
func (_ChainbaseToken *ChainbaseTokenFilterer) ParseTransfer(log types.Log) (*ChainbaseTokenTransfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*ChainbaseTokenFilterer) WatchApproval ¶
func (_ChainbaseToken *ChainbaseTokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ChainbaseTokenApproval, owner []common.Address, spender []common.Address) (event.Subscription, error)
WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*ChainbaseTokenFilterer) WatchOwnershipTransferred ¶
func (_ChainbaseToken *ChainbaseTokenFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ChainbaseTokenOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*ChainbaseTokenFilterer) WatchTransfer ¶
func (_ChainbaseToken *ChainbaseTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ChainbaseTokenTransfer, from []common.Address, to []common.Address) (event.Subscription, error)
WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
type ChainbaseTokenOwnershipTransferred ¶
type ChainbaseTokenOwnershipTransferred struct {
PreviousOwner common.Address
NewOwner common.Address
Raw types.Log // Blockchain specific contextual infos
}
ChainbaseTokenOwnershipTransferred represents a OwnershipTransferred event raised by the ChainbaseToken contract.
type ChainbaseTokenOwnershipTransferredIterator ¶
type ChainbaseTokenOwnershipTransferredIterator struct {
Event *ChainbaseTokenOwnershipTransferred // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
ChainbaseTokenOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the ChainbaseToken contract.
func (*ChainbaseTokenOwnershipTransferredIterator) Close ¶
func (it *ChainbaseTokenOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ChainbaseTokenOwnershipTransferredIterator) Error ¶
func (it *ChainbaseTokenOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ChainbaseTokenOwnershipTransferredIterator) Next ¶
func (it *ChainbaseTokenOwnershipTransferredIterator) 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 ChainbaseTokenRaw ¶
type ChainbaseTokenRaw struct {
Contract *ChainbaseToken // Generic contract binding to access the raw methods on
}
ChainbaseTokenRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ChainbaseTokenRaw) Call ¶
func (_ChainbaseToken *ChainbaseTokenRaw) 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 (*ChainbaseTokenRaw) Transact ¶
func (_ChainbaseToken *ChainbaseTokenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ChainbaseTokenRaw) Transfer ¶
func (_ChainbaseToken *ChainbaseTokenRaw) 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 ChainbaseTokenSession ¶
type ChainbaseTokenSession struct {
Contract *ChainbaseToken // 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
}
ChainbaseTokenSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ChainbaseTokenSession) Allowance ¶
func (_ChainbaseToken *ChainbaseTokenSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address owner, address spender) view returns(uint256)
func (*ChainbaseTokenSession) Approve ¶
func (_ChainbaseToken *ChainbaseTokenSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 amount) returns(bool)
func (*ChainbaseTokenSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*ChainbaseTokenSession) Burn ¶
func (_ChainbaseToken *ChainbaseTokenSession) Burn(amount *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x42966c68.
Solidity: function burn(uint256 amount) returns()
func (*ChainbaseTokenSession) BurnFrom ¶
func (_ChainbaseToken *ChainbaseTokenSession) BurnFrom(account common.Address, amount *big.Int) (*types.Transaction, error)
BurnFrom is a paid mutator transaction binding the contract method 0x79cc6790.
Solidity: function burnFrom(address account, uint256 amount) returns()
func (*ChainbaseTokenSession) Cap ¶
func (_ChainbaseToken *ChainbaseTokenSession) Cap() (*big.Int, error)
Cap is a free data retrieval call binding the contract method 0x355274ea.
Solidity: function cap() view returns(uint256)
func (*ChainbaseTokenSession) Decimals ¶
func (_ChainbaseToken *ChainbaseTokenSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*ChainbaseTokenSession) DecreaseAllowance ¶
func (_ChainbaseToken *ChainbaseTokenSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.
Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)
func (*ChainbaseTokenSession) IncreaseAllowance ¶
func (_ChainbaseToken *ChainbaseTokenSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.
Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)
func (*ChainbaseTokenSession) Mint ¶
func (_ChainbaseToken *ChainbaseTokenSession) Mint(to common.Address, amount *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(address to, uint256 amount) returns()
func (*ChainbaseTokenSession) Name ¶
func (_ChainbaseToken *ChainbaseTokenSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*ChainbaseTokenSession) Owner ¶
func (_ChainbaseToken *ChainbaseTokenSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*ChainbaseTokenSession) RenounceOwnership ¶
func (_ChainbaseToken *ChainbaseTokenSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*ChainbaseTokenSession) Symbol ¶
func (_ChainbaseToken *ChainbaseTokenSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*ChainbaseTokenSession) TotalSupply ¶
func (_ChainbaseToken *ChainbaseTokenSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*ChainbaseTokenSession) Transfer ¶
func (_ChainbaseToken *ChainbaseTokenSession) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to, uint256 amount) returns(bool)
func (*ChainbaseTokenSession) TransferFrom ¶
func (_ChainbaseToken *ChainbaseTokenSession) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 amount) returns(bool)
func (*ChainbaseTokenSession) TransferOwnership ¶
func (_ChainbaseToken *ChainbaseTokenSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type ChainbaseTokenTransactor ¶
type ChainbaseTokenTransactor struct {
// contains filtered or unexported fields
}
ChainbaseTokenTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewChainbaseTokenTransactor ¶
func NewChainbaseTokenTransactor(address common.Address, transactor bind.ContractTransactor) (*ChainbaseTokenTransactor, error)
NewChainbaseTokenTransactor creates a new write-only instance of ChainbaseToken, bound to a specific deployed contract.
func (*ChainbaseTokenTransactor) Approve ¶
func (_ChainbaseToken *ChainbaseTokenTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 amount) returns(bool)
func (*ChainbaseTokenTransactor) Burn ¶
func (_ChainbaseToken *ChainbaseTokenTransactor) Burn(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x42966c68.
Solidity: function burn(uint256 amount) returns()
func (*ChainbaseTokenTransactor) BurnFrom ¶
func (_ChainbaseToken *ChainbaseTokenTransactor) BurnFrom(opts *bind.TransactOpts, account common.Address, amount *big.Int) (*types.Transaction, error)
BurnFrom is a paid mutator transaction binding the contract method 0x79cc6790.
Solidity: function burnFrom(address account, uint256 amount) returns()
func (*ChainbaseTokenTransactor) DecreaseAllowance ¶
func (_ChainbaseToken *ChainbaseTokenTransactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.
Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)
func (*ChainbaseTokenTransactor) IncreaseAllowance ¶
func (_ChainbaseToken *ChainbaseTokenTransactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)
IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.
Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)
func (*ChainbaseTokenTransactor) Mint ¶
func (_ChainbaseToken *ChainbaseTokenTransactor) Mint(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(address to, uint256 amount) returns()
func (*ChainbaseTokenTransactor) RenounceOwnership ¶
func (_ChainbaseToken *ChainbaseTokenTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*ChainbaseTokenTransactor) Transfer ¶
func (_ChainbaseToken *ChainbaseTokenTransactor) Transfer(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to, uint256 amount) returns(bool)
func (*ChainbaseTokenTransactor) TransferFrom ¶
func (_ChainbaseToken *ChainbaseTokenTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 amount) returns(bool)
func (*ChainbaseTokenTransactor) TransferOwnership ¶
func (_ChainbaseToken *ChainbaseTokenTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type ChainbaseTokenTransactorRaw ¶
type ChainbaseTokenTransactorRaw struct {
Contract *ChainbaseTokenTransactor // Generic write-only contract binding to access the raw methods on
}
ChainbaseTokenTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ChainbaseTokenTransactorRaw) Transact ¶
func (_ChainbaseToken *ChainbaseTokenTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ChainbaseTokenTransactorRaw) Transfer ¶
func (_ChainbaseToken *ChainbaseTokenTransactorRaw) 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 ChainbaseTokenTransactorSession ¶
type ChainbaseTokenTransactorSession struct {
Contract *ChainbaseTokenTransactor // Generic contract transactor binding to set the session for
TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}
ChainbaseTokenTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*ChainbaseTokenTransactorSession) Approve ¶
func (_ChainbaseToken *ChainbaseTokenTransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 amount) returns(bool)
func (*ChainbaseTokenTransactorSession) Burn ¶
func (_ChainbaseToken *ChainbaseTokenTransactorSession) Burn(amount *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x42966c68.
Solidity: function burn(uint256 amount) returns()
func (*ChainbaseTokenTransactorSession) BurnFrom ¶
func (_ChainbaseToken *ChainbaseTokenTransactorSession) BurnFrom(account common.Address, amount *big.Int) (*types.Transaction, error)
BurnFrom is a paid mutator transaction binding the contract method 0x79cc6790.
Solidity: function burnFrom(address account, uint256 amount) returns()
func (*ChainbaseTokenTransactorSession) DecreaseAllowance ¶
func (_ChainbaseToken *ChainbaseTokenTransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.
Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)
func (*ChainbaseTokenTransactorSession) IncreaseAllowance ¶
func (_ChainbaseToken *ChainbaseTokenTransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.
Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)
func (*ChainbaseTokenTransactorSession) Mint ¶
func (_ChainbaseToken *ChainbaseTokenTransactorSession) Mint(to common.Address, amount *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(address to, uint256 amount) returns()
func (*ChainbaseTokenTransactorSession) RenounceOwnership ¶
func (_ChainbaseToken *ChainbaseTokenTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*ChainbaseTokenTransactorSession) Transfer ¶
func (_ChainbaseToken *ChainbaseTokenTransactorSession) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to, uint256 amount) returns(bool)
func (*ChainbaseTokenTransactorSession) TransferFrom ¶
func (_ChainbaseToken *ChainbaseTokenTransactorSession) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 amount) returns(bool)
func (*ChainbaseTokenTransactorSession) TransferOwnership ¶
func (_ChainbaseToken *ChainbaseTokenTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type ChainbaseTokenTransfer ¶
type ChainbaseTokenTransfer struct {
From common.Address
To common.Address
Value *big.Int
Raw types.Log // Blockchain specific contextual infos
}
ChainbaseTokenTransfer represents a Transfer event raised by the ChainbaseToken contract.
type ChainbaseTokenTransferIterator ¶
type ChainbaseTokenTransferIterator struct {
Event *ChainbaseTokenTransfer // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
ChainbaseTokenTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the ChainbaseToken contract.
func (*ChainbaseTokenTransferIterator) Close ¶
func (it *ChainbaseTokenTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ChainbaseTokenTransferIterator) Error ¶
func (it *ChainbaseTokenTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ChainbaseTokenTransferIterator) Next ¶
func (it *ChainbaseTokenTransferIterator) 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 Staking ¶
type Staking struct {
StakingCaller // Read-only binding to the contract
StakingTransactor // Write-only binding to the contract
StakingFilterer // Log filterer for contract events
}
Staking is an auto generated Go binding around an Ethereum contract.
func DeployStaking ¶
func DeployStaking(auth *bind.TransactOpts, backend bind.ContractBackend, _cToken common.Address) (common.Address, *types.Transaction, *Staking, error)
DeployStaking deploys a new Ethereum contract, binding an instance of Staking to it.
func NewStaking ¶
NewStaking creates a new instance of Staking, bound to a specific deployed contract.
type StakingCaller ¶
type StakingCaller struct {
// contains filtered or unexported fields
}
StakingCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewStakingCaller ¶
func NewStakingCaller(address common.Address, caller bind.ContractCaller) (*StakingCaller, error)
NewStakingCaller creates a new read-only instance of Staking, bound to a specific deployed contract.
func (*StakingCaller) CToken ¶
CToken is a free data retrieval call binding the contract method 0x69e527da.
Solidity: function cToken() view returns(address)
func (*StakingCaller) Delegations ¶
func (_Staking *StakingCaller) Delegations(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)
Delegations is a free data retrieval call binding the contract method 0xc64814dd.
Solidity: function delegations(address , address ) view returns(uint256)
func (*StakingCaller) MinOperatorStake ¶
MinOperatorStake is a free data retrieval call binding the contract method 0xd775cb61.
Solidity: function minOperatorStake() view returns(uint256)
func (*StakingCaller) OperatorStakes ¶
func (_Staking *StakingCaller) OperatorStakes(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
OperatorStakes is a free data retrieval call binding the contract method 0x1c9856ae.
Solidity: function operatorStakes(address ) view returns(uint256)
func (*StakingCaller) OperatorWhitelist ¶
func (_Staking *StakingCaller) OperatorWhitelist(opts *bind.CallOpts, arg0 common.Address) (bool, error)
OperatorWhitelist is a free data retrieval call binding the contract method 0xe03c8632.
Solidity: function operatorWhitelist(address ) view returns(bool)
func (*StakingCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*StakingCaller) Paused ¶
func (_Staking *StakingCaller) Paused(opts *bind.CallOpts) (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
func (*StakingCaller) UNLOCKPERIOD ¶
UNLOCKPERIOD is a free data retrieval call binding the contract method 0x259a28cf.
Solidity: function UNLOCK_PERIOD() view returns(uint256)
func (*StakingCaller) UnstakeRequests ¶
func (_Staking *StakingCaller) UnstakeRequests(opts *bind.CallOpts, arg0 common.Address) (struct { Amount *big.Int UnlockTime *big.Int }, error)
UnstakeRequests is a free data retrieval call binding the contract method 0xe0eb4d2e.
Solidity: function unstakeRequests(address ) view returns(uint256 amount, uint256 unlockTime)
type StakingCallerRaw ¶
type StakingCallerRaw struct {
Contract *StakingCaller // Generic read-only contract binding to access the raw methods on
}
StakingCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*StakingCallerRaw) Call ¶
func (_Staking *StakingCallerRaw) 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 StakingCallerSession ¶
type StakingCallerSession struct {
Contract *StakingCaller // Generic contract caller binding to set the session for
CallOpts bind.CallOpts // Call options to use throughout this session
}
StakingCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*StakingCallerSession) CToken ¶
func (_Staking *StakingCallerSession) CToken() (common.Address, error)
CToken is a free data retrieval call binding the contract method 0x69e527da.
Solidity: function cToken() view returns(address)
func (*StakingCallerSession) Delegations ¶
func (_Staking *StakingCallerSession) Delegations(arg0 common.Address, arg1 common.Address) (*big.Int, error)
Delegations is a free data retrieval call binding the contract method 0xc64814dd.
Solidity: function delegations(address , address ) view returns(uint256)
func (*StakingCallerSession) MinOperatorStake ¶
func (_Staking *StakingCallerSession) MinOperatorStake() (*big.Int, error)
MinOperatorStake is a free data retrieval call binding the contract method 0xd775cb61.
Solidity: function minOperatorStake() view returns(uint256)
func (*StakingCallerSession) OperatorStakes ¶
OperatorStakes is a free data retrieval call binding the contract method 0x1c9856ae.
Solidity: function operatorStakes(address ) view returns(uint256)
func (*StakingCallerSession) OperatorWhitelist ¶
func (_Staking *StakingCallerSession) OperatorWhitelist(arg0 common.Address) (bool, error)
OperatorWhitelist is a free data retrieval call binding the contract method 0xe03c8632.
Solidity: function operatorWhitelist(address ) view returns(bool)
func (*StakingCallerSession) Owner ¶
func (_Staking *StakingCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*StakingCallerSession) Paused ¶
func (_Staking *StakingCallerSession) Paused() (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
func (*StakingCallerSession) UNLOCKPERIOD ¶
func (_Staking *StakingCallerSession) UNLOCKPERIOD() (*big.Int, error)
UNLOCKPERIOD is a free data retrieval call binding the contract method 0x259a28cf.
Solidity: function UNLOCK_PERIOD() view returns(uint256)
func (*StakingCallerSession) UnstakeRequests ¶
func (_Staking *StakingCallerSession) UnstakeRequests(arg0 common.Address) (struct { Amount *big.Int UnlockTime *big.Int }, error)
UnstakeRequests is a free data retrieval call binding the contract method 0xe0eb4d2e.
Solidity: function unstakeRequests(address ) view returns(uint256 amount, uint256 unlockTime)
type StakingDelegationDeposited ¶
type StakingDelegationDeposited struct {
Delegator common.Address
Operator common.Address
Amount *big.Int
Raw types.Log // Blockchain specific contextual infos
}
StakingDelegationDeposited represents a DelegationDeposited event raised by the Staking contract.
type StakingDelegationDepositedIterator ¶
type StakingDelegationDepositedIterator struct {
Event *StakingDelegationDeposited // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
StakingDelegationDepositedIterator is returned from FilterDelegationDeposited and is used to iterate over the raw logs and unpacked data for DelegationDeposited events raised by the Staking contract.
func (*StakingDelegationDepositedIterator) Close ¶
func (it *StakingDelegationDepositedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StakingDelegationDepositedIterator) Error ¶
func (it *StakingDelegationDepositedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StakingDelegationDepositedIterator) Next ¶
func (it *StakingDelegationDepositedIterator) 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 StakingDelegationWithdrawn ¶
type StakingDelegationWithdrawn struct {
Delegator common.Address
Operator common.Address
Amount *big.Int
Raw types.Log // Blockchain specific contextual infos
}
StakingDelegationWithdrawn represents a DelegationWithdrawn event raised by the Staking contract.
type StakingDelegationWithdrawnIterator ¶
type StakingDelegationWithdrawnIterator struct {
Event *StakingDelegationWithdrawn // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
StakingDelegationWithdrawnIterator is returned from FilterDelegationWithdrawn and is used to iterate over the raw logs and unpacked data for DelegationWithdrawn events raised by the Staking contract.
func (*StakingDelegationWithdrawnIterator) Close ¶
func (it *StakingDelegationWithdrawnIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StakingDelegationWithdrawnIterator) Error ¶
func (it *StakingDelegationWithdrawnIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StakingDelegationWithdrawnIterator) Next ¶
func (it *StakingDelegationWithdrawnIterator) 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 StakingFilterer ¶
type StakingFilterer struct {
// contains filtered or unexported fields
}
StakingFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewStakingFilterer ¶
func NewStakingFilterer(address common.Address, filterer bind.ContractFilterer) (*StakingFilterer, error)
NewStakingFilterer creates a new log filterer instance of Staking, bound to a specific deployed contract.
func (*StakingFilterer) FilterDelegationDeposited ¶
func (_Staking *StakingFilterer) FilterDelegationDeposited(opts *bind.FilterOpts, delegator []common.Address, operator []common.Address) (*StakingDelegationDepositedIterator, error)
FilterDelegationDeposited is a free log retrieval operation binding the contract event 0x7816331f779ea2479e6f58bd6f82595b0beefd00953fe2a25702e915976befdc.
Solidity: event DelegationDeposited(address indexed delegator, address indexed operator, uint256 amount)
func (*StakingFilterer) FilterDelegationWithdrawn ¶
func (_Staking *StakingFilterer) FilterDelegationWithdrawn(opts *bind.FilterOpts, delegator []common.Address, operator []common.Address) (*StakingDelegationWithdrawnIterator, error)
FilterDelegationWithdrawn is a free log retrieval operation binding the contract event 0xaa0001b0e2e76b9a1b925257fefa58b756aebc52d2d7c8a85ea5beacc77a2100.
Solidity: event DelegationWithdrawn(address indexed delegator, address indexed operator, uint256 amount)
func (*StakingFilterer) FilterInitialized ¶
func (_Staking *StakingFilterer) FilterInitialized(opts *bind.FilterOpts) (*StakingInitializedIterator, error)
FilterInitialized is a free log retrieval operation binding the contract event 0xc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2.
Solidity: event Initialized(uint64 version)
func (*StakingFilterer) FilterMinOperatorStakeUpdated ¶
func (_Staking *StakingFilterer) FilterMinOperatorStakeUpdated(opts *bind.FilterOpts) (*StakingMinOperatorStakeUpdatedIterator, error)
FilterMinOperatorStakeUpdated is a free log retrieval operation binding the contract event 0xf6eefd49a83d72df0cc9ddb5557cfa6a047393b8d4a85163a8cefe7aa490a30f.
Solidity: event MinOperatorStakeUpdated(uint256 oldAmount, uint256 newAmount)
func (*StakingFilterer) FilterOwnershipTransferred ¶
func (_Staking *StakingFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*StakingOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*StakingFilterer) FilterPaused ¶
func (_Staking *StakingFilterer) FilterPaused(opts *bind.FilterOpts) (*StakingPausedIterator, error)
FilterPaused is a free log retrieval operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
Solidity: event Paused(address account)
func (*StakingFilterer) FilterStakeDeposited ¶
func (_Staking *StakingFilterer) FilterStakeDeposited(opts *bind.FilterOpts, operator []common.Address) (*StakingStakeDepositedIterator, error)
FilterStakeDeposited is a free log retrieval operation binding the contract event 0x0a7bb2e28cc4698aac06db79cf9163bfcc20719286cf59fa7d492ceda1b8edc2.
Solidity: event StakeDeposited(address indexed operator, uint256 amount)
func (*StakingFilterer) FilterStakeWithdrawn ¶
func (_Staking *StakingFilterer) FilterStakeWithdrawn(opts *bind.FilterOpts, operator []common.Address) (*StakingStakeWithdrawnIterator, error)
FilterStakeWithdrawn is a free log retrieval operation binding the contract event 0x8108595eb6bad3acefa9da467d90cc2217686d5c5ac85460f8b7849c840645fc.
Solidity: event StakeWithdrawn(address indexed operator, uint256 amount)
func (*StakingFilterer) FilterUnpaused ¶
func (_Staking *StakingFilterer) FilterUnpaused(opts *bind.FilterOpts) (*StakingUnpausedIterator, error)
FilterUnpaused is a free log retrieval operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
Solidity: event Unpaused(address account)
func (*StakingFilterer) FilterUnstakeRequested ¶
func (_Staking *StakingFilterer) FilterUnstakeRequested(opts *bind.FilterOpts, operator []common.Address) (*StakingUnstakeRequestedIterator, error)
FilterUnstakeRequested is a free log retrieval operation binding the contract event 0x57e41df54512c76148b5ba9b643d149752b0d35e493b969bd017d0a3fe5228cf.
Solidity: event UnstakeRequested(address indexed operator, uint256 amount, uint256 unlockTime)
func (*StakingFilterer) FilterWhitelistAdded ¶
func (_Staking *StakingFilterer) FilterWhitelistAdded(opts *bind.FilterOpts, operator []common.Address) (*StakingWhitelistAddedIterator, error)
FilterWhitelistAdded is a free log retrieval operation binding the contract event 0x4790a4adb426ca2345bb5108f6e454eae852a7bf687544cd66a7270dff3a41d6.
Solidity: event WhitelistAdded(address indexed operator)
func (*StakingFilterer) FilterWhitelistRemoved ¶
func (_Staking *StakingFilterer) FilterWhitelistRemoved(opts *bind.FilterOpts, operator []common.Address) (*StakingWhitelistRemovedIterator, error)
FilterWhitelistRemoved is a free log retrieval operation binding the contract event 0xde8cf212af7ce38b2840785a2768d97ff2dbf3c21b516961cec0061e134c2a1e.
Solidity: event WhitelistRemoved(address indexed operator)
func (*StakingFilterer) ParseDelegationDeposited ¶
func (_Staking *StakingFilterer) ParseDelegationDeposited(log types.Log) (*StakingDelegationDeposited, error)
ParseDelegationDeposited is a log parse operation binding the contract event 0x7816331f779ea2479e6f58bd6f82595b0beefd00953fe2a25702e915976befdc.
Solidity: event DelegationDeposited(address indexed delegator, address indexed operator, uint256 amount)
func (*StakingFilterer) ParseDelegationWithdrawn ¶
func (_Staking *StakingFilterer) ParseDelegationWithdrawn(log types.Log) (*StakingDelegationWithdrawn, error)
ParseDelegationWithdrawn is a log parse operation binding the contract event 0xaa0001b0e2e76b9a1b925257fefa58b756aebc52d2d7c8a85ea5beacc77a2100.
Solidity: event DelegationWithdrawn(address indexed delegator, address indexed operator, uint256 amount)
func (*StakingFilterer) ParseInitialized ¶
func (_Staking *StakingFilterer) ParseInitialized(log types.Log) (*StakingInitialized, error)
ParseInitialized is a log parse operation binding the contract event 0xc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2.
Solidity: event Initialized(uint64 version)
func (*StakingFilterer) ParseMinOperatorStakeUpdated ¶
func (_Staking *StakingFilterer) ParseMinOperatorStakeUpdated(log types.Log) (*StakingMinOperatorStakeUpdated, error)
ParseMinOperatorStakeUpdated is a log parse operation binding the contract event 0xf6eefd49a83d72df0cc9ddb5557cfa6a047393b8d4a85163a8cefe7aa490a30f.
Solidity: event MinOperatorStakeUpdated(uint256 oldAmount, uint256 newAmount)
func (*StakingFilterer) ParseOwnershipTransferred ¶
func (_Staking *StakingFilterer) ParseOwnershipTransferred(log types.Log) (*StakingOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*StakingFilterer) ParsePaused ¶
func (_Staking *StakingFilterer) ParsePaused(log types.Log) (*StakingPaused, error)
ParsePaused is a log parse operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
Solidity: event Paused(address account)
func (*StakingFilterer) ParseStakeDeposited ¶
func (_Staking *StakingFilterer) ParseStakeDeposited(log types.Log) (*StakingStakeDeposited, error)
ParseStakeDeposited is a log parse operation binding the contract event 0x0a7bb2e28cc4698aac06db79cf9163bfcc20719286cf59fa7d492ceda1b8edc2.
Solidity: event StakeDeposited(address indexed operator, uint256 amount)
func (*StakingFilterer) ParseStakeWithdrawn ¶
func (_Staking *StakingFilterer) ParseStakeWithdrawn(log types.Log) (*StakingStakeWithdrawn, error)
ParseStakeWithdrawn is a log parse operation binding the contract event 0x8108595eb6bad3acefa9da467d90cc2217686d5c5ac85460f8b7849c840645fc.
Solidity: event StakeWithdrawn(address indexed operator, uint256 amount)
func (*StakingFilterer) ParseUnpaused ¶
func (_Staking *StakingFilterer) ParseUnpaused(log types.Log) (*StakingUnpaused, error)
ParseUnpaused is a log parse operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
Solidity: event Unpaused(address account)
func (*StakingFilterer) ParseUnstakeRequested ¶
func (_Staking *StakingFilterer) ParseUnstakeRequested(log types.Log) (*StakingUnstakeRequested, error)
ParseUnstakeRequested is a log parse operation binding the contract event 0x57e41df54512c76148b5ba9b643d149752b0d35e493b969bd017d0a3fe5228cf.
Solidity: event UnstakeRequested(address indexed operator, uint256 amount, uint256 unlockTime)
func (*StakingFilterer) ParseWhitelistAdded ¶
func (_Staking *StakingFilterer) ParseWhitelistAdded(log types.Log) (*StakingWhitelistAdded, error)
ParseWhitelistAdded is a log parse operation binding the contract event 0x4790a4adb426ca2345bb5108f6e454eae852a7bf687544cd66a7270dff3a41d6.
Solidity: event WhitelistAdded(address indexed operator)
func (*StakingFilterer) ParseWhitelistRemoved ¶
func (_Staking *StakingFilterer) ParseWhitelistRemoved(log types.Log) (*StakingWhitelistRemoved, error)
ParseWhitelistRemoved is a log parse operation binding the contract event 0xde8cf212af7ce38b2840785a2768d97ff2dbf3c21b516961cec0061e134c2a1e.
Solidity: event WhitelistRemoved(address indexed operator)
func (*StakingFilterer) WatchDelegationDeposited ¶
func (_Staking *StakingFilterer) WatchDelegationDeposited(opts *bind.WatchOpts, sink chan<- *StakingDelegationDeposited, delegator []common.Address, operator []common.Address) (event.Subscription, error)
WatchDelegationDeposited is a free log subscription operation binding the contract event 0x7816331f779ea2479e6f58bd6f82595b0beefd00953fe2a25702e915976befdc.
Solidity: event DelegationDeposited(address indexed delegator, address indexed operator, uint256 amount)
func (*StakingFilterer) WatchDelegationWithdrawn ¶
func (_Staking *StakingFilterer) WatchDelegationWithdrawn(opts *bind.WatchOpts, sink chan<- *StakingDelegationWithdrawn, delegator []common.Address, operator []common.Address) (event.Subscription, error)
WatchDelegationWithdrawn is a free log subscription operation binding the contract event 0xaa0001b0e2e76b9a1b925257fefa58b756aebc52d2d7c8a85ea5beacc77a2100.
Solidity: event DelegationWithdrawn(address indexed delegator, address indexed operator, uint256 amount)
func (*StakingFilterer) WatchInitialized ¶
func (_Staking *StakingFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *StakingInitialized) (event.Subscription, error)
WatchInitialized is a free log subscription operation binding the contract event 0xc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2.
Solidity: event Initialized(uint64 version)
func (*StakingFilterer) WatchMinOperatorStakeUpdated ¶
func (_Staking *StakingFilterer) WatchMinOperatorStakeUpdated(opts *bind.WatchOpts, sink chan<- *StakingMinOperatorStakeUpdated) (event.Subscription, error)
WatchMinOperatorStakeUpdated is a free log subscription operation binding the contract event 0xf6eefd49a83d72df0cc9ddb5557cfa6a047393b8d4a85163a8cefe7aa490a30f.
Solidity: event MinOperatorStakeUpdated(uint256 oldAmount, uint256 newAmount)
func (*StakingFilterer) WatchOwnershipTransferred ¶
func (_Staking *StakingFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *StakingOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*StakingFilterer) WatchPaused ¶
func (_Staking *StakingFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *StakingPaused) (event.Subscription, error)
WatchPaused is a free log subscription operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
Solidity: event Paused(address account)
func (*StakingFilterer) WatchStakeDeposited ¶
func (_Staking *StakingFilterer) WatchStakeDeposited(opts *bind.WatchOpts, sink chan<- *StakingStakeDeposited, operator []common.Address) (event.Subscription, error)
WatchStakeDeposited is a free log subscription operation binding the contract event 0x0a7bb2e28cc4698aac06db79cf9163bfcc20719286cf59fa7d492ceda1b8edc2.
Solidity: event StakeDeposited(address indexed operator, uint256 amount)
func (*StakingFilterer) WatchStakeWithdrawn ¶
func (_Staking *StakingFilterer) WatchStakeWithdrawn(opts *bind.WatchOpts, sink chan<- *StakingStakeWithdrawn, operator []common.Address) (event.Subscription, error)
WatchStakeWithdrawn is a free log subscription operation binding the contract event 0x8108595eb6bad3acefa9da467d90cc2217686d5c5ac85460f8b7849c840645fc.
Solidity: event StakeWithdrawn(address indexed operator, uint256 amount)
func (*StakingFilterer) WatchUnpaused ¶
func (_Staking *StakingFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *StakingUnpaused) (event.Subscription, error)
WatchUnpaused is a free log subscription operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
Solidity: event Unpaused(address account)
func (*StakingFilterer) WatchUnstakeRequested ¶
func (_Staking *StakingFilterer) WatchUnstakeRequested(opts *bind.WatchOpts, sink chan<- *StakingUnstakeRequested, operator []common.Address) (event.Subscription, error)
WatchUnstakeRequested is a free log subscription operation binding the contract event 0x57e41df54512c76148b5ba9b643d149752b0d35e493b969bd017d0a3fe5228cf.
Solidity: event UnstakeRequested(address indexed operator, uint256 amount, uint256 unlockTime)
func (*StakingFilterer) WatchWhitelistAdded ¶
func (_Staking *StakingFilterer) WatchWhitelistAdded(opts *bind.WatchOpts, sink chan<- *StakingWhitelistAdded, operator []common.Address) (event.Subscription, error)
WatchWhitelistAdded is a free log subscription operation binding the contract event 0x4790a4adb426ca2345bb5108f6e454eae852a7bf687544cd66a7270dff3a41d6.
Solidity: event WhitelistAdded(address indexed operator)
func (*StakingFilterer) WatchWhitelistRemoved ¶
func (_Staking *StakingFilterer) WatchWhitelistRemoved(opts *bind.WatchOpts, sink chan<- *StakingWhitelistRemoved, operator []common.Address) (event.Subscription, error)
WatchWhitelistRemoved is a free log subscription operation binding the contract event 0xde8cf212af7ce38b2840785a2768d97ff2dbf3c21b516961cec0061e134c2a1e.
Solidity: event WhitelistRemoved(address indexed operator)
type StakingInitialized ¶
type StakingInitialized struct {
Version uint64
Raw types.Log // Blockchain specific contextual infos
}
StakingInitialized represents a Initialized event raised by the Staking contract.
type StakingInitializedIterator ¶
type StakingInitializedIterator struct {
Event *StakingInitialized // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
StakingInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the Staking contract.
func (*StakingInitializedIterator) Close ¶
func (it *StakingInitializedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StakingInitializedIterator) Error ¶
func (it *StakingInitializedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StakingInitializedIterator) Next ¶
func (it *StakingInitializedIterator) 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 StakingMinOperatorStakeUpdated ¶
type StakingMinOperatorStakeUpdated struct {
OldAmount *big.Int
NewAmount *big.Int
Raw types.Log // Blockchain specific contextual infos
}
StakingMinOperatorStakeUpdated represents a MinOperatorStakeUpdated event raised by the Staking contract.
type StakingMinOperatorStakeUpdatedIterator ¶
type StakingMinOperatorStakeUpdatedIterator struct {
Event *StakingMinOperatorStakeUpdated // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
StakingMinOperatorStakeUpdatedIterator is returned from FilterMinOperatorStakeUpdated and is used to iterate over the raw logs and unpacked data for MinOperatorStakeUpdated events raised by the Staking contract.
func (*StakingMinOperatorStakeUpdatedIterator) Close ¶
func (it *StakingMinOperatorStakeUpdatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StakingMinOperatorStakeUpdatedIterator) Error ¶
func (it *StakingMinOperatorStakeUpdatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StakingMinOperatorStakeUpdatedIterator) Next ¶
func (it *StakingMinOperatorStakeUpdatedIterator) 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 StakingOwnershipTransferred ¶
type StakingOwnershipTransferred struct {
PreviousOwner common.Address
NewOwner common.Address
Raw types.Log // Blockchain specific contextual infos
}
StakingOwnershipTransferred represents a OwnershipTransferred event raised by the Staking contract.
type StakingOwnershipTransferredIterator ¶
type StakingOwnershipTransferredIterator struct {
Event *StakingOwnershipTransferred // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
StakingOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Staking contract.
func (*StakingOwnershipTransferredIterator) Close ¶
func (it *StakingOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StakingOwnershipTransferredIterator) Error ¶
func (it *StakingOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StakingOwnershipTransferredIterator) Next ¶
func (it *StakingOwnershipTransferredIterator) 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 StakingPaused ¶
type StakingPaused struct {
Account common.Address
Raw types.Log // Blockchain specific contextual infos
}
StakingPaused represents a Paused event raised by the Staking contract.
type StakingPausedIterator ¶
type StakingPausedIterator struct {
Event *StakingPaused // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
StakingPausedIterator is returned from FilterPaused and is used to iterate over the raw logs and unpacked data for Paused events raised by the Staking contract.
func (*StakingPausedIterator) Close ¶
func (it *StakingPausedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StakingPausedIterator) Error ¶
func (it *StakingPausedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StakingPausedIterator) Next ¶
func (it *StakingPausedIterator) 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 StakingRaw ¶
type StakingRaw struct {
Contract *Staking // Generic contract binding to access the raw methods on
}
StakingRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*StakingRaw) Call ¶
func (_Staking *StakingRaw) 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 (*StakingRaw) Transact ¶
func (_Staking *StakingRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*StakingRaw) Transfer ¶
func (_Staking *StakingRaw) 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 StakingSession ¶
type StakingSession struct {
Contract *Staking // 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
}
StakingSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*StakingSession) AddWhitelist ¶
func (_Staking *StakingSession) AddWhitelist(operators []common.Address) (*types.Transaction, error)
AddWhitelist is a paid mutator transaction binding the contract method 0xedac985b.
Solidity: function addWhitelist(address[] operators) returns()
func (*StakingSession) CToken ¶
func (_Staking *StakingSession) CToken() (common.Address, error)
CToken is a free data retrieval call binding the contract method 0x69e527da.
Solidity: function cToken() view returns(address)
func (*StakingSession) Delegate ¶
func (_Staking *StakingSession) Delegate(operator common.Address, amount *big.Int) (*types.Transaction, error)
Delegate is a paid mutator transaction binding the contract method 0x026e402b.
Solidity: function delegate(address operator, uint256 amount) returns()
func (*StakingSession) Delegations ¶
func (_Staking *StakingSession) Delegations(arg0 common.Address, arg1 common.Address) (*big.Int, error)
Delegations is a free data retrieval call binding the contract method 0xc64814dd.
Solidity: function delegations(address , address ) view returns(uint256)
func (*StakingSession) Initialize ¶
func (_Staking *StakingSession) Initialize(initialOwner common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xc4d66de8.
Solidity: function initialize(address initialOwner) returns()
func (*StakingSession) MinOperatorStake ¶
func (_Staking *StakingSession) MinOperatorStake() (*big.Int, error)
MinOperatorStake is a free data retrieval call binding the contract method 0xd775cb61.
Solidity: function minOperatorStake() view returns(uint256)
func (*StakingSession) OperatorStakes ¶
OperatorStakes is a free data retrieval call binding the contract method 0x1c9856ae.
Solidity: function operatorStakes(address ) view returns(uint256)
func (*StakingSession) OperatorWhitelist ¶
func (_Staking *StakingSession) OperatorWhitelist(arg0 common.Address) (bool, error)
OperatorWhitelist is a free data retrieval call binding the contract method 0xe03c8632.
Solidity: function operatorWhitelist(address ) view returns(bool)
func (*StakingSession) Owner ¶
func (_Staking *StakingSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*StakingSession) Pause ¶
func (_Staking *StakingSession) Pause() (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*StakingSession) Paused ¶
func (_Staking *StakingSession) Paused() (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
func (*StakingSession) RemoveWhitelist ¶
func (_Staking *StakingSession) RemoveWhitelist(operators []common.Address) (*types.Transaction, error)
RemoveWhitelist is a paid mutator transaction binding the contract method 0x23245216.
Solidity: function removeWhitelist(address[] operators) returns()
func (*StakingSession) RenounceOwnership ¶
func (_Staking *StakingSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*StakingSession) SetMinOperatorStake ¶
func (_Staking *StakingSession) SetMinOperatorStake(_minOperatorStake *big.Int) (*types.Transaction, error)
SetMinOperatorStake is a paid mutator transaction binding the contract method 0x03002902.
Solidity: function setMinOperatorStake(uint256 _minOperatorStake) returns()
func (*StakingSession) Stake ¶
func (_Staking *StakingSession) Stake(amount *big.Int) (*types.Transaction, error)
Stake is a paid mutator transaction binding the contract method 0xa694fc3a.
Solidity: function stake(uint256 amount) returns()
func (*StakingSession) TransferOwnership ¶
func (_Staking *StakingSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*StakingSession) UNLOCKPERIOD ¶
func (_Staking *StakingSession) UNLOCKPERIOD() (*big.Int, error)
UNLOCKPERIOD is a free data retrieval call binding the contract method 0x259a28cf.
Solidity: function UNLOCK_PERIOD() view returns(uint256)
func (*StakingSession) Unpause ¶
func (_Staking *StakingSession) Unpause() (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns()
func (*StakingSession) Unstake ¶
func (_Staking *StakingSession) Unstake() (*types.Transaction, error)
Unstake is a paid mutator transaction binding the contract method 0x2def6620.
Solidity: function unstake() returns()
func (*StakingSession) UnstakeRequests ¶
func (_Staking *StakingSession) UnstakeRequests(arg0 common.Address) (struct { Amount *big.Int UnlockTime *big.Int }, error)
UnstakeRequests is a free data retrieval call binding the contract method 0xe0eb4d2e.
Solidity: function unstakeRequests(address ) view returns(uint256 amount, uint256 unlockTime)
func (*StakingSession) WithdrawDelegation ¶
func (_Staking *StakingSession) WithdrawDelegation(operator common.Address, amount *big.Int) (*types.Transaction, error)
WithdrawDelegation is a paid mutator transaction binding the contract method 0x01a5d67e.
Solidity: function withdrawDelegation(address operator, uint256 amount) returns()
func (*StakingSession) WithdrawStake ¶
func (_Staking *StakingSession) WithdrawStake() (*types.Transaction, error)
WithdrawStake is a paid mutator transaction binding the contract method 0xbed9d861.
Solidity: function withdrawStake() returns()
type StakingStakeDeposited ¶
type StakingStakeDeposited struct {
Operator common.Address
Amount *big.Int
Raw types.Log // Blockchain specific contextual infos
}
StakingStakeDeposited represents a StakeDeposited event raised by the Staking contract.
type StakingStakeDepositedIterator ¶
type StakingStakeDepositedIterator struct {
Event *StakingStakeDeposited // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
StakingStakeDepositedIterator is returned from FilterStakeDeposited and is used to iterate over the raw logs and unpacked data for StakeDeposited events raised by the Staking contract.
func (*StakingStakeDepositedIterator) Close ¶
func (it *StakingStakeDepositedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StakingStakeDepositedIterator) Error ¶
func (it *StakingStakeDepositedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StakingStakeDepositedIterator) Next ¶
func (it *StakingStakeDepositedIterator) 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 StakingStakeWithdrawn ¶
type StakingStakeWithdrawn struct {
Operator common.Address
Amount *big.Int
Raw types.Log // Blockchain specific contextual infos
}
StakingStakeWithdrawn represents a StakeWithdrawn event raised by the Staking contract.
type StakingStakeWithdrawnIterator ¶
type StakingStakeWithdrawnIterator struct {
Event *StakingStakeWithdrawn // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
StakingStakeWithdrawnIterator is returned from FilterStakeWithdrawn and is used to iterate over the raw logs and unpacked data for StakeWithdrawn events raised by the Staking contract.
func (*StakingStakeWithdrawnIterator) Close ¶
func (it *StakingStakeWithdrawnIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StakingStakeWithdrawnIterator) Error ¶
func (it *StakingStakeWithdrawnIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StakingStakeWithdrawnIterator) Next ¶
func (it *StakingStakeWithdrawnIterator) 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 StakingTransactor ¶
type StakingTransactor struct {
// contains filtered or unexported fields
}
StakingTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewStakingTransactor ¶
func NewStakingTransactor(address common.Address, transactor bind.ContractTransactor) (*StakingTransactor, error)
NewStakingTransactor creates a new write-only instance of Staking, bound to a specific deployed contract.
func (*StakingTransactor) AddWhitelist ¶
func (_Staking *StakingTransactor) AddWhitelist(opts *bind.TransactOpts, operators []common.Address) (*types.Transaction, error)
AddWhitelist is a paid mutator transaction binding the contract method 0xedac985b.
Solidity: function addWhitelist(address[] operators) returns()
func (*StakingTransactor) Delegate ¶
func (_Staking *StakingTransactor) Delegate(opts *bind.TransactOpts, operator common.Address, amount *big.Int) (*types.Transaction, error)
Delegate is a paid mutator transaction binding the contract method 0x026e402b.
Solidity: function delegate(address operator, uint256 amount) returns()
func (*StakingTransactor) Initialize ¶
func (_Staking *StakingTransactor) Initialize(opts *bind.TransactOpts, initialOwner common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xc4d66de8.
Solidity: function initialize(address initialOwner) returns()
func (*StakingTransactor) Pause ¶
func (_Staking *StakingTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*StakingTransactor) RemoveWhitelist ¶
func (_Staking *StakingTransactor) RemoveWhitelist(opts *bind.TransactOpts, operators []common.Address) (*types.Transaction, error)
RemoveWhitelist is a paid mutator transaction binding the contract method 0x23245216.
Solidity: function removeWhitelist(address[] operators) returns()
func (*StakingTransactor) RenounceOwnership ¶
func (_Staking *StakingTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*StakingTransactor) SetMinOperatorStake ¶
func (_Staking *StakingTransactor) SetMinOperatorStake(opts *bind.TransactOpts, _minOperatorStake *big.Int) (*types.Transaction, error)
SetMinOperatorStake is a paid mutator transaction binding the contract method 0x03002902.
Solidity: function setMinOperatorStake(uint256 _minOperatorStake) returns()
func (*StakingTransactor) Stake ¶
func (_Staking *StakingTransactor) Stake(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)
Stake is a paid mutator transaction binding the contract method 0xa694fc3a.
Solidity: function stake(uint256 amount) returns()
func (*StakingTransactor) TransferOwnership ¶
func (_Staking *StakingTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*StakingTransactor) Unpause ¶
func (_Staking *StakingTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns()
func (*StakingTransactor) Unstake ¶
func (_Staking *StakingTransactor) Unstake(opts *bind.TransactOpts) (*types.Transaction, error)
Unstake is a paid mutator transaction binding the contract method 0x2def6620.
Solidity: function unstake() returns()
func (*StakingTransactor) WithdrawDelegation ¶
func (_Staking *StakingTransactor) WithdrawDelegation(opts *bind.TransactOpts, operator common.Address, amount *big.Int) (*types.Transaction, error)
WithdrawDelegation is a paid mutator transaction binding the contract method 0x01a5d67e.
Solidity: function withdrawDelegation(address operator, uint256 amount) returns()
func (*StakingTransactor) WithdrawStake ¶
func (_Staking *StakingTransactor) WithdrawStake(opts *bind.TransactOpts) (*types.Transaction, error)
WithdrawStake is a paid mutator transaction binding the contract method 0xbed9d861.
Solidity: function withdrawStake() returns()
type StakingTransactorRaw ¶
type StakingTransactorRaw struct {
Contract *StakingTransactor // Generic write-only contract binding to access the raw methods on
}
StakingTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*StakingTransactorRaw) Transact ¶
func (_Staking *StakingTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*StakingTransactorRaw) Transfer ¶
func (_Staking *StakingTransactorRaw) 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 StakingTransactorSession ¶
type StakingTransactorSession struct {
Contract *StakingTransactor // Generic contract transactor binding to set the session for
TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}
StakingTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*StakingTransactorSession) AddWhitelist ¶
func (_Staking *StakingTransactorSession) AddWhitelist(operators []common.Address) (*types.Transaction, error)
AddWhitelist is a paid mutator transaction binding the contract method 0xedac985b.
Solidity: function addWhitelist(address[] operators) returns()
func (*StakingTransactorSession) Delegate ¶
func (_Staking *StakingTransactorSession) Delegate(operator common.Address, amount *big.Int) (*types.Transaction, error)
Delegate is a paid mutator transaction binding the contract method 0x026e402b.
Solidity: function delegate(address operator, uint256 amount) returns()
func (*StakingTransactorSession) Initialize ¶
func (_Staking *StakingTransactorSession) Initialize(initialOwner common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xc4d66de8.
Solidity: function initialize(address initialOwner) returns()
func (*StakingTransactorSession) Pause ¶
func (_Staking *StakingTransactorSession) Pause() (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*StakingTransactorSession) RemoveWhitelist ¶
func (_Staking *StakingTransactorSession) RemoveWhitelist(operators []common.Address) (*types.Transaction, error)
RemoveWhitelist is a paid mutator transaction binding the contract method 0x23245216.
Solidity: function removeWhitelist(address[] operators) returns()
func (*StakingTransactorSession) RenounceOwnership ¶
func (_Staking *StakingTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*StakingTransactorSession) SetMinOperatorStake ¶
func (_Staking *StakingTransactorSession) SetMinOperatorStake(_minOperatorStake *big.Int) (*types.Transaction, error)
SetMinOperatorStake is a paid mutator transaction binding the contract method 0x03002902.
Solidity: function setMinOperatorStake(uint256 _minOperatorStake) returns()
func (*StakingTransactorSession) Stake ¶
func (_Staking *StakingTransactorSession) Stake(amount *big.Int) (*types.Transaction, error)
Stake is a paid mutator transaction binding the contract method 0xa694fc3a.
Solidity: function stake(uint256 amount) returns()
func (*StakingTransactorSession) TransferOwnership ¶
func (_Staking *StakingTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*StakingTransactorSession) Unpause ¶
func (_Staking *StakingTransactorSession) Unpause() (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns()
func (*StakingTransactorSession) Unstake ¶
func (_Staking *StakingTransactorSession) Unstake() (*types.Transaction, error)
Unstake is a paid mutator transaction binding the contract method 0x2def6620.
Solidity: function unstake() returns()
func (*StakingTransactorSession) WithdrawDelegation ¶
func (_Staking *StakingTransactorSession) WithdrawDelegation(operator common.Address, amount *big.Int) (*types.Transaction, error)
WithdrawDelegation is a paid mutator transaction binding the contract method 0x01a5d67e.
Solidity: function withdrawDelegation(address operator, uint256 amount) returns()
func (*StakingTransactorSession) WithdrawStake ¶
func (_Staking *StakingTransactorSession) WithdrawStake() (*types.Transaction, error)
WithdrawStake is a paid mutator transaction binding the contract method 0xbed9d861.
Solidity: function withdrawStake() returns()
type StakingUnpaused ¶
type StakingUnpaused struct {
Account common.Address
Raw types.Log // Blockchain specific contextual infos
}
StakingUnpaused represents a Unpaused event raised by the Staking contract.
type StakingUnpausedIterator ¶
type StakingUnpausedIterator struct {
Event *StakingUnpaused // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
StakingUnpausedIterator is returned from FilterUnpaused and is used to iterate over the raw logs and unpacked data for Unpaused events raised by the Staking contract.
func (*StakingUnpausedIterator) Close ¶
func (it *StakingUnpausedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StakingUnpausedIterator) Error ¶
func (it *StakingUnpausedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StakingUnpausedIterator) Next ¶
func (it *StakingUnpausedIterator) 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 StakingUnstakeRequested ¶
type StakingUnstakeRequested struct {
Operator common.Address
Amount *big.Int
UnlockTime *big.Int
Raw types.Log // Blockchain specific contextual infos
}
StakingUnstakeRequested represents a UnstakeRequested event raised by the Staking contract.
type StakingUnstakeRequestedIterator ¶
type StakingUnstakeRequestedIterator struct {
Event *StakingUnstakeRequested // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
StakingUnstakeRequestedIterator is returned from FilterUnstakeRequested and is used to iterate over the raw logs and unpacked data for UnstakeRequested events raised by the Staking contract.
func (*StakingUnstakeRequestedIterator) Close ¶
func (it *StakingUnstakeRequestedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StakingUnstakeRequestedIterator) Error ¶
func (it *StakingUnstakeRequestedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StakingUnstakeRequestedIterator) Next ¶
func (it *StakingUnstakeRequestedIterator) 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 StakingWhitelistAdded ¶
type StakingWhitelistAdded struct {
Operator common.Address
Raw types.Log // Blockchain specific contextual infos
}
StakingWhitelistAdded represents a WhitelistAdded event raised by the Staking contract.
type StakingWhitelistAddedIterator ¶
type StakingWhitelistAddedIterator struct {
Event *StakingWhitelistAdded // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
StakingWhitelistAddedIterator is returned from FilterWhitelistAdded and is used to iterate over the raw logs and unpacked data for WhitelistAdded events raised by the Staking contract.
func (*StakingWhitelistAddedIterator) Close ¶
func (it *StakingWhitelistAddedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StakingWhitelistAddedIterator) Error ¶
func (it *StakingWhitelistAddedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StakingWhitelistAddedIterator) Next ¶
func (it *StakingWhitelistAddedIterator) 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 StakingWhitelistRemoved ¶
type StakingWhitelistRemoved struct {
Operator common.Address
Raw types.Log // Blockchain specific contextual infos
}
StakingWhitelistRemoved represents a WhitelistRemoved event raised by the Staking contract.
type StakingWhitelistRemovedIterator ¶
type StakingWhitelistRemovedIterator struct {
Event *StakingWhitelistRemoved // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
StakingWhitelistRemovedIterator is returned from FilterWhitelistRemoved and is used to iterate over the raw logs and unpacked data for WhitelistRemoved events raised by the Staking contract.
func (*StakingWhitelistRemovedIterator) Close ¶
func (it *StakingWhitelistRemovedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StakingWhitelistRemovedIterator) Error ¶
func (it *StakingWhitelistRemovedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StakingWhitelistRemovedIterator) Next ¶
func (it *StakingWhitelistRemovedIterator) 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.