# Example StdTx message schema definition. # # Message types taken from Terra's oracle voter transactions: # # StdTx namespace for schema definitions # (e.g. `cosmos-sdk/StdTx` for Cosmos SDK) namespace = "core/StdTx" # Bech32 address prefixes acc_prefix = "terra" val_prefix = "terravaloper" [[definition]] type_name = "oracle/MsgExchangeRatePrevote" fields = [ { name = "hash", type = "string" }, { name = "denom", type = "string" }, { name = "feeder", type = "sdk.AccAddress" }, { name = "validator", type = "sdk.ValAddress" }, ] [[definition]] type_name = "oracle/MsgExchangeRateVote" fields = [ # explicit field tag example - will start from "1" otherwise { name = "exchange_rate", type = "sdk.Dec", tag = 1 }, { name = "salt", type = "string" }, { name = "denom", type = "string" }, { name = "feeder", type = "sdk.AccAddress" }, { name = "validator", type = "sdk.ValAddress" }, ]