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