Structs
royalty_strategy_bps::BpsRoyaltyStrategy has drop, store
royalty_strategy_bps::BpsRoyaltyStrategy has drop, store
Fields:
Name | Type | Description |
---|---|---|
royalty_fee_bps
|
u64
|
Royalty charged on trades in basis points |
Methods
public fun new(royalty_fee_bps: u64):
royalty_strategy_bps::BpsRoyaltyStrategy
public fun new(royalty_fee_bps: u64):
royalty_strategy_bps::BpsRoyaltyStrategy
public fun royalty_fee_bps(
domain: &royalty_strategy_bps::BpsRoyaltyStrategy,
): u64
public fun royalty_fee_bps(
domain: &royalty_strategy_bps::BpsRoyaltyStrategy,
): u64
public fun calculate(
domain: &royalty_strategy_bps::BpsRoyaltyStrategy,
amount: u64,
): u64
public fun calculate(
domain: &royalty_strategy_bps::BpsRoyaltyStrategy,
amount: u64,
): u64