💲nexus_tool::fixed_price
Struct Policy
Private construction witness for this policy.
public struct Policy has dropFunction get_invocation
Creates an Invocation for the price snapshotted by its execution.
public fun get_invocation(cashier: &nexus_tool::tool_cashier::ToolCashier, request: nexus_interface::payment::InvocationRequest, ctx: &mut sui::tx_context::TxContext): nexus_tool::invocation::InvocationFunction collect
Collects finalized fixed price Invocations under Tool owner authority.
public fun collect(cashier: &mut nexus_tool::tool_cashier::ToolCashier, owner_cap: &nexus_primitives::owner_cap::CloneableOwnerCap<nexus_tool::tool_cashier::OverToolCashier>, invocations: vector<sui::transfer::Receiving<nexus_tool::invocation::Invocation>>): sui::balance::Balance<sui::sui::SUI>Last updated

