The explorer is out of sync. The last synced block is 189 hours ago. Current block height: explorer: 2206528 / node: 2329220 / ref: 2329220

Program kyc_wrapper_1713438024.aleo

Program ID
kyc_wrapper_1713438024.aleo
Owner signature
sign1gtec66gd7ezgtnpe4s5smgfvgfq0l3zqu0rd266v34770au5pyp7yl73nm27y3xm55eetx5f5z6smurujee40j7jank99hwhaz4fyqffmld7e4vm2kzgyjlge3ggyyey24760gftwv30faflcdgansp7q5dgy78gdshhk83hp46kg398hqt93w6xstu443fduz9xszj9le6sxdg76dy
Times called
11
Similar programs
Mappings
-
Structs
Action
Proposal
Signature
IssueKYC
Records
-
Functions
kyc_proposal
Transitions
sign_issue_2(IssueKYC, u64) -> ()
Program Source Code (Aleo Instruction) Upload Leo source

import multisig_1713438024.aleo;
import kyc_1713438024.aleo;

program kyc_wrapper_1713438024.aleo;

struct Action:
    program_address as address;
    action_id as u8;

struct Proposal:
    action as Action;
    argument_hash as field;
    nonce as u64;

struct Signature:
    proposal as Proposal;
    signer as address;

struct IssueKYC:
    owner_ as address;
    account as address;
    expiry_block_height as u32;
    secret as field;

closure kyc_proposal:
    input r0 as IssueKYC;
    input r1 as u64;
    cast aleo186vxe0azx9myhkmpex36tcvngqra5cwp3cnv9v55qjqqwdcnu5pqr5mn5t 0u8 into r2 as Action;
    hash.bhp256 r0 into r3 as field;
    cast r2 r3 r1 into r4 as Proposal;
    output r4 as Proposal;

function sign_issue_2:
    input r0 as IssueKYC.private;
    input r1 as u64.private;
    call kyc_proposal r0 r1 into r2;
    call multisig_1713438024.aleo/sign r2 into r3;
    call multisig_1713438024.aleo/issue_authorization self.signer r2 into r4 r5;
    call kyc_1713438024.aleo/issue_kyc r4 r0 into r6 r7;
    cast r0.account r0.account r0.expiry_block_height r0.secret into r8 as IssueKYC;
    add r1 1u64 into r9;
    call kyc_proposal r8 r9 into r10;
    call multisig_1713438024.aleo/sign r10 into r11;
    call multisig_1713438024.aleo/issue_authorization self.signer r10 into r12 r13;
    call kyc_1713438024.aleo/issue_kyc r12 r8 into r14 r15;
    async sign_issue_2 r3 r5 r7 r11 r13 r15 into r16;
    output r16 as kyc_wrapper_1713438024.aleo/sign_issue_2.future;
finalize sign_issue_2:
    input r0 as multisig_1713438024.aleo/sign.future;
    input r1 as multisig_1713438024.aleo/issue_authorization.future;
    input r2 as kyc_1713438024.aleo/issue_kyc.future;
    input r3 as multisig_1713438024.aleo/sign.future;
    input r4 as multisig_1713438024.aleo/issue_authorization.future;
    input r5 as kyc_1713438024.aleo/issue_kyc.future;
    await r0;
    await r1;
    await r2;
    await r3;
    await r4;
    await r5;

Program has no mappings.
Not implemented