package
0.2.3
Repository: https://github.com/sharering/shareledger.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
BondStatusToString for pretty prints of Bond Status.
NOTE: Don't stringer this, we'll put better messages in later.
No description provided by the author
convert from Tendermint PubKey to ShareLedger PubKey.
No description provided by the author
intended to be used with require/assert: require.True(DecEq(...)).
test if two decimal arrays are equal.
No description provided by the author
No description provided by the author
nolint.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
JSON decode MsgSend.
No description provided by the author
No description provided by the author
maximum decimal between two.
minimum decimal between two.
Return the minimum of the ints.
Return the minimum of the Uints.
Asset defines basic information of Assets in ShareRing Platform.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
create a new Dec from integer assuming whole number.
create a new Dec from big integer assuming whole numbers CONTRACT: prec <= Precision.
create a new Dec from big integer assuming whole numbers CONTRACT: prec <= Precision.
create a new Dec from big integer assuming whole numbers CONTRACT: prec <= Precision.
create a new Dec from big integer with decimal place at prec CONTRACT: prec <= Precision.
create a decimal from an input decimal string.
create a new Dec from integer with decimal place at prec CONTRACT: prec <= Precision.
No description provided by the author
No description provided by the author
No description provided by the author
NewError - create an error.
NewInt constructs Int from int64.
NewIntFromBigInt constructs Int from big.Int.
NewIntFromString constructs Int from string.
NewIntWithDecimal constructs Int with decimal Result value is n*10^dec.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewUint constructs Uint from int64.
NewUintFromBigUint constructs Uint from big.Uint.
NewUintFromString constructs Uint from string.
NewUintWithDecimal constructs Uint with decimal Result value is n*10^dec.
No description provided by the author
No description provided by the author
No description provided by the author
OneInt returns Int value with one.
OneUint returns Uint value with one.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
get the abci code from the local code and codespace.
No description provided by the author
No description provided by the author
nolint - common values.
ZeroInt returns Int value with zero.
ZeroUint returns Uint value with zero.

# Constants

ABCI error codes.
byte length.
nolint.
SDK error codes.
SDK error codes.
SDK error codes.
SDK error codes.
SDK error codes.
SDK error codes.
SDK error codes.
SDK error codes.
Base error codes.
SDK error codes.
SDK error codes.
CodespaceRoot is a codespace for error codes in this file only.
SDK error codes.
SDK error codes.
SDK error codes.
SDK error codes.
bytes required to represent the above precision ceil(log2(9999999999)).
Maximum reservable codespace (2^16 - 1).
number of decimal places.
number of decimal places.
nolint.
nolint.

# Variables

No description provided by the author

# Structs

Simple account struct.
Asset asset infomation.
Signature without Nonce.
Simple tx to wrap the Msg.
Simple Booking struct.
No description provided by the author
NOTE: never use new(Dec) or else we will panic unmarshalling into the nil embedded big.Int.
Int wraps integer with 256 bit range bound Checks overflow, underflow and division by zero Exists in range from -(2^255-1) to 2^255-1.
No description provided by the author
Result is the union of ResponseDeliverTx and ResponseCheckTx.
Int wraps integer with 256 bit range bound Checks overflow, underflow and division by zero Exists in range from 0 to 2^256-1.

# Interfaces

No description provided by the author
delegation bond for a delegated proof of stake system.
properties for the set of all delegations for a particular.
sdk Error type.
No description provided by the author
No description provided by the author
No description provided by the author
----------------------------------------------------------------- Tx Interface.
No description provided by the author
validator for a delegated proof of stake system.
properties for the set of all validators.

# Type aliases

ABCICodeType - combined codetype / codespace.
status of a validator.
CodespaceType - codespace identifier.
CodeType - code identifier within codespace.
No description provided by the author
No description provided by the author
Normal key 65 byte.
Implements Signature.