tfrog
Module0xabfa…2013
- Move path
- 0xabfa…2013::tfrog
- Functions
- 10 public, 0 entry
- Structs
- 1
- Friend modules
- None
tfrog
Bytecode47 lines
The on-chain disassembly. Offsets are bytecode positions within each function.
// Move bytecode v6
module abfa0d5c097ec6959aef76c3df9e4b91a6db2f3192ebba4166d66e28b4342013.tfrog {
use 0000000000000000000000000000000000000000000000000000000000000001::option;
use 0000000000000000000000000000000000000000000000000000000000000002::coin;
use 0000000000000000000000000000000000000000000000000000000000000002::transfer;
use 0000000000000000000000000000000000000000000000000000000000000002::tx_context;
use 0000000000000000000000000000000000000000000000000000000000000002::url;
struct TFROG has drop {
dummy_field: bool
}
init(Arg0: TFROG, Arg1: &mut TxContext) {
L2: loc0: CoinMetadata<TFROG>
L3: loc1: TreasuryCap<TFROG>
B0:
0MoveLoc[0](Arg0: TFROG)
1LdConst[0](u8: 6)
2LdConst[1](vector<u8>: "TFR..)
3LdConst[2](vector<u8>: "Tur..)
4LdConst[3](vector<u8>: "Fir..)
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<TFROG>(TFROG, u8, vector<u8>, vector<u8>, vector<u8>, Option<Url>, &mut TxContext): TreasuryCap<TFROG> * CoinMetadata<TFROG>
10StLoc[2](loc0: CoinMetadata<TFROG>)
11StLoc[3](loc1: TreasuryCap<TFROG>)
12MoveLoc[2](loc0: CoinMetadata<TFROG>)
13Call transfer::public_freeze_object<CoinMetadata<TFROG>>(CoinMetadata<TFROG>)
14MoveLoc[3](loc1: TreasuryCap<TFROG>)
15MoveLoc[1](Arg1: &mut TxContext)
16FreezeRef
17Call tx_context::sender(&TxContext): address
18Call transfer::public_transfer<TreasuryCap<TFROG>>(TreasuryCap<TFROG>, address)
19Ret
}
Constants [
0 => u8: 6
1 => vector<u8>: "TFROG" // interpreted as UTF8 string
2 => vector<u8>: "TurbosFrog" // interpreted as UTF8 string
3 => vector<u8>: "First Frog on Turbos" // interpreted as UTF8 string
4 => vector<u8>: "https://r.turbos.finance/icon/1730954563970.jpg" // interpreted as UTF8 string
]
}