mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-18 07:11:53 +03:00
14 lines
323 B
Plaintext
14 lines
323 B
Plaintext
/*
|
|
namespace: Compile
|
|
expectation: Pass
|
|
state_file: input/token_withdraw.state
|
|
input_file: input/dummy.in
|
|
*/
|
|
|
|
function main() -> bool {
|
|
const expected: address = aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57j8;
|
|
|
|
return input.state.root == [0u8; 32]
|
|
&& input.state_leaf.network_id == 0u8;
|
|
}
|