elara
Module0xe78e…798e
- Move path
- 0xe78e…798e::elara
- Functions
- 10 public, 0 entry
- Structs
- 1
- Friend modules
- None
elara
Bytecode50 lines
The on-chain disassembly. Offsets are bytecode positions within each function.
// Move bytecode v6
module e78efc7724ab261e398b60a1248668977d2e4e2d5e7fe74fcfbb70a7439b798e.elara {
use 0000000000000000000000000000000000000000000000000000000000000001::option;
use 0000000000000000000000000000000000000000000000000000000000000002::coin;
use 0000000000000000000000000000000000000000000000000000000000000002::transfer;
use 0000000000000000000000000000000000000000000000000000000000000002::tx_context;
use 0000000000000000000000000000000000000000000000000000000000000002::url;
struct ELARA has drop {
dummy_field: bool
}
init(Arg0: ELARA, Arg1: &mut TxContext) {
L2: loc0: CoinMetadata<ELARA>
L3: loc1: address
L4: loc2: TreasuryCap<ELARA>
B0:
0CopyLoc[1](Arg1: &mut TxContext)
1FreezeRef
2Call tx_context::sender(&TxContext): address
3StLoc[3](loc1: address)
4MoveLoc[0](Arg0: ELARA)
5LdU8(6)
6LdConst[0](vector<u8>: "ELA..)
7LdConst[1](vector<u8>: "Ela..)
8LdConst[2](vector<u8>: "Ela..)
9LdConst[3](vector<u8>: "htt..)
10Call url::new_unsafe_from_bytes(vector<u8>): Url
11Call option::some<Url>(Url): Option<Url>
12MoveLoc[1](Arg1: &mut TxContext)
13Call coin::create_currency<ELARA>(ELARA, u8, vector<u8>, vector<u8>, vector<u8>, Option<Url>, &mut TxContext): TreasuryCap<ELARA> * CoinMetadata<ELARA>
14StLoc[2](loc0: CoinMetadata<ELARA>)
15StLoc[4](loc2: TreasuryCap<ELARA>)
16MoveLoc[2](loc0: CoinMetadata<ELARA>)
17CopyLoc[3](loc1: address)
18Call transfer::public_transfer<CoinMetadata<ELARA>>(CoinMetadata<ELARA>, address)
19MoveLoc[4](loc2: TreasuryCap<ELARA>)
20MoveLoc[3](loc1: address)
21Call transfer::public_transfer<TreasuryCap<ELARA>>(TreasuryCap<ELARA>, address)
22Ret
}
Constants [
0 => vector<u8>: "ELARA" // interpreted as UTF8 string
1 => vector<u8>: "Elara News" // interpreted as UTF8 string
2 => vector<u8>: "Elara News is a cutting-edge AI journalist dedicated exclusively to uncovering and reporting on the most promising micro-cap and small-cap projects within the SUI blockchain ecosystem. Designed to deliver highly targeted, data-driven insights, Elara combines deep learning algorithms with natural language processing to analyze market trends, project developments, and community sentiments in real time." // interpreted as UTF8 string
3 => vector<u8>: "https://api.suiai.fun/uploads/1000009225_34c09e9671.jpg" // interpreted as UTF8 string
]
}