Documentation ¶
Overview ¶
Code generated by scapi/gen. DO NOT EDIT.
Index ¶
- Variables
- type AddedToWhitelistEvent
- type ApproveRootERC20Fn
- type BalanceOfChildERC1155Fn
- type BalanceOfRootERC1155Fn
- type BalanceOfRootERC20Fn
- type Checkpoint
- type CheckpointMetadata
- type ChildManagerRegisteredEvent
- type CommitEpochValidatorSetFn
- type CommitStateReceiverFn
- type DepositBatchRootERC1155PredicateFn
- type DepositBatchRootERC721PredicateFn
- type DepositToRootERC20PredicateFn
- type DistributeRewardForRewardPoolFn
- type Epoch
- type ExecuteStateReceiverFn
- type ExitExitHelperFn
- type GetCheckpointBlockCheckpointManagerFn
- type GetValidatorCustomSupernetManagerFn
- type InitializeCheckpointManagerFn
- type InitializeChildERC1155Fn
- type InitializeChildERC1155PredicateAccessListFn
- type InitializeChildERC1155PredicateFn
- type InitializeChildERC20PredicateAccessListFn
- type InitializeChildERC20PredicateFn
- type InitializeChildERC721Fn
- type InitializeChildERC721PredicateAccessListFn
- type InitializeChildERC721PredicateFn
- type InitializeCustomSupernetManagerFn
- type InitializeExitHelperFn
- type InitializeNativeERC20Fn
- type InitializeNativeERC20MintableFn
- type InitializeRewardPoolFn
- type InitializeRootERC1155PredicateFn
- type InitializeRootERC20PredicateFn
- type InitializeRootERC721PredicateFn
- type InitializeStakeManagerFn
- type InitializeValidatorSetFn
- type L2StateSyncedEvent
- type MintBatchRootERC1155Fn
- type MintRootERC20Fn
- type MintRootERC721Fn
- type NewCommitmentEvent
- type OwnerOfChildERC721Fn
- type RegisterChildChainStakeManagerFn
- type RegisterCustomSupernetManagerFn
- type ReleaseStakeOfStakeManagerFn
- type SetApprovalForAllRootERC1155Fn
- type SetApprovalForAllRootERC721Fn
- type StakeAddedEvent
- type StakeForStakeManagerFn
- type StakeOfStakeManagerFn
- type StakeWithdrawnEvent
- type StateSync
- type StateSyncCommitment
- type StateSyncResultEvent
- type StateSyncedEvent
- type StateTransactionInput
- type SubmitCheckpointManagerFn
- type SyncStateStateSenderFn
- type TransferEvent
- type UnstakeValidatorSetFn
- type Uptime
- type Validator
- type ValidatorInit
- type ValidatorRegisteredEvent
- type WhitelistValidatorsCustomSupernetManagerFn
- type WithdrawBatchChildERC1155PredicateAccessListFn
- type WithdrawBatchChildERC1155PredicateFn
- type WithdrawBatchChildERC721PredicateAccessListFn
- type WithdrawBatchChildERC721PredicateFn
- type WithdrawStakeStakeManagerFn
- type WithdrawToChildERC20PredicateAccessListFn
- type WithdrawToChildERC20PredicateFn
- type WithdrawalEvent
- type WithdrawalRegisteredEvent
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // core-contracts smart contracts CheckpointManager *artifact.Artifact ExitHelper *artifact.Artifact StateSender *artifact.Artifact RootERC20Predicate *artifact.Artifact RootERC721Predicate *artifact.Artifact RootERC1155Predicate *artifact.Artifact BLS *artifact.Artifact BLS256 *artifact.Artifact System *artifact.Artifact Merkle *artifact.Artifact ChildValidatorSet *artifact.Artifact NativeERC20 *artifact.Artifact NativeERC20Mintable *artifact.Artifact StateReceiver *artifact.Artifact ChildERC20 *artifact.Artifact ChildERC20Predicate *artifact.Artifact ChildERC20PredicateAccessList *artifact.Artifact ChildERC721 *artifact.Artifact ChildERC721Predicate *artifact.Artifact ChildERC721PredicateAccessList *artifact.Artifact ChildERC1155 *artifact.Artifact ChildERC1155Predicate *artifact.Artifact ChildERC1155PredicateAccessList *artifact.Artifact L2StateSender *artifact.Artifact CustomSupernetManager *artifact.Artifact StakeManager *artifact.Artifact RewardPool *artifact.Artifact ValidatorSet *artifact.Artifact RootERC721 *artifact.Artifact RootERC1155 *artifact.Artifact TestWriteBlockMetadata *artifact.Artifact RootERC20 *artifact.Artifact TestSimple *artifact.Artifact TestRewardToken *artifact.Artifact )
View Source
var BLSArtifact string = "" /* 53425-byte string literal not displayed */
View Source
var BN256G2Artifact string = "" /* 19182-byte string literal not displayed */
View Source
var CheckpointABIType = abi.MustNewType("tuple(uint256 epoch,uint256 blockNumber,bytes32 eventRoot)")
View Source
var CheckpointManagerArtifact string = "" /* 35019-byte string literal not displayed */
View Source
var CheckpointMetadataABIType = abi.MustNewType("tuple(bytes32 blockHash,uint256 blockRound,bytes32 currentValidatorSetHash)")
View Source
var ChildERC1155Artifact string = "" /* 59111-byte string literal not displayed */
View Source
var ChildERC1155PredicateAccessListArtifact string = "" /* 60949-byte string literal not displayed */
View Source
var ChildERC1155PredicateArtifact string = "" /* 48179-byte string literal not displayed */
View Source
var ChildERC20Artifact string = "" /* 37618-byte string literal not displayed */
View Source
var ChildERC20PredicateAccessListArtifact string = "" /* 44573-byte string literal not displayed */
View Source
var ChildERC20PredicateArtifact string = "" /* 32491-byte string literal not displayed */
View Source
var ChildERC721Artifact string = "" /* 51793-byte string literal not displayed */
View Source
var ChildERC721PredicateAccessListArtifact string = "" /* 59369-byte string literal not displayed */
View Source
var ChildERC721PredicateArtifact string = "" /* 46616-byte string literal not displayed */
View Source
var CustomSupernetManagerArtifact string = "" /* 44944-byte string literal not displayed */
View Source
var EpochABIType = abi.MustNewType("tuple(uint256 startBlock,uint256 endBlock,bytes32 epochRoot)")
View Source
var ExitHelperArtifact string = "" /* 15688-byte string literal not displayed */
View Source
var ( // GetCheckpointBlockABIResponse is the ABI type for getCheckpointBlock function return value GetCheckpointBlockABIResponse = abi.MustNewType("tuple(bool isFound, uint256 checkpointBlock)") )
View Source
var L2StateSenderArtifact string = "" /* 4791-byte string literal not displayed */
This is auto-generated file. DO NOT EDIT.
View Source
var MerkleArtifact string = "" /* 719-byte string literal not displayed */
View Source
var MockERC1155Artifact string = "" /* 61067-byte string literal not displayed */
View Source
var MockERC20Artifact string = "" /* 41917-byte string literal not displayed */
View Source
var MockERC721Artifact string = "" /* 56418-byte string literal not displayed */
View Source
var NativeERC20Artifact string = "" /* 31010-byte string literal not displayed */
View Source
var NativeERC20MintableArtifact string = "" /* 36596-byte string literal not displayed */
View Source
var RewardPoolArtifact string = "" /* 22771-byte string literal not displayed */
View Source
var RootERC1155PredicateArtifact string = "" /* 43429-byte string literal not displayed */
View Source
var RootERC20PredicateArtifact string = "" /* 28760-byte string literal not displayed */
View Source
var RootERC721PredicateArtifact string = "" /* 38353-byte string literal not displayed */
View Source
var StakeManagerArtifact string = "" /* 24288-byte string literal not displayed */
View Source
var StateReceiverArtifact string = "" /* 32484-byte string literal not displayed */
View Source
var StateSenderArtifact string = "" /* 4784-byte string literal not displayed */
View Source
var StateSyncABIType = abi.MustNewType("tuple(uint256 id,address sender,address receiver,bytes data)")
View Source
var StateSyncCommitmentABIType = abi.MustNewType("tuple(uint256 startId,uint256 endId,bytes32 root)")
View Source
var SystemArtifact string = "" /* 4483-byte string literal not displayed */
View Source
var UptimeABIType = abi.MustNewType("tuple(address validator,uint256 signedBlocks)")
View Source
var ValidatorABIType = abi.MustNewType("tuple(address _address,uint256[4] blsKey,uint256 votingPower)")
View Source
var ValidatorInitABIType = abi.MustNewType("tuple(address addr,uint256 stake)")
View Source
var ValidatorSetArtifact string = "" /* 53430-byte string literal not displayed */
Functions ¶
This section is empty.
Types ¶
type AddedToWhitelistEvent ¶ added in v0.8.1
func (*AddedToWhitelistEvent) Encode ¶ added in v0.8.1
func (*AddedToWhitelistEvent) Encode(inputs interface{}) ([]byte, error)
func (*AddedToWhitelistEvent) ParseLog ¶ added in v0.8.1
func (a *AddedToWhitelistEvent) ParseLog(log *ethgo.Log) (bool, error)
func (*AddedToWhitelistEvent) Sig ¶ added in v0.8.1
func (*AddedToWhitelistEvent) Sig() ethgo.Hash
type ApproveRootERC20Fn ¶ added in v0.8.1
type ApproveRootERC20Fn struct { Spender types.Address `abi:"spender"` Amount *big.Int `abi:"amount"` }
func (*ApproveRootERC20Fn) DecodeAbi ¶ added in v0.8.1
func (a *ApproveRootERC20Fn) DecodeAbi(buf []byte) error
func (*ApproveRootERC20Fn) EncodeAbi ¶ added in v0.8.1
func (a *ApproveRootERC20Fn) EncodeAbi() ([]byte, error)
func (*ApproveRootERC20Fn) Sig ¶ added in v0.8.1
func (a *ApproveRootERC20Fn) Sig() []byte
type BalanceOfChildERC1155Fn ¶ added in v0.9.0
type BalanceOfChildERC1155Fn struct { Account types.Address `abi:"account"` ID *big.Int `abi:"id"` }
func (*BalanceOfChildERC1155Fn) DecodeAbi ¶ added in v0.9.0
func (b *BalanceOfChildERC1155Fn) DecodeAbi(buf []byte) error
func (*BalanceOfChildERC1155Fn) EncodeAbi ¶ added in v0.9.0
func (b *BalanceOfChildERC1155Fn) EncodeAbi() ([]byte, error)
func (*BalanceOfChildERC1155Fn) Sig ¶ added in v0.9.0
func (b *BalanceOfChildERC1155Fn) Sig() []byte
type BalanceOfRootERC1155Fn ¶ added in v0.9.0
func (*BalanceOfRootERC1155Fn) DecodeAbi ¶ added in v0.9.0
func (b *BalanceOfRootERC1155Fn) DecodeAbi(buf []byte) error
func (*BalanceOfRootERC1155Fn) EncodeAbi ¶ added in v0.9.0
func (b *BalanceOfRootERC1155Fn) EncodeAbi() ([]byte, error)
func (*BalanceOfRootERC1155Fn) Sig ¶ added in v0.9.0
func (b *BalanceOfRootERC1155Fn) Sig() []byte
type BalanceOfRootERC20Fn ¶ added in v0.9.0
func (*BalanceOfRootERC20Fn) DecodeAbi ¶ added in v0.9.0
func (b *BalanceOfRootERC20Fn) DecodeAbi(buf []byte) error
func (*BalanceOfRootERC20Fn) EncodeAbi ¶ added in v0.9.0
func (b *BalanceOfRootERC20Fn) EncodeAbi() ([]byte, error)
func (*BalanceOfRootERC20Fn) Sig ¶ added in v0.9.0
func (b *BalanceOfRootERC20Fn) Sig() []byte
type Checkpoint ¶
type Checkpoint struct { Epoch *big.Int `abi:"epoch"` BlockNumber *big.Int `abi:"blockNumber"` EventRoot types.Hash `abi:"eventRoot"` }
func (*Checkpoint) DecodeAbi ¶
func (c *Checkpoint) DecodeAbi(buf []byte) error
func (*Checkpoint) EncodeAbi ¶
func (c *Checkpoint) EncodeAbi() ([]byte, error)
type CheckpointMetadata ¶
type CheckpointMetadata struct { BlockHash types.Hash `abi:"blockHash"` BlockRound *big.Int `abi:"blockRound"` CurrentValidatorSetHash types.Hash `abi:"currentValidatorSetHash"` }
func (*CheckpointMetadata) DecodeAbi ¶
func (c *CheckpointMetadata) DecodeAbi(buf []byte) error
func (*CheckpointMetadata) EncodeAbi ¶
func (c *CheckpointMetadata) EncodeAbi() ([]byte, error)
type ChildManagerRegisteredEvent ¶ added in v0.9.0
type ChildManagerRegisteredEvent struct { ID *big.Int `abi:"id"` Manager types.Address `abi:"manager"` }
func (*ChildManagerRegisteredEvent) Encode ¶ added in v0.9.0
func (*ChildManagerRegisteredEvent) Encode(inputs interface{}) ([]byte, error)
func (*ChildManagerRegisteredEvent) ParseLog ¶ added in v0.9.0
func (c *ChildManagerRegisteredEvent) ParseLog(log *ethgo.Log) (bool, error)
func (*ChildManagerRegisteredEvent) Sig ¶ added in v0.9.0
func (*ChildManagerRegisteredEvent) Sig() ethgo.Hash
type CommitEpochValidatorSetFn ¶ added in v0.9.0
func (*CommitEpochValidatorSetFn) DecodeAbi ¶ added in v0.9.0
func (c *CommitEpochValidatorSetFn) DecodeAbi(buf []byte) error
func (*CommitEpochValidatorSetFn) EncodeAbi ¶ added in v0.9.0
func (c *CommitEpochValidatorSetFn) EncodeAbi() ([]byte, error)
func (*CommitEpochValidatorSetFn) Sig ¶ added in v0.9.0
func (c *CommitEpochValidatorSetFn) Sig() []byte
type CommitStateReceiverFn ¶ added in v0.8.1
type CommitStateReceiverFn struct { Commitment *StateSyncCommitment `abi:"commitment"` Signature []byte `abi:"signature"` Bitmap []byte `abi:"bitmap"` }
func (*CommitStateReceiverFn) DecodeAbi ¶ added in v0.8.1
func (c *CommitStateReceiverFn) DecodeAbi(buf []byte) error
func (*CommitStateReceiverFn) EncodeAbi ¶ added in v0.8.1
func (c *CommitStateReceiverFn) EncodeAbi() ([]byte, error)
func (*CommitStateReceiverFn) Sig ¶ added in v0.8.1
func (c *CommitStateReceiverFn) Sig() []byte
type DepositBatchRootERC1155PredicateFn ¶ added in v0.9.0
type DepositBatchRootERC1155PredicateFn struct { RootToken types.Address `abi:"rootToken"` Receivers []ethgo.Address `abi:"receivers"` TokenIDs []*big.Int `abi:"tokenIds"` Amounts []*big.Int `abi:"amounts"` }
func (*DepositBatchRootERC1155PredicateFn) DecodeAbi ¶ added in v0.9.0
func (d *DepositBatchRootERC1155PredicateFn) DecodeAbi(buf []byte) error
func (*DepositBatchRootERC1155PredicateFn) EncodeAbi ¶ added in v0.9.0
func (d *DepositBatchRootERC1155PredicateFn) EncodeAbi() ([]byte, error)
func (*DepositBatchRootERC1155PredicateFn) Sig ¶ added in v0.9.0
func (d *DepositBatchRootERC1155PredicateFn) Sig() []byte
type DepositBatchRootERC721PredicateFn ¶ added in v0.9.0
type DepositBatchRootERC721PredicateFn struct { RootToken types.Address `abi:"rootToken"` Receivers []ethgo.Address `abi:"receivers"` TokenIDs []*big.Int `abi:"tokenIds"` }
func (*DepositBatchRootERC721PredicateFn) DecodeAbi ¶ added in v0.9.0
func (d *DepositBatchRootERC721PredicateFn) DecodeAbi(buf []byte) error
func (*DepositBatchRootERC721PredicateFn) EncodeAbi ¶ added in v0.9.0
func (d *DepositBatchRootERC721PredicateFn) EncodeAbi() ([]byte, error)
func (*DepositBatchRootERC721PredicateFn) Sig ¶ added in v0.9.0
func (d *DepositBatchRootERC721PredicateFn) Sig() []byte
type DepositToRootERC20PredicateFn ¶ added in v0.8.1
type DepositToRootERC20PredicateFn struct { RootToken types.Address `abi:"rootToken"` Receiver types.Address `abi:"receiver"` Amount *big.Int `abi:"amount"` }
func (*DepositToRootERC20PredicateFn) DecodeAbi ¶ added in v0.8.1
func (d *DepositToRootERC20PredicateFn) DecodeAbi(buf []byte) error
func (*DepositToRootERC20PredicateFn) EncodeAbi ¶ added in v0.8.1
func (d *DepositToRootERC20PredicateFn) EncodeAbi() ([]byte, error)
func (*DepositToRootERC20PredicateFn) Sig ¶ added in v0.8.1
func (d *DepositToRootERC20PredicateFn) Sig() []byte
type DistributeRewardForRewardPoolFn ¶ added in v0.9.0
type DistributeRewardForRewardPoolFn struct { EpochID *big.Int `abi:"epochId"` Uptime []*Uptime `abi:"uptime"` }
func (*DistributeRewardForRewardPoolFn) DecodeAbi ¶ added in v0.9.0
func (d *DistributeRewardForRewardPoolFn) DecodeAbi(buf []byte) error
func (*DistributeRewardForRewardPoolFn) EncodeAbi ¶ added in v0.9.0
func (d *DistributeRewardForRewardPoolFn) EncodeAbi() ([]byte, error)
func (*DistributeRewardForRewardPoolFn) Sig ¶ added in v0.9.0
func (d *DistributeRewardForRewardPoolFn) Sig() []byte
type Epoch ¶
type ExecuteStateReceiverFn ¶ added in v0.8.1
func (*ExecuteStateReceiverFn) DecodeAbi ¶ added in v0.8.1
func (e *ExecuteStateReceiverFn) DecodeAbi(buf []byte) error
func (*ExecuteStateReceiverFn) EncodeAbi ¶ added in v0.8.1
func (e *ExecuteStateReceiverFn) EncodeAbi() ([]byte, error)
func (*ExecuteStateReceiverFn) Sig ¶ added in v0.8.1
func (e *ExecuteStateReceiverFn) Sig() []byte
type ExitExitHelperFn ¶ added in v0.8.1
type ExitExitHelperFn struct { BlockNumber *big.Int `abi:"blockNumber"` LeafIndex *big.Int `abi:"leafIndex"` UnhashedLeaf []byte `abi:"unhashedLeaf"` Proof []types.Hash `abi:"proof"` }
func (*ExitExitHelperFn) DecodeAbi ¶ added in v0.8.1
func (e *ExitExitHelperFn) DecodeAbi(buf []byte) error
func (*ExitExitHelperFn) EncodeAbi ¶ added in v0.8.1
func (e *ExitExitHelperFn) EncodeAbi() ([]byte, error)
func (*ExitExitHelperFn) Sig ¶ added in v0.8.1
func (e *ExitExitHelperFn) Sig() []byte
type GetCheckpointBlockCheckpointManagerFn ¶ added in v0.8.1
func (*GetCheckpointBlockCheckpointManagerFn) DecodeAbi ¶ added in v0.8.1
func (g *GetCheckpointBlockCheckpointManagerFn) DecodeAbi(buf []byte) error
func (*GetCheckpointBlockCheckpointManagerFn) EncodeAbi ¶ added in v0.8.1
func (g *GetCheckpointBlockCheckpointManagerFn) EncodeAbi() ([]byte, error)
func (*GetCheckpointBlockCheckpointManagerFn) Sig ¶ added in v0.8.1
func (g *GetCheckpointBlockCheckpointManagerFn) Sig() []byte
type GetValidatorCustomSupernetManagerFn ¶ added in v0.9.0
func (*GetValidatorCustomSupernetManagerFn) DecodeAbi ¶ added in v0.9.0
func (g *GetValidatorCustomSupernetManagerFn) DecodeAbi(buf []byte) error
func (*GetValidatorCustomSupernetManagerFn) EncodeAbi ¶ added in v0.9.0
func (g *GetValidatorCustomSupernetManagerFn) EncodeAbi() ([]byte, error)
func (*GetValidatorCustomSupernetManagerFn) Sig ¶ added in v0.9.0
func (g *GetValidatorCustomSupernetManagerFn) Sig() []byte
type InitializeCheckpointManagerFn ¶ added in v0.8.1
type InitializeCheckpointManagerFn struct { NewBls types.Address `abi:"newBls"` NewBn256G2 types.Address `abi:"newBn256G2"` ChainID_ *big.Int `abi:"chainId_"` NewValidatorSet []*Validator `abi:"newValidatorSet"` }
func (*InitializeCheckpointManagerFn) DecodeAbi ¶ added in v0.8.1
func (i *InitializeCheckpointManagerFn) DecodeAbi(buf []byte) error
func (*InitializeCheckpointManagerFn) EncodeAbi ¶ added in v0.8.1
func (i *InitializeCheckpointManagerFn) EncodeAbi() ([]byte, error)
func (*InitializeCheckpointManagerFn) Sig ¶ added in v0.8.1
func (i *InitializeCheckpointManagerFn) Sig() []byte
type InitializeChildERC1155Fn ¶ added in v0.9.0
type InitializeChildERC1155Fn struct { RootToken_ types.Address `abi:"rootToken_"` Uri_ string `abi:"uri_"` }
func (*InitializeChildERC1155Fn) DecodeAbi ¶ added in v0.9.0
func (i *InitializeChildERC1155Fn) DecodeAbi(buf []byte) error
func (*InitializeChildERC1155Fn) EncodeAbi ¶ added in v0.9.0
func (i *InitializeChildERC1155Fn) EncodeAbi() ([]byte, error)
func (*InitializeChildERC1155Fn) Sig ¶ added in v0.9.0
func (i *InitializeChildERC1155Fn) Sig() []byte
type InitializeChildERC1155PredicateAccessListFn ¶ added in v0.9.0
type InitializeChildERC1155PredicateAccessListFn struct { NewL2StateSender types.Address `abi:"newL2StateSender"` NewStateReceiver types.Address `abi:"newStateReceiver"` NewRootERC1155Predicate types.Address `abi:"newRootERC1155Predicate"` NewChildTokenTemplate types.Address `abi:"newChildTokenTemplate"` UseAllowList bool `abi:"useAllowList"` UseBlockList bool `abi:"useBlockList"` NewOwner types.Address `abi:"newOwner"` }
func (*InitializeChildERC1155PredicateAccessListFn) DecodeAbi ¶ added in v0.9.0
func (i *InitializeChildERC1155PredicateAccessListFn) DecodeAbi(buf []byte) error
func (*InitializeChildERC1155PredicateAccessListFn) EncodeAbi ¶ added in v0.9.0
func (i *InitializeChildERC1155PredicateAccessListFn) EncodeAbi() ([]byte, error)
func (*InitializeChildERC1155PredicateAccessListFn) Sig ¶ added in v0.9.0
func (i *InitializeChildERC1155PredicateAccessListFn) Sig() []byte
type InitializeChildERC1155PredicateFn ¶ added in v0.9.0
type InitializeChildERC1155PredicateFn struct { NewL2StateSender types.Address `abi:"newL2StateSender"` NewStateReceiver types.Address `abi:"newStateReceiver"` NewRootERC1155Predicate types.Address `abi:"newRootERC1155Predicate"` NewChildTokenTemplate types.Address `abi:"newChildTokenTemplate"` }
func (*InitializeChildERC1155PredicateFn) DecodeAbi ¶ added in v0.9.0
func (i *InitializeChildERC1155PredicateFn) DecodeAbi(buf []byte) error
func (*InitializeChildERC1155PredicateFn) EncodeAbi ¶ added in v0.9.0
func (i *InitializeChildERC1155PredicateFn) EncodeAbi() ([]byte, error)
func (*InitializeChildERC1155PredicateFn) Sig ¶ added in v0.9.0
func (i *InitializeChildERC1155PredicateFn) Sig() []byte
type InitializeChildERC20PredicateAccessListFn ¶ added in v0.9.0
type InitializeChildERC20PredicateAccessListFn struct { NewL2StateSender types.Address `abi:"newL2StateSender"` NewStateReceiver types.Address `abi:"newStateReceiver"` NewRootERC20Predicate types.Address `abi:"newRootERC20Predicate"` NewChildTokenTemplate types.Address `abi:"newChildTokenTemplate"` NewNativeTokenRootAddress types.Address `abi:"newNativeTokenRootAddress"` UseAllowList bool `abi:"useAllowList"` UseBlockList bool `abi:"useBlockList"` NewOwner types.Address `abi:"newOwner"` }
func (*InitializeChildERC20PredicateAccessListFn) DecodeAbi ¶ added in v0.9.0
func (i *InitializeChildERC20PredicateAccessListFn) DecodeAbi(buf []byte) error
func (*InitializeChildERC20PredicateAccessListFn) EncodeAbi ¶ added in v0.9.0
func (i *InitializeChildERC20PredicateAccessListFn) EncodeAbi() ([]byte, error)
func (*InitializeChildERC20PredicateAccessListFn) Sig ¶ added in v0.9.0
func (i *InitializeChildERC20PredicateAccessListFn) Sig() []byte
type InitializeChildERC20PredicateFn ¶ added in v0.8.1
type InitializeChildERC20PredicateFn struct { NewL2StateSender types.Address `abi:"newL2StateSender"` NewStateReceiver types.Address `abi:"newStateReceiver"` NewRootERC20Predicate types.Address `abi:"newRootERC20Predicate"` NewChildTokenTemplate types.Address `abi:"newChildTokenTemplate"` NewNativeTokenRootAddress types.Address `abi:"newNativeTokenRootAddress"` }
func (*InitializeChildERC20PredicateFn) DecodeAbi ¶ added in v0.8.1
func (i *InitializeChildERC20PredicateFn) DecodeAbi(buf []byte) error
func (*InitializeChildERC20PredicateFn) EncodeAbi ¶ added in v0.8.1
func (i *InitializeChildERC20PredicateFn) EncodeAbi() ([]byte, error)
func (*InitializeChildERC20PredicateFn) Sig ¶ added in v0.8.1
func (i *InitializeChildERC20PredicateFn) Sig() []byte
type InitializeChildERC721Fn ¶ added in v0.9.0
type InitializeChildERC721Fn struct { RootToken_ types.Address `abi:"rootToken_"` Name_ string `abi:"name_"` Symbol_ string `abi:"symbol_"` }
func (*InitializeChildERC721Fn) DecodeAbi ¶ added in v0.9.0
func (i *InitializeChildERC721Fn) DecodeAbi(buf []byte) error
func (*InitializeChildERC721Fn) EncodeAbi ¶ added in v0.9.0
func (i *InitializeChildERC721Fn) EncodeAbi() ([]byte, error)
func (*InitializeChildERC721Fn) Sig ¶ added in v0.9.0
func (i *InitializeChildERC721Fn) Sig() []byte
type InitializeChildERC721PredicateAccessListFn ¶ added in v0.9.0
type InitializeChildERC721PredicateAccessListFn struct { NewL2StateSender types.Address `abi:"newL2StateSender"` NewStateReceiver types.Address `abi:"newStateReceiver"` NewRootERC721Predicate types.Address `abi:"newRootERC721Predicate"` NewChildTokenTemplate types.Address `abi:"newChildTokenTemplate"` UseAllowList bool `abi:"useAllowList"` UseBlockList bool `abi:"useBlockList"` NewOwner types.Address `abi:"newOwner"` }
func (*InitializeChildERC721PredicateAccessListFn) DecodeAbi ¶ added in v0.9.0
func (i *InitializeChildERC721PredicateAccessListFn) DecodeAbi(buf []byte) error
func (*InitializeChildERC721PredicateAccessListFn) EncodeAbi ¶ added in v0.9.0
func (i *InitializeChildERC721PredicateAccessListFn) EncodeAbi() ([]byte, error)
func (*InitializeChildERC721PredicateAccessListFn) Sig ¶ added in v0.9.0
func (i *InitializeChildERC721PredicateAccessListFn) Sig() []byte
type InitializeChildERC721PredicateFn ¶ added in v0.9.0
type InitializeChildERC721PredicateFn struct { NewL2StateSender types.Address `abi:"newL2StateSender"` NewStateReceiver types.Address `abi:"newStateReceiver"` NewRootERC721Predicate types.Address `abi:"newRootERC721Predicate"` NewChildTokenTemplate types.Address `abi:"newChildTokenTemplate"` }
func (*InitializeChildERC721PredicateFn) DecodeAbi ¶ added in v0.9.0
func (i *InitializeChildERC721PredicateFn) DecodeAbi(buf []byte) error
func (*InitializeChildERC721PredicateFn) EncodeAbi ¶ added in v0.9.0
func (i *InitializeChildERC721PredicateFn) EncodeAbi() ([]byte, error)
func (*InitializeChildERC721PredicateFn) Sig ¶ added in v0.9.0
func (i *InitializeChildERC721PredicateFn) Sig() []byte
type InitializeCustomSupernetManagerFn ¶ added in v0.9.0
type InitializeCustomSupernetManagerFn struct { StakeManager types.Address `abi:"stakeManager"` Bls types.Address `abi:"bls"` StateSender types.Address `abi:"stateSender"` Matic types.Address `abi:"matic"` ChildValidatorSet types.Address `abi:"childValidatorSet"` ExitHelper types.Address `abi:"exitHelper"` Domain string `abi:"domain"` }
func (*InitializeCustomSupernetManagerFn) DecodeAbi ¶ added in v0.9.0
func (i *InitializeCustomSupernetManagerFn) DecodeAbi(buf []byte) error
func (*InitializeCustomSupernetManagerFn) EncodeAbi ¶ added in v0.9.0
func (i *InitializeCustomSupernetManagerFn) EncodeAbi() ([]byte, error)
func (*InitializeCustomSupernetManagerFn) Sig ¶ added in v0.9.0
func (i *InitializeCustomSupernetManagerFn) Sig() []byte
type InitializeExitHelperFn ¶ added in v0.9.0
type InitializeExitHelperFn struct {
NewCheckpointManager types.Address `abi:"newCheckpointManager"`
}
func (*InitializeExitHelperFn) DecodeAbi ¶ added in v0.9.0
func (i *InitializeExitHelperFn) DecodeAbi(buf []byte) error
func (*InitializeExitHelperFn) EncodeAbi ¶ added in v0.9.0
func (i *InitializeExitHelperFn) EncodeAbi() ([]byte, error)
func (*InitializeExitHelperFn) Sig ¶ added in v0.9.0
func (i *InitializeExitHelperFn) Sig() []byte
type InitializeNativeERC20Fn ¶ added in v0.8.1
type InitializeNativeERC20Fn struct { Predicate_ types.Address `abi:"predicate_"` RootToken_ types.Address `abi:"rootToken_"` Name_ string `abi:"name_"` Symbol_ string `abi:"symbol_"` Decimals_ uint8 `abi:"decimals_"` }
func (*InitializeNativeERC20Fn) DecodeAbi ¶ added in v0.8.1
func (i *InitializeNativeERC20Fn) DecodeAbi(buf []byte) error
func (*InitializeNativeERC20Fn) EncodeAbi ¶ added in v0.8.1
func (i *InitializeNativeERC20Fn) EncodeAbi() ([]byte, error)
func (*InitializeNativeERC20Fn) Sig ¶ added in v0.8.1
func (i *InitializeNativeERC20Fn) Sig() []byte
type InitializeNativeERC20MintableFn ¶ added in v0.8.1
type InitializeNativeERC20MintableFn struct { Predicate_ types.Address `abi:"predicate_"` Owner_ types.Address `abi:"owner_"` RootToken_ types.Address `abi:"rootToken_"` Name_ string `abi:"name_"` Symbol_ string `abi:"symbol_"` Decimals_ uint8 `abi:"decimals_"` }
func (*InitializeNativeERC20MintableFn) DecodeAbi ¶ added in v0.8.1
func (i *InitializeNativeERC20MintableFn) DecodeAbi(buf []byte) error
func (*InitializeNativeERC20MintableFn) EncodeAbi ¶ added in v0.8.1
func (i *InitializeNativeERC20MintableFn) EncodeAbi() ([]byte, error)
func (*InitializeNativeERC20MintableFn) Sig ¶ added in v0.8.1
func (i *InitializeNativeERC20MintableFn) Sig() []byte
type InitializeRewardPoolFn ¶ added in v0.9.0
type InitializeRewardPoolFn struct { RewardToken types.Address `abi:"rewardToken"` RewardWallet types.Address `abi:"rewardWallet"` ValidatorSet types.Address `abi:"validatorSet"` BaseReward *big.Int `abi:"baseReward"` }
func (*InitializeRewardPoolFn) DecodeAbi ¶ added in v0.9.0
func (i *InitializeRewardPoolFn) DecodeAbi(buf []byte) error
func (*InitializeRewardPoolFn) EncodeAbi ¶ added in v0.9.0
func (i *InitializeRewardPoolFn) EncodeAbi() ([]byte, error)
func (*InitializeRewardPoolFn) Sig ¶ added in v0.9.0
func (i *InitializeRewardPoolFn) Sig() []byte
type InitializeRootERC1155PredicateFn ¶ added in v0.9.0
type InitializeRootERC1155PredicateFn struct { NewStateSender types.Address `abi:"newStateSender"` NewExitHelper types.Address `abi:"newExitHelper"` NewChildERC1155Predicate types.Address `abi:"newChildERC1155Predicate"` NewChildTokenTemplate types.Address `abi:"newChildTokenTemplate"` }
func (*InitializeRootERC1155PredicateFn) DecodeAbi ¶ added in v0.9.0
func (i *InitializeRootERC1155PredicateFn) DecodeAbi(buf []byte) error
func (*InitializeRootERC1155PredicateFn) EncodeAbi ¶ added in v0.9.0
func (i *InitializeRootERC1155PredicateFn) EncodeAbi() ([]byte, error)
func (*InitializeRootERC1155PredicateFn) Sig ¶ added in v0.9.0
func (i *InitializeRootERC1155PredicateFn) Sig() []byte
type InitializeRootERC20PredicateFn ¶ added in v0.8.1
type InitializeRootERC20PredicateFn struct { NewStateSender types.Address `abi:"newStateSender"` NewExitHelper types.Address `abi:"newExitHelper"` NewChildERC20Predicate types.Address `abi:"newChildERC20Predicate"` NewChildTokenTemplate types.Address `abi:"newChildTokenTemplate"` NativeTokenRootAddress types.Address `abi:"nativeTokenRootAddress"` }
func (*InitializeRootERC20PredicateFn) DecodeAbi ¶ added in v0.8.1
func (i *InitializeRootERC20PredicateFn) DecodeAbi(buf []byte) error
func (*InitializeRootERC20PredicateFn) EncodeAbi ¶ added in v0.8.1
func (i *InitializeRootERC20PredicateFn) EncodeAbi() ([]byte, error)
func (*InitializeRootERC20PredicateFn) Sig ¶ added in v0.8.1
func (i *InitializeRootERC20PredicateFn) Sig() []byte
type InitializeRootERC721PredicateFn ¶ added in v0.9.0
type InitializeRootERC721PredicateFn struct { NewStateSender types.Address `abi:"newStateSender"` NewExitHelper types.Address `abi:"newExitHelper"` NewChildERC721Predicate types.Address `abi:"newChildERC721Predicate"` NewChildTokenTemplate types.Address `abi:"newChildTokenTemplate"` }
func (*InitializeRootERC721PredicateFn) DecodeAbi ¶ added in v0.9.0
func (i *InitializeRootERC721PredicateFn) DecodeAbi(buf []byte) error
func (*InitializeRootERC721PredicateFn) EncodeAbi ¶ added in v0.9.0
func (i *InitializeRootERC721PredicateFn) EncodeAbi() ([]byte, error)
func (*InitializeRootERC721PredicateFn) Sig ¶ added in v0.9.0
func (i *InitializeRootERC721PredicateFn) Sig() []byte
type InitializeStakeManagerFn ¶ added in v0.9.0
func (*InitializeStakeManagerFn) DecodeAbi ¶ added in v0.9.0
func (i *InitializeStakeManagerFn) DecodeAbi(buf []byte) error
func (*InitializeStakeManagerFn) EncodeAbi ¶ added in v0.9.0
func (i *InitializeStakeManagerFn) EncodeAbi() ([]byte, error)
func (*InitializeStakeManagerFn) Sig ¶ added in v0.9.0
func (i *InitializeStakeManagerFn) Sig() []byte
type InitializeValidatorSetFn ¶ added in v0.9.0
type InitializeValidatorSetFn struct { StateSender types.Address `abi:"stateSender"` StateReceiver types.Address `abi:"stateReceiver"` RootChainManager types.Address `abi:"rootChainManager"` EpochSize_ *big.Int `abi:"epochSize_"` InitalValidators []*ValidatorInit `abi:"initalValidators"` }
func (*InitializeValidatorSetFn) DecodeAbi ¶ added in v0.9.0
func (i *InitializeValidatorSetFn) DecodeAbi(buf []byte) error
func (*InitializeValidatorSetFn) EncodeAbi ¶ added in v0.9.0
func (i *InitializeValidatorSetFn) EncodeAbi() ([]byte, error)
func (*InitializeValidatorSetFn) Sig ¶ added in v0.9.0
func (i *InitializeValidatorSetFn) Sig() []byte
type L2StateSyncedEvent ¶
type L2StateSyncedEvent struct { ID *big.Int `abi:"id"` Sender types.Address `abi:"sender"` Receiver types.Address `abi:"receiver"` Data []byte `abi:"data"` }
func (*L2StateSyncedEvent) Encode ¶ added in v0.8.1
func (*L2StateSyncedEvent) Encode(inputs interface{}) ([]byte, error)
func (*L2StateSyncedEvent) ParseLog ¶
func (l *L2StateSyncedEvent) ParseLog(log *ethgo.Log) (bool, error)
func (*L2StateSyncedEvent) Sig ¶ added in v0.8.1
func (*L2StateSyncedEvent) Sig() ethgo.Hash
type MintBatchRootERC1155Fn ¶ added in v0.9.0
type MintBatchRootERC1155Fn struct { To types.Address `abi:"to"` IDs []*big.Int `abi:"ids"` Amounts []*big.Int `abi:"amounts"` Data []byte `abi:"data"` }
func (*MintBatchRootERC1155Fn) DecodeAbi ¶ added in v0.9.0
func (m *MintBatchRootERC1155Fn) DecodeAbi(buf []byte) error
func (*MintBatchRootERC1155Fn) EncodeAbi ¶ added in v0.9.0
func (m *MintBatchRootERC1155Fn) EncodeAbi() ([]byte, error)
func (*MintBatchRootERC1155Fn) Sig ¶ added in v0.9.0
func (m *MintBatchRootERC1155Fn) Sig() []byte
type MintRootERC20Fn ¶ added in v0.8.1
func (*MintRootERC20Fn) DecodeAbi ¶ added in v0.8.1
func (m *MintRootERC20Fn) DecodeAbi(buf []byte) error
func (*MintRootERC20Fn) EncodeAbi ¶ added in v0.8.1
func (m *MintRootERC20Fn) EncodeAbi() ([]byte, error)
func (*MintRootERC20Fn) Sig ¶ added in v0.8.1
func (m *MintRootERC20Fn) Sig() []byte
type MintRootERC721Fn ¶ added in v0.9.0
func (*MintRootERC721Fn) DecodeAbi ¶ added in v0.9.0
func (m *MintRootERC721Fn) DecodeAbi(buf []byte) error
func (*MintRootERC721Fn) EncodeAbi ¶ added in v0.9.0
func (m *MintRootERC721Fn) EncodeAbi() ([]byte, error)
func (*MintRootERC721Fn) Sig ¶ added in v0.9.0
func (m *MintRootERC721Fn) Sig() []byte
type NewCommitmentEvent ¶
type NewCommitmentEvent struct { StartID *big.Int `abi:"startId"` EndID *big.Int `abi:"endId"` Root types.Hash `abi:"root"` }
func (*NewCommitmentEvent) Encode ¶ added in v0.8.1
func (*NewCommitmentEvent) Encode(inputs interface{}) ([]byte, error)
func (*NewCommitmentEvent) ParseLog ¶
func (n *NewCommitmentEvent) ParseLog(log *ethgo.Log) (bool, error)
func (*NewCommitmentEvent) Sig ¶ added in v0.8.1
func (*NewCommitmentEvent) Sig() ethgo.Hash
type OwnerOfChildERC721Fn ¶ added in v0.9.0
func (*OwnerOfChildERC721Fn) DecodeAbi ¶ added in v0.9.0
func (o *OwnerOfChildERC721Fn) DecodeAbi(buf []byte) error
func (*OwnerOfChildERC721Fn) EncodeAbi ¶ added in v0.9.0
func (o *OwnerOfChildERC721Fn) EncodeAbi() ([]byte, error)
func (*OwnerOfChildERC721Fn) Sig ¶ added in v0.9.0
func (o *OwnerOfChildERC721Fn) Sig() []byte
type RegisterChildChainStakeManagerFn ¶ added in v0.9.0
func (*RegisterChildChainStakeManagerFn) DecodeAbi ¶ added in v0.9.0
func (r *RegisterChildChainStakeManagerFn) DecodeAbi(buf []byte) error
func (*RegisterChildChainStakeManagerFn) EncodeAbi ¶ added in v0.9.0
func (r *RegisterChildChainStakeManagerFn) EncodeAbi() ([]byte, error)
func (*RegisterChildChainStakeManagerFn) Sig ¶ added in v0.9.0
func (r *RegisterChildChainStakeManagerFn) Sig() []byte
type RegisterCustomSupernetManagerFn ¶ added in v0.9.0
type RegisterCustomSupernetManagerFn struct { Signature [2]*big.Int `abi:"signature"` Pubkey [4]*big.Int `abi:"pubkey"` }
func (*RegisterCustomSupernetManagerFn) DecodeAbi ¶ added in v0.9.0
func (r *RegisterCustomSupernetManagerFn) DecodeAbi(buf []byte) error
func (*RegisterCustomSupernetManagerFn) EncodeAbi ¶ added in v0.9.0
func (r *RegisterCustomSupernetManagerFn) EncodeAbi() ([]byte, error)
func (*RegisterCustomSupernetManagerFn) Sig ¶ added in v0.9.0
func (r *RegisterCustomSupernetManagerFn) Sig() []byte
type ReleaseStakeOfStakeManagerFn ¶ added in v0.9.0
type ReleaseStakeOfStakeManagerFn struct { Validator types.Address `abi:"validator"` Amount *big.Int `abi:"amount"` }
func (*ReleaseStakeOfStakeManagerFn) DecodeAbi ¶ added in v0.9.0
func (r *ReleaseStakeOfStakeManagerFn) DecodeAbi(buf []byte) error
func (*ReleaseStakeOfStakeManagerFn) EncodeAbi ¶ added in v0.9.0
func (r *ReleaseStakeOfStakeManagerFn) EncodeAbi() ([]byte, error)
func (*ReleaseStakeOfStakeManagerFn) Sig ¶ added in v0.9.0
func (r *ReleaseStakeOfStakeManagerFn) Sig() []byte
type SetApprovalForAllRootERC1155Fn ¶ added in v0.9.0
type SetApprovalForAllRootERC1155Fn struct { Operator types.Address `abi:"operator"` Approved bool `abi:"approved"` }
func (*SetApprovalForAllRootERC1155Fn) DecodeAbi ¶ added in v0.9.0
func (s *SetApprovalForAllRootERC1155Fn) DecodeAbi(buf []byte) error
func (*SetApprovalForAllRootERC1155Fn) EncodeAbi ¶ added in v0.9.0
func (s *SetApprovalForAllRootERC1155Fn) EncodeAbi() ([]byte, error)
func (*SetApprovalForAllRootERC1155Fn) Sig ¶ added in v0.9.0
func (s *SetApprovalForAllRootERC1155Fn) Sig() []byte
type SetApprovalForAllRootERC721Fn ¶ added in v0.9.0
type SetApprovalForAllRootERC721Fn struct { Operator types.Address `abi:"operator"` Approved bool `abi:"approved"` }
func (*SetApprovalForAllRootERC721Fn) DecodeAbi ¶ added in v0.9.0
func (s *SetApprovalForAllRootERC721Fn) DecodeAbi(buf []byte) error
func (*SetApprovalForAllRootERC721Fn) EncodeAbi ¶ added in v0.9.0
func (s *SetApprovalForAllRootERC721Fn) EncodeAbi() ([]byte, error)
func (*SetApprovalForAllRootERC721Fn) Sig ¶ added in v0.9.0
func (s *SetApprovalForAllRootERC721Fn) Sig() []byte
type StakeAddedEvent ¶ added in v0.9.0
type StakeAddedEvent struct { ID *big.Int `abi:"id"` Validator types.Address `abi:"validator"` Amount *big.Int `abi:"amount"` }
func (*StakeAddedEvent) Encode ¶ added in v0.9.0
func (*StakeAddedEvent) Encode(inputs interface{}) ([]byte, error)
func (*StakeAddedEvent) ParseLog ¶ added in v0.9.0
func (s *StakeAddedEvent) ParseLog(log *ethgo.Log) (bool, error)
func (*StakeAddedEvent) Sig ¶ added in v0.9.0
func (*StakeAddedEvent) Sig() ethgo.Hash
type StakeForStakeManagerFn ¶ added in v0.9.0
func (*StakeForStakeManagerFn) DecodeAbi ¶ added in v0.9.0
func (s *StakeForStakeManagerFn) DecodeAbi(buf []byte) error
func (*StakeForStakeManagerFn) EncodeAbi ¶ added in v0.9.0
func (s *StakeForStakeManagerFn) EncodeAbi() ([]byte, error)
func (*StakeForStakeManagerFn) Sig ¶ added in v0.9.0
func (s *StakeForStakeManagerFn) Sig() []byte
type StakeOfStakeManagerFn ¶ added in v0.9.0
type StakeOfStakeManagerFn struct { Validator types.Address `abi:"validator"` ID *big.Int `abi:"id"` }
func (*StakeOfStakeManagerFn) DecodeAbi ¶ added in v0.9.0
func (s *StakeOfStakeManagerFn) DecodeAbi(buf []byte) error
func (*StakeOfStakeManagerFn) EncodeAbi ¶ added in v0.9.0
func (s *StakeOfStakeManagerFn) EncodeAbi() ([]byte, error)
func (*StakeOfStakeManagerFn) Sig ¶ added in v0.9.0
func (s *StakeOfStakeManagerFn) Sig() []byte
type StakeWithdrawnEvent ¶ added in v0.9.0
type StakeWithdrawnEvent struct { Validator types.Address `abi:"validator"` Recipient types.Address `abi:"recipient"` Amount *big.Int `abi:"amount"` }
func (*StakeWithdrawnEvent) Encode ¶ added in v0.9.0
func (*StakeWithdrawnEvent) Encode(inputs interface{}) ([]byte, error)
func (*StakeWithdrawnEvent) ParseLog ¶ added in v0.9.0
func (s *StakeWithdrawnEvent) ParseLog(log *ethgo.Log) (bool, error)
func (*StakeWithdrawnEvent) Sig ¶ added in v0.9.0
func (*StakeWithdrawnEvent) Sig() ethgo.Hash
type StateSync ¶
type StateSyncCommitment ¶
type StateSyncCommitment struct { StartID *big.Int `abi:"startId"` EndID *big.Int `abi:"endId"` Root types.Hash `abi:"root"` }
func (*StateSyncCommitment) DecodeAbi ¶
func (s *StateSyncCommitment) DecodeAbi(buf []byte) error
func (*StateSyncCommitment) EncodeAbi ¶
func (s *StateSyncCommitment) EncodeAbi() ([]byte, error)
type StateSyncResultEvent ¶
type StateSyncResultEvent struct { Counter *big.Int `abi:"counter"` Status bool `abi:"status"` Message []byte `abi:"message"` }
func (*StateSyncResultEvent) Encode ¶ added in v0.8.1
func (*StateSyncResultEvent) Encode(inputs interface{}) ([]byte, error)
func (*StateSyncResultEvent) ParseLog ¶
func (s *StateSyncResultEvent) ParseLog(log *ethgo.Log) (bool, error)
func (*StateSyncResultEvent) Sig ¶ added in v0.8.1
func (*StateSyncResultEvent) Sig() ethgo.Hash
type StateSyncedEvent ¶
type StateSyncedEvent struct { ID *big.Int `abi:"id"` Sender types.Address `abi:"sender"` Receiver types.Address `abi:"receiver"` Data []byte `abi:"data"` }
func (*StateSyncedEvent) Encode ¶ added in v0.8.1
func (*StateSyncedEvent) Encode(inputs interface{}) ([]byte, error)
func (*StateSyncedEvent) EncodeAbi ¶
func (sse *StateSyncedEvent) EncodeAbi() ([]byte, error)
ToABI converts StateSyncEvent to ABI
func (*StateSyncedEvent) ParseLog ¶
func (s *StateSyncedEvent) ParseLog(log *ethgo.Log) (bool, error)
func (*StateSyncedEvent) Sig ¶ added in v0.8.1
func (*StateSyncedEvent) Sig() ethgo.Hash
type StateTransactionInput ¶
type StateTransactionInput interface { // EncodeAbi contains logic for encoding arbitrary data into ABI format EncodeAbi() ([]byte, error) // DecodeAbi contains logic for decoding given ABI data DecodeAbi(b []byte) error }
StateTransactionInput is an abstraction for different state transaction inputs
type SubmitCheckpointManagerFn ¶ added in v0.8.1
type SubmitCheckpointManagerFn struct { CheckpointMetadata *CheckpointMetadata `abi:"checkpointMetadata"` Checkpoint *Checkpoint `abi:"checkpoint"` Signature [2]*big.Int `abi:"signature"` NewValidatorSet []*Validator `abi:"newValidatorSet"` Bitmap []byte `abi:"bitmap"` }
func (*SubmitCheckpointManagerFn) DecodeAbi ¶ added in v0.8.1
func (s *SubmitCheckpointManagerFn) DecodeAbi(buf []byte) error
func (*SubmitCheckpointManagerFn) EncodeAbi ¶ added in v0.8.1
func (s *SubmitCheckpointManagerFn) EncodeAbi() ([]byte, error)
func (*SubmitCheckpointManagerFn) Sig ¶ added in v0.8.1
func (s *SubmitCheckpointManagerFn) Sig() []byte
type SyncStateStateSenderFn ¶ added in v0.8.1
type SyncStateStateSenderFn struct { Receiver types.Address `abi:"receiver"` Data []byte `abi:"data"` }
func (*SyncStateStateSenderFn) DecodeAbi ¶ added in v0.8.1
func (s *SyncStateStateSenderFn) DecodeAbi(buf []byte) error
func (*SyncStateStateSenderFn) EncodeAbi ¶ added in v0.8.1
func (s *SyncStateStateSenderFn) EncodeAbi() ([]byte, error)
func (*SyncStateStateSenderFn) Sig ¶ added in v0.8.1
func (s *SyncStateStateSenderFn) Sig() []byte
type TransferEvent ¶ added in v0.9.0
type TransferEvent struct { From types.Address `abi:"from"` To types.Address `abi:"to"` Value *big.Int `abi:"value"` }
func (*TransferEvent) Encode ¶ added in v0.9.0
func (*TransferEvent) Encode(inputs interface{}) ([]byte, error)
func (*TransferEvent) IsStake ¶ added in v0.9.0
func (t *TransferEvent) IsStake() bool
IsStake indicates if transfer event (from ERC20 implementation) mints tokens to a non zero address
func (*TransferEvent) IsUnstake ¶ added in v0.9.0
func (t *TransferEvent) IsUnstake() bool
IsUnstake indicates if transfer event (from ERC20 implementation) burns tokens from a non zero address meaning, it transfers them to zero address
func (*TransferEvent) ParseLog ¶ added in v0.9.0
func (t *TransferEvent) ParseLog(log *ethgo.Log) (bool, error)
func (*TransferEvent) Sig ¶ added in v0.9.0
func (*TransferEvent) Sig() ethgo.Hash
type UnstakeValidatorSetFn ¶ added in v0.9.0
func (*UnstakeValidatorSetFn) DecodeAbi ¶ added in v0.9.0
func (u *UnstakeValidatorSetFn) DecodeAbi(buf []byte) error
func (*UnstakeValidatorSetFn) EncodeAbi ¶ added in v0.9.0
func (u *UnstakeValidatorSetFn) EncodeAbi() ([]byte, error)
func (*UnstakeValidatorSetFn) Sig ¶ added in v0.9.0
func (u *UnstakeValidatorSetFn) Sig() []byte
type Uptime ¶
type Validator ¶
type ValidatorInit ¶
func (*ValidatorInit) DecodeAbi ¶
func (v *ValidatorInit) DecodeAbi(buf []byte) error
func (*ValidatorInit) EncodeAbi ¶
func (v *ValidatorInit) EncodeAbi() ([]byte, error)
type ValidatorRegisteredEvent ¶ added in v0.9.0
type ValidatorRegisteredEvent struct { Validator types.Address `abi:"validator"` BlsKey [4]*big.Int `abi:"blsKey"` }
func (*ValidatorRegisteredEvent) Encode ¶ added in v0.9.0
func (*ValidatorRegisteredEvent) Encode(inputs interface{}) ([]byte, error)
func (*ValidatorRegisteredEvent) ParseLog ¶ added in v0.9.0
func (v *ValidatorRegisteredEvent) ParseLog(log *ethgo.Log) (bool, error)
func (*ValidatorRegisteredEvent) Sig ¶ added in v0.9.0
func (*ValidatorRegisteredEvent) Sig() ethgo.Hash
type WhitelistValidatorsCustomSupernetManagerFn ¶ added in v0.9.0
type WhitelistValidatorsCustomSupernetManagerFn struct {
Validators_ []ethgo.Address `abi:"validators_"`
}
func (*WhitelistValidatorsCustomSupernetManagerFn) DecodeAbi ¶ added in v0.9.0
func (w *WhitelistValidatorsCustomSupernetManagerFn) DecodeAbi(buf []byte) error
func (*WhitelistValidatorsCustomSupernetManagerFn) EncodeAbi ¶ added in v0.9.0
func (w *WhitelistValidatorsCustomSupernetManagerFn) EncodeAbi() ([]byte, error)
func (*WhitelistValidatorsCustomSupernetManagerFn) Sig ¶ added in v0.9.0
func (w *WhitelistValidatorsCustomSupernetManagerFn) Sig() []byte
type WithdrawBatchChildERC1155PredicateAccessListFn ¶ added in v0.9.0
type WithdrawBatchChildERC1155PredicateAccessListFn struct { ChildToken types.Address `abi:"childToken"` Receivers []ethgo.Address `abi:"receivers"` TokenIDs []*big.Int `abi:"tokenIds"` Amounts []*big.Int `abi:"amounts"` }
func (*WithdrawBatchChildERC1155PredicateAccessListFn) DecodeAbi ¶ added in v0.9.0
func (w *WithdrawBatchChildERC1155PredicateAccessListFn) DecodeAbi(buf []byte) error
func (*WithdrawBatchChildERC1155PredicateAccessListFn) EncodeAbi ¶ added in v0.9.0
func (w *WithdrawBatchChildERC1155PredicateAccessListFn) EncodeAbi() ([]byte, error)
func (*WithdrawBatchChildERC1155PredicateAccessListFn) Sig ¶ added in v0.9.0
func (w *WithdrawBatchChildERC1155PredicateAccessListFn) Sig() []byte
type WithdrawBatchChildERC1155PredicateFn ¶ added in v0.9.0
type WithdrawBatchChildERC1155PredicateFn struct { ChildToken types.Address `abi:"childToken"` Receivers []ethgo.Address `abi:"receivers"` TokenIDs []*big.Int `abi:"tokenIds"` Amounts []*big.Int `abi:"amounts"` }
func (*WithdrawBatchChildERC1155PredicateFn) DecodeAbi ¶ added in v0.9.0
func (w *WithdrawBatchChildERC1155PredicateFn) DecodeAbi(buf []byte) error
func (*WithdrawBatchChildERC1155PredicateFn) EncodeAbi ¶ added in v0.9.0
func (w *WithdrawBatchChildERC1155PredicateFn) EncodeAbi() ([]byte, error)
func (*WithdrawBatchChildERC1155PredicateFn) Sig ¶ added in v0.9.0
func (w *WithdrawBatchChildERC1155PredicateFn) Sig() []byte
type WithdrawBatchChildERC721PredicateAccessListFn ¶ added in v0.9.0
type WithdrawBatchChildERC721PredicateAccessListFn struct { ChildToken types.Address `abi:"childToken"` Receivers []ethgo.Address `abi:"receivers"` TokenIDs []*big.Int `abi:"tokenIds"` }
func (*WithdrawBatchChildERC721PredicateAccessListFn) DecodeAbi ¶ added in v0.9.0
func (w *WithdrawBatchChildERC721PredicateAccessListFn) DecodeAbi(buf []byte) error
func (*WithdrawBatchChildERC721PredicateAccessListFn) EncodeAbi ¶ added in v0.9.0
func (w *WithdrawBatchChildERC721PredicateAccessListFn) EncodeAbi() ([]byte, error)
func (*WithdrawBatchChildERC721PredicateAccessListFn) Sig ¶ added in v0.9.0
func (w *WithdrawBatchChildERC721PredicateAccessListFn) Sig() []byte
type WithdrawBatchChildERC721PredicateFn ¶ added in v0.9.0
type WithdrawBatchChildERC721PredicateFn struct { ChildToken types.Address `abi:"childToken"` Receivers []ethgo.Address `abi:"receivers"` TokenIDs []*big.Int `abi:"tokenIds"` }
func (*WithdrawBatchChildERC721PredicateFn) DecodeAbi ¶ added in v0.9.0
func (w *WithdrawBatchChildERC721PredicateFn) DecodeAbi(buf []byte) error
func (*WithdrawBatchChildERC721PredicateFn) EncodeAbi ¶ added in v0.9.0
func (w *WithdrawBatchChildERC721PredicateFn) EncodeAbi() ([]byte, error)
func (*WithdrawBatchChildERC721PredicateFn) Sig ¶ added in v0.9.0
func (w *WithdrawBatchChildERC721PredicateFn) Sig() []byte
type WithdrawStakeStakeManagerFn ¶ added in v0.9.0
type WithdrawStakeStakeManagerFn struct { To types.Address `abi:"to"` Amount *big.Int `abi:"amount"` }
func (*WithdrawStakeStakeManagerFn) DecodeAbi ¶ added in v0.9.0
func (w *WithdrawStakeStakeManagerFn) DecodeAbi(buf []byte) error
func (*WithdrawStakeStakeManagerFn) EncodeAbi ¶ added in v0.9.0
func (w *WithdrawStakeStakeManagerFn) EncodeAbi() ([]byte, error)
func (*WithdrawStakeStakeManagerFn) Sig ¶ added in v0.9.0
func (w *WithdrawStakeStakeManagerFn) Sig() []byte
type WithdrawToChildERC20PredicateAccessListFn ¶ added in v0.9.0
type WithdrawToChildERC20PredicateAccessListFn struct { ChildToken types.Address `abi:"childToken"` Receiver types.Address `abi:"receiver"` Amount *big.Int `abi:"amount"` }
func (*WithdrawToChildERC20PredicateAccessListFn) DecodeAbi ¶ added in v0.9.0
func (w *WithdrawToChildERC20PredicateAccessListFn) DecodeAbi(buf []byte) error
func (*WithdrawToChildERC20PredicateAccessListFn) EncodeAbi ¶ added in v0.9.0
func (w *WithdrawToChildERC20PredicateAccessListFn) EncodeAbi() ([]byte, error)
func (*WithdrawToChildERC20PredicateAccessListFn) Sig ¶ added in v0.9.0
func (w *WithdrawToChildERC20PredicateAccessListFn) Sig() []byte
type WithdrawToChildERC20PredicateFn ¶ added in v0.8.1
type WithdrawToChildERC20PredicateFn struct { ChildToken types.Address `abi:"childToken"` Receiver types.Address `abi:"receiver"` Amount *big.Int `abi:"amount"` }
func (*WithdrawToChildERC20PredicateFn) DecodeAbi ¶ added in v0.8.1
func (w *WithdrawToChildERC20PredicateFn) DecodeAbi(buf []byte) error
func (*WithdrawToChildERC20PredicateFn) EncodeAbi ¶ added in v0.8.1
func (w *WithdrawToChildERC20PredicateFn) EncodeAbi() ([]byte, error)
func (*WithdrawToChildERC20PredicateFn) Sig ¶ added in v0.8.1
func (w *WithdrawToChildERC20PredicateFn) Sig() []byte
type WithdrawalEvent ¶ added in v0.8.1
type WithdrawalEvent struct { Account types.Address `abi:"account"` Amount *big.Int `abi:"amount"` }
func (*WithdrawalEvent) Encode ¶ added in v0.8.1
func (*WithdrawalEvent) Encode(inputs interface{}) ([]byte, error)
func (*WithdrawalEvent) ParseLog ¶ added in v0.8.1
func (w *WithdrawalEvent) ParseLog(log *ethgo.Log) (bool, error)
func (*WithdrawalEvent) Sig ¶ added in v0.8.1
func (*WithdrawalEvent) Sig() ethgo.Hash
type WithdrawalRegisteredEvent ¶ added in v0.9.0
type WithdrawalRegisteredEvent struct { Account types.Address `abi:"account"` Amount *big.Int `abi:"amount"` }
func (*WithdrawalRegisteredEvent) Encode ¶ added in v0.9.0
func (*WithdrawalRegisteredEvent) Encode(inputs interface{}) ([]byte, error)
func (*WithdrawalRegisteredEvent) ParseLog ¶ added in v0.9.0
func (w *WithdrawalRegisteredEvent) ParseLog(log *ethgo.Log) (bool, error)
func (*WithdrawalRegisteredEvent) Sig ¶ added in v0.9.0
func (*WithdrawalRegisteredEvent) Sig() ethgo.Hash
Click to show internal directories.
Click to hide internal directories.