Orders

High Level Overview of Order's on-chain validators:

Order Spend:

  • ProcessOrder Redeemer:

    • Portfolio NFT is present

  • CancelOrder Redeemer

    • Transaction is signed by the address specified in the datum

Order token Minting Policy

  • ProcessOrder Redeemer

    • Order is created under the correct address

    • Order datum is well-formed

    • Order value is correct according to order kind

    • Manager orders are only created by manager address specified in portfolio datum

  • CancelOrder Redeemer:

    • No script outputs

    • Order token is burnt

Last updated