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

Program nft_whoru.aleo

Program ID
nft_whoru.aleo
Owner signature
sign1yr9yw89aj6u9eylethph6uy5kndx4djtkuqhgax3d0f57vuhycp22env6lk3zp0rcl6a455tpxe5mj4yu4uzu5luzretrvzxu3pp6qppnr2726ldqskkjc0y8ws44qzspn0c2rvmgaqjym2txse0du54qnhyp8pal3ep9dqh0sv2zcm9c8lh0wyzrw2dm9hfz3kam0ysqv3qc7mtm7x
Times called
0
Similar programs
Imports
-
Mappings
-
Structs
String64
TokenId
Records
Token
Collection
Functions
-
Transitions
create_collection(address, u128) -> Collection
mint(address, TokenId, String64) -> Token
Program Source Code (Aleo Instruction) Upload Leo source

program nft_whoru.aleo;

struct String64:
    part0 as u128;
    part1 as u128;
    part2 as u128;
    part3 as u128;

struct TokenId:
    token_number as u128;
    collection_number as u128;

record Token:
    owner as address.private;
    id as TokenId.private;
    metadata_uri as String64.private;

record Collection:
    owner as address.private;
    id as u128.private;

function create_collection:
    input r0 as address.private;
    input r1 as u128.private;
    cast r0 r1 into r2 as Collection.record;
    output r2 as Collection.record;

function mint:
    input r0 as address.private;
    input r1 as TokenId.private;
    input r2 as String64.private;
    cast self.caller r1 r2 into r3 as Token.record;
    output r3 as Token.record;

Block heightTimestampTransition IDFunction callState
Program has no mappings.
Not implemented