Structs
royalty_strategy_constant::ConstantRoyaltyStrategy has drop, store
royalty_strategy_constant::ConstantRoyaltyStrategy has drop, store
Fields:
Name | Type | Description |
---|---|---|
royalty_fee
|
u64
|
Constant royalty charged |
Methods
public fun new(royalty_fee: u64):
royalty_strategy_constant::ConstantRoyaltyStrategy
public fun new(royalty_fee: u64):
royalty_strategy_constant::ConstantRoyaltyStrategy
public fun royalty_fee(
domain: &royalty_strategy_constant::ConstantRoyaltyStrategy,
): u64
public fun royalty_fee(
domain: &royalty_strategy_constant::ConstantRoyaltyStrategy,
): u64
public fun calculate(
domain: &royalty_strategy_constant::ConstantRoyaltyStrategy,
): u64
public fun calculate(
domain: &royalty_strategy_constant::ConstantRoyaltyStrategy,
): u64