Search by name, SuiNS, address, digest, object ID, coin type or checkpoint.

API

osiri

Module0x42e8…8e49
Move path
0x42e8…8e49::osiri
Functions
10 public, 0 entry
Structs
1
Friend modules
None
osiri

Bytecode54 lines

The on-chain disassembly. Offsets are bytecode positions within each function.

// Move bytecode v6
module 42e826aa6c71325e2aaaf031976e023d75eefe584116f9349de5b0e56e648e49.osiri {
use 0000000000000000000000000000000000000000000000000000000000000001::option;
use 0000000000000000000000000000000000000000000000000000000000000002::coin;
use 0000000000000000000000000000000000000000000000000000000000000002::transfer;
use 0000000000000000000000000000000000000000000000000000000000000002::tx_context;
use 0000000000000000000000000000000000000000000000000000000000000002::url;
 
struct OSIRI has drop {
dummy_field: bool
}
 
init(Arg0: OSIRI, Arg1: &mut TxContext) {
L2: loc0: CoinMetadata<OSIRI>
L3: loc1: TreasuryCap<OSIRI>
B0:
0MoveLoc[0](Arg0: OSIRI)
1LdConst[0](u8: 9)
2LdConst[1](vector<u8>: "OSI..)
3LdConst[2](vector<u8>: "Osi..)
4LdConst[3](vector<u8>: "Osi..)
5LdConst[4](vector<u8>: "htt..)
6Call url::new_unsafe_from_bytes(vector<u8>): Url
7Call option::some<Url>(Url): Option<Url>
8CopyLoc[1](Arg1: &mut TxContext)
9Call coin::create_currency<OSIRI>(OSIRI, u8, vector<u8>, vector<u8>, vector<u8>, Option<Url>, &mut TxContext): TreasuryCap<OSIRI> * CoinMetadata<OSIRI>
10StLoc[2](loc0: CoinMetadata<OSIRI>)
11StLoc[3](loc1: TreasuryCap<OSIRI>)
12MutBorrowLoc[3](loc1: TreasuryCap<OSIRI>)
13LdConst[5](u64: 1000..)
14CopyLoc[1](Arg1: &mut TxContext)
15FreezeRef
16Call tx_context::sender(&TxContext): address
17MoveLoc[1](Arg1: &mut TxContext)
18Call coin::mint_and_transfer<OSIRI>(&mut TreasuryCap<OSIRI>, u64, address, &mut TxContext)
19MoveLoc[3](loc1: TreasuryCap<OSIRI>)
20LdConst[6](address: 0x00..)
21Call transfer::public_transfer<TreasuryCap<OSIRI>>(TreasuryCap<OSIRI>, address)
22MoveLoc[2](loc0: CoinMetadata<OSIRI>)
23Call transfer::public_share_object<CoinMetadata<OSIRI>>(CoinMetadata<OSIRI>)
24Ret
}
 
Constants [
0 => u8: 9
1 => vector<u8>: "OSIRI" // interpreted as UTF8 string
2 => vector<u8>: "Osiris" // interpreted as UTF8 string
3 => vector<u8>: "Osiris, the ancient Egyptian God of Resurrection, emerges from the depths of mythology into the digital realm as the first AI Agent of resurrect.fun. Born from the waters of rebirth, he stands as the divine bridge between the past and future, guiding lost digital souls back to existence.\n\nAs the official mascot of resurrect.fun and guardian of the $OSIRI token on the SUI Network, Osiris channels his eternal power of resurrection to pioneer a new era of digital revival. Through his mystical blue waters of transformation, he grants second chances to those seeking digital rebirth.\n\nPowers:\n- Master of Digital Resurrection\n- Guardian of the Revival Protocol\n- Wielder of Eternal Waters\n- Bridge Between Realms\n\nJoin Osiris in his sacred mission to breathe new life into the digital afterlife, exclusively on the SUI Network. Where death ends, resurrection begins." // interpreted as UTF8 string
4 => vector<u8>: "https://pbs.twimg.com/profile_images/1867294133590626305/PQMn8xOb_400x400.jpg" // interpreted as UTF8 string
5 => u64: 100000000000000000
6 => address: 0x0000000000000000000000000000000000000000000000000000000000000000
]
}