mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-25 11:12:48 +03:00
19 lines
402 B
Plaintext
19 lines
402 B
Plaintext
/*
|
|
namespace: Compile
|
|
expectation: Fail
|
|
*/
|
|
|
|
program test.aleo {
|
|
mapping account: address => u64;
|
|
mapping values: u8 => u8;
|
|
|
|
transition mint_public(public receiver: address, public amount: u64) {
|
|
async finalize(receiver, amount);
|
|
}
|
|
|
|
finalize mint_private (public receiver: address, public amount: u64) {
|
|
increment(account, receiver, amount);
|
|
}
|
|
|
|
}
|