once ❝ published name Reconstructed 91.5% of control flow structured Anchor ◇ GRzKU9i3Cs7A5Euf9gGZjbRnpypw7DzaU3hWRfUgpYTa copy decompiled 22 Oct 2026
Identity · published metadata ▾
Loader ■ v3 · upgradeable
sBPF ■ v0
Size ■ 556,728 bytes
Instructions ● 58,814
Functions ● 412
SHA-256 ● 23200e76…1d4a7b42
Upgrade authority ■ 8gop…M677
Last deploy slot ■ 459,519,774 ❝ Published by the authors · their claims, not revrsly output Verified build github.com/call-once/once-program @ 1ee2ebf · ✓ hash matches this bytecode IDL · none publishedsecurity.txt · embedded ■ read from the bytes view Loading the reconstruction…
Functions
Other functions 354
+ 294 more · type to filter
custom_error_fmt ▾
1 // custom_error_fmt · 108 instructions · 19 callers
2 fn custom_error_fmt ( mut r1: u64 , mut r2: u64 , mut r3: u64 , mut r4: u64
Evidence why revrsly believes it ×
Function ◇ Inferred
custom_error_fmt
◇ Gives each variant of the program's error enum its message (its Display).
● .text+0x3f218 · 108 instructions · 54 blocks
● 19 callers
◇ takes 5 arguments (from register use)
,
mut
r5:
u64
) ->
u64
{
4 r1 = *((r2) as * const u64 );
5 r4 = *((*((r2 + 8 ) as * const u64 ) + 0x18 ) as * const u64 );
6 r2 = *((r3) as * const u32 );
8 if (r2 as i64 ) <= 0x12 {
11 r2 = 0x7a2c0 ; // .rodata+0xec0
15 r2 = "Call has not expired" ; ■ string · 20 B
18 r2 = "Call has expired" ; ■ string · 16 B
24 r2 = "Call is not held" ; ■ string · 16 B
28 r2 = "Public purchase is unavailable during the priority interval" ; ■ string · 59 B
31 r2 = "Call has already settled" ; ■ string · 24 B
37 if (r2 as i64 ) <= 0x15 {
39 r2 = "Signer is not the writer" ; ■ string · 24 B
43 r2 = "Signer is not the locker" ; ■ string · 24 B
46 r2 = "Signer is not the holder" ; ■ string · 24 B
51 if (r2 as i64 ) > 0x17 {
53 r2 = "Checked arithmetic overflow" ; ■ string · 27 B
55 r0 = call_indirect(r4, r1, r2, r3, r4, r5);
58 r2 = "Incorrect mint" ; ■ string · 14 B
63 r2 = "Vault holds less than the call lot" ; ■ string · 34 B
66 r2 = "Lock release slot has not arrived" ; ■ string · 33 B
76 r2 = "ONCE mint has not been set" ; ■ string · 26 B
80 r2 = "Expiry must be in the future" ; ■ string · 28 B
83 r2 = "Amounts and gate length must be positive" ; ■ string · 40 B
89 r2 = "Only the program upgrade authority may initialize" ; ■ string · 49 B
93 r2 = "ONCE mint has already been set" ; ■ string · 30 B
96 r2 = "Only the admin may update configuration" ; ■ string · 39 B
102 if (r2 as i64 ) <= 8 {
104 r2 = "Call id must equal the next id" ; ■ string · 30 B
108 r2 = "An active transfer hook is not supported" ; ■ string · 40 B
111 r2 = "Unsupported token program" ; ■ string · 25 B
116 if (r2 as i64 ) > 0xa {
118 r2 = "Call is not open" ; ■ string · 16 B
121 r2 = "Vault deposit does not equal the requested amount" ; ■ string · 49 B
126 r2 = "Default token account state must be initialized" ; ■ string · 47 B
129 r2 = "Transfer fee mints are not supported" ; ■ string · 36 B
136 r0 = call_indirect(r4, r1, r2, r3, r4, r5);