Documentation ¶
Index ¶
- Variables
- func AddressHash(prefix string, contents []byte) []byte
- func CheckDuplicateKey(d *json.Decoder, path []string) error
- func GogoToProtobufDuration(d *gogotypes.Duration) *durationpb.Duration
- func GogoToProtobufTimestamp(ts *gogotypes.Timestamp) *timestamppb.Timestamp
- func ParseDate(field string, date string) (time.Time, error)
- func ProtobufToGogoTimestamp(ts *timestamppb.Timestamp) *gogotypes.Timestamp
- type Context
- type Invoker
- type InvokerConn
- type ModuleID
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // CoinDenomRegex is used instead of DefaultCoinDenomRegex // to support basket denomination and DID characters // TODO: remove after updating to cosmos-sdk v0.46 #857 CoinDenomRegex = `[a-zA-Z][a-zA-Z0-9/:._-]{2,127}` )
Functions ¶
func AddressHash ¶
func CheckDuplicateKey ¶ added in v1.1.0
CheckDuplicateKey checks duplicate keys in JSON
func GogoToProtobufDuration ¶ added in v1.1.0
func GogoToProtobufDuration(d *gogotypes.Duration) *durationpb.Duration
GogoToProtobufDuration converts a gogo duration to a protobuf duration.
func GogoToProtobufTimestamp ¶ added in v1.1.0
func GogoToProtobufTimestamp(ts *gogotypes.Timestamp) *timestamppb.Timestamp
GogoToProtobufTimestamp converts a gogo timestamp to a protobuf timestamp.
func ProtobufToGogoTimestamp ¶ added in v1.1.0
func ProtobufToGogoTimestamp(ts *timestamppb.Timestamp) *gogotypes.Timestamp
ProtobufToGogoTimestamp converts a protobuf timestamp to a gogo timestamp.
Types ¶
type Context ¶
func UnwrapSDKContext ¶
type InvokerConn ¶
type InvokerConn interface { grpc.ClientConnInterface Invoker(methodName string) (Invoker, error) }
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
Package math provides helper functions for doing mathematical calculations and parsing for the ecocredit module.
|
Package math provides helper functions for doing mathematical calculations and parsing for the ecocredit module. |
Package server defines fixture interfaces and implementations for testing server implementations with multiple backends.
|
Package server defines fixture interfaces and implementations for testing server implementations with multiple backends. |
network
Package network implements and exposes a fully operational in-process Tendermint test network that consists of at least one or potentially many validators.
|
Package network implements and exposes a fully operational in-process Tendermint test network that consists of at least one or potentially many validators. |
Click to show internal directories.
Click to hide internal directories.