contractsapi

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Code generated by scapi/gen. DO NOT EDIT.

This is auto-generated file. DO NOT EDIT.

Index

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
	ChildMintableERC20Predicate     *artifact.Artifact
	ChildMintableERC721Predicate    *artifact.Artifact
	ChildMintableERC1155Predicate   *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
	ChildERC20PredicateACL          *artifact.Artifact
	RootMintableERC20Predicate      *artifact.Artifact
	RootMintableERC20PredicateACL   *artifact.Artifact
	ChildERC721                     *artifact.Artifact
	ChildERC721Predicate            *artifact.Artifact
	ChildERC721PredicateACL         *artifact.Artifact
	RootMintableERC721Predicate     *artifact.Artifact
	RootMintableERC721PredicateACL  *artifact.Artifact
	ChildERC1155                    *artifact.Artifact
	ChildERC1155Predicate           *artifact.Artifact
	ChildERC1155PredicateACL        *artifact.Artifact
	RootMintableERC1155Predicate    *artifact.Artifact
	RootMintableERC1155PredicateACL *artifact.Artifact
	L2StateSender                   *artifact.Artifact
	CustomSupernetManager           *artifact.Artifact
	StakeManager                    *artifact.Artifact
	RewardPool                      *artifact.Artifact
	ValidatorSet                    *artifact.Artifact
	RootERC721                      *artifact.Artifact
	RootERC1155                     *artifact.Artifact
	EIP1559Burn                     *artifact.Artifact
	GenesisProxy                    *artifact.Artifact
	TransparentUpgradeableProxy     *artifact.Artifact

	TestWriteBlockMetadata *artifact.Artifact
	RootERC20              *artifact.Artifact
	TestSimple             *artifact.Artifact
	TestRewardToken        *artifact.Artifact
)
View Source
var BLSArtifact string = `` /* 50189-byte string literal not displayed */
View Source
var BN256G2Artifact string = `` /* 16679-byte string literal not displayed */
View Source
var CheckpointABIType = abi.MustNewType("tuple(uint256 epoch,uint256 blockNumber,bytes32 eventRoot)")
View Source
var CheckpointManagerArtifact string = `` /* 27823-byte string literal not displayed */
View Source
var CheckpointMetadataABIType = abi.MustNewType("tuple(bytes32 blockHash,uint256 blockRound,bytes32 currentValidatorSetHash)")
View Source
var ChildERC1155Artifact string = `` /* 51515-byte string literal not displayed */
View Source
var ChildERC1155PredicateACLArtifact string = `` /* 50845-byte string literal not displayed */
View Source
var ChildERC1155PredicateArtifact string = `` /* 40597-byte string literal not displayed */
View Source
var ChildERC20Artifact string = `` /* 31387-byte string literal not displayed */
View Source
var ChildERC20PredicateACLArtifact string = `` /* 37362-byte string literal not displayed */
View Source
var ChildERC20PredicateArtifact string = `` /* 26989-byte string literal not displayed */
View Source
var ChildERC721Artifact string = `` /* 44297-byte string literal not displayed */
View Source
var ChildERC721PredicateACLArtifact string = `` /* 49822-byte string literal not displayed */
View Source
var ChildERC721PredicateArtifact string = `` /* 39591-byte string literal not displayed */
View Source
var ChildMintableERC1155PredicateArtifact string = `` /* 38344-byte string literal not displayed */
View Source
var ChildMintableERC20PredicateArtifact string = `` /* 24269-byte string literal not displayed */
View Source
var ChildMintableERC721PredicateArtifact string = `` /* 37342-byte string literal not displayed */
View Source
var CustomSupernetManagerArtifact string = `` /* 40956-byte string literal not displayed */
View Source
var EIP1559BurnArtifact string = `` /* 5602-byte string literal not displayed */
View Source
var EpochABIType = abi.MustNewType("tuple(uint256 startBlock,uint256 endBlock,bytes32 epochRoot)")
View Source
var ExitHelperArtifact string = `` /* 13691-byte string literal not displayed */
View Source
var GenesisProxyArtifact string = `` /* 9141-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 = `` /* 3778-byte string literal not displayed */
View Source
var MerkleArtifact string = `` /* 649-byte string literal not displayed */
View Source
var MockERC1155Artifact string = `` /* 51875-byte string literal not displayed */
View Source
var MockERC20Artifact string = `` /* 33865-byte string literal not displayed */
View Source
var MockERC721Artifact string = `` /* 47442-byte string literal not displayed */
View Source
var NativeERC20Artifact string = `` /* 24694-byte string literal not displayed */
View Source
var NativeERC20MintableArtifact string = `` /* 29143-byte string literal not displayed */
View Source
var RewardPoolArtifact string = `` /* 19247-byte string literal not displayed */
View Source
var RootERC1155PredicateArtifact string = `` /* 35859-byte string literal not displayed */
View Source
var RootERC20PredicateArtifact string = `` /* 24863-byte string literal not displayed */
View Source
var RootERC721PredicateArtifact string = `` /* 32173-byte string literal not displayed */
View Source
var RootMintableERC1155PredicateACLArtifact string = `` /* 48801-byte string literal not displayed */
View Source
var RootMintableERC1155PredicateArtifact string = `` /* 36122-byte string literal not displayed */
View Source
var RootMintableERC20PredicateACLArtifact string = `` /* 36891-byte string literal not displayed */
View Source
var RootMintableERC20PredicateArtifact string = `` /* 26884-byte string literal not displayed */
View Source
var RootMintableERC721PredicateACLArtifact string = `` /* 45210-byte string literal not displayed */
View Source
var RootMintableERC721PredicateArtifact string = `` /* 34922-byte string literal not displayed */
View Source
var StakeManagerArtifact string = `` /* 18724-byte string literal not displayed */
View Source
var StateReceiverArtifact string = `` /* 24195-byte string literal not displayed */
View Source
var StateSenderArtifact string = `` /* 3771-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 = `` /* 3041-byte string literal not displayed */
View Source
var TransparentUpgradeableProxyArtifact string = `` /* 12774-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 = `` /* 43616-byte string literal not displayed */

Functions

This section is empty.

Types

type AddGenesisBalanceCustomSupernetManagerFn added in v1.3.2

type AddGenesisBalanceCustomSupernetManagerFn struct {
	Amount *big.Int `abi:"amount"`
}

func (*AddGenesisBalanceCustomSupernetManagerFn) DecodeAbi added in v1.3.2

func (*AddGenesisBalanceCustomSupernetManagerFn) EncodeAbi added in v1.3.2

func (*AddGenesisBalanceCustomSupernetManagerFn) Sig added in v1.3.2

type AddedToWhitelistEvent added in v0.8.1

type AddedToWhitelistEvent struct {
	Validator types.Address `abi:"validator"`
}

func (*AddedToWhitelistEvent) Decode added in v1.3.0

func (a *AddedToWhitelistEvent) Decode(input []byte) error

func (*AddedToWhitelistEvent) Encode added in v0.8.1

func (a *AddedToWhitelistEvent) Encode() ([]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

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

type BalanceOfRootERC1155Fn struct {
	Account types.Address `abi:"account"`
	ID      *big.Int      `abi:"id"`
}

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

type BalanceOfRootERC20Fn struct {
	Account types.Address `abi:"account"`
}

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 BatchExecuteStateReceiverFn added in v1.3.2

type BatchExecuteStateReceiverFn struct {
	Proofs [][]types.Hash `abi:"proofs"`
	Objs   []*StateSync   `abi:"objs"`
}

func (*BatchExecuteStateReceiverFn) DecodeAbi added in v1.3.2

func (b *BatchExecuteStateReceiverFn) DecodeAbi(buf []byte) error

func (*BatchExecuteStateReceiverFn) EncodeAbi added in v1.3.2

func (b *BatchExecuteStateReceiverFn) EncodeAbi() ([]byte, error)

func (*BatchExecuteStateReceiverFn) Sig added in v1.3.2

func (b *BatchExecuteStateReceiverFn) 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 CheckpointManagerConstructorFn added in v1.3.0

type CheckpointManagerConstructorFn struct {
	Initiator types.Address `abi:"initiator"`
}

func (*CheckpointManagerConstructorFn) DecodeAbi added in v1.3.0

func (c *CheckpointManagerConstructorFn) DecodeAbi(buf []byte) error

func (*CheckpointManagerConstructorFn) EncodeAbi added in v1.3.0

func (c *CheckpointManagerConstructorFn) EncodeAbi() ([]byte, error)

func (*CheckpointManagerConstructorFn) Sig added in v1.3.0

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) Decode added in v1.3.0

func (c *ChildManagerRegisteredEvent) Decode(input []byte) error

func (*ChildManagerRegisteredEvent) Encode added in v0.9.0

func (c *ChildManagerRegisteredEvent) Encode() ([]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

type CommitEpochValidatorSetFn added in v0.9.0

type CommitEpochValidatorSetFn struct {
	ID    *big.Int `abi:"id"`
	Epoch *Epoch   `abi:"epoch"`
}

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

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

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

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

type Epoch

type Epoch struct {
	StartBlock *big.Int   `abi:"startBlock"`
	EndBlock   *big.Int   `abi:"endBlock"`
	EpochRoot  types.Hash `abi:"epochRoot"`
}

func (*Epoch) DecodeAbi

func (e *Epoch) DecodeAbi(buf []byte) error

func (*Epoch) EncodeAbi

func (e *Epoch) EncodeAbi() ([]byte, error)

type EventAbi added in v1.1.0

type EventAbi interface {
	// Sig returns the event ABI signature or ID (which is unique for all event types)
	Sig() ethgo.Hash
	// Encode does abi encoding of given event
	Encode() ([]byte, error)
	// ParseLog parses the provided receipt log to given event type
	ParseLog(log *ethgo.Log) (bool, error)
}

EventAbi is an interface representing an event generated in contractsapi

type ExecuteStateReceiverFn added in v0.8.1

type ExecuteStateReceiverFn struct {
	Proof []types.Hash `abi:"proof"`
	Obj   *StateSync   `abi:"obj"`
}

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

type GetCheckpointBlockCheckpointManagerFn struct {
	BlockNumber *big.Int `abi:"blockNumber"`
}

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

type GetValidatorCustomSupernetManagerFn added in v0.9.0

type GetValidatorCustomSupernetManagerFn struct {
	Validator_ types.Address `abi:"validator_"`
}

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

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

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 InitializeChildERC1155PredicateACLFn added in v1.0.0

type InitializeChildERC1155PredicateACLFn struct {
	NewL2StateSender        types.Address `abi:"newL2StateSender"`
	NewStateReceiver        types.Address `abi:"newStateReceiver"`
	NewRootERC1155Predicate types.Address `abi:"newRootERC1155Predicate"`
	NewChildTokenTemplate   types.Address `abi:"newChildTokenTemplate"`
	NewUseAllowList         bool          `abi:"newUseAllowList"`
	NewUseBlockList         bool          `abi:"newUseBlockList"`
	NewOwner                types.Address `abi:"newOwner"`
}

func (*InitializeChildERC1155PredicateACLFn) DecodeAbi added in v1.0.0

func (i *InitializeChildERC1155PredicateACLFn) DecodeAbi(buf []byte) error

func (*InitializeChildERC1155PredicateACLFn) EncodeAbi added in v1.0.0

func (i *InitializeChildERC1155PredicateACLFn) EncodeAbi() ([]byte, error)

func (*InitializeChildERC1155PredicateACLFn) Sig added in v1.0.0

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

type InitializeChildERC20PredicateACLFn added in v1.0.0

type InitializeChildERC20PredicateACLFn 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"`
	NewUseAllowList           bool          `abi:"newUseAllowList"`
	NewUseBlockList           bool          `abi:"newUseBlockList"`
	NewOwner                  types.Address `abi:"newOwner"`
}

func (*InitializeChildERC20PredicateACLFn) DecodeAbi added in v1.0.0

func (i *InitializeChildERC20PredicateACLFn) DecodeAbi(buf []byte) error

func (*InitializeChildERC20PredicateACLFn) EncodeAbi added in v1.0.0

func (i *InitializeChildERC20PredicateACLFn) EncodeAbi() ([]byte, error)

func (*InitializeChildERC20PredicateACLFn) Sig added in v1.0.0

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

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 InitializeChildERC721PredicateACLFn added in v1.0.0

type InitializeChildERC721PredicateACLFn struct {
	NewL2StateSender       types.Address `abi:"newL2StateSender"`
	NewStateReceiver       types.Address `abi:"newStateReceiver"`
	NewRootERC721Predicate types.Address `abi:"newRootERC721Predicate"`
	NewChildTokenTemplate  types.Address `abi:"newChildTokenTemplate"`
	NewUseAllowList        bool          `abi:"newUseAllowList"`
	NewUseBlockList        bool          `abi:"newUseBlockList"`
	NewOwner               types.Address `abi:"newOwner"`
}

func (*InitializeChildERC721PredicateACLFn) DecodeAbi added in v1.0.0

func (i *InitializeChildERC721PredicateACLFn) DecodeAbi(buf []byte) error

func (*InitializeChildERC721PredicateACLFn) EncodeAbi added in v1.0.0

func (i *InitializeChildERC721PredicateACLFn) EncodeAbi() ([]byte, error)

func (*InitializeChildERC721PredicateACLFn) Sig added in v1.0.0

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

type InitializeChildMintableERC1155PredicateFn added in v1.0.0

type InitializeChildMintableERC1155PredicateFn struct {
	NewStateSender          types.Address `abi:"newStateSender"`
	NewExitHelper           types.Address `abi:"newExitHelper"`
	NewRootERC1155Predicate types.Address `abi:"newRootERC1155Predicate"`
	NewChildTokenTemplate   types.Address `abi:"newChildTokenTemplate"`
}

func (*InitializeChildMintableERC1155PredicateFn) DecodeAbi added in v1.0.0

func (*InitializeChildMintableERC1155PredicateFn) EncodeAbi added in v1.0.0

func (*InitializeChildMintableERC1155PredicateFn) Sig added in v1.0.0

type InitializeChildMintableERC20PredicateFn added in v1.0.0

type InitializeChildMintableERC20PredicateFn struct {
	NewStateSender        types.Address `abi:"newStateSender"`
	NewExitHelper         types.Address `abi:"newExitHelper"`
	NewRootERC20Predicate types.Address `abi:"newRootERC20Predicate"`
	NewChildTokenTemplate types.Address `abi:"newChildTokenTemplate"`
}

func (*InitializeChildMintableERC20PredicateFn) DecodeAbi added in v1.0.0

func (*InitializeChildMintableERC20PredicateFn) EncodeAbi added in v1.0.0

func (*InitializeChildMintableERC20PredicateFn) Sig added in v1.0.0

type InitializeChildMintableERC721PredicateFn added in v1.0.0

type InitializeChildMintableERC721PredicateFn struct {
	NewStateSender         types.Address `abi:"newStateSender"`
	NewExitHelper          types.Address `abi:"newExitHelper"`
	NewRootERC721Predicate types.Address `abi:"newRootERC721Predicate"`
	NewChildTokenTemplate  types.Address `abi:"newChildTokenTemplate"`
}

func (*InitializeChildMintableERC721PredicateFn) DecodeAbi added in v1.0.0

func (*InitializeChildMintableERC721PredicateFn) EncodeAbi added in v1.0.0

func (*InitializeChildMintableERC721PredicateFn) Sig added in v1.0.0

type InitializeCustomSupernetManagerFn added in v0.9.0

type InitializeCustomSupernetManagerFn struct {
	NewStakeManager       types.Address `abi:"newStakeManager"`
	NewBls                types.Address `abi:"newBls"`
	NewStateSender        types.Address `abi:"newStateSender"`
	NewMatic              types.Address `abi:"newMatic"`
	NewChildValidatorSet  types.Address `abi:"newChildValidatorSet"`
	NewExitHelper         types.Address `abi:"newExitHelper"`
	NewRootERC20Predicate types.Address `abi:"newRootERC20Predicate"`
	NewDomain             string        `abi:"newDomain"`
}

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

type InitializeEIP1559BurnFn added in v1.0.0

type InitializeEIP1559BurnFn struct {
	NewChildERC20Predicate types.Address `abi:"newChildERC20Predicate"`
	NewBurnDestination     types.Address `abi:"newBurnDestination"`
}

func (*InitializeEIP1559BurnFn) DecodeAbi added in v1.0.0

func (i *InitializeEIP1559BurnFn) DecodeAbi(buf []byte) error

func (*InitializeEIP1559BurnFn) EncodeAbi added in v1.0.0

func (i *InitializeEIP1559BurnFn) EncodeAbi() ([]byte, error)

func (*InitializeEIP1559BurnFn) Sig added in v1.0.0

func (i *InitializeEIP1559BurnFn) 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_"`
	TokenSupply_ *big.Int      `abi:"tokenSupply_"`
}

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_"`
	TokenSupply_ *big.Int      `abi:"tokenSupply_"`
}

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

type InitializeRewardPoolFn added in v0.9.0

type InitializeRewardPoolFn struct {
	NewRewardToken  types.Address `abi:"newRewardToken"`
	NewRewardWallet types.Address `abi:"newRewardWallet"`
	NewValidatorSet types.Address `abi:"newValidatorSet"`
	NewBaseReward   *big.Int      `abi:"newBaseReward"`
}

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

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"`
	NewNativeTokenRoot     types.Address `abi:"newNativeTokenRoot"`
}

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

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

type InitializeRootMintableERC1155PredicateACLFn added in v1.0.0

type InitializeRootMintableERC1155PredicateACLFn struct {
	NewL2StateSender         types.Address `abi:"newL2StateSender"`
	NewStateReceiver         types.Address `abi:"newStateReceiver"`
	NewChildERC1155Predicate types.Address `abi:"newChildERC1155Predicate"`
	NewChildTokenTemplate    types.Address `abi:"newChildTokenTemplate"`
	NewUseAllowList          bool          `abi:"newUseAllowList"`
	NewUseBlockList          bool          `abi:"newUseBlockList"`
	NewOwner                 types.Address `abi:"newOwner"`
}

func (*InitializeRootMintableERC1155PredicateACLFn) DecodeAbi added in v1.0.0

func (*InitializeRootMintableERC1155PredicateACLFn) EncodeAbi added in v1.0.0

func (*InitializeRootMintableERC1155PredicateACLFn) Sig added in v1.0.0

type InitializeRootMintableERC1155PredicateFn added in v1.0.0

type InitializeRootMintableERC1155PredicateFn struct {
	NewL2StateSender         types.Address `abi:"newL2StateSender"`
	NewStateReceiver         types.Address `abi:"newStateReceiver"`
	NewChildERC1155Predicate types.Address `abi:"newChildERC1155Predicate"`
	NewChildTokenTemplate    types.Address `abi:"newChildTokenTemplate"`
}

func (*InitializeRootMintableERC1155PredicateFn) DecodeAbi added in v1.0.0

func (*InitializeRootMintableERC1155PredicateFn) EncodeAbi added in v1.0.0

func (*InitializeRootMintableERC1155PredicateFn) Sig added in v1.0.0

type InitializeRootMintableERC20PredicateACLFn added in v1.0.0

type InitializeRootMintableERC20PredicateACLFn struct {
	NewL2StateSender       types.Address `abi:"newL2StateSender"`
	NewStateReceiver       types.Address `abi:"newStateReceiver"`
	NewChildERC20Predicate types.Address `abi:"newChildERC20Predicate"`
	NewChildTokenTemplate  types.Address `abi:"newChildTokenTemplate"`
	NewUseAllowList        bool          `abi:"newUseAllowList"`
	NewUseBlockList        bool          `abi:"newUseBlockList"`
	NewOwner               types.Address `abi:"newOwner"`
}

func (*InitializeRootMintableERC20PredicateACLFn) DecodeAbi added in v1.0.0

func (*InitializeRootMintableERC20PredicateACLFn) EncodeAbi added in v1.0.0

func (*InitializeRootMintableERC20PredicateACLFn) Sig added in v1.0.0

type InitializeRootMintableERC20PredicateFn added in v1.0.0

type InitializeRootMintableERC20PredicateFn struct {
	NewL2StateSender       types.Address `abi:"newL2StateSender"`
	NewStateReceiver       types.Address `abi:"newStateReceiver"`
	NewChildERC20Predicate types.Address `abi:"newChildERC20Predicate"`
	NewChildTokenTemplate  types.Address `abi:"newChildTokenTemplate"`
}

func (*InitializeRootMintableERC20PredicateFn) DecodeAbi added in v1.0.0

func (*InitializeRootMintableERC20PredicateFn) EncodeAbi added in v1.0.0

func (*InitializeRootMintableERC20PredicateFn) Sig added in v1.0.0

type InitializeRootMintableERC721PredicateACLFn added in v1.0.0

type InitializeRootMintableERC721PredicateACLFn struct {
	NewL2StateSender        types.Address `abi:"newL2StateSender"`
	NewStateReceiver        types.Address `abi:"newStateReceiver"`
	NewChildERC721Predicate types.Address `abi:"newChildERC721Predicate"`
	NewChildTokenTemplate   types.Address `abi:"newChildTokenTemplate"`
	NewUseAllowList         bool          `abi:"newUseAllowList"`
	NewUseBlockList         bool          `abi:"newUseBlockList"`
	NewOwner                types.Address `abi:"newOwner"`
}

func (*InitializeRootMintableERC721PredicateACLFn) DecodeAbi added in v1.0.0

func (*InitializeRootMintableERC721PredicateACLFn) EncodeAbi added in v1.0.0

func (*InitializeRootMintableERC721PredicateACLFn) Sig added in v1.0.0

type InitializeRootMintableERC721PredicateFn added in v1.0.0

type InitializeRootMintableERC721PredicateFn struct {
	NewL2StateSender        types.Address `abi:"newL2StateSender"`
	NewStateReceiver        types.Address `abi:"newStateReceiver"`
	NewChildERC721Predicate types.Address `abi:"newChildERC721Predicate"`
	NewChildTokenTemplate   types.Address `abi:"newChildTokenTemplate"`
}

func (*InitializeRootMintableERC721PredicateFn) DecodeAbi added in v1.0.0

func (*InitializeRootMintableERC721PredicateFn) EncodeAbi added in v1.0.0

func (*InitializeRootMintableERC721PredicateFn) Sig added in v1.0.0

type InitializeStakeManagerFn added in v0.9.0

type InitializeStakeManagerFn struct {
	NewStakingToken types.Address `abi:"newStakingToken"`
}

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 {
	NewStateSender      types.Address    `abi:"newStateSender"`
	NewStateReceiver    types.Address    `abi:"newStateReceiver"`
	NewRootChainManager types.Address    `abi:"newRootChainManager"`
	NewEpochSize        *big.Int         `abi:"newEpochSize"`
	InitialValidators   []*ValidatorInit `abi:"initialValidators"`
}

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 L2MintableTokenMappedEvent added in v1.0.0

type L2MintableTokenMappedEvent struct {
	RootToken  types.Address `abi:"rootToken"`
	ChildToken types.Address `abi:"childToken"`
}

func (*L2MintableTokenMappedEvent) Decode added in v1.3.0

func (l *L2MintableTokenMappedEvent) Decode(input []byte) error

func (*L2MintableTokenMappedEvent) Encode added in v1.0.0

func (l *L2MintableTokenMappedEvent) Encode() ([]byte, error)

func (*L2MintableTokenMappedEvent) ParseLog added in v1.0.0

func (l *L2MintableTokenMappedEvent) ParseLog(log *ethgo.Log) (bool, error)

func (*L2MintableTokenMappedEvent) Sig added in v1.0.0

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) Decode added in v1.3.0

func (l *L2StateSyncedEvent) Decode(input []byte) error

func (*L2StateSyncedEvent) Encode added in v0.8.1

func (l *L2StateSyncedEvent) Encode() ([]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

type MintRootERC20Fn struct {
	To     types.Address `abi:"to"`
	Amount *big.Int      `abi:"amount"`
}

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

type MintRootERC721Fn struct {
	To types.Address `abi:"to"`
}

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 MintableTokenMappedEvent added in v1.0.0

type MintableTokenMappedEvent struct {
	RootToken  types.Address `abi:"rootToken"`
	ChildToken types.Address `abi:"childToken"`
}

func (*MintableTokenMappedEvent) Decode added in v1.3.0

func (m *MintableTokenMappedEvent) Decode(input []byte) error

func (*MintableTokenMappedEvent) Encode added in v1.0.0

func (m *MintableTokenMappedEvent) Encode() ([]byte, error)

func (*MintableTokenMappedEvent) ParseLog added in v1.0.0

func (m *MintableTokenMappedEvent) ParseLog(log *ethgo.Log) (bool, error)

func (*MintableTokenMappedEvent) Sig added in v1.0.0

type NewCommitmentEvent

type NewCommitmentEvent struct {
	StartID *big.Int   `abi:"startId"`
	EndID   *big.Int   `abi:"endId"`
	Root    types.Hash `abi:"root"`
}

func (*NewCommitmentEvent) Decode added in v1.3.0

func (n *NewCommitmentEvent) Decode(input []byte) error

func (*NewCommitmentEvent) Encode added in v0.8.1

func (n *NewCommitmentEvent) Encode() ([]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

type OwnerOfChildERC721Fn struct {
	TokenID *big.Int `abi:"tokenId"`
}

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 ProtectSetUpProxyGenesisProxyFn added in v1.3.0

type ProtectSetUpProxyGenesisProxyFn struct {
	Initiator types.Address `abi:"initiator"`
}

func (*ProtectSetUpProxyGenesisProxyFn) DecodeAbi added in v1.3.0

func (p *ProtectSetUpProxyGenesisProxyFn) DecodeAbi(buf []byte) error

func (*ProtectSetUpProxyGenesisProxyFn) EncodeAbi added in v1.3.0

func (p *ProtectSetUpProxyGenesisProxyFn) EncodeAbi() ([]byte, error)

func (*ProtectSetUpProxyGenesisProxyFn) Sig added in v1.3.0

type RegisterChildChainStakeManagerFn added in v0.9.0

type RegisterChildChainStakeManagerFn struct {
	Manager types.Address `abi:"manager"`
}

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

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

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

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

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

type SetUpProxyGenesisProxyFn added in v1.3.0

type SetUpProxyGenesisProxyFn struct {
	Logic types.Address `abi:"logic"`
	Admin types.Address `abi:"admin"`
	Data  []byte        `abi:"data"`
}

func (*SetUpProxyGenesisProxyFn) DecodeAbi added in v1.3.0

func (s *SetUpProxyGenesisProxyFn) DecodeAbi(buf []byte) error

func (*SetUpProxyGenesisProxyFn) EncodeAbi added in v1.3.0

func (s *SetUpProxyGenesisProxyFn) EncodeAbi() ([]byte, error)

func (*SetUpProxyGenesisProxyFn) Sig added in v1.3.0

func (s *SetUpProxyGenesisProxyFn) 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) Decode added in v1.3.0

func (s *StakeAddedEvent) Decode(input []byte) error

func (*StakeAddedEvent) Encode added in v0.9.0

func (s *StakeAddedEvent) Encode() ([]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

type StakeForStakeManagerFn struct {
	ID     *big.Int `abi:"id"`
	Amount *big.Int `abi:"amount"`
}

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) Decode added in v1.3.0

func (s *StakeWithdrawnEvent) Decode(input []byte) error

func (*StakeWithdrawnEvent) Encode added in v0.9.0

func (s *StakeWithdrawnEvent) Encode() ([]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

type StateSync

type StateSync struct {
	ID       *big.Int      `abi:"id"`
	Sender   types.Address `abi:"sender"`
	Receiver types.Address `abi:"receiver"`
	Data     []byte        `abi:"data"`
}

func (*StateSync) DecodeAbi

func (s *StateSync) DecodeAbi(buf []byte) error

func (*StateSync) EncodeAbi

func (s *StateSync) EncodeAbi() ([]byte, error)

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) Decode added in v1.3.0

func (s *StateSyncResultEvent) Decode(input []byte) error

func (*StateSyncResultEvent) Encode added in v0.8.1

func (s *StateSyncResultEvent) Encode() ([]byte, error)

func (*StateSyncResultEvent) ParseLog

func (s *StateSyncResultEvent) ParseLog(log *ethgo.Log) (bool, error)

func (*StateSyncResultEvent) Sig added in v0.8.1

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) Decode added in v1.3.0

func (s *StateSyncedEvent) Decode(input []byte) error

func (*StateSyncedEvent) Encode added in v0.8.1

func (s *StateSyncedEvent) Encode() ([]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 TokenMappedEvent added in v1.0.0

type TokenMappedEvent struct {
	RootToken  types.Address `abi:"rootToken"`
	ChildToken types.Address `abi:"childToken"`
}

func (*TokenMappedEvent) Decode added in v1.3.0

func (t *TokenMappedEvent) Decode(input []byte) error

func (*TokenMappedEvent) Encode added in v1.0.0

func (t *TokenMappedEvent) Encode() ([]byte, error)

func (*TokenMappedEvent) ParseLog added in v1.0.0

func (t *TokenMappedEvent) ParseLog(log *ethgo.Log) (bool, error)

func (*TokenMappedEvent) Sig added in v1.0.0

func (*TokenMappedEvent) Sig() ethgo.Hash

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) Decode added in v1.3.0

func (t *TransferEvent) Decode(input []byte) error

func (*TransferEvent) Encode added in v0.9.0

func (t *TransferEvent) Encode() ([]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 TransparentUpgradeableProxyConstructorFn added in v1.3.0

type TransparentUpgradeableProxyConstructorFn struct {
	Logic  types.Address `abi:"_logic"`
	Admin_ types.Address `abi:"admin_"`
	Data   []byte        `abi:"_data"`
}

func (*TransparentUpgradeableProxyConstructorFn) DecodeAbi added in v1.3.0

func (*TransparentUpgradeableProxyConstructorFn) EncodeAbi added in v1.3.0

func (*TransparentUpgradeableProxyConstructorFn) Sig added in v1.3.0

type UnstakeValidatorSetFn added in v0.9.0

type UnstakeValidatorSetFn struct {
	Amount *big.Int `abi:"amount"`
}

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 Uptime struct {
	Validator    types.Address `abi:"validator"`
	SignedBlocks *big.Int      `abi:"signedBlocks"`
}

func (*Uptime) DecodeAbi

func (u *Uptime) DecodeAbi(buf []byte) error

func (*Uptime) EncodeAbi

func (u *Uptime) EncodeAbi() ([]byte, error)

type Validator

type Validator struct {
	Address     types.Address `abi:"_address"`
	BlsKey      [4]*big.Int   `abi:"blsKey"`
	VotingPower *big.Int      `abi:"votingPower"`
}

func (*Validator) DecodeAbi

func (v *Validator) DecodeAbi(buf []byte) error

func (*Validator) EncodeAbi

func (v *Validator) EncodeAbi() ([]byte, error)

type ValidatorInit

type ValidatorInit struct {
	Addr  types.Address `abi:"addr"`
	Stake *big.Int      `abi:"stake"`
}

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) Decode added in v1.3.0

func (v *ValidatorRegisteredEvent) Decode(input []byte) error

func (*ValidatorRegisteredEvent) Encode added in v0.9.0

func (v *ValidatorRegisteredEvent) Encode() ([]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

type WhitelistValidatorsCustomSupernetManagerFn added in v0.9.0

type WhitelistValidatorsCustomSupernetManagerFn struct {
	Validators_ []ethgo.Address `abi:"validators_"`
}

func (*WhitelistValidatorsCustomSupernetManagerFn) DecodeAbi added in v0.9.0

func (*WhitelistValidatorsCustomSupernetManagerFn) EncodeAbi added in v0.9.0

func (*WhitelistValidatorsCustomSupernetManagerFn) Sig added in v0.9.0

type WithdrawBatchChildERC1155PredicateACLFn added in v1.0.0

type WithdrawBatchChildERC1155PredicateACLFn struct {
	ChildToken types.Address   `abi:"childToken"`
	Receivers  []ethgo.Address `abi:"receivers"`
	TokenIDs   []*big.Int      `abi:"tokenIds"`
	Amounts    []*big.Int      `abi:"amounts"`
}

func (*WithdrawBatchChildERC1155PredicateACLFn) DecodeAbi added in v1.0.0

func (*WithdrawBatchChildERC1155PredicateACLFn) EncodeAbi added in v1.0.0

func (*WithdrawBatchChildERC1155PredicateACLFn) Sig added in v1.0.0

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

type WithdrawBatchChildERC721PredicateACLFn added in v1.0.0

type WithdrawBatchChildERC721PredicateACLFn struct {
	ChildToken types.Address   `abi:"childToken"`
	Receivers  []ethgo.Address `abi:"receivers"`
	TokenIDs   []*big.Int      `abi:"tokenIds"`
}

func (*WithdrawBatchChildERC721PredicateACLFn) DecodeAbi added in v1.0.0

func (*WithdrawBatchChildERC721PredicateACLFn) EncodeAbi added in v1.0.0

func (*WithdrawBatchChildERC721PredicateACLFn) Sig added in v1.0.0

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

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 WithdrawToChildERC20PredicateACLFn added in v1.0.0

type WithdrawToChildERC20PredicateACLFn struct {
	ChildToken types.Address `abi:"childToken"`
	Receiver   types.Address `abi:"receiver"`
	Amount     *big.Int      `abi:"amount"`
}

func (*WithdrawToChildERC20PredicateACLFn) DecodeAbi added in v1.0.0

func (w *WithdrawToChildERC20PredicateACLFn) DecodeAbi(buf []byte) error

func (*WithdrawToChildERC20PredicateACLFn) EncodeAbi added in v1.0.0

func (w *WithdrawToChildERC20PredicateACLFn) EncodeAbi() ([]byte, error)

func (*WithdrawToChildERC20PredicateACLFn) Sig added in v1.0.0

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

type WithdrawalEvent added in v0.8.1

type WithdrawalEvent struct {
	Account types.Address `abi:"account"`
	Amount  *big.Int      `abi:"amount"`
}

func (*WithdrawalEvent) Decode added in v1.3.0

func (w *WithdrawalEvent) Decode(input []byte) error

func (*WithdrawalEvent) Encode added in v0.8.1

func (w *WithdrawalEvent) Encode() ([]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) Decode added in v1.3.0

func (w *WithdrawalRegisteredEvent) Decode(input []byte) error

func (*WithdrawalRegisteredEvent) Encode added in v0.9.0

func (w *WithdrawalRegisteredEvent) Encode() ([]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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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