Documentation ¶
Index ¶
- Variables
- type MintController
- type MintControllerCaller
- func (_MintController *MintControllerCaller) CurrentMintLimit(opts *bind.CallOpts) (*big.Int, error)
- func (_MintController *MintControllerCaller) DEFAULTADMINROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_MintController *MintControllerCaller) Eip712Domain(opts *bind.CallOpts) (struct{ ... }, error)
- func (_MintController *MintControllerCaller) LastMint(opts *bind.CallOpts) (*big.Int, error)
- func (_MintController *MintControllerCaller) LastMintLimit(opts *bind.CallOpts) (*big.Int, error)
- func (_MintController *MintControllerCaller) MaxMintLimit(opts *bind.CallOpts) (*big.Int, error)
- func (_MintController *MintControllerCaller) MintPerSecond(opts *bind.CallOpts) (*big.Int, error)
- func (_MintController *MintControllerCaller) SignerThreshold(opts *bind.CallOpts) (*big.Int, error)
- func (_MintController *MintControllerCaller) ValidatorCount(opts *bind.CallOpts) (*big.Int, error)
- func (_MintController *MintControllerCaller) Validators(opts *bind.CallOpts, arg0 common.Address) (bool, error)
- func (_MintController *MintControllerCaller) WPokt(opts *bind.CallOpts) (common.Address, error)
- type MintControllerCallerRaw
- type MintControllerCallerSession
- func (_MintController *MintControllerCallerSession) CurrentMintLimit() (*big.Int, error)
- func (_MintController *MintControllerCallerSession) DEFAULTADMINROLE() ([32]byte, error)
- func (_MintController *MintControllerCallerSession) Eip712Domain() (struct{ ... }, error)
- func (_MintController *MintControllerCallerSession) LastMint() (*big.Int, error)
- func (_MintController *MintControllerCallerSession) LastMintLimit() (*big.Int, error)
- func (_MintController *MintControllerCallerSession) MaxMintLimit() (*big.Int, error)
- func (_MintController *MintControllerCallerSession) MintPerSecond() (*big.Int, error)
- func (_MintController *MintControllerCallerSession) SignerThreshold() (*big.Int, error)
- func (_MintController *MintControllerCallerSession) ValidatorCount() (*big.Int, error)
- func (_MintController *MintControllerCallerSession) Validators(arg0 common.Address) (bool, error)
- func (_MintController *MintControllerCallerSession) WPokt() (common.Address, error)
- type MintControllerCurrentMintLimit
- type MintControllerCurrentMintLimitIterator
- type MintControllerEIP712DomainChanged
- type MintControllerEIP712DomainChangedIterator
- type MintControllerFilterer
- func (_MintController *MintControllerFilterer) FilterCurrentMintLimit(opts *bind.FilterOpts, limit []*big.Int, lastMint []*big.Int) (*MintControllerCurrentMintLimitIterator, error)
- func (_MintController *MintControllerFilterer) FilterEIP712DomainChanged(opts *bind.FilterOpts) (*MintControllerEIP712DomainChangedIterator, error)
- func (_MintController *MintControllerFilterer) FilterMintCooldownSet(opts *bind.FilterOpts) (*MintControllerMintCooldownSetIterator, error)
- func (_MintController *MintControllerFilterer) FilterNewValidator(opts *bind.FilterOpts, validator []common.Address) (*MintControllerNewValidatorIterator, error)
- func (_MintController *MintControllerFilterer) FilterRemovedValidator(opts *bind.FilterOpts, validator []common.Address) (*MintControllerRemovedValidatorIterator, error)
- func (_MintController *MintControllerFilterer) FilterSignerThresholdSet(opts *bind.FilterOpts, ratio []*big.Int) (*MintControllerSignerThresholdSetIterator, error)
- func (_MintController *MintControllerFilterer) ParseCurrentMintLimit(log types.Log) (*MintControllerCurrentMintLimit, error)
- func (_MintController *MintControllerFilterer) ParseEIP712DomainChanged(log types.Log) (*MintControllerEIP712DomainChanged, error)
- func (_MintController *MintControllerFilterer) ParseMintCooldownSet(log types.Log) (*MintControllerMintCooldownSet, error)
- func (_MintController *MintControllerFilterer) ParseNewValidator(log types.Log) (*MintControllerNewValidator, error)
- func (_MintController *MintControllerFilterer) ParseRemovedValidator(log types.Log) (*MintControllerRemovedValidator, error)
- func (_MintController *MintControllerFilterer) ParseSignerThresholdSet(log types.Log) (*MintControllerSignerThresholdSet, error)
- func (_MintController *MintControllerFilterer) WatchCurrentMintLimit(opts *bind.WatchOpts, sink chan<- *MintControllerCurrentMintLimit, ...) (event.Subscription, error)
- func (_MintController *MintControllerFilterer) WatchEIP712DomainChanged(opts *bind.WatchOpts, sink chan<- *MintControllerEIP712DomainChanged) (event.Subscription, error)
- func (_MintController *MintControllerFilterer) WatchMintCooldownSet(opts *bind.WatchOpts, sink chan<- *MintControllerMintCooldownSet) (event.Subscription, error)
- func (_MintController *MintControllerFilterer) WatchNewValidator(opts *bind.WatchOpts, sink chan<- *MintControllerNewValidator, ...) (event.Subscription, error)
- func (_MintController *MintControllerFilterer) WatchRemovedValidator(opts *bind.WatchOpts, sink chan<- *MintControllerRemovedValidator, ...) (event.Subscription, error)
- func (_MintController *MintControllerFilterer) WatchSignerThresholdSet(opts *bind.WatchOpts, sink chan<- *MintControllerSignerThresholdSet, ...) (event.Subscription, error)
- type MintControllerMintCooldownSet
- type MintControllerMintCooldownSetIterator
- type MintControllerMintData
- type MintControllerNewValidator
- type MintControllerNewValidatorIterator
- type MintControllerRaw
- func (_MintController *MintControllerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_MintController *MintControllerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_MintController *MintControllerRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type MintControllerRemovedValidator
- type MintControllerRemovedValidatorIterator
- type MintControllerSession
- func (_MintController *MintControllerSession) AddValidator(validator common.Address) (*types.Transaction, error)
- func (_MintController *MintControllerSession) CurrentMintLimit() (*big.Int, error)
- func (_MintController *MintControllerSession) DEFAULTADMINROLE() ([32]byte, error)
- func (_MintController *MintControllerSession) Eip712Domain() (struct{ ... }, error)
- func (_MintController *MintControllerSession) LastMint() (*big.Int, error)
- func (_MintController *MintControllerSession) LastMintLimit() (*big.Int, error)
- func (_MintController *MintControllerSession) MaxMintLimit() (*big.Int, error)
- func (_MintController *MintControllerSession) MintPerSecond() (*big.Int, error)
- func (_MintController *MintControllerSession) MintWrappedPocket(data MintControllerMintData, signatures [][]byte) (*types.Transaction, error)
- func (_MintController *MintControllerSession) RemoveValidator(validator common.Address) (*types.Transaction, error)
- func (_MintController *MintControllerSession) SetMintCooldown(newLimit *big.Int, newMintPerSecond *big.Int) (*types.Transaction, error)
- func (_MintController *MintControllerSession) SetSignerThreshold(signatureRatio *big.Int) (*types.Transaction, error)
- func (_MintController *MintControllerSession) SignerThreshold() (*big.Int, error)
- func (_MintController *MintControllerSession) ValidatorCount() (*big.Int, error)
- func (_MintController *MintControllerSession) Validators(arg0 common.Address) (bool, error)
- func (_MintController *MintControllerSession) WPokt() (common.Address, error)
- type MintControllerSignerThresholdSet
- type MintControllerSignerThresholdSetIterator
- type MintControllerTransactor
- func (_MintController *MintControllerTransactor) AddValidator(opts *bind.TransactOpts, validator common.Address) (*types.Transaction, error)
- func (_MintController *MintControllerTransactor) MintWrappedPocket(opts *bind.TransactOpts, data MintControllerMintData, signatures [][]byte) (*types.Transaction, error)
- func (_MintController *MintControllerTransactor) RemoveValidator(opts *bind.TransactOpts, validator common.Address) (*types.Transaction, error)
- func (_MintController *MintControllerTransactor) SetMintCooldown(opts *bind.TransactOpts, newLimit *big.Int, newMintPerSecond *big.Int) (*types.Transaction, error)
- func (_MintController *MintControllerTransactor) SetSignerThreshold(opts *bind.TransactOpts, signatureRatio *big.Int) (*types.Transaction, error)
- type MintControllerTransactorRaw
- type MintControllerTransactorSession
- func (_MintController *MintControllerTransactorSession) AddValidator(validator common.Address) (*types.Transaction, error)
- func (_MintController *MintControllerTransactorSession) MintWrappedPocket(data MintControllerMintData, signatures [][]byte) (*types.Transaction, error)
- func (_MintController *MintControllerTransactorSession) RemoveValidator(validator common.Address) (*types.Transaction, error)
- func (_MintController *MintControllerTransactorSession) SetMintCooldown(newLimit *big.Int, newMintPerSecond *big.Int) (*types.Transaction, error)
- func (_MintController *MintControllerTransactorSession) SetSignerThreshold(signatureRatio *big.Int) (*types.Transaction, error)
- type WrappedPocket
- type WrappedPocketApproval
- type WrappedPocketApprovalIterator
- type WrappedPocketBurnAndBridge
- type WrappedPocketBurnAndBridgeIterator
- type WrappedPocketCaller
- func (_WrappedPocket *WrappedPocketCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)
- func (_WrappedPocket *WrappedPocketCaller) BASISPOINTS(opts *bind.CallOpts) (*big.Int, error)
- func (_WrappedPocket *WrappedPocketCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)
- func (_WrappedPocket *WrappedPocketCaller) Burn(opts *bind.CallOpts, arg0 *big.Int) error
- func (_WrappedPocket *WrappedPocketCaller) DEFAULTADMINROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_WrappedPocket *WrappedPocketCaller) DOMAINSEPARATOR(opts *bind.CallOpts) ([32]byte, error)
- func (_WrappedPocket *WrappedPocketCaller) Decimals(opts *bind.CallOpts) (uint8, error)
- func (_WrappedPocket *WrappedPocketCaller) Eip712Domain(opts *bind.CallOpts) (struct{ ... }, error)
- func (_WrappedPocket *WrappedPocketCaller) FeeBasis(opts *bind.CallOpts) (*big.Int, error)
- func (_WrappedPocket *WrappedPocketCaller) FeeCollector(opts *bind.CallOpts) (common.Address, error)
- func (_WrappedPocket *WrappedPocketCaller) FeeFlag(opts *bind.CallOpts) (bool, error)
- func (_WrappedPocket *WrappedPocketCaller) GetRoleAdmin(opts *bind.CallOpts, role [32]byte) ([32]byte, error)
- func (_WrappedPocket *WrappedPocketCaller) GetUserNonce(opts *bind.CallOpts, user common.Address) (*big.Int, error)
- func (_WrappedPocket *WrappedPocketCaller) HasRole(opts *bind.CallOpts, role [32]byte, account common.Address) (bool, error)
- func (_WrappedPocket *WrappedPocketCaller) MAXFEEBASIS(opts *bind.CallOpts) (*big.Int, error)
- func (_WrappedPocket *WrappedPocketCaller) MINTERROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_WrappedPocket *WrappedPocketCaller) Name(opts *bind.CallOpts) (string, error)
- func (_WrappedPocket *WrappedPocketCaller) Nonces(opts *bind.CallOpts, owner common.Address) (*big.Int, error)
- func (_WrappedPocket *WrappedPocketCaller) PAUSERROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_WrappedPocket *WrappedPocketCaller) Paused(opts *bind.CallOpts) (bool, error)
- func (_WrappedPocket *WrappedPocketCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)
- func (_WrappedPocket *WrappedPocketCaller) Symbol(opts *bind.CallOpts) (string, error)
- func (_WrappedPocket *WrappedPocketCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type WrappedPocketCallerRaw
- type WrappedPocketCallerSession
- func (_WrappedPocket *WrappedPocketCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_WrappedPocket *WrappedPocketCallerSession) BASISPOINTS() (*big.Int, error)
- func (_WrappedPocket *WrappedPocketCallerSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_WrappedPocket *WrappedPocketCallerSession) Burn(arg0 *big.Int) error
- func (_WrappedPocket *WrappedPocketCallerSession) DEFAULTADMINROLE() ([32]byte, error)
- func (_WrappedPocket *WrappedPocketCallerSession) DOMAINSEPARATOR() ([32]byte, error)
- func (_WrappedPocket *WrappedPocketCallerSession) Decimals() (uint8, error)
- func (_WrappedPocket *WrappedPocketCallerSession) Eip712Domain() (struct{ ... }, error)
- func (_WrappedPocket *WrappedPocketCallerSession) FeeBasis() (*big.Int, error)
- func (_WrappedPocket *WrappedPocketCallerSession) FeeCollector() (common.Address, error)
- func (_WrappedPocket *WrappedPocketCallerSession) FeeFlag() (bool, error)
- func (_WrappedPocket *WrappedPocketCallerSession) GetRoleAdmin(role [32]byte) ([32]byte, error)
- func (_WrappedPocket *WrappedPocketCallerSession) GetUserNonce(user common.Address) (*big.Int, error)
- func (_WrappedPocket *WrappedPocketCallerSession) HasRole(role [32]byte, account common.Address) (bool, error)
- func (_WrappedPocket *WrappedPocketCallerSession) MAXFEEBASIS() (*big.Int, error)
- func (_WrappedPocket *WrappedPocketCallerSession) MINTERROLE() ([32]byte, error)
- func (_WrappedPocket *WrappedPocketCallerSession) Name() (string, error)
- func (_WrappedPocket *WrappedPocketCallerSession) Nonces(owner common.Address) (*big.Int, error)
- func (_WrappedPocket *WrappedPocketCallerSession) PAUSERROLE() ([32]byte, error)
- func (_WrappedPocket *WrappedPocketCallerSession) Paused() (bool, error)
- func (_WrappedPocket *WrappedPocketCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_WrappedPocket *WrappedPocketCallerSession) Symbol() (string, error)
- func (_WrappedPocket *WrappedPocketCallerSession) TotalSupply() (*big.Int, error)
- type WrappedPocketEIP712DomainChanged
- type WrappedPocketEIP712DomainChangedIterator
- type WrappedPocketFeeCollected
- type WrappedPocketFeeCollectedIterator
- type WrappedPocketFeeSet
- type WrappedPocketFeeSetIterator
- type WrappedPocketFilterer
- func (_WrappedPocket *WrappedPocketFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*WrappedPocketApprovalIterator, error)
- func (_WrappedPocket *WrappedPocketFilterer) FilterBurnAndBridge(opts *bind.FilterOpts, amount []*big.Int, poktAddress []common.Address, ...) (*WrappedPocketBurnAndBridgeIterator, error)
- func (_WrappedPocket *WrappedPocketFilterer) FilterEIP712DomainChanged(opts *bind.FilterOpts) (*WrappedPocketEIP712DomainChangedIterator, error)
- func (_WrappedPocket *WrappedPocketFilterer) FilterFeeCollected(opts *bind.FilterOpts, feeCollector []common.Address, amount []*big.Int) (*WrappedPocketFeeCollectedIterator, error)
- func (_WrappedPocket *WrappedPocketFilterer) FilterFeeSet(opts *bind.FilterOpts, flag []bool, newFeeBasis []*big.Int, ...) (*WrappedPocketFeeSetIterator, error)
- func (_WrappedPocket *WrappedPocketFilterer) FilterMinted(opts *bind.FilterOpts, recipient []common.Address, amount []*big.Int, ...) (*WrappedPocketMintedIterator, error)
- func (_WrappedPocket *WrappedPocketFilterer) FilterPaused(opts *bind.FilterOpts) (*WrappedPocketPausedIterator, error)
- func (_WrappedPocket *WrappedPocketFilterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, ...) (*WrappedPocketRoleAdminChangedIterator, error)
- func (_WrappedPocket *WrappedPocketFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, ...) (*WrappedPocketRoleGrantedIterator, error)
- func (_WrappedPocket *WrappedPocketFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, ...) (*WrappedPocketRoleRevokedIterator, error)
- func (_WrappedPocket *WrappedPocketFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*WrappedPocketTransferIterator, error)
- func (_WrappedPocket *WrappedPocketFilterer) FilterUnpaused(opts *bind.FilterOpts) (*WrappedPocketUnpausedIterator, error)
- func (_WrappedPocket *WrappedPocketFilterer) ParseApproval(log types.Log) (*WrappedPocketApproval, error)
- func (_WrappedPocket *WrappedPocketFilterer) ParseBurnAndBridge(log types.Log) (*WrappedPocketBurnAndBridge, error)
- func (_WrappedPocket *WrappedPocketFilterer) ParseEIP712DomainChanged(log types.Log) (*WrappedPocketEIP712DomainChanged, error)
- func (_WrappedPocket *WrappedPocketFilterer) ParseFeeCollected(log types.Log) (*WrappedPocketFeeCollected, error)
- func (_WrappedPocket *WrappedPocketFilterer) ParseFeeSet(log types.Log) (*WrappedPocketFeeSet, error)
- func (_WrappedPocket *WrappedPocketFilterer) ParseMinted(log types.Log) (*WrappedPocketMinted, error)
- func (_WrappedPocket *WrappedPocketFilterer) ParsePaused(log types.Log) (*WrappedPocketPaused, error)
- func (_WrappedPocket *WrappedPocketFilterer) ParseRoleAdminChanged(log types.Log) (*WrappedPocketRoleAdminChanged, error)
- func (_WrappedPocket *WrappedPocketFilterer) ParseRoleGranted(log types.Log) (*WrappedPocketRoleGranted, error)
- func (_WrappedPocket *WrappedPocketFilterer) ParseRoleRevoked(log types.Log) (*WrappedPocketRoleRevoked, error)
- func (_WrappedPocket *WrappedPocketFilterer) ParseTransfer(log types.Log) (*WrappedPocketTransfer, error)
- func (_WrappedPocket *WrappedPocketFilterer) ParseUnpaused(log types.Log) (*WrappedPocketUnpaused, error)
- func (_WrappedPocket *WrappedPocketFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *WrappedPocketApproval, ...) (event.Subscription, error)
- func (_WrappedPocket *WrappedPocketFilterer) WatchBurnAndBridge(opts *bind.WatchOpts, sink chan<- *WrappedPocketBurnAndBridge, ...) (event.Subscription, error)
- func (_WrappedPocket *WrappedPocketFilterer) WatchEIP712DomainChanged(opts *bind.WatchOpts, sink chan<- *WrappedPocketEIP712DomainChanged) (event.Subscription, error)
- func (_WrappedPocket *WrappedPocketFilterer) WatchFeeCollected(opts *bind.WatchOpts, sink chan<- *WrappedPocketFeeCollected, ...) (event.Subscription, error)
- func (_WrappedPocket *WrappedPocketFilterer) WatchFeeSet(opts *bind.WatchOpts, sink chan<- *WrappedPocketFeeSet, flag []bool, ...) (event.Subscription, error)
- func (_WrappedPocket *WrappedPocketFilterer) WatchMinted(opts *bind.WatchOpts, sink chan<- *WrappedPocketMinted, ...) (event.Subscription, error)
- func (_WrappedPocket *WrappedPocketFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *WrappedPocketPaused) (event.Subscription, error)
- func (_WrappedPocket *WrappedPocketFilterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *WrappedPocketRoleAdminChanged, ...) (event.Subscription, error)
- func (_WrappedPocket *WrappedPocketFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *WrappedPocketRoleGranted, role [][32]byte, ...) (event.Subscription, error)
- func (_WrappedPocket *WrappedPocketFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *WrappedPocketRoleRevoked, role [][32]byte, ...) (event.Subscription, error)
- func (_WrappedPocket *WrappedPocketFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *WrappedPocketTransfer, ...) (event.Subscription, error)
- func (_WrappedPocket *WrappedPocketFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *WrappedPocketUnpaused) (event.Subscription, error)
- type WrappedPocketMinted
- type WrappedPocketMintedIterator
- type WrappedPocketPaused
- type WrappedPocketPausedIterator
- type WrappedPocketRaw
- func (_WrappedPocket *WrappedPocketRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_WrappedPocket *WrappedPocketRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_WrappedPocket *WrappedPocketRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type WrappedPocketRoleAdminChanged
- type WrappedPocketRoleAdminChangedIterator
- type WrappedPocketRoleGranted
- type WrappedPocketRoleGrantedIterator
- type WrappedPocketRoleRevoked
- type WrappedPocketRoleRevokedIterator
- type WrappedPocketSession
- func (_WrappedPocket *WrappedPocketSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_WrappedPocket *WrappedPocketSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_WrappedPocket *WrappedPocketSession) BASISPOINTS() (*big.Int, error)
- func (_WrappedPocket *WrappedPocketSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_WrappedPocket *WrappedPocketSession) BatchMint(to []common.Address, amount []*big.Int, nonce []*big.Int) (*types.Transaction, error)
- func (_WrappedPocket *WrappedPocketSession) Burn(arg0 *big.Int) error
- func (_WrappedPocket *WrappedPocketSession) BurnAndBridge(amount *big.Int, poktAddress common.Address) (*types.Transaction, error)
- func (_WrappedPocket *WrappedPocketSession) BurnFrom(account common.Address, amount *big.Int) (*types.Transaction, error)
- func (_WrappedPocket *WrappedPocketSession) DEFAULTADMINROLE() ([32]byte, error)
- func (_WrappedPocket *WrappedPocketSession) DOMAINSEPARATOR() ([32]byte, error)
- func (_WrappedPocket *WrappedPocketSession) Decimals() (uint8, error)
- func (_WrappedPocket *WrappedPocketSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_WrappedPocket *WrappedPocketSession) Eip712Domain() (struct{ ... }, error)
- func (_WrappedPocket *WrappedPocketSession) FeeBasis() (*big.Int, error)
- func (_WrappedPocket *WrappedPocketSession) FeeCollector() (common.Address, error)
- func (_WrappedPocket *WrappedPocketSession) FeeFlag() (bool, error)
- func (_WrappedPocket *WrappedPocketSession) GetRoleAdmin(role [32]byte) ([32]byte, error)
- func (_WrappedPocket *WrappedPocketSession) GetUserNonce(user common.Address) (*big.Int, error)
- func (_WrappedPocket *WrappedPocketSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_WrappedPocket *WrappedPocketSession) HasRole(role [32]byte, account common.Address) (bool, error)
- func (_WrappedPocket *WrappedPocketSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_WrappedPocket *WrappedPocketSession) MAXFEEBASIS() (*big.Int, error)
- func (_WrappedPocket *WrappedPocketSession) MINTERROLE() ([32]byte, error)
- func (_WrappedPocket *WrappedPocketSession) Mint(to common.Address, amount *big.Int, nonce *big.Int) (*types.Transaction, error)
- func (_WrappedPocket *WrappedPocketSession) Name() (string, error)
- func (_WrappedPocket *WrappedPocketSession) Nonces(owner common.Address) (*big.Int, error)
- func (_WrappedPocket *WrappedPocketSession) PAUSERROLE() ([32]byte, error)
- func (_WrappedPocket *WrappedPocketSession) Pause() (*types.Transaction, error)
- func (_WrappedPocket *WrappedPocketSession) Paused() (bool, error)
- func (_WrappedPocket *WrappedPocketSession) Permit(owner common.Address, spender common.Address, value *big.Int, ...) (*types.Transaction, error)
- func (_WrappedPocket *WrappedPocketSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_WrappedPocket *WrappedPocketSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_WrappedPocket *WrappedPocketSession) SetFee(flag bool, newFee *big.Int, newCollector common.Address) (*types.Transaction, error)
- func (_WrappedPocket *WrappedPocketSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_WrappedPocket *WrappedPocketSession) Symbol() (string, error)
- func (_WrappedPocket *WrappedPocketSession) TotalSupply() (*big.Int, error)
- func (_WrappedPocket *WrappedPocketSession) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_WrappedPocket *WrappedPocketSession) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_WrappedPocket *WrappedPocketSession) Unpause() (*types.Transaction, error)
- type WrappedPocketTransactor
- func (_WrappedPocket *WrappedPocketTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_WrappedPocket *WrappedPocketTransactor) BatchMint(opts *bind.TransactOpts, to []common.Address, amount []*big.Int, ...) (*types.Transaction, error)
- func (_WrappedPocket *WrappedPocketTransactor) BurnAndBridge(opts *bind.TransactOpts, amount *big.Int, poktAddress common.Address) (*types.Transaction, error)
- func (_WrappedPocket *WrappedPocketTransactor) BurnFrom(opts *bind.TransactOpts, account common.Address, amount *big.Int) (*types.Transaction, error)
- func (_WrappedPocket *WrappedPocketTransactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_WrappedPocket *WrappedPocketTransactor) GrantRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
- func (_WrappedPocket *WrappedPocketTransactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_WrappedPocket *WrappedPocketTransactor) Mint(opts *bind.TransactOpts, to common.Address, amount *big.Int, nonce *big.Int) (*types.Transaction, error)
- func (_WrappedPocket *WrappedPocketTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_WrappedPocket *WrappedPocketTransactor) Permit(opts *bind.TransactOpts, owner common.Address, spender common.Address, ...) (*types.Transaction, error)
- func (_WrappedPocket *WrappedPocketTransactor) RenounceRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
- func (_WrappedPocket *WrappedPocketTransactor) RevokeRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
- func (_WrappedPocket *WrappedPocketTransactor) SetFee(opts *bind.TransactOpts, flag bool, newFee *big.Int, ...) (*types.Transaction, error)
- func (_WrappedPocket *WrappedPocketTransactor) Transfer(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_WrappedPocket *WrappedPocketTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- func (_WrappedPocket *WrappedPocketTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)
- type WrappedPocketTransactorRaw
- type WrappedPocketTransactorSession
- func (_WrappedPocket *WrappedPocketTransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_WrappedPocket *WrappedPocketTransactorSession) BatchMint(to []common.Address, amount []*big.Int, nonce []*big.Int) (*types.Transaction, error)
- func (_WrappedPocket *WrappedPocketTransactorSession) BurnAndBridge(amount *big.Int, poktAddress common.Address) (*types.Transaction, error)
- func (_WrappedPocket *WrappedPocketTransactorSession) BurnFrom(account common.Address, amount *big.Int) (*types.Transaction, error)
- func (_WrappedPocket *WrappedPocketTransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_WrappedPocket *WrappedPocketTransactorSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_WrappedPocket *WrappedPocketTransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_WrappedPocket *WrappedPocketTransactorSession) Mint(to common.Address, amount *big.Int, nonce *big.Int) (*types.Transaction, error)
- func (_WrappedPocket *WrappedPocketTransactorSession) Pause() (*types.Transaction, error)
- func (_WrappedPocket *WrappedPocketTransactorSession) Permit(owner common.Address, spender common.Address, value *big.Int, ...) (*types.Transaction, error)
- func (_WrappedPocket *WrappedPocketTransactorSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_WrappedPocket *WrappedPocketTransactorSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_WrappedPocket *WrappedPocketTransactorSession) SetFee(flag bool, newFee *big.Int, newCollector common.Address) (*types.Transaction, error)
- func (_WrappedPocket *WrappedPocketTransactorSession) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_WrappedPocket *WrappedPocketTransactorSession) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_WrappedPocket *WrappedPocketTransactorSession) Unpause() (*types.Transaction, error)
- type WrappedPocketTransfer
- type WrappedPocketTransferIterator
- type WrappedPocketUnpaused
- type WrappedPocketUnpausedIterator
Constants ¶
This section is empty.
Variables ¶
var MintControllerABI = MintControllerMetaData.ABI
MintControllerABI is the input ABI used to generate the binding from. Deprecated: Use MintControllerMetaData.ABI instead.
var MintControllerMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_wPokt\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"BelowMinThreshold\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidAddValidator\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidRemoveValidator\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidShortString\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidSignatureRatio\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidSignatures\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NonAdmin\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NonZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OverMintLimit\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"str\",\"type\":\"string\"}],\"name\":\"StringTooLong\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"limit\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"lastMint\",\"type\":\"uint256\"}],\"name\":\"CurrentMintLimit\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"EIP712DomainChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newLimit\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newCooldown\",\"type\":\"uint256\"}],\"name\":\"MintCooldownSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"validator\",\"type\":\"address\"}],\"name\":\"NewValidator\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"validator\",\"type\":\"address\"}],\"name\":\"RemovedValidator\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"ratio\",\"type\":\"uint256\"}],\"name\":\"SignerThresholdSet\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DEFAULT_ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"validator\",\"type\":\"address\"}],\"name\":\"addValidator\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"currentMintLimit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"eip712Domain\",\"outputs\":[{\"internalType\":\"bytes1\",\"name\":\"fields\",\"type\":\"bytes1\"},{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"version\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"verifyingContract\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"uint256[]\",\"name\":\"extensions\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"lastMint\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"lastMintLimit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"maxMintLimit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"mintPerSecond\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"}],\"internalType\":\"structMintController.MintData\",\"name\":\"data\",\"type\":\"tuple\"},{\"internalType\":\"bytes[]\",\"name\":\"signatures\",\"type\":\"bytes[]\"}],\"name\":\"mintWrappedPocket\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"validator\",\"type\":\"address\"}],\"name\":\"removeValidator\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newLimit\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"newMintPerSecond\",\"type\":\"uint256\"}],\"name\":\"setMintCooldown\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"signatureRatio\",\"type\":\"uint256\"}],\"name\":\"setSignerThreshold\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"signerThreshold\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"validatorCount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"validators\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"wPokt\",\"outputs\":[{\"internalType\":\"contractIWPokt\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}
MintControllerMetaData contains all meta data concerning the MintController contract.
var WrappedPocketABI = WrappedPocketMetaData.ABI
WrappedPocketABI is the input ABI used to generate the binding from. Deprecated: Use WrappedPocketMetaData.ABI instead.
var WrappedPocketMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"BatchMintLength\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"BlockBurn\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FeeBasisDust\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FeeCollectorZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidShortString\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"MaxBasis\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"str\",\"type\":\"string\"}],\"name\":\"StringTooLong\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"}],\"name\":\"UserNonce\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"poktAddress\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"}],\"name\":\"BurnAndBridge\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"EIP712DomainChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"feeCollector\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"FeeCollected\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bool\",\"name\":\"flag\",\"type\":\"bool\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"newFeeBasis\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"feeCollector\",\"type\":\"address\"}],\"name\":\"FeeSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"}],\"name\":\"Minted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Paused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"previousAdminRole\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"newAdminRole\",\"type\":\"bytes32\"}],\"name\":\"RoleAdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleGranted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleRevoked\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Unpaused\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"BASIS_POINTS\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"DEFAULT_ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"DOMAIN_SEPARATOR\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MAX_FEE_BASIS\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MINTER_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"PAUSER_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"to\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"amount\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"nonce\",\"type\":\"uint256[]\"}],\"name\":\"batchMint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"burn\",\"outputs\":[],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"poktAddress\",\"type\":\"address\"}],\"name\":\"burnAndBridge\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"burnFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subtractedValue\",\"type\":\"uint256\"}],\"name\":\"decreaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"eip712Domain\",\"outputs\":[{\"internalType\":\"bytes1\",\"name\":\"fields\",\"type\":\"bytes1\"},{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"version\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"verifyingContract\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"uint256[]\",\"name\":\"extensions\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"feeBasis\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"feeCollector\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"feeFlag\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleAdmin\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"}],\"name\":\"getUserNonce\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"grantRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"hasRole\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"addedValue\",\"type\":\"uint256\"}],\"name\":\"increaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"}],\"name\":\"mint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"nonces\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"paused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"permit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"renounceRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"revokeRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"flag\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"newFee\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"newCollector\",\"type\":\"address\"}],\"name\":\"setFee\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unpause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
WrappedPocketMetaData contains all meta data concerning the WrappedPocket contract.
Functions ¶
This section is empty.
Types ¶
type MintController ¶
type MintController struct { MintControllerCaller // Read-only binding to the contract MintControllerTransactor // Write-only binding to the contract MintControllerFilterer // Log filterer for contract events }
MintController is an auto generated Go binding around an Ethereum contract.
func NewMintController ¶
func NewMintController(address common.Address, backend bind.ContractBackend) (*MintController, error)
NewMintController creates a new instance of MintController, bound to a specific deployed contract.
type MintControllerCaller ¶
type MintControllerCaller struct {
// contains filtered or unexported fields
}
MintControllerCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewMintControllerCaller ¶
func NewMintControllerCaller(address common.Address, caller bind.ContractCaller) (*MintControllerCaller, error)
NewMintControllerCaller creates a new read-only instance of MintController, bound to a specific deployed contract.
func (*MintControllerCaller) CurrentMintLimit ¶
func (_MintController *MintControllerCaller) CurrentMintLimit(opts *bind.CallOpts) (*big.Int, error)
CurrentMintLimit is a free data retrieval call binding the contract method 0xa40c3eab.
Solidity: function currentMintLimit() view returns(uint256)
func (*MintControllerCaller) DEFAULTADMINROLE ¶
func (_MintController *MintControllerCaller) DEFAULTADMINROLE(opts *bind.CallOpts) ([32]byte, error)
DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.
Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)
func (*MintControllerCaller) Eip712Domain ¶
func (_MintController *MintControllerCaller) Eip712Domain(opts *bind.CallOpts) (struct { Fields [1]byte Name string Version string ChainId *big.Int VerifyingContract common.Address Salt [32]byte Extensions []*big.Int }, error)
Eip712Domain is a free data retrieval call binding the contract method 0x84b0196e.
Solidity: function eip712Domain() view returns(bytes1 fields, string name, string version, uint256 chainId, address verifyingContract, bytes32 salt, uint256[] extensions)
func (*MintControllerCaller) LastMint ¶
LastMint is a free data retrieval call binding the contract method 0x586fc5b5.
Solidity: function lastMint() view returns(uint256)
func (*MintControllerCaller) LastMintLimit ¶
LastMintLimit is a free data retrieval call binding the contract method 0x2f99582a.
Solidity: function lastMintLimit() view returns(uint256)
func (*MintControllerCaller) MaxMintLimit ¶
MaxMintLimit is a free data retrieval call binding the contract method 0x70e2f827.
Solidity: function maxMintLimit() view returns(uint256)
func (*MintControllerCaller) MintPerSecond ¶
MintPerSecond is a free data retrieval call binding the contract method 0x272c444d.
Solidity: function mintPerSecond() view returns(uint256)
func (*MintControllerCaller) SignerThreshold ¶
SignerThreshold is a free data retrieval call binding the contract method 0xa4a4f390.
Solidity: function signerThreshold() view returns(uint256)
func (*MintControllerCaller) ValidatorCount ¶
ValidatorCount is a free data retrieval call binding the contract method 0x0f43a677.
Solidity: function validatorCount() view returns(uint256)
func (*MintControllerCaller) Validators ¶
func (_MintController *MintControllerCaller) Validators(opts *bind.CallOpts, arg0 common.Address) (bool, error)
Validators is a free data retrieval call binding the contract method 0xfa52c7d8.
Solidity: function validators(address ) view returns(bool)
type MintControllerCallerRaw ¶
type MintControllerCallerRaw struct {
Contract *MintControllerCaller // Generic read-only contract binding to access the raw methods on
}
MintControllerCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*MintControllerCallerRaw) Call ¶
func (_MintController *MintControllerCallerRaw) 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 MintControllerCallerSession ¶
type MintControllerCallerSession struct { Contract *MintControllerCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
MintControllerCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*MintControllerCallerSession) CurrentMintLimit ¶
func (_MintController *MintControllerCallerSession) CurrentMintLimit() (*big.Int, error)
CurrentMintLimit is a free data retrieval call binding the contract method 0xa40c3eab.
Solidity: function currentMintLimit() view returns(uint256)
func (*MintControllerCallerSession) DEFAULTADMINROLE ¶
func (_MintController *MintControllerCallerSession) DEFAULTADMINROLE() ([32]byte, error)
DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.
Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)
func (*MintControllerCallerSession) Eip712Domain ¶
func (_MintController *MintControllerCallerSession) Eip712Domain() (struct { Fields [1]byte Name string Version string ChainId *big.Int VerifyingContract common.Address Salt [32]byte Extensions []*big.Int }, error)
Eip712Domain is a free data retrieval call binding the contract method 0x84b0196e.
Solidity: function eip712Domain() view returns(bytes1 fields, string name, string version, uint256 chainId, address verifyingContract, bytes32 salt, uint256[] extensions)
func (*MintControllerCallerSession) LastMint ¶
func (_MintController *MintControllerCallerSession) LastMint() (*big.Int, error)
LastMint is a free data retrieval call binding the contract method 0x586fc5b5.
Solidity: function lastMint() view returns(uint256)
func (*MintControllerCallerSession) LastMintLimit ¶
func (_MintController *MintControllerCallerSession) LastMintLimit() (*big.Int, error)
LastMintLimit is a free data retrieval call binding the contract method 0x2f99582a.
Solidity: function lastMintLimit() view returns(uint256)
func (*MintControllerCallerSession) MaxMintLimit ¶
func (_MintController *MintControllerCallerSession) MaxMintLimit() (*big.Int, error)
MaxMintLimit is a free data retrieval call binding the contract method 0x70e2f827.
Solidity: function maxMintLimit() view returns(uint256)
func (*MintControllerCallerSession) MintPerSecond ¶
func (_MintController *MintControllerCallerSession) MintPerSecond() (*big.Int, error)
MintPerSecond is a free data retrieval call binding the contract method 0x272c444d.
Solidity: function mintPerSecond() view returns(uint256)
func (*MintControllerCallerSession) SignerThreshold ¶
func (_MintController *MintControllerCallerSession) SignerThreshold() (*big.Int, error)
SignerThreshold is a free data retrieval call binding the contract method 0xa4a4f390.
Solidity: function signerThreshold() view returns(uint256)
func (*MintControllerCallerSession) ValidatorCount ¶
func (_MintController *MintControllerCallerSession) ValidatorCount() (*big.Int, error)
ValidatorCount is a free data retrieval call binding the contract method 0x0f43a677.
Solidity: function validatorCount() view returns(uint256)
func (*MintControllerCallerSession) Validators ¶
func (_MintController *MintControllerCallerSession) Validators(arg0 common.Address) (bool, error)
Validators is a free data retrieval call binding the contract method 0xfa52c7d8.
Solidity: function validators(address ) view returns(bool)
type MintControllerCurrentMintLimit ¶
type MintControllerCurrentMintLimit struct { Limit *big.Int LastMint *big.Int Raw types.Log // Blockchain specific contextual infos }
MintControllerCurrentMintLimit represents a CurrentMintLimit event raised by the MintController contract.
type MintControllerCurrentMintLimitIterator ¶
type MintControllerCurrentMintLimitIterator struct { Event *MintControllerCurrentMintLimit // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MintControllerCurrentMintLimitIterator is returned from FilterCurrentMintLimit and is used to iterate over the raw logs and unpacked data for CurrentMintLimit events raised by the MintController contract.
func (*MintControllerCurrentMintLimitIterator) Close ¶
func (it *MintControllerCurrentMintLimitIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MintControllerCurrentMintLimitIterator) Error ¶
func (it *MintControllerCurrentMintLimitIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MintControllerCurrentMintLimitIterator) Next ¶
func (it *MintControllerCurrentMintLimitIterator) 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 MintControllerEIP712DomainChanged ¶
type MintControllerEIP712DomainChanged struct {
Raw types.Log // Blockchain specific contextual infos
}
MintControllerEIP712DomainChanged represents a EIP712DomainChanged event raised by the MintController contract.
type MintControllerEIP712DomainChangedIterator ¶
type MintControllerEIP712DomainChangedIterator struct { Event *MintControllerEIP712DomainChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MintControllerEIP712DomainChangedIterator is returned from FilterEIP712DomainChanged and is used to iterate over the raw logs and unpacked data for EIP712DomainChanged events raised by the MintController contract.
func (*MintControllerEIP712DomainChangedIterator) Close ¶
func (it *MintControllerEIP712DomainChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MintControllerEIP712DomainChangedIterator) Error ¶
func (it *MintControllerEIP712DomainChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MintControllerEIP712DomainChangedIterator) Next ¶
func (it *MintControllerEIP712DomainChangedIterator) 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 MintControllerFilterer ¶
type MintControllerFilterer struct {
// contains filtered or unexported fields
}
MintControllerFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewMintControllerFilterer ¶
func NewMintControllerFilterer(address common.Address, filterer bind.ContractFilterer) (*MintControllerFilterer, error)
NewMintControllerFilterer creates a new log filterer instance of MintController, bound to a specific deployed contract.
func (*MintControllerFilterer) FilterCurrentMintLimit ¶
func (_MintController *MintControllerFilterer) FilterCurrentMintLimit(opts *bind.FilterOpts, limit []*big.Int, lastMint []*big.Int) (*MintControllerCurrentMintLimitIterator, error)
FilterCurrentMintLimit is a free log retrieval operation binding the contract event 0x37ce17c2014463ff310cd0d994a30795f5c48b6d6c3104ba83677f096383e3e4.
Solidity: event CurrentMintLimit(uint256 indexed limit, uint256 indexed lastMint)
func (*MintControllerFilterer) FilterEIP712DomainChanged ¶
func (_MintController *MintControllerFilterer) FilterEIP712DomainChanged(opts *bind.FilterOpts) (*MintControllerEIP712DomainChangedIterator, error)
FilterEIP712DomainChanged is a free log retrieval operation binding the contract event 0x0a6387c9ea3628b88a633bb4f3b151770f70085117a15f9bf3787cda53f13d31.
Solidity: event EIP712DomainChanged()
func (*MintControllerFilterer) FilterMintCooldownSet ¶
func (_MintController *MintControllerFilterer) FilterMintCooldownSet(opts *bind.FilterOpts) (*MintControllerMintCooldownSetIterator, error)
FilterMintCooldownSet is a free log retrieval operation binding the contract event 0x2c1471be9f5586272d41bc8d7d0ce89b3b10e4693755e30752510cb88d42fdf5.
Solidity: event MintCooldownSet(uint256 newLimit, uint256 newCooldown)
func (*MintControllerFilterer) FilterNewValidator ¶
func (_MintController *MintControllerFilterer) FilterNewValidator(opts *bind.FilterOpts, validator []common.Address) (*MintControllerNewValidatorIterator, error)
FilterNewValidator is a free log retrieval operation binding the contract event 0x29b4645f23b856eccf12b3b38e036c3221ca1b5a9afa2a83aea7ead34e47987c.
Solidity: event NewValidator(address indexed validator)
func (*MintControllerFilterer) FilterRemovedValidator ¶
func (_MintController *MintControllerFilterer) FilterRemovedValidator(opts *bind.FilterOpts, validator []common.Address) (*MintControllerRemovedValidatorIterator, error)
FilterRemovedValidator is a free log retrieval operation binding the contract event 0xb625c55cf7e37b54fcd18bc4edafdf3f4f9acd59a5ec824c77c795dcb2d65070.
Solidity: event RemovedValidator(address indexed validator)
func (*MintControllerFilterer) FilterSignerThresholdSet ¶
func (_MintController *MintControllerFilterer) FilterSignerThresholdSet(opts *bind.FilterOpts, ratio []*big.Int) (*MintControllerSignerThresholdSetIterator, error)
FilterSignerThresholdSet is a free log retrieval operation binding the contract event 0x030f8d880b0bf7b6311c00e028809570118cbccc8302e08c8776ad77d10f505e.
Solidity: event SignerThresholdSet(uint256 indexed ratio)
func (*MintControllerFilterer) ParseCurrentMintLimit ¶
func (_MintController *MintControllerFilterer) ParseCurrentMintLimit(log types.Log) (*MintControllerCurrentMintLimit, error)
ParseCurrentMintLimit is a log parse operation binding the contract event 0x37ce17c2014463ff310cd0d994a30795f5c48b6d6c3104ba83677f096383e3e4.
Solidity: event CurrentMintLimit(uint256 indexed limit, uint256 indexed lastMint)
func (*MintControllerFilterer) ParseEIP712DomainChanged ¶
func (_MintController *MintControllerFilterer) ParseEIP712DomainChanged(log types.Log) (*MintControllerEIP712DomainChanged, error)
ParseEIP712DomainChanged is a log parse operation binding the contract event 0x0a6387c9ea3628b88a633bb4f3b151770f70085117a15f9bf3787cda53f13d31.
Solidity: event EIP712DomainChanged()
func (*MintControllerFilterer) ParseMintCooldownSet ¶
func (_MintController *MintControllerFilterer) ParseMintCooldownSet(log types.Log) (*MintControllerMintCooldownSet, error)
ParseMintCooldownSet is a log parse operation binding the contract event 0x2c1471be9f5586272d41bc8d7d0ce89b3b10e4693755e30752510cb88d42fdf5.
Solidity: event MintCooldownSet(uint256 newLimit, uint256 newCooldown)
func (*MintControllerFilterer) ParseNewValidator ¶
func (_MintController *MintControllerFilterer) ParseNewValidator(log types.Log) (*MintControllerNewValidator, error)
ParseNewValidator is a log parse operation binding the contract event 0x29b4645f23b856eccf12b3b38e036c3221ca1b5a9afa2a83aea7ead34e47987c.
Solidity: event NewValidator(address indexed validator)
func (*MintControllerFilterer) ParseRemovedValidator ¶
func (_MintController *MintControllerFilterer) ParseRemovedValidator(log types.Log) (*MintControllerRemovedValidator, error)
ParseRemovedValidator is a log parse operation binding the contract event 0xb625c55cf7e37b54fcd18bc4edafdf3f4f9acd59a5ec824c77c795dcb2d65070.
Solidity: event RemovedValidator(address indexed validator)
func (*MintControllerFilterer) ParseSignerThresholdSet ¶
func (_MintController *MintControllerFilterer) ParseSignerThresholdSet(log types.Log) (*MintControllerSignerThresholdSet, error)
ParseSignerThresholdSet is a log parse operation binding the contract event 0x030f8d880b0bf7b6311c00e028809570118cbccc8302e08c8776ad77d10f505e.
Solidity: event SignerThresholdSet(uint256 indexed ratio)
func (*MintControllerFilterer) WatchCurrentMintLimit ¶
func (_MintController *MintControllerFilterer) WatchCurrentMintLimit(opts *bind.WatchOpts, sink chan<- *MintControllerCurrentMintLimit, limit []*big.Int, lastMint []*big.Int) (event.Subscription, error)
WatchCurrentMintLimit is a free log subscription operation binding the contract event 0x37ce17c2014463ff310cd0d994a30795f5c48b6d6c3104ba83677f096383e3e4.
Solidity: event CurrentMintLimit(uint256 indexed limit, uint256 indexed lastMint)
func (*MintControllerFilterer) WatchEIP712DomainChanged ¶
func (_MintController *MintControllerFilterer) WatchEIP712DomainChanged(opts *bind.WatchOpts, sink chan<- *MintControllerEIP712DomainChanged) (event.Subscription, error)
WatchEIP712DomainChanged is a free log subscription operation binding the contract event 0x0a6387c9ea3628b88a633bb4f3b151770f70085117a15f9bf3787cda53f13d31.
Solidity: event EIP712DomainChanged()
func (*MintControllerFilterer) WatchMintCooldownSet ¶
func (_MintController *MintControllerFilterer) WatchMintCooldownSet(opts *bind.WatchOpts, sink chan<- *MintControllerMintCooldownSet) (event.Subscription, error)
WatchMintCooldownSet is a free log subscription operation binding the contract event 0x2c1471be9f5586272d41bc8d7d0ce89b3b10e4693755e30752510cb88d42fdf5.
Solidity: event MintCooldownSet(uint256 newLimit, uint256 newCooldown)
func (*MintControllerFilterer) WatchNewValidator ¶
func (_MintController *MintControllerFilterer) WatchNewValidator(opts *bind.WatchOpts, sink chan<- *MintControllerNewValidator, validator []common.Address) (event.Subscription, error)
WatchNewValidator is a free log subscription operation binding the contract event 0x29b4645f23b856eccf12b3b38e036c3221ca1b5a9afa2a83aea7ead34e47987c.
Solidity: event NewValidator(address indexed validator)
func (*MintControllerFilterer) WatchRemovedValidator ¶
func (_MintController *MintControllerFilterer) WatchRemovedValidator(opts *bind.WatchOpts, sink chan<- *MintControllerRemovedValidator, validator []common.Address) (event.Subscription, error)
WatchRemovedValidator is a free log subscription operation binding the contract event 0xb625c55cf7e37b54fcd18bc4edafdf3f4f9acd59a5ec824c77c795dcb2d65070.
Solidity: event RemovedValidator(address indexed validator)
func (*MintControllerFilterer) WatchSignerThresholdSet ¶
func (_MintController *MintControllerFilterer) WatchSignerThresholdSet(opts *bind.WatchOpts, sink chan<- *MintControllerSignerThresholdSet, ratio []*big.Int) (event.Subscription, error)
WatchSignerThresholdSet is a free log subscription operation binding the contract event 0x030f8d880b0bf7b6311c00e028809570118cbccc8302e08c8776ad77d10f505e.
Solidity: event SignerThresholdSet(uint256 indexed ratio)
type MintControllerMintCooldownSet ¶
type MintControllerMintCooldownSet struct { NewLimit *big.Int NewCooldown *big.Int Raw types.Log // Blockchain specific contextual infos }
MintControllerMintCooldownSet represents a MintCooldownSet event raised by the MintController contract.
type MintControllerMintCooldownSetIterator ¶
type MintControllerMintCooldownSetIterator struct { Event *MintControllerMintCooldownSet // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MintControllerMintCooldownSetIterator is returned from FilterMintCooldownSet and is used to iterate over the raw logs and unpacked data for MintCooldownSet events raised by the MintController contract.
func (*MintControllerMintCooldownSetIterator) Close ¶
func (it *MintControllerMintCooldownSetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MintControllerMintCooldownSetIterator) Error ¶
func (it *MintControllerMintCooldownSetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MintControllerMintCooldownSetIterator) Next ¶
func (it *MintControllerMintCooldownSetIterator) 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 MintControllerMintData ¶
MintControllerMintData is an auto generated low-level Go binding around an user-defined struct.
type MintControllerNewValidator ¶
type MintControllerNewValidator struct { Validator common.Address Raw types.Log // Blockchain specific contextual infos }
MintControllerNewValidator represents a NewValidator event raised by the MintController contract.
type MintControllerNewValidatorIterator ¶
type MintControllerNewValidatorIterator struct { Event *MintControllerNewValidator // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MintControllerNewValidatorIterator is returned from FilterNewValidator and is used to iterate over the raw logs and unpacked data for NewValidator events raised by the MintController contract.
func (*MintControllerNewValidatorIterator) Close ¶
func (it *MintControllerNewValidatorIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MintControllerNewValidatorIterator) Error ¶
func (it *MintControllerNewValidatorIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MintControllerNewValidatorIterator) Next ¶
func (it *MintControllerNewValidatorIterator) 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 MintControllerRaw ¶
type MintControllerRaw struct {
Contract *MintController // Generic contract binding to access the raw methods on
}
MintControllerRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*MintControllerRaw) Call ¶
func (_MintController *MintControllerRaw) 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 (*MintControllerRaw) Transact ¶
func (_MintController *MintControllerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*MintControllerRaw) Transfer ¶
func (_MintController *MintControllerRaw) 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 MintControllerRemovedValidator ¶
type MintControllerRemovedValidator struct { Validator common.Address Raw types.Log // Blockchain specific contextual infos }
MintControllerRemovedValidator represents a RemovedValidator event raised by the MintController contract.
type MintControllerRemovedValidatorIterator ¶
type MintControllerRemovedValidatorIterator struct { Event *MintControllerRemovedValidator // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MintControllerRemovedValidatorIterator is returned from FilterRemovedValidator and is used to iterate over the raw logs and unpacked data for RemovedValidator events raised by the MintController contract.
func (*MintControllerRemovedValidatorIterator) Close ¶
func (it *MintControllerRemovedValidatorIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MintControllerRemovedValidatorIterator) Error ¶
func (it *MintControllerRemovedValidatorIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MintControllerRemovedValidatorIterator) Next ¶
func (it *MintControllerRemovedValidatorIterator) 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 MintControllerSession ¶
type MintControllerSession struct { Contract *MintController // 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 }
MintControllerSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*MintControllerSession) AddValidator ¶
func (_MintController *MintControllerSession) AddValidator(validator common.Address) (*types.Transaction, error)
AddValidator is a paid mutator transaction binding the contract method 0x4d238c8e.
Solidity: function addValidator(address validator) returns()
func (*MintControllerSession) CurrentMintLimit ¶
func (_MintController *MintControllerSession) CurrentMintLimit() (*big.Int, error)
CurrentMintLimit is a free data retrieval call binding the contract method 0xa40c3eab.
Solidity: function currentMintLimit() view returns(uint256)
func (*MintControllerSession) DEFAULTADMINROLE ¶
func (_MintController *MintControllerSession) DEFAULTADMINROLE() ([32]byte, error)
DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.
Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)
func (*MintControllerSession) Eip712Domain ¶
func (_MintController *MintControllerSession) Eip712Domain() (struct { Fields [1]byte Name string Version string ChainId *big.Int VerifyingContract common.Address Salt [32]byte Extensions []*big.Int }, error)
Eip712Domain is a free data retrieval call binding the contract method 0x84b0196e.
Solidity: function eip712Domain() view returns(bytes1 fields, string name, string version, uint256 chainId, address verifyingContract, bytes32 salt, uint256[] extensions)
func (*MintControllerSession) LastMint ¶
func (_MintController *MintControllerSession) LastMint() (*big.Int, error)
LastMint is a free data retrieval call binding the contract method 0x586fc5b5.
Solidity: function lastMint() view returns(uint256)
func (*MintControllerSession) LastMintLimit ¶
func (_MintController *MintControllerSession) LastMintLimit() (*big.Int, error)
LastMintLimit is a free data retrieval call binding the contract method 0x2f99582a.
Solidity: function lastMintLimit() view returns(uint256)
func (*MintControllerSession) MaxMintLimit ¶
func (_MintController *MintControllerSession) MaxMintLimit() (*big.Int, error)
MaxMintLimit is a free data retrieval call binding the contract method 0x70e2f827.
Solidity: function maxMintLimit() view returns(uint256)
func (*MintControllerSession) MintPerSecond ¶
func (_MintController *MintControllerSession) MintPerSecond() (*big.Int, error)
MintPerSecond is a free data retrieval call binding the contract method 0x272c444d.
Solidity: function mintPerSecond() view returns(uint256)
func (*MintControllerSession) MintWrappedPocket ¶
func (_MintController *MintControllerSession) MintWrappedPocket(data MintControllerMintData, signatures [][]byte) (*types.Transaction, error)
MintWrappedPocket is a paid mutator transaction binding the contract method 0x0f22ed52.
Solidity: function mintWrappedPocket((address,uint256,uint256) data, bytes[] signatures) returns()
func (*MintControllerSession) RemoveValidator ¶
func (_MintController *MintControllerSession) RemoveValidator(validator common.Address) (*types.Transaction, error)
RemoveValidator is a paid mutator transaction binding the contract method 0x40a141ff.
Solidity: function removeValidator(address validator) returns()
func (*MintControllerSession) SetMintCooldown ¶
func (_MintController *MintControllerSession) SetMintCooldown(newLimit *big.Int, newMintPerSecond *big.Int) (*types.Transaction, error)
SetMintCooldown is a paid mutator transaction binding the contract method 0x59aa6859.
Solidity: function setMintCooldown(uint256 newLimit, uint256 newMintPerSecond) returns()
func (*MintControllerSession) SetSignerThreshold ¶
func (_MintController *MintControllerSession) SetSignerThreshold(signatureRatio *big.Int) (*types.Transaction, error)
SetSignerThreshold is a paid mutator transaction binding the contract method 0x251b8192.
Solidity: function setSignerThreshold(uint256 signatureRatio) returns()
func (*MintControllerSession) SignerThreshold ¶
func (_MintController *MintControllerSession) SignerThreshold() (*big.Int, error)
SignerThreshold is a free data retrieval call binding the contract method 0xa4a4f390.
Solidity: function signerThreshold() view returns(uint256)
func (*MintControllerSession) ValidatorCount ¶
func (_MintController *MintControllerSession) ValidatorCount() (*big.Int, error)
ValidatorCount is a free data retrieval call binding the contract method 0x0f43a677.
Solidity: function validatorCount() view returns(uint256)
func (*MintControllerSession) Validators ¶
func (_MintController *MintControllerSession) Validators(arg0 common.Address) (bool, error)
Validators is a free data retrieval call binding the contract method 0xfa52c7d8.
Solidity: function validators(address ) view returns(bool)
type MintControllerSignerThresholdSet ¶
type MintControllerSignerThresholdSet struct { Ratio *big.Int Raw types.Log // Blockchain specific contextual infos }
MintControllerSignerThresholdSet represents a SignerThresholdSet event raised by the MintController contract.
type MintControllerSignerThresholdSetIterator ¶
type MintControllerSignerThresholdSetIterator struct { Event *MintControllerSignerThresholdSet // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MintControllerSignerThresholdSetIterator is returned from FilterSignerThresholdSet and is used to iterate over the raw logs and unpacked data for SignerThresholdSet events raised by the MintController contract.
func (*MintControllerSignerThresholdSetIterator) Close ¶
func (it *MintControllerSignerThresholdSetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MintControllerSignerThresholdSetIterator) Error ¶
func (it *MintControllerSignerThresholdSetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MintControllerSignerThresholdSetIterator) Next ¶
func (it *MintControllerSignerThresholdSetIterator) 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 MintControllerTransactor ¶
type MintControllerTransactor struct {
// contains filtered or unexported fields
}
MintControllerTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewMintControllerTransactor ¶
func NewMintControllerTransactor(address common.Address, transactor bind.ContractTransactor) (*MintControllerTransactor, error)
NewMintControllerTransactor creates a new write-only instance of MintController, bound to a specific deployed contract.
func (*MintControllerTransactor) AddValidator ¶
func (_MintController *MintControllerTransactor) AddValidator(opts *bind.TransactOpts, validator common.Address) (*types.Transaction, error)
AddValidator is a paid mutator transaction binding the contract method 0x4d238c8e.
Solidity: function addValidator(address validator) returns()
func (*MintControllerTransactor) MintWrappedPocket ¶
func (_MintController *MintControllerTransactor) MintWrappedPocket(opts *bind.TransactOpts, data MintControllerMintData, signatures [][]byte) (*types.Transaction, error)
MintWrappedPocket is a paid mutator transaction binding the contract method 0x0f22ed52.
Solidity: function mintWrappedPocket((address,uint256,uint256) data, bytes[] signatures) returns()
func (*MintControllerTransactor) RemoveValidator ¶
func (_MintController *MintControllerTransactor) RemoveValidator(opts *bind.TransactOpts, validator common.Address) (*types.Transaction, error)
RemoveValidator is a paid mutator transaction binding the contract method 0x40a141ff.
Solidity: function removeValidator(address validator) returns()
func (*MintControllerTransactor) SetMintCooldown ¶
func (_MintController *MintControllerTransactor) SetMintCooldown(opts *bind.TransactOpts, newLimit *big.Int, newMintPerSecond *big.Int) (*types.Transaction, error)
SetMintCooldown is a paid mutator transaction binding the contract method 0x59aa6859.
Solidity: function setMintCooldown(uint256 newLimit, uint256 newMintPerSecond) returns()
func (*MintControllerTransactor) SetSignerThreshold ¶
func (_MintController *MintControllerTransactor) SetSignerThreshold(opts *bind.TransactOpts, signatureRatio *big.Int) (*types.Transaction, error)
SetSignerThreshold is a paid mutator transaction binding the contract method 0x251b8192.
Solidity: function setSignerThreshold(uint256 signatureRatio) returns()
type MintControllerTransactorRaw ¶
type MintControllerTransactorRaw struct {
Contract *MintControllerTransactor // Generic write-only contract binding to access the raw methods on
}
MintControllerTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*MintControllerTransactorRaw) Transact ¶
func (_MintController *MintControllerTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*MintControllerTransactorRaw) Transfer ¶
func (_MintController *MintControllerTransactorRaw) 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 MintControllerTransactorSession ¶
type MintControllerTransactorSession struct { Contract *MintControllerTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
MintControllerTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*MintControllerTransactorSession) AddValidator ¶
func (_MintController *MintControllerTransactorSession) AddValidator(validator common.Address) (*types.Transaction, error)
AddValidator is a paid mutator transaction binding the contract method 0x4d238c8e.
Solidity: function addValidator(address validator) returns()
func (*MintControllerTransactorSession) MintWrappedPocket ¶
func (_MintController *MintControllerTransactorSession) MintWrappedPocket(data MintControllerMintData, signatures [][]byte) (*types.Transaction, error)
MintWrappedPocket is a paid mutator transaction binding the contract method 0x0f22ed52.
Solidity: function mintWrappedPocket((address,uint256,uint256) data, bytes[] signatures) returns()
func (*MintControllerTransactorSession) RemoveValidator ¶
func (_MintController *MintControllerTransactorSession) RemoveValidator(validator common.Address) (*types.Transaction, error)
RemoveValidator is a paid mutator transaction binding the contract method 0x40a141ff.
Solidity: function removeValidator(address validator) returns()
func (*MintControllerTransactorSession) SetMintCooldown ¶
func (_MintController *MintControllerTransactorSession) SetMintCooldown(newLimit *big.Int, newMintPerSecond *big.Int) (*types.Transaction, error)
SetMintCooldown is a paid mutator transaction binding the contract method 0x59aa6859.
Solidity: function setMintCooldown(uint256 newLimit, uint256 newMintPerSecond) returns()
func (*MintControllerTransactorSession) SetSignerThreshold ¶
func (_MintController *MintControllerTransactorSession) SetSignerThreshold(signatureRatio *big.Int) (*types.Transaction, error)
SetSignerThreshold is a paid mutator transaction binding the contract method 0x251b8192.
Solidity: function setSignerThreshold(uint256 signatureRatio) returns()
type WrappedPocket ¶
type WrappedPocket struct { WrappedPocketCaller // Read-only binding to the contract WrappedPocketTransactor // Write-only binding to the contract WrappedPocketFilterer // Log filterer for contract events }
WrappedPocket is an auto generated Go binding around an Ethereum contract.
func NewWrappedPocket ¶
func NewWrappedPocket(address common.Address, backend bind.ContractBackend) (*WrappedPocket, error)
NewWrappedPocket creates a new instance of WrappedPocket, bound to a specific deployed contract.
type WrappedPocketApproval ¶
type WrappedPocketApproval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
WrappedPocketApproval represents a Approval event raised by the WrappedPocket contract.
type WrappedPocketApprovalIterator ¶
type WrappedPocketApprovalIterator struct { Event *WrappedPocketApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
WrappedPocketApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the WrappedPocket contract.
func (*WrappedPocketApprovalIterator) Close ¶
func (it *WrappedPocketApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*WrappedPocketApprovalIterator) Error ¶
func (it *WrappedPocketApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*WrappedPocketApprovalIterator) Next ¶
func (it *WrappedPocketApprovalIterator) 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 WrappedPocketBurnAndBridge ¶
type WrappedPocketBurnAndBridge struct { Amount *big.Int PoktAddress common.Address From common.Address Raw types.Log // Blockchain specific contextual infos }
WrappedPocketBurnAndBridge represents a BurnAndBridge event raised by the WrappedPocket contract.
type WrappedPocketBurnAndBridgeIterator ¶
type WrappedPocketBurnAndBridgeIterator struct { Event *WrappedPocketBurnAndBridge // Event containing the contract specifics and raw log // contains filtered or unexported fields }
WrappedPocketBurnAndBridgeIterator is returned from FilterBurnAndBridge and is used to iterate over the raw logs and unpacked data for BurnAndBridge events raised by the WrappedPocket contract.
func (*WrappedPocketBurnAndBridgeIterator) Close ¶
func (it *WrappedPocketBurnAndBridgeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*WrappedPocketBurnAndBridgeIterator) Error ¶
func (it *WrappedPocketBurnAndBridgeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*WrappedPocketBurnAndBridgeIterator) Next ¶
func (it *WrappedPocketBurnAndBridgeIterator) 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 WrappedPocketCaller ¶
type WrappedPocketCaller struct {
// contains filtered or unexported fields
}
WrappedPocketCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewWrappedPocketCaller ¶
func NewWrappedPocketCaller(address common.Address, caller bind.ContractCaller) (*WrappedPocketCaller, error)
NewWrappedPocketCaller creates a new read-only instance of WrappedPocket, bound to a specific deployed contract.
func (*WrappedPocketCaller) Allowance ¶
func (_WrappedPocket *WrappedPocketCaller) 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 (*WrappedPocketCaller) BASISPOINTS ¶
BASISPOINTS is a free data retrieval call binding the contract method 0xe1f1c4a7.
Solidity: function BASIS_POINTS() view returns(uint256)
func (*WrappedPocketCaller) BalanceOf ¶
func (_WrappedPocket *WrappedPocketCaller) 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 (*WrappedPocketCaller) Burn ¶
Burn is a free data retrieval call binding the contract method 0x42966c68.
Solidity: function burn(uint256 ) pure returns()
func (*WrappedPocketCaller) DEFAULTADMINROLE ¶
func (_WrappedPocket *WrappedPocketCaller) DEFAULTADMINROLE(opts *bind.CallOpts) ([32]byte, error)
DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.
Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)
func (*WrappedPocketCaller) DOMAINSEPARATOR ¶
func (_WrappedPocket *WrappedPocketCaller) DOMAINSEPARATOR(opts *bind.CallOpts) ([32]byte, error)
DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.
Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)
func (*WrappedPocketCaller) Decimals ¶
func (_WrappedPocket *WrappedPocketCaller) 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 (*WrappedPocketCaller) Eip712Domain ¶
func (_WrappedPocket *WrappedPocketCaller) Eip712Domain(opts *bind.CallOpts) (struct { Fields [1]byte Name string Version string ChainId *big.Int VerifyingContract common.Address Salt [32]byte Extensions []*big.Int }, error)
Eip712Domain is a free data retrieval call binding the contract method 0x84b0196e.
Solidity: function eip712Domain() view returns(bytes1 fields, string name, string version, uint256 chainId, address verifyingContract, bytes32 salt, uint256[] extensions)
func (*WrappedPocketCaller) FeeBasis ¶
FeeBasis is a free data retrieval call binding the contract method 0x5a94ee46.
Solidity: function feeBasis() view returns(uint256)
func (*WrappedPocketCaller) FeeCollector ¶
func (_WrappedPocket *WrappedPocketCaller) FeeCollector(opts *bind.CallOpts) (common.Address, error)
FeeCollector is a free data retrieval call binding the contract method 0xc415b95c.
Solidity: function feeCollector() view returns(address)
func (*WrappedPocketCaller) FeeFlag ¶
func (_WrappedPocket *WrappedPocketCaller) FeeFlag(opts *bind.CallOpts) (bool, error)
FeeFlag is a free data retrieval call binding the contract method 0x118c6897.
Solidity: function feeFlag() view returns(bool)
func (*WrappedPocketCaller) GetRoleAdmin ¶
func (_WrappedPocket *WrappedPocketCaller) GetRoleAdmin(opts *bind.CallOpts, role [32]byte) ([32]byte, error)
GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.
Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)
func (*WrappedPocketCaller) GetUserNonce ¶
func (_WrappedPocket *WrappedPocketCaller) GetUserNonce(opts *bind.CallOpts, user common.Address) (*big.Int, error)
GetUserNonce is a free data retrieval call binding the contract method 0x6834e3a8.
Solidity: function getUserNonce(address user) view returns(uint256)
func (*WrappedPocketCaller) HasRole ¶
func (_WrappedPocket *WrappedPocketCaller) HasRole(opts *bind.CallOpts, role [32]byte, account common.Address) (bool, error)
HasRole is a free data retrieval call binding the contract method 0x91d14854.
Solidity: function hasRole(bytes32 role, address account) view returns(bool)
func (*WrappedPocketCaller) MAXFEEBASIS ¶
MAXFEEBASIS is a free data retrieval call binding the contract method 0x8312ebd1.
Solidity: function MAX_FEE_BASIS() view returns(uint256)
func (*WrappedPocketCaller) MINTERROLE ¶
func (_WrappedPocket *WrappedPocketCaller) MINTERROLE(opts *bind.CallOpts) ([32]byte, error)
MINTERROLE is a free data retrieval call binding the contract method 0xd5391393.
Solidity: function MINTER_ROLE() view returns(bytes32)
func (*WrappedPocketCaller) Name ¶
func (_WrappedPocket *WrappedPocketCaller) 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 (*WrappedPocketCaller) Nonces ¶
func (_WrappedPocket *WrappedPocketCaller) Nonces(opts *bind.CallOpts, owner common.Address) (*big.Int, error)
Nonces is a free data retrieval call binding the contract method 0x7ecebe00.
Solidity: function nonces(address owner) view returns(uint256)
func (*WrappedPocketCaller) PAUSERROLE ¶
func (_WrappedPocket *WrappedPocketCaller) PAUSERROLE(opts *bind.CallOpts) ([32]byte, error)
PAUSERROLE is a free data retrieval call binding the contract method 0xe63ab1e9.
Solidity: function PAUSER_ROLE() view returns(bytes32)
func (*WrappedPocketCaller) Paused ¶
func (_WrappedPocket *WrappedPocketCaller) 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 (*WrappedPocketCaller) SupportsInterface ¶
func (_WrappedPocket *WrappedPocketCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
func (*WrappedPocketCaller) Symbol ¶
func (_WrappedPocket *WrappedPocketCaller) 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 (*WrappedPocketCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type WrappedPocketCallerRaw ¶
type WrappedPocketCallerRaw struct {
Contract *WrappedPocketCaller // Generic read-only contract binding to access the raw methods on
}
WrappedPocketCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*WrappedPocketCallerRaw) Call ¶
func (_WrappedPocket *WrappedPocketCallerRaw) 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 WrappedPocketCallerSession ¶
type WrappedPocketCallerSession struct { Contract *WrappedPocketCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
WrappedPocketCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*WrappedPocketCallerSession) Allowance ¶
func (_WrappedPocket *WrappedPocketCallerSession) 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 (*WrappedPocketCallerSession) BASISPOINTS ¶
func (_WrappedPocket *WrappedPocketCallerSession) BASISPOINTS() (*big.Int, error)
BASISPOINTS is a free data retrieval call binding the contract method 0xe1f1c4a7.
Solidity: function BASIS_POINTS() view returns(uint256)
func (*WrappedPocketCallerSession) BalanceOf ¶
func (_WrappedPocket *WrappedPocketCallerSession) 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 (*WrappedPocketCallerSession) Burn ¶
func (_WrappedPocket *WrappedPocketCallerSession) Burn(arg0 *big.Int) error
Burn is a free data retrieval call binding the contract method 0x42966c68.
Solidity: function burn(uint256 ) pure returns()
func (*WrappedPocketCallerSession) DEFAULTADMINROLE ¶
func (_WrappedPocket *WrappedPocketCallerSession) DEFAULTADMINROLE() ([32]byte, error)
DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.
Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)
func (*WrappedPocketCallerSession) DOMAINSEPARATOR ¶
func (_WrappedPocket *WrappedPocketCallerSession) DOMAINSEPARATOR() ([32]byte, error)
DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.
Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)
func (*WrappedPocketCallerSession) Decimals ¶
func (_WrappedPocket *WrappedPocketCallerSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*WrappedPocketCallerSession) Eip712Domain ¶
func (_WrappedPocket *WrappedPocketCallerSession) Eip712Domain() (struct { Fields [1]byte Name string Version string ChainId *big.Int VerifyingContract common.Address Salt [32]byte Extensions []*big.Int }, error)
Eip712Domain is a free data retrieval call binding the contract method 0x84b0196e.
Solidity: function eip712Domain() view returns(bytes1 fields, string name, string version, uint256 chainId, address verifyingContract, bytes32 salt, uint256[] extensions)
func (*WrappedPocketCallerSession) FeeBasis ¶
func (_WrappedPocket *WrappedPocketCallerSession) FeeBasis() (*big.Int, error)
FeeBasis is a free data retrieval call binding the contract method 0x5a94ee46.
Solidity: function feeBasis() view returns(uint256)
func (*WrappedPocketCallerSession) FeeCollector ¶
func (_WrappedPocket *WrappedPocketCallerSession) FeeCollector() (common.Address, error)
FeeCollector is a free data retrieval call binding the contract method 0xc415b95c.
Solidity: function feeCollector() view returns(address)
func (*WrappedPocketCallerSession) FeeFlag ¶
func (_WrappedPocket *WrappedPocketCallerSession) FeeFlag() (bool, error)
FeeFlag is a free data retrieval call binding the contract method 0x118c6897.
Solidity: function feeFlag() view returns(bool)
func (*WrappedPocketCallerSession) GetRoleAdmin ¶
func (_WrappedPocket *WrappedPocketCallerSession) GetRoleAdmin(role [32]byte) ([32]byte, error)
GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.
Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)
func (*WrappedPocketCallerSession) GetUserNonce ¶
func (_WrappedPocket *WrappedPocketCallerSession) GetUserNonce(user common.Address) (*big.Int, error)
GetUserNonce is a free data retrieval call binding the contract method 0x6834e3a8.
Solidity: function getUserNonce(address user) view returns(uint256)
func (*WrappedPocketCallerSession) HasRole ¶
func (_WrappedPocket *WrappedPocketCallerSession) HasRole(role [32]byte, account common.Address) (bool, error)
HasRole is a free data retrieval call binding the contract method 0x91d14854.
Solidity: function hasRole(bytes32 role, address account) view returns(bool)
func (*WrappedPocketCallerSession) MAXFEEBASIS ¶
func (_WrappedPocket *WrappedPocketCallerSession) MAXFEEBASIS() (*big.Int, error)
MAXFEEBASIS is a free data retrieval call binding the contract method 0x8312ebd1.
Solidity: function MAX_FEE_BASIS() view returns(uint256)
func (*WrappedPocketCallerSession) MINTERROLE ¶
func (_WrappedPocket *WrappedPocketCallerSession) MINTERROLE() ([32]byte, error)
MINTERROLE is a free data retrieval call binding the contract method 0xd5391393.
Solidity: function MINTER_ROLE() view returns(bytes32)
func (*WrappedPocketCallerSession) Name ¶
func (_WrappedPocket *WrappedPocketCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*WrappedPocketCallerSession) Nonces ¶
Nonces is a free data retrieval call binding the contract method 0x7ecebe00.
Solidity: function nonces(address owner) view returns(uint256)
func (*WrappedPocketCallerSession) PAUSERROLE ¶
func (_WrappedPocket *WrappedPocketCallerSession) PAUSERROLE() ([32]byte, error)
PAUSERROLE is a free data retrieval call binding the contract method 0xe63ab1e9.
Solidity: function PAUSER_ROLE() view returns(bytes32)
func (*WrappedPocketCallerSession) Paused ¶
func (_WrappedPocket *WrappedPocketCallerSession) Paused() (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
func (*WrappedPocketCallerSession) SupportsInterface ¶
func (_WrappedPocket *WrappedPocketCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
func (*WrappedPocketCallerSession) Symbol ¶
func (_WrappedPocket *WrappedPocketCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*WrappedPocketCallerSession) TotalSupply ¶
func (_WrappedPocket *WrappedPocketCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type WrappedPocketEIP712DomainChanged ¶
type WrappedPocketEIP712DomainChanged struct {
Raw types.Log // Blockchain specific contextual infos
}
WrappedPocketEIP712DomainChanged represents a EIP712DomainChanged event raised by the WrappedPocket contract.
type WrappedPocketEIP712DomainChangedIterator ¶
type WrappedPocketEIP712DomainChangedIterator struct { Event *WrappedPocketEIP712DomainChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
WrappedPocketEIP712DomainChangedIterator is returned from FilterEIP712DomainChanged and is used to iterate over the raw logs and unpacked data for EIP712DomainChanged events raised by the WrappedPocket contract.
func (*WrappedPocketEIP712DomainChangedIterator) Close ¶
func (it *WrappedPocketEIP712DomainChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*WrappedPocketEIP712DomainChangedIterator) Error ¶
func (it *WrappedPocketEIP712DomainChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*WrappedPocketEIP712DomainChangedIterator) Next ¶
func (it *WrappedPocketEIP712DomainChangedIterator) 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 WrappedPocketFeeCollected ¶
type WrappedPocketFeeCollected struct { FeeCollector common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
WrappedPocketFeeCollected represents a FeeCollected event raised by the WrappedPocket contract.
type WrappedPocketFeeCollectedIterator ¶
type WrappedPocketFeeCollectedIterator struct { Event *WrappedPocketFeeCollected // Event containing the contract specifics and raw log // contains filtered or unexported fields }
WrappedPocketFeeCollectedIterator is returned from FilterFeeCollected and is used to iterate over the raw logs and unpacked data for FeeCollected events raised by the WrappedPocket contract.
func (*WrappedPocketFeeCollectedIterator) Close ¶
func (it *WrappedPocketFeeCollectedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*WrappedPocketFeeCollectedIterator) Error ¶
func (it *WrappedPocketFeeCollectedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*WrappedPocketFeeCollectedIterator) Next ¶
func (it *WrappedPocketFeeCollectedIterator) 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 WrappedPocketFeeSet ¶
type WrappedPocketFeeSet struct { Flag bool NewFeeBasis *big.Int FeeCollector common.Address Raw types.Log // Blockchain specific contextual infos }
WrappedPocketFeeSet represents a FeeSet event raised by the WrappedPocket contract.
type WrappedPocketFeeSetIterator ¶
type WrappedPocketFeeSetIterator struct { Event *WrappedPocketFeeSet // Event containing the contract specifics and raw log // contains filtered or unexported fields }
WrappedPocketFeeSetIterator is returned from FilterFeeSet and is used to iterate over the raw logs and unpacked data for FeeSet events raised by the WrappedPocket contract.
func (*WrappedPocketFeeSetIterator) Close ¶
func (it *WrappedPocketFeeSetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*WrappedPocketFeeSetIterator) Error ¶
func (it *WrappedPocketFeeSetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*WrappedPocketFeeSetIterator) Next ¶
func (it *WrappedPocketFeeSetIterator) 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 WrappedPocketFilterer ¶
type WrappedPocketFilterer struct {
// contains filtered or unexported fields
}
WrappedPocketFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewWrappedPocketFilterer ¶
func NewWrappedPocketFilterer(address common.Address, filterer bind.ContractFilterer) (*WrappedPocketFilterer, error)
NewWrappedPocketFilterer creates a new log filterer instance of WrappedPocket, bound to a specific deployed contract.
func (*WrappedPocketFilterer) FilterApproval ¶
func (_WrappedPocket *WrappedPocketFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*WrappedPocketApprovalIterator, 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 (*WrappedPocketFilterer) FilterBurnAndBridge ¶
func (_WrappedPocket *WrappedPocketFilterer) FilterBurnAndBridge(opts *bind.FilterOpts, amount []*big.Int, poktAddress []common.Address, from []common.Address) (*WrappedPocketBurnAndBridgeIterator, error)
FilterBurnAndBridge is a free log retrieval operation binding the contract event 0xac314bfa2d21af3d3e0937c97bc805574e3b1abb58a457ef02280c6f5e3faa75.
Solidity: event BurnAndBridge(uint256 indexed amount, address indexed poktAddress, address indexed from)
func (*WrappedPocketFilterer) FilterEIP712DomainChanged ¶
func (_WrappedPocket *WrappedPocketFilterer) FilterEIP712DomainChanged(opts *bind.FilterOpts) (*WrappedPocketEIP712DomainChangedIterator, error)
FilterEIP712DomainChanged is a free log retrieval operation binding the contract event 0x0a6387c9ea3628b88a633bb4f3b151770f70085117a15f9bf3787cda53f13d31.
Solidity: event EIP712DomainChanged()
func (*WrappedPocketFilterer) FilterFeeCollected ¶
func (_WrappedPocket *WrappedPocketFilterer) FilterFeeCollected(opts *bind.FilterOpts, feeCollector []common.Address, amount []*big.Int) (*WrappedPocketFeeCollectedIterator, error)
FilterFeeCollected is a free log retrieval operation binding the contract event 0x06c5efeff5c320943d265dc4e5f1af95ad523555ce0c1957e367dda5514572df.
Solidity: event FeeCollected(address indexed feeCollector, uint256 indexed amount)
func (*WrappedPocketFilterer) FilterFeeSet ¶
func (_WrappedPocket *WrappedPocketFilterer) FilterFeeSet(opts *bind.FilterOpts, flag []bool, newFeeBasis []*big.Int, feeCollector []common.Address) (*WrappedPocketFeeSetIterator, error)
FilterFeeSet is a free log retrieval operation binding the contract event 0xd67a9beee624d9012cc270d0c9f894e26cc7f615c2762f9081862e653ea4c7b8.
Solidity: event FeeSet(bool indexed flag, uint256 indexed newFeeBasis, address indexed feeCollector)
func (*WrappedPocketFilterer) FilterMinted ¶
func (_WrappedPocket *WrappedPocketFilterer) FilterMinted(opts *bind.FilterOpts, recipient []common.Address, amount []*big.Int, nonce []*big.Int) (*WrappedPocketMintedIterator, error)
FilterMinted is a free log retrieval operation binding the contract event 0x25b428dfde728ccfaddad7e29e4ac23c24ed7fd1a6e3e3f91894a9a073f5dfff.
Solidity: event Minted(address indexed recipient, uint256 indexed amount, uint256 indexed nonce)
func (*WrappedPocketFilterer) FilterPaused ¶
func (_WrappedPocket *WrappedPocketFilterer) FilterPaused(opts *bind.FilterOpts) (*WrappedPocketPausedIterator, error)
FilterPaused is a free log retrieval operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
Solidity: event Paused(address account)
func (*WrappedPocketFilterer) FilterRoleAdminChanged ¶
func (_WrappedPocket *WrappedPocketFilterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (*WrappedPocketRoleAdminChangedIterator, error)
FilterRoleAdminChanged is a free log retrieval operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.
Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
func (*WrappedPocketFilterer) FilterRoleGranted ¶
func (_WrappedPocket *WrappedPocketFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*WrappedPocketRoleGrantedIterator, error)
FilterRoleGranted is a free log retrieval operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.
Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
func (*WrappedPocketFilterer) FilterRoleRevoked ¶
func (_WrappedPocket *WrappedPocketFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*WrappedPocketRoleRevokedIterator, error)
FilterRoleRevoked is a free log retrieval operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.
Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
func (*WrappedPocketFilterer) FilterTransfer ¶
func (_WrappedPocket *WrappedPocketFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*WrappedPocketTransferIterator, 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 (*WrappedPocketFilterer) FilterUnpaused ¶
func (_WrappedPocket *WrappedPocketFilterer) FilterUnpaused(opts *bind.FilterOpts) (*WrappedPocketUnpausedIterator, error)
FilterUnpaused is a free log retrieval operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
Solidity: event Unpaused(address account)
func (*WrappedPocketFilterer) ParseApproval ¶
func (_WrappedPocket *WrappedPocketFilterer) ParseApproval(log types.Log) (*WrappedPocketApproval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*WrappedPocketFilterer) ParseBurnAndBridge ¶
func (_WrappedPocket *WrappedPocketFilterer) ParseBurnAndBridge(log types.Log) (*WrappedPocketBurnAndBridge, error)
ParseBurnAndBridge is a log parse operation binding the contract event 0xac314bfa2d21af3d3e0937c97bc805574e3b1abb58a457ef02280c6f5e3faa75.
Solidity: event BurnAndBridge(uint256 indexed amount, address indexed poktAddress, address indexed from)
func (*WrappedPocketFilterer) ParseEIP712DomainChanged ¶
func (_WrappedPocket *WrappedPocketFilterer) ParseEIP712DomainChanged(log types.Log) (*WrappedPocketEIP712DomainChanged, error)
ParseEIP712DomainChanged is a log parse operation binding the contract event 0x0a6387c9ea3628b88a633bb4f3b151770f70085117a15f9bf3787cda53f13d31.
Solidity: event EIP712DomainChanged()
func (*WrappedPocketFilterer) ParseFeeCollected ¶
func (_WrappedPocket *WrappedPocketFilterer) ParseFeeCollected(log types.Log) (*WrappedPocketFeeCollected, error)
ParseFeeCollected is a log parse operation binding the contract event 0x06c5efeff5c320943d265dc4e5f1af95ad523555ce0c1957e367dda5514572df.
Solidity: event FeeCollected(address indexed feeCollector, uint256 indexed amount)
func (*WrappedPocketFilterer) ParseFeeSet ¶
func (_WrappedPocket *WrappedPocketFilterer) ParseFeeSet(log types.Log) (*WrappedPocketFeeSet, error)
ParseFeeSet is a log parse operation binding the contract event 0xd67a9beee624d9012cc270d0c9f894e26cc7f615c2762f9081862e653ea4c7b8.
Solidity: event FeeSet(bool indexed flag, uint256 indexed newFeeBasis, address indexed feeCollector)
func (*WrappedPocketFilterer) ParseMinted ¶
func (_WrappedPocket *WrappedPocketFilterer) ParseMinted(log types.Log) (*WrappedPocketMinted, error)
ParseMinted is a log parse operation binding the contract event 0x25b428dfde728ccfaddad7e29e4ac23c24ed7fd1a6e3e3f91894a9a073f5dfff.
Solidity: event Minted(address indexed recipient, uint256 indexed amount, uint256 indexed nonce)
func (*WrappedPocketFilterer) ParsePaused ¶
func (_WrappedPocket *WrappedPocketFilterer) ParsePaused(log types.Log) (*WrappedPocketPaused, error)
ParsePaused is a log parse operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
Solidity: event Paused(address account)
func (*WrappedPocketFilterer) ParseRoleAdminChanged ¶
func (_WrappedPocket *WrappedPocketFilterer) ParseRoleAdminChanged(log types.Log) (*WrappedPocketRoleAdminChanged, error)
ParseRoleAdminChanged is a log parse operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.
Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
func (*WrappedPocketFilterer) ParseRoleGranted ¶
func (_WrappedPocket *WrappedPocketFilterer) ParseRoleGranted(log types.Log) (*WrappedPocketRoleGranted, error)
ParseRoleGranted is a log parse operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.
Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
func (*WrappedPocketFilterer) ParseRoleRevoked ¶
func (_WrappedPocket *WrappedPocketFilterer) ParseRoleRevoked(log types.Log) (*WrappedPocketRoleRevoked, error)
ParseRoleRevoked is a log parse operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.
Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
func (*WrappedPocketFilterer) ParseTransfer ¶
func (_WrappedPocket *WrappedPocketFilterer) ParseTransfer(log types.Log) (*WrappedPocketTransfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*WrappedPocketFilterer) ParseUnpaused ¶
func (_WrappedPocket *WrappedPocketFilterer) ParseUnpaused(log types.Log) (*WrappedPocketUnpaused, error)
ParseUnpaused is a log parse operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
Solidity: event Unpaused(address account)
func (*WrappedPocketFilterer) WatchApproval ¶
func (_WrappedPocket *WrappedPocketFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *WrappedPocketApproval, 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 (*WrappedPocketFilterer) WatchBurnAndBridge ¶
func (_WrappedPocket *WrappedPocketFilterer) WatchBurnAndBridge(opts *bind.WatchOpts, sink chan<- *WrappedPocketBurnAndBridge, amount []*big.Int, poktAddress []common.Address, from []common.Address) (event.Subscription, error)
WatchBurnAndBridge is a free log subscription operation binding the contract event 0xac314bfa2d21af3d3e0937c97bc805574e3b1abb58a457ef02280c6f5e3faa75.
Solidity: event BurnAndBridge(uint256 indexed amount, address indexed poktAddress, address indexed from)
func (*WrappedPocketFilterer) WatchEIP712DomainChanged ¶
func (_WrappedPocket *WrappedPocketFilterer) WatchEIP712DomainChanged(opts *bind.WatchOpts, sink chan<- *WrappedPocketEIP712DomainChanged) (event.Subscription, error)
WatchEIP712DomainChanged is a free log subscription operation binding the contract event 0x0a6387c9ea3628b88a633bb4f3b151770f70085117a15f9bf3787cda53f13d31.
Solidity: event EIP712DomainChanged()
func (*WrappedPocketFilterer) WatchFeeCollected ¶
func (_WrappedPocket *WrappedPocketFilterer) WatchFeeCollected(opts *bind.WatchOpts, sink chan<- *WrappedPocketFeeCollected, feeCollector []common.Address, amount []*big.Int) (event.Subscription, error)
WatchFeeCollected is a free log subscription operation binding the contract event 0x06c5efeff5c320943d265dc4e5f1af95ad523555ce0c1957e367dda5514572df.
Solidity: event FeeCollected(address indexed feeCollector, uint256 indexed amount)
func (*WrappedPocketFilterer) WatchFeeSet ¶
func (_WrappedPocket *WrappedPocketFilterer) WatchFeeSet(opts *bind.WatchOpts, sink chan<- *WrappedPocketFeeSet, flag []bool, newFeeBasis []*big.Int, feeCollector []common.Address) (event.Subscription, error)
WatchFeeSet is a free log subscription operation binding the contract event 0xd67a9beee624d9012cc270d0c9f894e26cc7f615c2762f9081862e653ea4c7b8.
Solidity: event FeeSet(bool indexed flag, uint256 indexed newFeeBasis, address indexed feeCollector)
func (*WrappedPocketFilterer) WatchMinted ¶
func (_WrappedPocket *WrappedPocketFilterer) WatchMinted(opts *bind.WatchOpts, sink chan<- *WrappedPocketMinted, recipient []common.Address, amount []*big.Int, nonce []*big.Int) (event.Subscription, error)
WatchMinted is a free log subscription operation binding the contract event 0x25b428dfde728ccfaddad7e29e4ac23c24ed7fd1a6e3e3f91894a9a073f5dfff.
Solidity: event Minted(address indexed recipient, uint256 indexed amount, uint256 indexed nonce)
func (*WrappedPocketFilterer) WatchPaused ¶
func (_WrappedPocket *WrappedPocketFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *WrappedPocketPaused) (event.Subscription, error)
WatchPaused is a free log subscription operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
Solidity: event Paused(address account)
func (*WrappedPocketFilterer) WatchRoleAdminChanged ¶
func (_WrappedPocket *WrappedPocketFilterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *WrappedPocketRoleAdminChanged, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (event.Subscription, error)
WatchRoleAdminChanged is a free log subscription operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.
Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
func (*WrappedPocketFilterer) WatchRoleGranted ¶
func (_WrappedPocket *WrappedPocketFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *WrappedPocketRoleGranted, role [][32]byte, account []common.Address, sender []common.Address) (event.Subscription, error)
WatchRoleGranted is a free log subscription operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.
Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
func (*WrappedPocketFilterer) WatchRoleRevoked ¶
func (_WrappedPocket *WrappedPocketFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *WrappedPocketRoleRevoked, role [][32]byte, account []common.Address, sender []common.Address) (event.Subscription, error)
WatchRoleRevoked is a free log subscription operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.
Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
func (*WrappedPocketFilterer) WatchTransfer ¶
func (_WrappedPocket *WrappedPocketFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *WrappedPocketTransfer, from []common.Address, to []common.Address) (event.Subscription, error)
WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*WrappedPocketFilterer) WatchUnpaused ¶
func (_WrappedPocket *WrappedPocketFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *WrappedPocketUnpaused) (event.Subscription, error)
WatchUnpaused is a free log subscription operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
Solidity: event Unpaused(address account)
type WrappedPocketMinted ¶
type WrappedPocketMinted struct { Recipient common.Address Amount *big.Int Nonce *big.Int Raw types.Log // Blockchain specific contextual infos }
WrappedPocketMinted represents a Minted event raised by the WrappedPocket contract.
type WrappedPocketMintedIterator ¶
type WrappedPocketMintedIterator struct { Event *WrappedPocketMinted // Event containing the contract specifics and raw log // contains filtered or unexported fields }
WrappedPocketMintedIterator is returned from FilterMinted and is used to iterate over the raw logs and unpacked data for Minted events raised by the WrappedPocket contract.
func (*WrappedPocketMintedIterator) Close ¶
func (it *WrappedPocketMintedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*WrappedPocketMintedIterator) Error ¶
func (it *WrappedPocketMintedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*WrappedPocketMintedIterator) Next ¶
func (it *WrappedPocketMintedIterator) 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 WrappedPocketPaused ¶
type WrappedPocketPaused struct { Account common.Address Raw types.Log // Blockchain specific contextual infos }
WrappedPocketPaused represents a Paused event raised by the WrappedPocket contract.
type WrappedPocketPausedIterator ¶
type WrappedPocketPausedIterator struct { Event *WrappedPocketPaused // Event containing the contract specifics and raw log // contains filtered or unexported fields }
WrappedPocketPausedIterator is returned from FilterPaused and is used to iterate over the raw logs and unpacked data for Paused events raised by the WrappedPocket contract.
func (*WrappedPocketPausedIterator) Close ¶
func (it *WrappedPocketPausedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*WrappedPocketPausedIterator) Error ¶
func (it *WrappedPocketPausedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*WrappedPocketPausedIterator) Next ¶
func (it *WrappedPocketPausedIterator) 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 WrappedPocketRaw ¶
type WrappedPocketRaw struct {
Contract *WrappedPocket // Generic contract binding to access the raw methods on
}
WrappedPocketRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*WrappedPocketRaw) Call ¶
func (_WrappedPocket *WrappedPocketRaw) 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 (*WrappedPocketRaw) Transact ¶
func (_WrappedPocket *WrappedPocketRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*WrappedPocketRaw) Transfer ¶
func (_WrappedPocket *WrappedPocketRaw) 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 WrappedPocketRoleAdminChanged ¶
type WrappedPocketRoleAdminChanged struct { Role [32]byte PreviousAdminRole [32]byte NewAdminRole [32]byte Raw types.Log // Blockchain specific contextual infos }
WrappedPocketRoleAdminChanged represents a RoleAdminChanged event raised by the WrappedPocket contract.
type WrappedPocketRoleAdminChangedIterator ¶
type WrappedPocketRoleAdminChangedIterator struct { Event *WrappedPocketRoleAdminChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
WrappedPocketRoleAdminChangedIterator is returned from FilterRoleAdminChanged and is used to iterate over the raw logs and unpacked data for RoleAdminChanged events raised by the WrappedPocket contract.
func (*WrappedPocketRoleAdminChangedIterator) Close ¶
func (it *WrappedPocketRoleAdminChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*WrappedPocketRoleAdminChangedIterator) Error ¶
func (it *WrappedPocketRoleAdminChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*WrappedPocketRoleAdminChangedIterator) Next ¶
func (it *WrappedPocketRoleAdminChangedIterator) 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 WrappedPocketRoleGranted ¶
type WrappedPocketRoleGranted struct { Role [32]byte Account common.Address Sender common.Address Raw types.Log // Blockchain specific contextual infos }
WrappedPocketRoleGranted represents a RoleGranted event raised by the WrappedPocket contract.
type WrappedPocketRoleGrantedIterator ¶
type WrappedPocketRoleGrantedIterator struct { Event *WrappedPocketRoleGranted // Event containing the contract specifics and raw log // contains filtered or unexported fields }
WrappedPocketRoleGrantedIterator is returned from FilterRoleGranted and is used to iterate over the raw logs and unpacked data for RoleGranted events raised by the WrappedPocket contract.
func (*WrappedPocketRoleGrantedIterator) Close ¶
func (it *WrappedPocketRoleGrantedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*WrappedPocketRoleGrantedIterator) Error ¶
func (it *WrappedPocketRoleGrantedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*WrappedPocketRoleGrantedIterator) Next ¶
func (it *WrappedPocketRoleGrantedIterator) 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 WrappedPocketRoleRevoked ¶
type WrappedPocketRoleRevoked struct { Role [32]byte Account common.Address Sender common.Address Raw types.Log // Blockchain specific contextual infos }
WrappedPocketRoleRevoked represents a RoleRevoked event raised by the WrappedPocket contract.
type WrappedPocketRoleRevokedIterator ¶
type WrappedPocketRoleRevokedIterator struct { Event *WrappedPocketRoleRevoked // Event containing the contract specifics and raw log // contains filtered or unexported fields }
WrappedPocketRoleRevokedIterator is returned from FilterRoleRevoked and is used to iterate over the raw logs and unpacked data for RoleRevoked events raised by the WrappedPocket contract.
func (*WrappedPocketRoleRevokedIterator) Close ¶
func (it *WrappedPocketRoleRevokedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*WrappedPocketRoleRevokedIterator) Error ¶
func (it *WrappedPocketRoleRevokedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*WrappedPocketRoleRevokedIterator) Next ¶
func (it *WrappedPocketRoleRevokedIterator) 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 WrappedPocketSession ¶
type WrappedPocketSession struct { Contract *WrappedPocket // 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 }
WrappedPocketSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*WrappedPocketSession) Allowance ¶
func (_WrappedPocket *WrappedPocketSession) 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 (*WrappedPocketSession) Approve ¶
func (_WrappedPocket *WrappedPocketSession) 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 (*WrappedPocketSession) BASISPOINTS ¶
func (_WrappedPocket *WrappedPocketSession) BASISPOINTS() (*big.Int, error)
BASISPOINTS is a free data retrieval call binding the contract method 0xe1f1c4a7.
Solidity: function BASIS_POINTS() view returns(uint256)
func (*WrappedPocketSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*WrappedPocketSession) BatchMint ¶
func (_WrappedPocket *WrappedPocketSession) BatchMint(to []common.Address, amount []*big.Int, nonce []*big.Int) (*types.Transaction, error)
BatchMint is a paid mutator transaction binding the contract method 0xd559f05b.
Solidity: function batchMint(address[] to, uint256[] amount, uint256[] nonce) returns()
func (*WrappedPocketSession) Burn ¶
func (_WrappedPocket *WrappedPocketSession) Burn(arg0 *big.Int) error
Burn is a free data retrieval call binding the contract method 0x42966c68.
Solidity: function burn(uint256 ) pure returns()
func (*WrappedPocketSession) BurnAndBridge ¶
func (_WrappedPocket *WrappedPocketSession) BurnAndBridge(amount *big.Int, poktAddress common.Address) (*types.Transaction, error)
BurnAndBridge is a paid mutator transaction binding the contract method 0x8402eb6b.
Solidity: function burnAndBridge(uint256 amount, address poktAddress) returns()
func (*WrappedPocketSession) BurnFrom ¶
func (_WrappedPocket *WrappedPocketSession) 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 (*WrappedPocketSession) DEFAULTADMINROLE ¶
func (_WrappedPocket *WrappedPocketSession) DEFAULTADMINROLE() ([32]byte, error)
DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.
Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)
func (*WrappedPocketSession) DOMAINSEPARATOR ¶
func (_WrappedPocket *WrappedPocketSession) DOMAINSEPARATOR() ([32]byte, error)
DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.
Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)
func (*WrappedPocketSession) Decimals ¶
func (_WrappedPocket *WrappedPocketSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*WrappedPocketSession) DecreaseAllowance ¶
func (_WrappedPocket *WrappedPocketSession) 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 (*WrappedPocketSession) Eip712Domain ¶
func (_WrappedPocket *WrappedPocketSession) Eip712Domain() (struct { Fields [1]byte Name string Version string ChainId *big.Int VerifyingContract common.Address Salt [32]byte Extensions []*big.Int }, error)
Eip712Domain is a free data retrieval call binding the contract method 0x84b0196e.
Solidity: function eip712Domain() view returns(bytes1 fields, string name, string version, uint256 chainId, address verifyingContract, bytes32 salt, uint256[] extensions)
func (*WrappedPocketSession) FeeBasis ¶
func (_WrappedPocket *WrappedPocketSession) FeeBasis() (*big.Int, error)
FeeBasis is a free data retrieval call binding the contract method 0x5a94ee46.
Solidity: function feeBasis() view returns(uint256)
func (*WrappedPocketSession) FeeCollector ¶
func (_WrappedPocket *WrappedPocketSession) FeeCollector() (common.Address, error)
FeeCollector is a free data retrieval call binding the contract method 0xc415b95c.
Solidity: function feeCollector() view returns(address)
func (*WrappedPocketSession) FeeFlag ¶
func (_WrappedPocket *WrappedPocketSession) FeeFlag() (bool, error)
FeeFlag is a free data retrieval call binding the contract method 0x118c6897.
Solidity: function feeFlag() view returns(bool)
func (*WrappedPocketSession) GetRoleAdmin ¶
func (_WrappedPocket *WrappedPocketSession) GetRoleAdmin(role [32]byte) ([32]byte, error)
GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.
Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)
func (*WrappedPocketSession) GetUserNonce ¶
GetUserNonce is a free data retrieval call binding the contract method 0x6834e3a8.
Solidity: function getUserNonce(address user) view returns(uint256)
func (*WrappedPocketSession) GrantRole ¶
func (_WrappedPocket *WrappedPocketSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.
Solidity: function grantRole(bytes32 role, address account) returns()
func (*WrappedPocketSession) HasRole ¶
func (_WrappedPocket *WrappedPocketSession) HasRole(role [32]byte, account common.Address) (bool, error)
HasRole is a free data retrieval call binding the contract method 0x91d14854.
Solidity: function hasRole(bytes32 role, address account) view returns(bool)
func (*WrappedPocketSession) IncreaseAllowance ¶
func (_WrappedPocket *WrappedPocketSession) 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 (*WrappedPocketSession) MAXFEEBASIS ¶
func (_WrappedPocket *WrappedPocketSession) MAXFEEBASIS() (*big.Int, error)
MAXFEEBASIS is a free data retrieval call binding the contract method 0x8312ebd1.
Solidity: function MAX_FEE_BASIS() view returns(uint256)
func (*WrappedPocketSession) MINTERROLE ¶
func (_WrappedPocket *WrappedPocketSession) MINTERROLE() ([32]byte, error)
MINTERROLE is a free data retrieval call binding the contract method 0xd5391393.
Solidity: function MINTER_ROLE() view returns(bytes32)
func (*WrappedPocketSession) Mint ¶
func (_WrappedPocket *WrappedPocketSession) Mint(to common.Address, amount *big.Int, nonce *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x156e29f6.
Solidity: function mint(address to, uint256 amount, uint256 nonce) returns()
func (*WrappedPocketSession) Name ¶
func (_WrappedPocket *WrappedPocketSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*WrappedPocketSession) Nonces ¶
Nonces is a free data retrieval call binding the contract method 0x7ecebe00.
Solidity: function nonces(address owner) view returns(uint256)
func (*WrappedPocketSession) PAUSERROLE ¶
func (_WrappedPocket *WrappedPocketSession) PAUSERROLE() ([32]byte, error)
PAUSERROLE is a free data retrieval call binding the contract method 0xe63ab1e9.
Solidity: function PAUSER_ROLE() view returns(bytes32)
func (*WrappedPocketSession) Pause ¶
func (_WrappedPocket *WrappedPocketSession) Pause() (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*WrappedPocketSession) Paused ¶
func (_WrappedPocket *WrappedPocketSession) Paused() (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
func (*WrappedPocketSession) Permit ¶
func (_WrappedPocket *WrappedPocketSession) Permit(owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
Permit is a paid mutator transaction binding the contract method 0xd505accf.
Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()
func (*WrappedPocketSession) RenounceRole ¶
func (_WrappedPocket *WrappedPocketSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)
RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.
Solidity: function renounceRole(bytes32 role, address account) returns()
func (*WrappedPocketSession) RevokeRole ¶
func (_WrappedPocket *WrappedPocketSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.
Solidity: function revokeRole(bytes32 role, address account) returns()
func (*WrappedPocketSession) SetFee ¶
func (_WrappedPocket *WrappedPocketSession) SetFee(flag bool, newFee *big.Int, newCollector common.Address) (*types.Transaction, error)
SetFee is a paid mutator transaction binding the contract method 0xe11ee7c8.
Solidity: function setFee(bool flag, uint256 newFee, address newCollector) returns()
func (*WrappedPocketSession) SupportsInterface ¶
func (_WrappedPocket *WrappedPocketSession) SupportsInterface(interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
func (*WrappedPocketSession) Symbol ¶
func (_WrappedPocket *WrappedPocketSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*WrappedPocketSession) TotalSupply ¶
func (_WrappedPocket *WrappedPocketSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*WrappedPocketSession) Transfer ¶
func (_WrappedPocket *WrappedPocketSession) 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 (*WrappedPocketSession) TransferFrom ¶
func (_WrappedPocket *WrappedPocketSession) 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 (*WrappedPocketSession) Unpause ¶
func (_WrappedPocket *WrappedPocketSession) Unpause() (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns()
type WrappedPocketTransactor ¶
type WrappedPocketTransactor struct {
// contains filtered or unexported fields
}
WrappedPocketTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewWrappedPocketTransactor ¶
func NewWrappedPocketTransactor(address common.Address, transactor bind.ContractTransactor) (*WrappedPocketTransactor, error)
NewWrappedPocketTransactor creates a new write-only instance of WrappedPocket, bound to a specific deployed contract.
func (*WrappedPocketTransactor) Approve ¶
func (_WrappedPocket *WrappedPocketTransactor) 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 (*WrappedPocketTransactor) BatchMint ¶
func (_WrappedPocket *WrappedPocketTransactor) BatchMint(opts *bind.TransactOpts, to []common.Address, amount []*big.Int, nonce []*big.Int) (*types.Transaction, error)
BatchMint is a paid mutator transaction binding the contract method 0xd559f05b.
Solidity: function batchMint(address[] to, uint256[] amount, uint256[] nonce) returns()
func (*WrappedPocketTransactor) BurnAndBridge ¶
func (_WrappedPocket *WrappedPocketTransactor) BurnAndBridge(opts *bind.TransactOpts, amount *big.Int, poktAddress common.Address) (*types.Transaction, error)
BurnAndBridge is a paid mutator transaction binding the contract method 0x8402eb6b.
Solidity: function burnAndBridge(uint256 amount, address poktAddress) returns()
func (*WrappedPocketTransactor) BurnFrom ¶
func (_WrappedPocket *WrappedPocketTransactor) 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 (*WrappedPocketTransactor) DecreaseAllowance ¶
func (_WrappedPocket *WrappedPocketTransactor) 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 (*WrappedPocketTransactor) GrantRole ¶
func (_WrappedPocket *WrappedPocketTransactor) GrantRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.
Solidity: function grantRole(bytes32 role, address account) returns()
func (*WrappedPocketTransactor) IncreaseAllowance ¶
func (_WrappedPocket *WrappedPocketTransactor) 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 (*WrappedPocketTransactor) Mint ¶
func (_WrappedPocket *WrappedPocketTransactor) Mint(opts *bind.TransactOpts, to common.Address, amount *big.Int, nonce *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x156e29f6.
Solidity: function mint(address to, uint256 amount, uint256 nonce) returns()
func (*WrappedPocketTransactor) Pause ¶
func (_WrappedPocket *WrappedPocketTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*WrappedPocketTransactor) Permit ¶
func (_WrappedPocket *WrappedPocketTransactor) Permit(opts *bind.TransactOpts, owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
Permit is a paid mutator transaction binding the contract method 0xd505accf.
Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()
func (*WrappedPocketTransactor) RenounceRole ¶
func (_WrappedPocket *WrappedPocketTransactor) RenounceRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.
Solidity: function renounceRole(bytes32 role, address account) returns()
func (*WrappedPocketTransactor) RevokeRole ¶
func (_WrappedPocket *WrappedPocketTransactor) RevokeRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.
Solidity: function revokeRole(bytes32 role, address account) returns()
func (*WrappedPocketTransactor) SetFee ¶
func (_WrappedPocket *WrappedPocketTransactor) SetFee(opts *bind.TransactOpts, flag bool, newFee *big.Int, newCollector common.Address) (*types.Transaction, error)
SetFee is a paid mutator transaction binding the contract method 0xe11ee7c8.
Solidity: function setFee(bool flag, uint256 newFee, address newCollector) returns()
func (*WrappedPocketTransactor) Transfer ¶
func (_WrappedPocket *WrappedPocketTransactor) 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 (*WrappedPocketTransactor) TransferFrom ¶
func (_WrappedPocket *WrappedPocketTransactor) 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 (*WrappedPocketTransactor) Unpause ¶
func (_WrappedPocket *WrappedPocketTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns()
type WrappedPocketTransactorRaw ¶
type WrappedPocketTransactorRaw struct {
Contract *WrappedPocketTransactor // Generic write-only contract binding to access the raw methods on
}
WrappedPocketTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*WrappedPocketTransactorRaw) Transact ¶
func (_WrappedPocket *WrappedPocketTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*WrappedPocketTransactorRaw) Transfer ¶
func (_WrappedPocket *WrappedPocketTransactorRaw) 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 WrappedPocketTransactorSession ¶
type WrappedPocketTransactorSession struct { Contract *WrappedPocketTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
WrappedPocketTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*WrappedPocketTransactorSession) Approve ¶
func (_WrappedPocket *WrappedPocketTransactorSession) 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 (*WrappedPocketTransactorSession) BatchMint ¶
func (_WrappedPocket *WrappedPocketTransactorSession) BatchMint(to []common.Address, amount []*big.Int, nonce []*big.Int) (*types.Transaction, error)
BatchMint is a paid mutator transaction binding the contract method 0xd559f05b.
Solidity: function batchMint(address[] to, uint256[] amount, uint256[] nonce) returns()
func (*WrappedPocketTransactorSession) BurnAndBridge ¶
func (_WrappedPocket *WrappedPocketTransactorSession) BurnAndBridge(amount *big.Int, poktAddress common.Address) (*types.Transaction, error)
BurnAndBridge is a paid mutator transaction binding the contract method 0x8402eb6b.
Solidity: function burnAndBridge(uint256 amount, address poktAddress) returns()
func (*WrappedPocketTransactorSession) BurnFrom ¶
func (_WrappedPocket *WrappedPocketTransactorSession) 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 (*WrappedPocketTransactorSession) DecreaseAllowance ¶
func (_WrappedPocket *WrappedPocketTransactorSession) 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 (*WrappedPocketTransactorSession) GrantRole ¶
func (_WrappedPocket *WrappedPocketTransactorSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.
Solidity: function grantRole(bytes32 role, address account) returns()
func (*WrappedPocketTransactorSession) IncreaseAllowance ¶
func (_WrappedPocket *WrappedPocketTransactorSession) 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 (*WrappedPocketTransactorSession) Mint ¶
func (_WrappedPocket *WrappedPocketTransactorSession) Mint(to common.Address, amount *big.Int, nonce *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x156e29f6.
Solidity: function mint(address to, uint256 amount, uint256 nonce) returns()
func (*WrappedPocketTransactorSession) Pause ¶
func (_WrappedPocket *WrappedPocketTransactorSession) Pause() (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*WrappedPocketTransactorSession) Permit ¶
func (_WrappedPocket *WrappedPocketTransactorSession) Permit(owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
Permit is a paid mutator transaction binding the contract method 0xd505accf.
Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()
func (*WrappedPocketTransactorSession) RenounceRole ¶
func (_WrappedPocket *WrappedPocketTransactorSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)
RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.
Solidity: function renounceRole(bytes32 role, address account) returns()
func (*WrappedPocketTransactorSession) RevokeRole ¶
func (_WrappedPocket *WrappedPocketTransactorSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.
Solidity: function revokeRole(bytes32 role, address account) returns()
func (*WrappedPocketTransactorSession) SetFee ¶
func (_WrappedPocket *WrappedPocketTransactorSession) SetFee(flag bool, newFee *big.Int, newCollector common.Address) (*types.Transaction, error)
SetFee is a paid mutator transaction binding the contract method 0xe11ee7c8.
Solidity: function setFee(bool flag, uint256 newFee, address newCollector) returns()
func (*WrappedPocketTransactorSession) Transfer ¶
func (_WrappedPocket *WrappedPocketTransactorSession) 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 (*WrappedPocketTransactorSession) TransferFrom ¶
func (_WrappedPocket *WrappedPocketTransactorSession) 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 (*WrappedPocketTransactorSession) Unpause ¶
func (_WrappedPocket *WrappedPocketTransactorSession) Unpause() (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns()
type WrappedPocketTransfer ¶
type WrappedPocketTransfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
WrappedPocketTransfer represents a Transfer event raised by the WrappedPocket contract.
type WrappedPocketTransferIterator ¶
type WrappedPocketTransferIterator struct { Event *WrappedPocketTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
WrappedPocketTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the WrappedPocket contract.
func (*WrappedPocketTransferIterator) Close ¶
func (it *WrappedPocketTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*WrappedPocketTransferIterator) Error ¶
func (it *WrappedPocketTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*WrappedPocketTransferIterator) Next ¶
func (it *WrappedPocketTransferIterator) 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 WrappedPocketUnpaused ¶
type WrappedPocketUnpaused struct { Account common.Address Raw types.Log // Blockchain specific contextual infos }
WrappedPocketUnpaused represents a Unpaused event raised by the WrappedPocket contract.
type WrappedPocketUnpausedIterator ¶
type WrappedPocketUnpausedIterator struct { Event *WrappedPocketUnpaused // Event containing the contract specifics and raw log // contains filtered or unexported fields }
WrappedPocketUnpausedIterator is returned from FilterUnpaused and is used to iterate over the raw logs and unpacked data for Unpaused events raised by the WrappedPocket contract.
func (*WrappedPocketUnpausedIterator) Close ¶
func (it *WrappedPocketUnpausedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*WrappedPocketUnpausedIterator) Error ¶
func (it *WrappedPocketUnpausedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*WrappedPocketUnpausedIterator) Next ¶
func (it *WrappedPocketUnpausedIterator) 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.