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

API

mpoints

Module0xc53f…25bf
Move path
0x7bae…aa68::mpoints
Functions
10 public, 0 entry
Structs
1
Friend modules
None
mpoints

Bytecode43 lines

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

// Move bytecode v6
module 7bae0b3b7b6c3da899fe3f4af95b7110633499c02b8c6945110d799d99deaa68.mpoints {
use 0000000000000000000000000000000000000000000000000000000000000001::option;
use 0000000000000000000000000000000000000000000000000000000000000002::coin;
use 0000000000000000000000000000000000000000000000000000000000000002::transfer;
use 0000000000000000000000000000000000000000000000000000000000000002::tx_context;
use 0000000000000000000000000000000000000000000000000000000000000002::url;
 
struct MPOINTS has drop {
dummy_field: bool
}
 
init(Arg0: MPOINTS, Arg1: &mut TxContext) {
L2: loc0: CoinMetadata<MPOINTS>
B0:
0MoveLoc[0](Arg0: MPOINTS)
1LdConst[0](u8: 0)
2LdConst[1](vector<u8>: "mPO..)
3LdConst[1](vector<u8>: "mPO..)
4LdConst[2](vector<u8>: "Met..)
5LdConst[3](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<MPOINTS>(MPOINTS, u8, vector<u8>, vector<u8>, vector<u8>, Option<Url>, &mut TxContext): TreasuryCap<MPOINTS> * CoinMetadata<MPOINTS>
10StLoc[2](loc0: CoinMetadata<MPOINTS>)
11MoveLoc[1](Arg1: &mut TxContext)
12FreezeRef
13Call tx_context::sender(&TxContext): address
14Call transfer::public_transfer<TreasuryCap<MPOINTS>>(TreasuryCap<MPOINTS>, address)
15MoveLoc[2](loc0: CoinMetadata<MPOINTS>)
16Call transfer::public_freeze_object<CoinMetadata<MPOINTS>>(CoinMetadata<MPOINTS>)
17Ret
}
 
Constants [
0 => u8: 0
1 => vector<u8>: "mPOINTS" // interpreted as UTF8 string
2 => vector<u8>: "Metastable points Coin" // interpreted as UTF8 string
3 => vector<u8>: "https://mstable.io/coins/mpoints.svg" // interpreted as UTF8 string
]
}