Versions in this module Expand all Collapse all v0 v0.2.2 Nov 8, 2021 v0.2.1 Nov 5, 2021 v0.2.0 Sep 3, 2021 v0.1.0 Jul 7, 2021 v0.0.9 Jul 2, 2021 v0.0.8 Mar 12, 2021 Changes in this version + const ModuleName + var ErrIntOverflowTypes = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthTypes = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrUnexpectedEndOfGroupTypes = fmt.Errorf("proto: unexpected end of group") + var ModuleCdc = codec.NewProtoCodec(codectypes.NewInterfaceRegistry()) + func ContextWithLockManager(ctx context.Context, lkmgr LockManager) context.Context + func DefaultContractHandleDecorators() contracttypes.ContractHandleDecorator + func RegisterInterfaces(registry codectypes.InterfaceRegistry) + type CommitKVStoreI interface + type KVStoreI interface + Delete func(ctx sdk.Context, key []byte) + Get func(ctx sdk.Context, key []byte) []byte + Has func(ctx sdk.Context, key []byte) bool + KVStore func(ctx sdk.Context) sdk.KVStore + Prefix func(prefix []byte) KVStoreI + Set func(ctx sdk.Context, key, value []byte) + type LockManager interface + AddWrite func(key, value []byte) error + GetUpdatedValue func(key []byte) ([]byte, bool) + LockOPs func() LockOPs + func LockManagerFromContext(ctx context.Context) LockManager + func NewLockManager() LockManager + type LockOP struct + K []byte + V []byte + func (*LockOP) Descriptor() ([]byte, []int) + func (*LockOP) ProtoMessage() + func (lo LockOP) ApplyTo(kvs sdk.KVStore) + func (lo LockOP) Key() []byte + func (lo LockOP) Value() []byte + func (m *LockOP) Marshal() (dAtA []byte, err error) + func (m *LockOP) MarshalTo(dAtA []byte) (int, error) + func (m *LockOP) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *LockOP) Reset() + func (m *LockOP) Size() (n int) + func (m *LockOP) String() string + func (m *LockOP) Unmarshal(dAtA []byte) error + func (m *LockOP) XXX_DiscardUnknown() + func (m *LockOP) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *LockOP) XXX_Merge(src proto.Message) + func (m *LockOP) XXX_Size() int + func (m *LockOP) XXX_Unmarshal(b []byte) error + type LockOPs struct + Ops []LockOP + func (*LockOPs) Descriptor() ([]byte, []int) + func (*LockOPs) ProtoMessage() + func (m *LockOPs) Marshal() (dAtA []byte, err error) + func (m *LockOPs) MarshalTo(dAtA []byte) (int, error) + func (m *LockOPs) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *LockOPs) Reset() + func (m *LockOPs) Size() (n int) + func (m *LockOPs) String() string + func (m *LockOPs) Unmarshal(dAtA []byte) error + func (m *LockOPs) XXX_DiscardUnknown() + func (m *LockOPs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *LockOPs) XXX_Merge(src proto.Message) + func (m *LockOPs) XXX_Size() int + func (m *LockOPs) XXX_Unmarshal(b []byte) error + type SetUpContractHandleDecorator struct + func (cd SetUpContractHandleDecorator) Handle(ctx context.Context, callInfo txtypes.ContractCallInfo) (newCtx context.Context, err error)