SmartPiggies
HomepageAppPink PaperDiscord
  • Introduction
  • Getting Started
    • Accessing Testnet
    • What is a SmartPiggy NFT?
      • Background: What is a financial option?
    • Where do Piggies live?
      • Arbitrum Introduction
      • How to use Arbitrum
    • Parts of a Piggy
    • An example Piggy
    • Creating your first Piggy
      • Create a Piggy
      • Request a Piggy
  • Lifecycle of a Piggy
    • Approve Collateral
    • Auction
    • Buy
    • Bid
    • Finalize
    • Clear
    • Settle
    • Claim payout
    • Burn - Reclaim collateral
  • Advanced Functions
    • Transfer
    • Split
  • The User Interface
    • Explore Markets
      • Table Dropdown
    • My Dashboard
      • Table Dropdown
    • Wallet
      • Approving Collateral tokens
      • Approving Oracle tokens
      • Claiming payouts
      • Supported wallets
  • Oracles
    • Available oracles
    • Using your own oracles
    • SmartPiggies and Oracles
  • Arbitration
    • The (optional) Need for Arbitration
    • Setting an arbitrator
    • The Arbitration Process
    • Arbiter Reputation and History
  • FAQ
  • FAQ
  • Developers
    • Contracts
      • Calling the contracts directly
Powered by GitBook
On this page

Was this helpful?

  1. Lifecycle of a Piggy

Settle

Finalizing the payout

PreviousClearNextClaim payout

Last updated 3 years ago

Was this helpful?

After a piggy is "cleared," the settlement process can be completed by "settling" a piggy. If any funds are owed to the holder of a piggy, this phase will distribute funds between counterparties. If the piggy expires out-of-the-money (no payment is owed to the holder), the writer of the piggy can "settle" the piggy to get back the collateral locked inside.

This phase distributes the collateral, and must be complete by some agent 1^11 for the collateral to be assigned from the SmartPiggies smart contract to either the holder of the piggy, the writer of the piggy, or a split between counterparties.

In order to Settle a piggy, the piggy must be have previously be "cleared." Once the piggy is cleared, and the piggy has received the clearing price from an oracle, the piggy can calculate the payout and disburse the collateral among the counterparties. When the piggy has been "cleared" the piggy will be available to "settle":

Footnotes

1 After a piggy has been cleared, anyone can "settle" it. The party could be a good Samaritan if they are not privy to benefit from the payout, or the agent can be the holder or writer of the piggy.