@@ -87,8 +87,9 @@ message MintlayerSignTx {
8787 required uint32 outputs_count = 1 ; // number of transaction outputs
8888 required uint32 inputs_count = 2 ; // number of transaction inputs
8989 required MintlayerChainType chain_type = 3 ; // Chain type to use
90- optional uint32 version = 4 [default =1 ]; // transaction version
91- optional bool chunkify = 5 ; // display addresses in chunks of 4 characters
90+ required uint32 input_commitments_version = 4 ; // input commitments version
91+ optional uint32 version = 5 [default =1 ]; // transaction version
92+ optional bool chunkify = 6 ; // display addresses in chunks of 4 characters
9293}
9394
9495/**
@@ -113,7 +114,7 @@ message MintlayerTxRequest {
113114 * Request for additional data for a tx output
114115 */
115116 message MintlayerTxOutputRequest {
116- required uint32 output_index = 1 ; // index for the requested output
117+ required uint32 output_index = 1 ; // index for the requested output
117118 optional bytes tx_hash = 2 ; // transaction hash for the specified output or none for the current transaction that is being signed
118119 }
119120 /**
@@ -237,8 +238,10 @@ message MintlayerFreezeOrder {
237238 */
238239message MintlayerConcludeOrderV1 {
239240 required string order_id = 1 ; // order id in bech32 encoding
240- required MintlayerOutputValue filled_ask_amount = 2 ; // the already filled ask amount
241- required MintlayerOutputValue give_balance = 3 ; // the remaining give balance of the order
241+ required MintlayerOutputValue initially_asked = 2 ; // the initial ask balance of the order
242+ required MintlayerOutputValue initially_given = 3 ; // the initial give balance of the order
243+ required bytes ask_balance = 4 ; // the remaining ask balance of the order
244+ required bytes give_balance = 5 ; // the remaining give balance of the order
242245}
243246
244247/** Data type for account command Mint tokens
@@ -291,8 +294,10 @@ message MintlayerChangeTokenAuthority {
291294 */
292295message MintlayerConcludeOrder {
293296 required string order_id = 1 ; // order id in bech32 encoding
294- required MintlayerOutputValue filled_ask_amount = 2 ; // the already filled ask amount
295- required MintlayerOutputValue give_balance = 3 ; // the remaining give balance of the order
297+ required MintlayerOutputValue initially_asked = 2 ; // the initial ask balance of the order
298+ required MintlayerOutputValue initially_given = 3 ; // the initial give balance of the order
299+ required bytes ask_balance = 4 ; // the remaining ask balance of the order
300+ required bytes give_balance = 5 ; // the remaining give balance of the order
296301}
297302
298303/** Data type for account command Fill order
@@ -302,8 +307,10 @@ message MintlayerFillOrder {
302307 required string order_id = 1 ; // order id in bech32 encoding
303308 required bytes amount = 2 ; // amount in atoms corresponds to the order's ask currency
304309 required string destination = 3 ; // the destination in bech32 encoding
305- required MintlayerOutputValue ask_balance = 4 ; // the remaining ask balance of the order
306- required MintlayerOutputValue give_balance = 5 ; // the remaining give balance of the order
310+ required MintlayerOutputValue initially_asked = 4 ; // the initial ask balance of the order
311+ required MintlayerOutputValue initially_given = 5 ; // the initial give balance of the order
312+ required bytes ask_balance = 6 ; // the remaining ask balance of the order
313+ required bytes give_balance = 7 ; // the remaining give balance of the order
307314}
308315
309316/** Data type for account command Change token metadata uri
@@ -491,30 +498,29 @@ message MintlayerTxAck {
491498 * @next MintlayerTxRequest
492499 */
493500 message MintlayerTxInput {
494- optional MintlayerUtxoTxInput utxo = 1 ; // UTXO input
495- optional MintlayerAccountTxInput account = 2 ; // account spending input
496- optional MintlayerAccountCommandTxInput account_command = 3 ; // account command input
497- optional MintlayerOrderCommandTxInput order_command = 4 ; // order command input
498- }
501+ optional MintlayerUtxoTxInput utxo = 1 ; // UTXO input
502+ optional MintlayerAccountTxInput account = 2 ; // account spending input
503+ optional MintlayerAccountCommandTxInput account_command = 3 ; // account command input
504+ optional MintlayerOrderCommandTxInput order_command = 4 ; // order command input
505+ }
499506
500507 /**
501508 * Request: Data about output to be signed.
502509 *
503510 * @next MintlayerTxRequest
504511 */
505512 message MintlayerTxOutput {
506- optional MintlayerTransferTxOutput transfer = 1 ; // transfer output
507- optional MintlayerLockThenTransferTxOutput lock_then_transfer = 2 ; // lock then transfer output
508- optional MintlayerBurnTxOutput burn = 3 ; // burn output
509- optional MintlayerCreateStakePoolTxOutput create_stake_pool = 4 ; // create stake pool output
510- optional MintlayerProduceBlockFromStakeTxOutput produce_block_from_stake = 5 ; // create block from stake output
511- optional MintlayerCreateDelegationIdTxOutput create_delegation_id = 6 ; // create delegation Id output
512- optional MintlayerDelegateStakingTxOutput delegate_staking = 7 ; // delegate staking output
513- optional MintlayerIssueFungibleTokenTxOutput issue_fungible_token = 8 ; // issue fungible token output
514- optional MintlayerIssueNftTxOutput issue_nft = 9 ; // issue NFT output
515- optional MintlayerDataDepositTxOutput data_deposit = 10 ; // data deposit output
516- optional MintlayerHtlcTxOutput htlc = 11 ; // HTLC output
517- optional MintlayerCreateOrderTxOutput create_order = 12 ; // Create order output
518- }
513+ optional MintlayerTransferTxOutput transfer = 1 ; // transfer output
514+ optional MintlayerLockThenTransferTxOutput lock_then_transfer = 2 ; // lock then transfer output
515+ optional MintlayerBurnTxOutput burn = 3 ; // burn output
516+ optional MintlayerCreateStakePoolTxOutput create_stake_pool = 4 ; // create stake pool output
517+ optional MintlayerProduceBlockFromStakeTxOutput produce_block_from_stake = 5 ; // create block from stake output
518+ optional MintlayerCreateDelegationIdTxOutput create_delegation_id = 6 ; // create delegation Id output
519+ optional MintlayerDelegateStakingTxOutput delegate_staking = 7 ; // delegate staking output
520+ optional MintlayerIssueFungibleTokenTxOutput issue_fungible_token = 8 ; // issue fungible token output
521+ optional MintlayerIssueNftTxOutput issue_nft = 9 ; // issue NFT output
522+ optional MintlayerDataDepositTxOutput data_deposit = 10 ; // data deposit output
523+ optional MintlayerHtlcTxOutput htlc = 11 ; // HTLC output
524+ optional MintlayerCreateOrderTxOutput create_order = 12 ; // Create order output
525+ }
519526}
520-
0 commit comments