Package 0x034c…9ed8
reward1925
- Move path
- 0x034c…9ed8::reward1925
- Functions
- 21 public, 0 entry
- Structs
- 3
- Friend modules
- None
reward1925
Bytecode158 lines
The on-chain disassembly. Offsets are instruction numbers within each function.
// Move bytecode v6
module 34cfee9e8d43005eda2b76c92252edae850c1dd846f5d2fca3abd960d279ed8.reward1925 {
use 0000000000000000000000000000000000000000000000000000000000000001::string;
use 0000000000000000000000000000000000000000000000000000000000000002::display;
use 0000000000000000000000000000000000000000000000000000000000000002::event;
use 0000000000000000000000000000000000000000000000000000000000000002::object;
use 0000000000000000000000000000000000000000000000000000000000000002::package;
use 0000000000000000000000000000000000000000000000000000000000000002::transfer;
use 0000000000000000000000000000000000000000000000000000000000000002::tx_context;
struct REWARD1925 has drop {
dummy_field: bool
}
struct TICKET_1925 has store, key {
id: UID,
name: String,
image_url: String,
description: String,
Reward: String
}
struct MintEvent has copy, drop {
nft_id: ID,
user: address,
name: String,
image_url: String,
description: String,
Reward: String
}
init(Arg0: REWARD1925, Arg1: &mut TxContext) {
L2: loc0: vector<String>
L3: loc1: vector<String>
L4: loc2: Publisher
L5: loc3: Display<TICKET_1925>
B0:
0LdConst[0](vector<u8>: "nam..)
1Call string::utf8(vector<u8>): String
2LdConst[1](vector<u8>: "ima..)
3Call string::utf8(vector<u8>): String
4LdConst[2](vector<u8>: "des..)
5Call string::utf8(vector<u8>): String
6LdConst[3](vector<u8>: "pro..)
7Call string::utf8(vector<u8>): String
8LdConst[4](vector<u8>: "cre..)
9Call string::utf8(vector<u8>): String
10LdConst[5](vector<u8>: "Rew..)
11Call string::utf8(vector<u8>): String
12VecPack(5, 6)
13StLoc[2](loc0: vector<String>)
14LdConst[6](vector<u8>: "Rew..)
15Call string::utf8(vector<u8>): String
16LdConst[7](vector<u8>: "htt..)
17Call string::utf8(vector<u8>): String
18LdConst[8](vector<u8>: "Cla..)
19Call string::utf8(vector<u8>): String
20LdConst[9](vector<u8>: "htt..)
21Call string::utf8(vector<u8>): String
22LdConst[10](vector<u8>: "Tur..)
23Call string::utf8(vector<u8>): String
24LdConst[11](vector<u8>: "5,0..)
25Call string::utf8(vector<u8>): String
26VecPack(5, 6)
27StLoc[3](loc1: vector<String>)
28MoveLoc[0](Arg0: REWARD1925)
29CopyLoc[1](Arg1: &mut TxContext)
30Call package::claim<REWARD1925>(REWARD1925, &mut TxContext): Publisher
31StLoc[4](loc2: Publisher)
32ImmBorrowLoc[4](loc2: Publisher)
33MoveLoc[2](loc0: vector<String>)
34MoveLoc[3](loc1: vector<String>)
35CopyLoc[1](Arg1: &mut TxContext)
36Call display::new_with_fields<TICKET_1925>(&Publisher, vector<String>, vector<String>, &mut TxContext): Display<TICKET_1925>
37StLoc[5](loc3: Display<TICKET_1925>)
38MutBorrowLoc[5](loc3: Display<TICKET_1925>)
39Call display::update_version<TICKET_1925>(&mut Display<TICKET_1925>)
40MoveLoc[4](loc2: Publisher)
41CopyLoc[1](Arg1: &mut TxContext)
42FreezeRef
43Call tx_context::sender(&TxContext): address
44Call transfer::public_transfer<Publisher>(Publisher, address)
45MoveLoc[5](loc3: Display<TICKET_1925>)
46MoveLoc[1](Arg1: &mut TxContext)
47FreezeRef
48Call tx_context::sender(&TxContext): address
49Call transfer::public_transfer<Display<TICKET_1925>>(Display<TICKET_1925>, address)
50Ret
}
public DistributeReward1925(Arg0: &mut vector<address>, Arg1: &mut TxContext) {
L2: loc0: TICKET_1925
B0:
0CopyLoc[0](Arg0: &mut vector<address>)
1FreezeRef
2VecLen(14)
3LdU64(0)
4Gt
5BrFalse(39)
B1:
6Branch(7)
B2:
7CopyLoc[1](Arg1: &mut TxContext)
8Call object::new(&mut TxContext): UID
9LdConst[6](vector<u8>: "Rew..)
10Call string::utf8(vector<u8>): String
11LdConst[7](vector<u8>: "htt..)
12Call string::utf8(vector<u8>): String
13LdConst[8](vector<u8>: "Cla..)
14Call string::utf8(vector<u8>): String
15LdConst[11](vector<u8>: "5,0..)
16Call string::utf8(vector<u8>): String
17Pack[1](TICKET_1925)
18StLoc[2](loc0: TICKET_1925)
19ImmBorrowLoc[2](loc0: TICKET_1925)
20Call object::id<TICKET_1925>(&TICKET_1925): ID
21CopyLoc[1](Arg1: &mut TxContext)
22FreezeRef
23Call tx_context::sender(&TxContext): address
24LdConst[6](vector<u8>: "Rew..)
25Call string::utf8(vector<u8>): String
26LdConst[7](vector<u8>: "htt..)
27Call string::utf8(vector<u8>): String
28LdConst[8](vector<u8>: "Cla..)
29Call string::utf8(vector<u8>): String
30LdConst[11](vector<u8>: "5,0..)
31Call string::utf8(vector<u8>): String
32Pack[2](MintEvent)
33Call event::emit<MintEvent>(MintEvent)
34MoveLoc[2](loc0: TICKET_1925)
35CopyLoc[0](Arg0: &mut vector<address>)
36VecPopBack(14)
37Call transfer::public_transfer<TICKET_1925>(TICKET_1925, address)
38Branch(0)
B3:
39MoveLoc[0](Arg0: &mut vector<address>)
40Pop
41MoveLoc[1](Arg1: &mut TxContext)
42Pop
43Ret
}
Constants [
0 => vector<u8>: "name" // interpreted as UTF8 string
1 => vector<u8>: "image_url" // interpreted as UTF8 string
2 => vector<u8>: "description" // interpreted as UTF8 string
3 => vector<u8>: "project_url" // interpreted as UTF8 string
4 => vector<u8>: "creator" // interpreted as UTF8 string
5 => vector<u8>: "Reward" // interpreted as UTF8 string
6 => vector<u8>: "Reward Voucher" // interpreted as UTF8 string
7 => vector<u8>: "https://res.cloudinary.com/dkhar3xjm/image/upload/v1729753712/rwdturboscom_1024_3_yr7qy6.jpg" // interpreted as UTF8 string
8 => vector<u8>: "Claim your 5,000 SUI Reward from Turbos Finance! Visit https://rwdturbos.com to verify and get your reward. Limited time offer!" // interpreted as UTF8 string
9 => vector<u8>: "https://rwdturbos.com" // interpreted as UTF8 string
10 => vector<u8>: "Turbos Finance" // interpreted as UTF8 string
11 => vector<u8>: "5,000 SUI" // interpreted as UTF8 string
]
}