xchain

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: May 13, 2022 License: Apache-2.0 Imports: 32 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ContractAccount = "XC1111111111111111@xuper"
)

Variables

This section is empty.

Functions

func NewAdapter

func NewAdapter() jstest.Adapter

NewAdapter is the xchain adapter

func NewLogger added in v1.0.1

func NewLogger() logs.Logger

func NewmockStore

func NewmockStore() *mockStore

Types

type ContractResponse

type ContractResponse struct {
	Status  int
	Message string
	Body    string
}

type MockLedgerRely

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

func (*MockLedgerRely) GetNewAccountGas

func (lr *MockLedgerRely) GetNewAccountGas() (int64, error)

func (*MockLedgerRely) GetTipXMSnapshotReader

func (lr *MockLedgerRely) GetTipXMSnapshotReader() (ledger.XMSnapshotReader, error)

type XMSnapshotReader

type XMSnapshotReader struct {
}

func (*XMSnapshotReader) Get

func (*XMSnapshotReader) Get(bucket string, key []byte) ([]byte, error)

Jump to

Keyboard shortcuts

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