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

API

fee_manager

Module0xa761…aec3
Move path
0xa761…aec3::fee_manager
Functions
1211 public, 4 entry
Structs
6
Friend modules
None
fee_manager

Declarations

Rebuilt from the module interface. No verified source is published, and function bodies are only available as bytecode.

module fee_manager;
struct AdminCap has store, key {
id: UID,
}
struct FEE_MANAGER has drop {
dummy_field: bool,
}
struct FeeCollected has copy, drop {
raffle_id: ID,
fee_amount: u64,
collection_time: u64,
}
struct FeeManager has store, key {
id: UID,
fee_recipient: address,
fee_percentage: u64,
creation_fee: u64,
total_fees_collected: u64,
tiered_fees: bool,
}
struct FeeRecipientChanged has copy, drop {
old_recipient: address,
new_recipient: address,
changed_by: address,
}
struct FeeSettingsChanged has copy, drop {
parameter: String,
old_value: u64,
new_value: u64,
changed_by: address,
}
public fun calculate_fee_amount(&FeeManager,u64): u64
public fun get_fee_settings(&FeeManager): (u64, u64, address, bool)
public fun get_total_fees(&FeeManager): u64
fun init(FEE_MANAGER)
public fun process_creation_fee(&mut FeeManager,&mut Coin<SUI>,ID,u64)
public fun process_percentage_fee(&mut FeeManager,&mut Coin<SUI>,ID,u64,u64)
public entry fun set_creation_fee(&mut FeeManager,&AdminCap,u64)
public entry fun set_fee_percentage(&mut FeeManager,&AdminCap,u64)
public entry fun set_fee_recipient(&mut FeeManager,&AdminCap,address)
public fun take_fixed_fee(&mut FeeManager,&mut Coin<SUI>,ID,u64): Coin<SUI>
public fun take_percentage_fee(&mut FeeManager,&mut Coin<SUI>,ID,u64): Coin<SUI>
public entry fun toggle_tiered_fees(&mut FeeManager,&AdminCap,bool)