types

package
v0.0.0-...-c1b5198 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KeyContractCallResultPrefix uint8 = iota
)
View Source
const (
	ModuleName = "cross-contract"
)

Variables

This section is empty.

Functions

func KeyContractCallResult

func KeyContractCallResult(txID types.TxID, txIndex types.TxIndex) []byte

func KeyPrefixBytes

func KeyPrefixBytes(prefix uint8) []byte

Types

type CommitMode

type CommitMode = uint8
const (
	UnspecifiedMode CommitMode = iota + 1
	BasicMode
	AtomicMode
)

type CommitStoreI

type CommitStoreI interface {
	Precommit(ctx sdk.Context, id []byte) error
	Abort(ctx sdk.Context, id []byte) error
	Commit(ctx sdk.Context, id []byte) error
	CommitImmediately(ctx sdk.Context)
}

type ContractModule

type ContractModule interface {
}

type ErrContractCall

type ErrContractCall struct {
	// contains filtered or unexported fields
}

func NewErrContractCall

func NewErrContractCall(err error) ErrContractCall

func (ErrContractCall) Error

func (e ErrContractCall) Error() string

Jump to

Keyboard shortcuts

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