Files
aiken/examples/acceptance_tests/script_context/v3/ctx/mint/tx.template
KtorZ 6b6bace8a5 test 'mint' purpose and script context creation.
Alongside a bunch of other stuff from the coverage list. In
  particular, the mint transaction contains:

  - reference inputs
  - multiple outputs, with assets, and type-0, type-1 and type-6
    addresses.
  - an output with a datum hash
  - an output with an inline script
  - carries an extra datum witness, preimage of the embedded hash
  - mint, with 2 policies purposely ordered wrongly, with 1 and 2
    assets purposely ordered wrong. One of the mint is actually a
    burn (i.e. negative quantity)
2024-08-13 10:56:29 +02:00

78 lines
1.6 KiB
Plaintext

[
{ 0:
[ [h'0000000000000000000000000000000000000000000000000000000000000000', 0]
]
, 1:
[ { 0: h'6000000000000000000000000000000000000000000000000000000000'
, 1: 1000000
, 2: [0, h'923918e403bf43c34b4ef6b48eb2ee04babed17320d8d1b9ff9ad086e86f44ec']
}
, { 0: h'000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
, 1:
[ 1000000
, { h'{{ mint.mint_1.hash }}': { h'74756e61': 100000000000000 }
, h'{{ mint.mint_2.hash }}': { h'61696b656e': 42 }
}
]
}
, { 0: h'100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
, 1:
[ 1000000
, { h'{{ mint.mint_2.hash }}': { h'63617264616e6f': 1 }
}
]
, 3: 24(h'82034463666F6F')
}
]
, 2: 42
, 9:
{ h'{{ mint.mint_1.hash }}':
{ h'74756e61': 100000000000000
}
, h'{{ mint.mint_2.hash }}':
{ h'63617264616e6f': 1
, h'61696b656e': -14
}
}
, 11: h'FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF'
, 13:
[ [h'0000000000000000000000000000000000000000000000000000000000000000', 0]
]
, 16:
[ h'6000000000000000000000000000000000000000000000000000000000', 1000000000
]
, 17: 1
, 18:
[ [h'0000000000000000000000000000000000000000000000000000000000000000', 0]
]
},
{ 5:
[ [1, 0, 121([]), [1000000, 100000000]]
, [1, 1, 42, [1000000, 100000000]]
]
, 4:
[ 121([])
]
, 7:
[ h'{{ mint.mint_1.cbor }}'
, h'{{ mint.mint_2.cbor }}'
]
},
true,
null
]