Documentation ¶
Index ¶
- type Client
- func (cl Client) ClientType() string
- func (cl Client) GetContractState(ctx context.Context, address common.Address, storageKeys [][]byte, bn *big.Int) (ContractState, error)
- func (cl Client) GetETHProof(address common.Address, storageKeys [][]byte, blockNumber *big.Int) (*ETHProof, error)
- func (cl Client) GetIBFT2ContractState(ctx context.Context, address common.Address, storageKeys [][]byte, bn *big.Int) (ContractState, error)
- func (cl Client) GetMockContractState(ctx context.Context, address common.Address, storageKeys [][]byte, bn *big.Int) (ContractState, error)
- func (cl Client) WaitForReceiptAndGet(ctx context.Context, tx *gethtypes.Transaction) (Receipt, error)
- type ContractState
- type ETHClient
- type ETHContractState
- type ETHProof
- type GenTxOpts
- type IBFT2ContractState
- func (cs IBFT2ContractState) ChainHeaderRLP() []byte
- func (cs IBFT2ContractState) ETHProof() *ETHProof
- func (cs IBFT2ContractState) GetCommitSeals() [][]byte
- func (cs IBFT2ContractState) Header() *gethtypes.Header
- func (cs IBFT2ContractState) SealingHeaderRLP() []byte
- func (cs IBFT2ContractState) Validators() [][]byte
- type Receipt
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { ETHClient // contains filtered or unexported fields }
func (Client) ClientType ¶
func (Client) GetContractState ¶
func (Client) GetETHProof ¶
func (Client) GetIBFT2ContractState ¶
func (Client) GetMockContractState ¶
func (Client) WaitForReceiptAndGet ¶
type ContractState ¶
type ETHContractState ¶
type ETHContractState struct {
// contains filtered or unexported fields
}
func (ETHContractState) ETHProof ¶
func (cs ETHContractState) ETHProof() *ETHProof
func (ETHContractState) Header ¶
func (cs ETHContractState) Header() *gethtypes.Header
type GenTxOpts ¶
type GenTxOpts func(ctx context.Context) *bind.TransactOpts
func MakeGenTxOpts ¶
func MakeGenTxOpts(chainID *big.Int, prv *ecdsa.PrivateKey) GenTxOpts
type IBFT2ContractState ¶
type IBFT2ContractState struct { ParsedHeader *chains.ParsedHeader CommitSeals [][]byte // contains filtered or unexported fields }
func (IBFT2ContractState) ChainHeaderRLP ¶
func (cs IBFT2ContractState) ChainHeaderRLP() []byte
func (IBFT2ContractState) ETHProof ¶
func (cs IBFT2ContractState) ETHProof() *ETHProof
func (IBFT2ContractState) GetCommitSeals ¶
func (cs IBFT2ContractState) GetCommitSeals() [][]byte
func (IBFT2ContractState) Header ¶
func (cs IBFT2ContractState) Header() *gethtypes.Header
func (IBFT2ContractState) SealingHeaderRLP ¶
func (cs IBFT2ContractState) SealingHeaderRLP() []byte
func (IBFT2ContractState) Validators ¶
func (cs IBFT2ContractState) Validators() [][]byte
type Receipt ¶
type Receipt interface { PostState() []byte Status() uint64 CumulativeGasUsed() uint64 Bloom() gethtypes.Bloom Logs() []*gethtypes.Log TxHash() common.Hash ContractAddress() common.Address GasUsed() uint64 BlockHash() common.Hash BlockNumber() *big.Int TransactionIndex() uint RevertReason() string }
Click to show internal directories.
Click to hide internal directories.