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

API

alpha

Module0xfe3a…3f93
Move path
0xfe3a…3f93::alpha
Functions
10 public, 0 entry
Structs
1
Friend modules
None
alpha

Bytecode60 lines

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

// Move bytecode v6
module fe3afec26c59e874f3c1d60b8203cb3852d2bb2aa415df9548b8d688e6683f93.alpha {
use 0000000000000000000000000000000000000000000000000000000000000001::option;
use 0000000000000000000000000000000000000000000000000000000000000002::coin;
use 0000000000000000000000000000000000000000000000000000000000000002::transfer;
use 0000000000000000000000000000000000000000000000000000000000000002::tx_context;
use 0000000000000000000000000000000000000000000000000000000000000002::url;
 
struct ALPHA has drop {
dummy_field: bool
}
 
init(Arg0: ALPHA, Arg1: &mut TxContext) {
L2: loc0: CoinMetadata<ALPHA>
L3: loc1: TreasuryCap<ALPHA>
B0:
0MoveLoc[0](Arg0: ALPHA)
1LdU8(9)
2LdConst[2](vector<u8>: "ALP..)
3LdConst[3](vector<u8>: "ALP..)
4LdConst[4](vector<u8>: "ALP..)
5LdConst[5](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<ALPHA>(ALPHA, u8, vector<u8>, vector<u8>, vector<u8>, Option<Url>, &mut TxContext): TreasuryCap<ALPHA> * CoinMetadata<ALPHA>
10StLoc[2](loc0: CoinMetadata<ALPHA>)
11StLoc[3](loc1: TreasuryCap<ALPHA>)
12MoveLoc[2](loc0: CoinMetadata<ALPHA>)
13Call transfer::public_freeze_object<CoinMetadata<ALPHA>>(CoinMetadata<ALPHA>)
14MutBorrowLoc[3](loc1: TreasuryCap<ALPHA>)
15LdU64(1000000000000000)
16CopyLoc[1](Arg1: &mut TxContext)
17Call coin::mint<ALPHA>(&mut TreasuryCap<ALPHA>, u64, &mut TxContext): Coin<ALPHA>
18LdConst[0](address: 0xaf..)
19Call transfer::public_transfer<Coin<ALPHA>>(Coin<ALPHA>, address)
20MutBorrowLoc[3](loc1: TreasuryCap<ALPHA>)
21LdU64(500000000000000)
22CopyLoc[1](Arg1: &mut TxContext)
23Call coin::mint<ALPHA>(&mut TreasuryCap<ALPHA>, u64, &mut TxContext): Coin<ALPHA>
24LdConst[1](address: 0xa8..)
25Call transfer::public_transfer<Coin<ALPHA>>(Coin<ALPHA>, address)
26MoveLoc[3](loc1: TreasuryCap<ALPHA>)
27MoveLoc[1](Arg1: &mut TxContext)
28FreezeRef
29Call tx_context::sender(&TxContext): address
30Call transfer::public_transfer<TreasuryCap<ALPHA>>(TreasuryCap<ALPHA>, address)
31Ret
}
 
Constants [
0 => address: 0xafe1cc0a5116afed42b4abbbbb916e190292c5de7a2093a14325adff6bfc8f75
1 => address: 0xa86125653d497b4f7ced6d5543e5a7f16be948fdc3276faeed34246dfd5af2e6
2 => vector<u8>: "ALPHA" // interpreted as UTF8 string
3 => vector<u8>: "ALPHA Token" // interpreted as UTF8 string
4 => vector<u8>: "ALPHA is the native token of AlphaFi Protocol" // interpreted as UTF8 string
5 => vector<u8>: "https://7taj6jfau6n3dri7agspzfnva7qbj5sizz5xc3lb56nmxpsyoiba.arweave.net/_MCfJKCnm7HFHwGk_JW1B-AU9kjOe3FtYe-ay75YcgI" // interpreted as UTF8 string
]
}