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

Program savedmess308.aleo

Program ID
savedmess308.aleo
Owner signature
sign1d4hdcqytztqhwjmxu5npfclzc56xas02p7vnf0pwv88s6gzs7gqnm9y7xy5mys0nylzh4hempdqt8wqus26p7qx4dpkv78l3hq4z5qc9vrq3n72saw0hpx3uestchgvm2r9uk4ggvvcqgy23dp8ufsgnqukrnpvc8655yk2clwtuw2kkalml4837qkh4cuvfwgnlnf8ggqh3yxlss7e
Times called
0
Similar programs
Imports
-
Mappings
-
Structs
-
Records
credits
Functions
-
Transitions
split(credits, u64) -> (credits, credits)
Program Source Code (Aleo Instruction) Upload Leo source

program savedmess308.aleo;

record credits:
    owner as address.private;
    microcredits as u64.private;

function split:
    input r0 as credits.record;
    input r1 as u64.private;
    sub r0.microcredits r1 into r2;
    sub r2 10000u64 into r3;
    cast r0.owner r1 into r4 as credits.record;
    cast r0.owner r3 into r5 as credits.record;
    output r4 as credits.record;
    output r5 as credits.record;

Block heightTimestampTransition IDFunction callState
Program has no mappings.
Not implemented