The explorer is out of sync. The last synced block is 493 hours ago. Current block height: explorer: 2206528 / node: 2521513 / ref: ?

Program aleoleonotaleo.aleo

Program ID
aleoleonotaleo.aleo
Owner signature
sign18vx4cgw3gzss7tnj2h8ty7z28rg4wkpvq0s3wsulgf2as0yupspul0429xe3d5ldu0s70tze6gl0f4nl4gwzwjylu2kdp5ddj8ff2q3zu78pv0zs5hmttkvxv005wvzevwn3jnfdr9w4wkfhm8lwr42sp856xfcaf3ec3etm28xqwgl2wpuw73yk2texuxwhhmacqvyt47dqu2uscft
Times called
0
Similar programs
Imports
-
Mappings
-
Structs
-
Records
Token
Functions
-
Transitions
mint(address, u64) -> Token
transfer(Token, address, u64) -> (Token, Token)
Program Source Code (Aleo Instruction) Upload Leo source

program aleoleonotaleo.aleo;

record Token:
    owner as address.private;
    amount as u64.private;

function mint:
    input r0 as address.private;
    input r1 as u64.private;
    cast r0 r1 into r2 as Token.record;
    output r2 as Token.record;

function transfer:
    input r0 as Token.record;
    input r1 as address.private;
    input r2 as u64.private;
    sub r0.amount r2 into r3;
    cast r0.owner r3 into r4 as Token.record;
    cast r1 r2 into r5 as Token.record;
    output r4 as Token.record;
    output r5 as Token.record;

Block heightTimestampTransition IDFunction callState
Program has no mappings.
Not implemented