# Functions
Return by address accaddress.
No description provided by the author
No description provided by the author
No description provided by the author
BaseFeeFromEvents parses the feemarket basefee from cosmos events.
Bech32ifyPubKey returns a Bech32 encoded string containing the appropriate prefix based on the key type provided for a given PublicKey.
BigEndianToUint64 returns an uint64 from big endian encoded bytes.
No description provided by the author
No description provided by the author
Cond return a condition object with a key.
Convert address to ConsAddress format.
No description provided by the author
copy bytes.
intended to be used with require/assert: require.True(DecEq(...)).
test if two decimal arrays are equal.
EmptyEvents returns an empty slice of events.
No description provided by the author
No description provided by the author
Formats a time.Time into a []byte that can be sorted.
No description provided by the author
No description provided by the author
GetAddrPrefixCfg returns the config instance for the corresponding Network type.
GetError is used to covert plugchain error to sdk error.
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
intended to be used with require/assert: require.True(IntEq(...)).
IsValidInt256 check the bound of 256 bit number.
No description provided by the author
No description provided by the author
MarkEventsToIndex returns the set of ABCI events, where each event's attribute has it's index value marked based on the provided set of events to index.
maximum decimal between two.
MaxInt returns the maximum between two integers.
minimum decimal between two.
return the minimum of the ints.
No description provided by the author
Get by address AccAddress.
No description provided by the author
Decimal from string, panic on error.
MustSortJSON is like SortJSON but panic if an error occurs, e.g., if the passed JSON isn't valid.
No description provided by the author
NewAttribute returns a new key/value Attribute object.
No description provided by the author
No description provided by the author
Create a new token group.
NewCond return a condition object with a complete event type and attrKey.
create a new Dec from integer assuming whole number.
according to Int Create a Deccoin.
NewDecCoinFromCoin creates a new DecCoin from a Coin.
NewDecCoinFromDec creates a new DecCoin instance from a Dec.
NewDecCoins constructs a new coin set with with decimal values from DecCoins.
NewDecCoinsFromCoin constructs a new coin set with decimal values from regular Coins.
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.
NewEvent creates a new Event object with a given type and slice of one or more attributes.
No description provided by the author
No description provided by the author
NewInt constructs Int from int64.
NewInt64DecCoin returns a new DecCoin with a denomination and amount.
NewIntFromBigInt constructs Int from big.Int.
NewIntFromString constructs Int from string.
NewIntFromUint64 constructs an Int from a uint64.
NewIntWithDecimal constructs Int with decimal Result value is n*10^dec.
No description provided by the author
NewResponseFormatBroadcastTx returns a TxResponse given a ResultBroadcastTx from tendermint.
NewResponseFormatBroadcastTxCommit returns a TxResponse given a ResultBroadcastTxCommit from tendermint.
NewResponseResultTx returns a TxResponse given a ResultTx from tendermint.
No description provided by the author
NewSignModeHandlerMap returns a new SignModeHandlerMap with the provided defaultMode and handlers.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
OneInt returns Int value with one.
ParseABCILogs attempts to parse a stringified ABCI tx log into a slice of ABCIMessageLog types.
No description provided by the author
No description provided by the author
ParseChainID parses a string chain identifier's epoch to an Ethereum-compatible chain-id in *big.Int format.
Resolve the CLI input of a coin type.
Check whether the currency spliced by commas is legal, and return the sorted coins array.
ParseDecCoin parses a decimal coin from a string, returning an error if invalid.
ParseDecCoins will parse out a list of decimal coins separated by commas.
Parses a []byte encoded using FormatTimeKey back into a time.Time.
No description provided by the author
No description provided by the author
SafeNewIntFromBigInt constructs Int from big.Int, return error if more than 256bits.
No description provided by the author
SortableDecBytes returns a byte slice representation of a Dec that can be sorted.
SortedJSON takes any JSON and returns it sorted by keys.
StringifyEvent converts an Event object to a StringEvent object.
StringifyEvents converts a slice of Event objects into a slice of StringEvent objects.
No description provided by the author
Uint64ToBigEndian - marshals uint64 to a bigendian byte slice so it can be sorted.
No description provided by the author
Verify address.
No description provided by the author
Verify Eth address.
Judge balance.
ValidSortableDec ensures that a Dec is within the sortable bounds, a Dec can't have a precision of less than 10^-18.
Wrap extends given error with an additional information.
Wrapf extends given error with an additional information.
No description provided by the author
No description provided by the author
ZeroInt returns Int value with zero.
# Constants
No description provided by the author
Evm module events.
Evm module events.
tx failed in eth vm execution.
Evm module events.
Evm module events.
Evm module events.
Evm module events.
Evm module events.
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
bytes required to represent the above precision Ceiling[Log2[999 999 999 999 999 999]].
No description provided by the author
No description provided by the author
No description provided by the author
Evm module events.
Evm module events.
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
Evm module events.
Evm module events.
No description provided by the author
No description provided by the author
No description provided by the author
number of decimal places.
RootCodespace is the codespace for all errors defined in plugchain.
Slight modification of the RFC3339Nano but it right pads all zeros and drops the time zone info.
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
# Variables
Common event types and attribute keys.
Common event types and attribute keys.
Common event types and attribute keys.
Common event types and attribute keys.
Common event types and attribute keys.
Decimal errors.
No description provided by the author
No description provided by the author
Decimal errors.
Decimal errors.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Common event types and attribute keys.
Common event types and attribute keys.
Common event types and attribute keys.
Common event types and attribute keys.
Common event types and attribute keys.
MaxSortableDec is the largest Dec that can be passed into SortableDecBytes() Its negative form is the least Dec that can be passed in.
No description provided by the author
Common event types and attribute keys.
Common event types and attribute keys.
# Structs
ABCIMessageLog defines a structure containing an indexed tx ABCI message log.
No description provided by the author
No description provided by the author
Attribute defines an attribute wrapper where the key and value are strings instead of raw bytes.
BaseAccount defines the basic structure of the account.
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
Coin defines a token with a denomination and an amount.
No description provided by the author
No description provided by the author
No description provided by the author
NOTE: never use new(Dec) or else we will panic unmarshalling into the nil embedded big.Int.
DecCoin defines a token with a denomination and a decimal amount.
DecProto defines a Protobuf wrapper around a Dec object.
EncodingConfig specifies the concrete encoding types to use for a given app.
EventDataNewBlock for SubscribeNewBlock.
EventDataNewBlockHeader for SubscribeNewBlockHeader.
EventDataTx for SubscribeTx.
No description provided by the author
EventManager implements a simple wrapper around a slice of Event objects that can be emitted from.
EventQueryBuilder is responsible for constructing listening conditions.
GasInfo defines tx execution gas context.
Int wraps integer with 256 bit range bound Checks overflow, underflow and division by zero Exists in range from -(2^maxBitLen-1) to 2^maxBitLen-1.
IntProto defines a Protobuf wrapper around an Int object.
No description provided by the author
MsgData defines the data returned in a Result object during message execution.
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
Result is the union of ResponseFormat and ResponseCheckTx.
No description provided by the author
No description provided by the author
ResultQueryTx is used to prepare info to display.
ResultSearchTxs defines a structure for querying txs pageable.
ResultTx encapsulates the return result of the transaction.
SearchTxsResult defines a structure for querying txs pageable.
The specific information required to sign the transaction is not included in the transaction subject itself.
SignModeHandlerMap is SignModeHandler that aggregates multiple SignModeHandler's into a single handler.
SimulationResponse defines the response generated when a transaction is successfully simulated.
StdFee includes the amount of coins paid in fees and the maximum Gas to be used by the transaction.
Standard Signature.
StdSignDoc is replay-prevention structure.
StdSignMsg is a convenience structure for passing along a Msg with the other requirements for a StdSignDoc before it is signed.
StdTx is a standard way to wrap a Msg with Fee and Signatures.
StringEvent defines en Event object wrapper where all the attributes contain key/value pairs that are strings instead of raw bytes.
No description provided by the author
No description provided by the author
TxMsgData defines a list of MsgData.
TxResponse defines a structure containing relevant tx data and metadata.
No description provided by the author
No description provided by the author
EventDataValidatorSetUpdates for SubscribeValidatorSetUpdates.
No description provided by the author
# Interfaces
No description provided by the author
No description provided by the author
Error represents a root error.
EventData for SubscribeAny.
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
System type message return.
No description provided by the author
By generating sign bytes SignMode from Tx and SignerData.
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
# Type aliases
No description provided by the author
ABCIMessageLogs represents a slice of ABCIMessageLog.
Bech32 Address.
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
Address byte.
DecCoins defines a slice of coins with decimal values.
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
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