@@ -2,26 +2,6 @@ syntax = "proto3";
22
33package utxorpc.v1alpha.cardano ;
44
5- // Purpose of the redeemer in a transaction.
6- enum RedeemerPurpose {
7- REDEEMER_PURPOSE_UNSPECIFIED = 0 ;
8- REDEEMER_PURPOSE_SPEND = 1 ;
9- REDEEMER_PURPOSE_MINT = 2 ;
10- REDEEMER_PURPOSE_CERT = 3 ;
11- REDEEMER_PURPOSE_REWARD = 4 ;
12- REDEEMER_PURPOSE_VOTE = 5 ;
13- REDEEMER_PURPOSE_PROPOSE = 6 ;
14- }
15-
16- // Redeemer information for a Plutus script.
17- message Redeemer {
18- RedeemerPurpose purpose = 1 ; // Purpose of the redeemer.
19- PlutusData payload = 2 ; // Plutus data associated with the redeemer.
20- uint32 index = 3 ; // Index of the redeemer.
21- ExUnits ex_units = 4 ; // Execution units consumed by the redeemer.
22- bytes original_cbor = 5 ; // Original cbor-encoded data as seen on-chain
23- }
24-
255// Represents a transaction output in the Cardano blockchain.
266message TxOutput {
277 bytes address = 1 ; // Address receiving the output.
@@ -37,18 +17,18 @@ message Datum {
3717 bytes original_cbor = 3 ; // Original cbor-encoded data as seen on-chain
3818}
3919
20+ // TODO u5c: mint_coin removed
4021// Represents a custom asset in the Cardano blockchain.
4122message Asset {
4223 bytes name = 1 ; // Name of the custom asset.
4324 uint64 output_coin = 2 ; // Quantity of the custom asset in case of an output.
44- int64 mint_coin = 3 ; // Quantity of the custom asset in case of a mint.
4525}
4626
27+ // TODO u5c: redeemer was removed
4728// Represents a multi-asset group in the Cardano blockchain.
4829message MultiAsset {
4930 bytes policy_id = 1 ; // Policy ID governing the custom assets.
5031 repeated Asset assets = 2 ; // List of custom assets.
51- Redeemer redeemer = 3 ; // Redeemer for the Plutus script.
5232}
5333
5434// Represents a native script in Cardano.
0 commit comments