mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-20 00:32:35 +03:00
18 lines
333 B
Plaintext
18 lines
333 B
Plaintext
/*
|
|
namespace: Compile
|
|
expectation: Fail
|
|
*/
|
|
|
|
mapping account: address => u64;
|
|
mapping values: u8 => u8;
|
|
|
|
@program
|
|
function mint_public(public receiver: address, public amount: u64) {
|
|
finalize(receiver, amount);
|
|
}
|
|
|
|
finalize mint_private (public receiver: address, public amount: u64) {
|
|
increment(account, receiver, amount);
|
|
}
|
|
|