Add script context translations for voting purpose.
This commit is contained in:
@@ -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
|
||||
]
|
||||
Reference in New Issue
Block a user