The explorer is out of sync. The last synced block is 525 hours ago. Current block height: explorer: 2206528 / node: 2542127 / ref: 2492275

Program the_liolihuuivgff6gsattvkus.aleo

Program ID
the_liolihuuivgff6gsattvkus.aleo
Owner signature
sign1mw4c6nv5cvyxr0f75h8u7ml6xalfy6md7u3xthl5z4wf6s9thvq5c8y63w3k3c62lseg2smtvsyeqngsdttevnw7965074r2dv8p7q503hduxy77h86ya36nu3zsg857vqxsuvueeukyhdyyrry5j9sppr78a8kqmwelfxpvv2vzcg9pnatdut3g37sct2k02q38g4ktjdaqkgnepwr
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 the_liolihuuivgff6gsattvkus.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