Add script context translations for voting purpose.

This commit is contained in:
KtorZ
2024-08-13 16:18:52 +02:00
parent bfc93bf076
commit 7501538053
10 changed files with 1729 additions and 29 deletions

View File

@@ -0,0 +1,5 @@
[
{ 0: h'6000000000000000000000000000000000000000000000000000000000'
, 1: 1000000
}
]

View File

@@ -0,0 +1,52 @@
[
{ 0:
[ [h'0000000000000000000000000000000000000000000000000000000000000000', 0]
]
, 1:
[]
, 2: 42
, 19:
{ [ 0, h'00000000000000000000000000000000000000000000000000000000' ]:
{ [ h'9999999999999999999999999999999999999999999999999999999999999999', 152 ]:
[ 0
, [ "https://aiken-lang.org"
, h'0000000000000000000000000000000000000000000000000000000000000000'
]
]
}
, [ 2, h'00000000000000000000000000000000000000000000000000000000' ]:
{ [ h'9999999999999999999999999999999999999999999999999999999999999999', 0 ]: [ 2, null ]
, [ h'8888888888888888888888888888888888888888888888888888888888888888', 1 ]: [ 2, null ]
, [ h'7777777777777777777777777777777777777777777777777777777777777777', 2 ]: [ 2, null ]
}
, [ 3, h'{{ voting.script.hash }}' ]:
{ [ h'9999999999999999999999999999999999999999999999999999999999999999', 3 ]: [ 0, null ]
}
, [ 4, h'00000000000000000000000000000000000000000000000000000000' ]:
{ [ h'9999999999999999999999999999999999999999999999999999999999999999', 4 ]: [ 1, null ]
}
, [ 1, h'{{ voting.script.hash }}' ]:
{ [ h'9999999999999999999999999999999999999999999999999999999999999999', 1 ]: [ 1, null ]
}
}
},
{ 5: [ [4, 2, 121([]), [1000000, 100000000]]
, [4, 0, 121([42]), [1000000, 100000000]]
]
, 7: [h'{{ voting.script.cbor }}']
},
true,
null
]