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

Move path
0xce7f…4db2::well_events
Functions
60 public, 0 entry
Structs
6
Friend modules
buckwell
well_events

Bytecode122 lines

The on-chain disassembly. Offsets are instruction numbers within each function.

// Move bytecode v7
module ce7ff77a83ea0cb6fd39bd8748e2ec89a3f41e8efdc3f4eb123e0ca37b184db2.well_events {
use 0000000000000000000000000000000000000000000000000000000000000001::ascii;
use 0000000000000000000000000000000000000000000000000000000000000001::string;
use 0000000000000000000000000000000000000000000000000000000000000001::type_name;
use 0000000000000000000000000000000000000000000000000000000000000002::balance;
use 0000000000000000000000000000000000000000000000000000000000000002::event;
 
struct CollectFee has copy, drop {
well_type: String,
fee_amount: u64
}
 
struct Stake has copy, drop {
well_type: String,
stake_amount: u64,
stake_weight: u64,
lock_time: u64
}
 
struct Unstake has copy, drop {
well_type: String,
unstake_amount: u64,
unstake_weigth: u64,
reward_amount: u64
}
 
struct Claim has copy, drop {
well_type: String,
reward_amount: u64
}
 
struct Penalty has copy, drop {
well_type: String,
penalty_amount: u64
}
 
struct CollectFeeFrom has copy, drop {
well_type: String,
fee_amount: u64,
from: String
}
 
public(friend) emit_collect_fee<Ty0>(Arg0: u64) {
B0:
0Call type_name::with_defining_ids<Ty0>(): TypeName
1Call type_name::into_string(TypeName): String
2MoveLoc[0](Arg0: u64)
3Pack[0](CollectFee)
4Call event::emit<CollectFee>(CollectFee)
5Ret
}
 
public(friend) emit_stake<Ty0>(Arg0: u64, Arg1: u64, Arg2: u64) {
B0:
0Call type_name::with_defining_ids<Ty0>(): TypeName
1Call type_name::into_string(TypeName): String
2MoveLoc[0](Arg0: u64)
3MoveLoc[1](Arg1: u64)
4MoveLoc[2](Arg2: u64)
5Pack[1](Stake)
6Call event::emit<Stake>(Stake)
7Ret
}
 
public(friend) emit_unstake<Ty0>(Arg0: u64, Arg1: u64, Arg2: u64) {
B0:
0Call type_name::with_defining_ids<Ty0>(): TypeName
1Call type_name::into_string(TypeName): String
2MoveLoc[0](Arg0: u64)
3MoveLoc[1](Arg1: u64)
4MoveLoc[2](Arg2: u64)
5Pack[2](Unstake)
6Call event::emit<Unstake>(Unstake)
7Ret
}
 
public(friend) emit_claim<Ty0>(Arg0: u64) {
B0:
0Call type_name::with_defining_ids<Ty0>(): TypeName
1Call type_name::into_string(TypeName): String
2MoveLoc[0](Arg0: u64)
3Pack[3](Claim)
4Call event::emit<Claim>(Claim)
5Ret
}
 
public(friend) emit_penalty<Ty0>(Arg0: u64) {
B0:
0Call type_name::with_defining_ids<Ty0>(): TypeName
1Call type_name::into_string(TypeName): String
2MoveLoc[0](Arg0: u64)
3Pack[4](Penalty)
4Call event::emit<Penalty>(Penalty)
5Ret
}
 
public(friend) emit_collect_fee_from<Ty0>(Arg0: &Balance<Ty0>, Arg1: vector<u8>) {
L2: loc0: u64
L3: loc1: String
L4: loc2: String
B0:
0Call type_name::with_defining_ids<Ty0>(): TypeName
1Call type_name::into_string(TypeName): String
2StLoc[4](loc2: String)
3MoveLoc[0](Arg0: &Balance<Ty0>)
4Call balance::value<Ty0>(&Balance<Ty0>): u64
5StLoc[2](loc0: u64)
6MoveLoc[1](Arg1: vector<u8>)
7Call string::utf8(vector<u8>): String
8Call string::to_ascii(String): String
9StLoc[3](loc1: String)
10MoveLoc[4](loc2: String)
11MoveLoc[2](loc0: u64)
12MoveLoc[3](loc1: String)
13Pack[5](CollectFeeFrom)
14Call event::emit<CollectFeeFrom>(CollectFeeFrom)
15Ret
}
 
}