Versions in this module Expand all Collapse all v1 v1.0.2 Jan 27, 2022 Changes in this version + const ContractAccount2 + const FeaturesContractName + type MockLogger struct + func NewMockLogger() *MockLogger + func (*MockLogger) GetLogId() string + func (*MockLogger) SetCommField(key string, value interface{}) + func (*MockLogger) SetInfoField(key string, value interface{}) type TestHelper + func (t *TestHelper) UTXOState() *contract.UTXORWSet v1.0.1 Dec 1, 2021 Changes in this version + const ContractAccount + type TestHelper struct + func NewTestHelper(cfg *contract.ContractConfig) *TestHelper + func (t *TestHelper) Basedir() string + func (t *TestHelper) Close() + func (t *TestHelper) Commit(state contract.StateSandbox) + func (t *TestHelper) Deploy(module, lang, contractName string, bin []byte, args map[string][]byte) (*contract.Response, error) + func (t *TestHelper) Invoke(module, contractName, method string, args map[string][]byte) (*contract.Response, error) + func (t *TestHelper) Manager() contract.Manager + func (t *TestHelper) State() ledger.XMReader + func (t *TestHelper) Upgrade(contractName string, bin []byte) error