diff --git a/rust/tw_cosmos_sdk/Protobuf/thorchain_bank_tx.proto b/rust/tw_cosmos_sdk/Protobuf/thorchain_bank_tx.proto index c9697d13a82..db491f230b5 100644 --- a/rust/tw_cosmos_sdk/Protobuf/thorchain_bank_tx.proto +++ b/rust/tw_cosmos_sdk/Protobuf/thorchain_bank_tx.proto @@ -12,6 +12,8 @@ message Asset { string symbol = 2; string ticker = 3; bool synth = 4; + bool trade = 5; + bool secured = 6; } // Original: https://gitlab.com/thorchain/thornode/-/blob/develop/proto/thorchain/v1/common/common.proto @@ -23,8 +25,8 @@ message Coin { // MsgSend represents a message to send coins from one account to another. message MsgSend { - bytes from_address = 1; - bytes to_address = 2; + bytes from_address = 1; + bytes to_address = 2; repeated cosmos.base.v1beta1.Coin amount = 3; } diff --git a/rust/tw_cosmos_sdk/src/modules/tx_builder.rs b/rust/tw_cosmos_sdk/src/modules/tx_builder.rs index bc7b4853a17..b3b405dccce 100644 --- a/rust/tw_cosmos_sdk/src/modules/tx_builder.rs +++ b/rust/tw_cosmos_sdk/src/modules/tx_builder.rs @@ -803,6 +803,8 @@ where symbol: asset_proto.symbol.to_string(), ticker: asset_proto.ticker.to_string(), synth: asset_proto.synth, + trade: asset_proto.trade, + secured: asset_proto.secured, }; coins.push(ThorchainCoin { asset, diff --git a/rust/tw_cosmos_sdk/src/transaction/message/thorchain_message.rs b/rust/tw_cosmos_sdk/src/transaction/message/thorchain_message.rs index 18765c17587..a0c9aaf0c17 100644 --- a/rust/tw_cosmos_sdk/src/transaction/message/thorchain_message.rs +++ b/rust/tw_cosmos_sdk/src/transaction/message/thorchain_message.rs @@ -16,6 +16,8 @@ pub struct ThorchainAsset { pub symbol: String, pub ticker: String, pub synth: bool, + pub trade: bool, + pub secured: bool, } impl ThorchainAsset { @@ -25,6 +27,8 @@ impl ThorchainAsset { symbol: self.symbol.clone().into(), ticker: self.ticker.clone().into(), synth: self.synth, + trade: self.trade, + secured: self.secured, } } } diff --git a/src/proto/Cosmos.proto b/src/proto/Cosmos.proto index be631f5a452..960f67114ec 100644 --- a/src/proto/Cosmos.proto +++ b/src/proto/Cosmos.proto @@ -44,6 +44,8 @@ message THORChainAsset { string symbol = 2; string ticker = 3; bool synth = 4; + bool trade = 5; + bool secured = 6; } message THORChainCoin {