{
  "address": "deedqwPjy4ehFRxpgCg23Nq5CjdQuofquDKJmANM7A5",
  "metadata": {
    "name": "deed",
    "version": "0.1.0",
    "spec": "0.1.0",
    "description": "Deed: creator fees paid to whoever holds the deed"
  },
  "instructions": [
    {
      "name": "buy",
      "docs": [
        "Anyone buys a listed deed at its current price (the launch auction falls in a straight line for an",
        "hour). The seller gets the price; on a resale 5% of it goes to the treasury."
      ],
      "discriminator": [
        102,
        6,
        61,
        18,
        1,
        218,
        235,
        234
      ],
      "accounts": [
        {
          "name": "buyer",
          "writable": true,
          "signer": true
        },
        {
          "name": "config",
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  99,
                  111,
                  110,
                  102,
                  105,
                  103
                ]
              }
            ]
          }
        },
        {
          "name": "deed",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  100,
                  101,
                  101,
                  100
                ]
              },
              {
                "kind": "account",
                "path": "deed.mint",
                "account": "Deed"
              }
            ]
          }
        },
        {
          "name": "listing",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  108,
                  105,
                  115,
                  116,
                  105,
                  110,
                  103
                ]
              },
              {
                "kind": "account",
                "path": "deed.mint",
                "account": "Deed"
              }
            ]
          }
        },
        {
          "name": "seller",
          "writable": true,
          "relations": [
            "listing"
          ]
        },
        {
          "name": "treasury",
          "writable": true
        },
        {
          "name": "asset",
          "writable": true
        },
        {
          "name": "authority",
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  97,
                  117,
                  116,
                  104,
                  111,
                  114,
                  105,
                  116,
                  121
                ]
              }
            ]
          }
        },
        {
          "name": "collection",
          "writable": true
        },
        {
          "name": "mpl_core",
          "address": "CoREENxT6tW1HoK8ypY1SxRMZTcVPm7R94rH4PZNhX7d"
        },
        {
          "name": "system_program",
          "address": "11111111111111111111111111111111"
        }
      ],
      "args": [
        {
          "name": "max_price",
          "type": "u64"
        }
      ]
    },
    {
      "name": "claim",
      "docs": [
        "Anyone: pays out everything on the fees PDA above its floor, 90% to whoever holds the deed right now",
        "(the seller while it sits on the market) and 10% to the treasury. A burned deed sends it all to the",
        "treasury. Books the lifetime total, the tier and any change of hands on the deed."
      ],
      "discriminator": [
        62,
        198,
        214,
        193,
        213,
        159,
        108,
        210
      ],
      "accounts": [
        {
          "name": "payer",
          "docs": [
            "pays the attribute plugin's realloc (usually the keeper)"
          ],
          "writable": true,
          "signer": true
        },
        {
          "name": "config",
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  99,
                  111,
                  110,
                  102,
                  105,
                  103
                ]
              }
            ]
          }
        },
        {
          "name": "deed",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  100,
                  101,
                  101,
                  100
                ]
              },
              {
                "kind": "account",
                "path": "deed.mint",
                "account": "Deed"
              }
            ]
          }
        },
        {
          "name": "fees",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  102,
                  101,
                  101,
                  115
                ]
              },
              {
                "kind": "account",
                "path": "deed.mint",
                "account": "Deed"
              }
            ]
          }
        },
        {
          "name": "asset",
          "writable": true
        },
        {
          "name": "listing",
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  108,
                  105,
                  115,
                  116,
                  105,
                  110,
                  103
                ]
              },
              {
                "kind": "account",
                "path": "deed.mint",
                "account": "Deed"
              }
            ]
          }
        },
        {
          "name": "holder",
          "writable": true
        },
        {
          "name": "treasury",
          "writable": true
        },
        {
          "name": "authority",
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  97,
                  117,
                  116,
                  104,
                  111,
                  114,
                  105,
                  116,
                  121
                ]
              }
            ]
          }
        },
        {
          "name": "collection",
          "writable": true
        },
        {
          "name": "mpl_core",
          "address": "CoREENxT6tW1HoK8ypY1SxRMZTcVPm7R94rH4PZNhX7d"
        },
        {
          "name": "system_program",
          "address": "11111111111111111111111111111111"
        }
      ],
      "args": []
    },
    {
      "name": "delist",
      "docs": [
        "The seller takes a fixed-price listing back."
      ],
      "discriminator": [
        55,
        136,
        205,
        107,
        107,
        173,
        4,
        31
      ],
      "accounts": [
        {
          "name": "seller",
          "writable": true,
          "signer": true,
          "relations": [
            "listing"
          ]
        },
        {
          "name": "config",
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  99,
                  111,
                  110,
                  102,
                  105,
                  103
                ]
              }
            ]
          }
        },
        {
          "name": "deed",
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  100,
                  101,
                  101,
                  100
                ]
              },
              {
                "kind": "account",
                "path": "deed.mint",
                "account": "Deed"
              }
            ]
          }
        },
        {
          "name": "listing",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  108,
                  105,
                  115,
                  116,
                  105,
                  110,
                  103
                ]
              },
              {
                "kind": "account",
                "path": "deed.mint",
                "account": "Deed"
              }
            ]
          }
        },
        {
          "name": "asset",
          "writable": true
        },
        {
          "name": "collection",
          "writable": true
        },
        {
          "name": "mpl_core",
          "address": "CoREENxT6tW1HoK8ypY1SxRMZTcVPm7R94rH4PZNhX7d"
        },
        {
          "name": "system_program",
          "address": "11111111111111111111111111111111"
        }
      ],
      "args": []
    },
    {
      "name": "init_config",
      "docs": [
        "Creates the config and the \"Deeds\" collection (update authority = the program's authority PDA,",
        "5% royalty to the treasury)."
      ],
      "discriminator": [
        23,
        235,
        115,
        232,
        168,
        96,
        1,
        231
      ],
      "accounts": [
        {
          "name": "admin",
          "writable": true,
          "signer": true
        },
        {
          "name": "config",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  99,
                  111,
                  110,
                  102,
                  105,
                  103
                ]
              }
            ]
          }
        },
        {
          "name": "authority",
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  97,
                  117,
                  116,
                  104,
                  111,
                  114,
                  105,
                  116,
                  121
                ]
              }
            ]
          }
        },
        {
          "name": "collection",
          "docs": [
            "the new collection's keypair"
          ],
          "writable": true,
          "signer": true
        },
        {
          "name": "mpl_core",
          "address": "CoREENxT6tW1HoK8ypY1SxRMZTcVPm7R94rH4PZNhX7d"
        },
        {
          "name": "system_program",
          "address": "11111111111111111111111111111111"
        }
      ],
      "args": [
        {
          "name": "treasury",
          "type": "pubkey"
        },
        {
          "name": "base_uri",
          "type": "string"
        }
      ]
    },
    {
      "name": "launch",
      "docs": [
        "The dev creates a coin on pump.fun through the program: the coin's creator is this deed's fees PDA, and",
        "the deed is minted in the same instruction, to the dev or onto a one-hour Dutch auction.",
        "remaining_accounts: pump create_v2 (16), user = dev. The dev's first buy is a plain pump instruction",
        "placed after this one in the same transaction."
      ],
      "discriminator": [
        153,
        241,
        93,
        225,
        22,
        69,
        74,
        61
      ],
      "accounts": [
        {
          "name": "dev",
          "writable": true,
          "signer": true
        },
        {
          "name": "config",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  99,
                  111,
                  110,
                  102,
                  105,
                  103
                ]
              }
            ]
          }
        },
        {
          "name": "mint",
          "docs": [
            "the new coin's mint keypair (pump creates it)"
          ],
          "writable": true,
          "signer": true
        },
        {
          "name": "deed",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  100,
                  101,
                  101,
                  100
                ]
              },
              {
                "kind": "account",
                "path": "mint"
              }
            ]
          }
        },
        {
          "name": "fees",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  102,
                  101,
                  101,
                  115
                ]
              },
              {
                "kind": "account",
                "path": "mint"
              }
            ]
          }
        },
        {
          "name": "asset",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  97,
                  115,
                  115,
                  101,
                  116
                ]
              },
              {
                "kind": "account",
                "path": "mint"
              }
            ]
          }
        },
        {
          "name": "listing",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  108,
                  105,
                  115,
                  116,
                  105,
                  110,
                  103
                ]
              },
              {
                "kind": "account",
                "path": "mint"
              }
            ]
          }
        },
        {
          "name": "authority",
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  97,
                  117,
                  116,
                  104,
                  111,
                  114,
                  105,
                  116,
                  121
                ]
              }
            ]
          }
        },
        {
          "name": "collection",
          "writable": true
        },
        {
          "name": "mpl_core",
          "address": "CoREENxT6tW1HoK8ypY1SxRMZTcVPm7R94rH4PZNhX7d"
        },
        {
          "name": "system_program",
          "address": "11111111111111111111111111111111"
        }
      ],
      "args": [
        {
          "name": "name",
          "type": "string"
        },
        {
          "name": "symbol",
          "type": "string"
        },
        {
          "name": "uri",
          "type": "string"
        },
        {
          "name": "auction",
          "type": {
            "option": {
              "defined": {
                "name": "AuctionArgs"
              }
            }
          }
        }
      ]
    },
    {
      "name": "list",
      "docs": [
        "The holder puts the deed on the program's market at a fixed price. The deed moves to the listing PDA;",
        "fees claimed meanwhile still go to the seller."
      ],
      "discriminator": [
        54,
        174,
        193,
        67,
        17,
        41,
        132,
        38
      ],
      "accounts": [
        {
          "name": "seller",
          "writable": true,
          "signer": true
        },
        {
          "name": "config",
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  99,
                  111,
                  110,
                  102,
                  105,
                  103
                ]
              }
            ]
          }
        },
        {
          "name": "deed",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  100,
                  101,
                  101,
                  100
                ]
              },
              {
                "kind": "account",
                "path": "deed.mint",
                "account": "Deed"
              }
            ]
          }
        },
        {
          "name": "listing",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  108,
                  105,
                  115,
                  116,
                  105,
                  110,
                  103
                ]
              },
              {
                "kind": "account",
                "path": "deed.mint",
                "account": "Deed"
              }
            ]
          }
        },
        {
          "name": "asset",
          "writable": true
        },
        {
          "name": "collection",
          "writable": true
        },
        {
          "name": "mpl_core",
          "address": "CoREENxT6tW1HoK8ypY1SxRMZTcVPm7R94rH4PZNhX7d"
        },
        {
          "name": "system_program",
          "address": "11111111111111111111111111111111"
        }
      ],
      "args": [
        {
          "name": "price",
          "type": "u64"
        }
      ]
    },
    {
      "name": "refresh_uri",
      "docs": [
        "Admin: points a deed's metadata at the current base URI (after a domain move)."
      ],
      "discriminator": [
        44,
        89,
        241,
        215,
        249,
        131,
        193,
        61
      ],
      "accounts": [
        {
          "name": "admin",
          "writable": true,
          "signer": true,
          "relations": [
            "config"
          ]
        },
        {
          "name": "config",
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  99,
                  111,
                  110,
                  102,
                  105,
                  103
                ]
              }
            ]
          }
        },
        {
          "name": "deed",
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  100,
                  101,
                  101,
                  100
                ]
              },
              {
                "kind": "account",
                "path": "deed.mint",
                "account": "Deed"
              }
            ]
          }
        },
        {
          "name": "asset",
          "writable": true
        },
        {
          "name": "authority",
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  97,
                  117,
                  116,
                  104,
                  111,
                  114,
                  105,
                  116,
                  121
                ]
              }
            ]
          }
        },
        {
          "name": "collection",
          "writable": true
        },
        {
          "name": "mpl_core",
          "address": "CoREENxT6tW1HoK8ypY1SxRMZTcVPm7R94rH4PZNhX7d"
        },
        {
          "name": "system_program",
          "address": "11111111111111111111111111111111"
        }
      ],
      "args": []
    },
    {
      "name": "register_existing",
      "docs": [
        "An existing pump coin: its creator has made this deed's fees PDA the only shareholder (100%) of the coin's",
        "pump fee sharing config and the config can no longer be edited. Only that config's admin (the creator)",
        "can register, so nobody can grab a deed for someone else's coin between the two steps."
      ],
      "discriminator": [
        2,
        5,
        61,
        110,
        9,
        247,
        100,
        5
      ],
      "accounts": [
        {
          "name": "dev",
          "writable": true,
          "signer": true
        },
        {
          "name": "config",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  99,
                  111,
                  110,
                  102,
                  105,
                  103
                ]
              }
            ]
          }
        },
        {
          "name": "mint"
        },
        {
          "name": "metadata"
        },
        {
          "name": "sharing_config"
        },
        {
          "name": "deed",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  100,
                  101,
                  101,
                  100
                ]
              },
              {
                "kind": "account",
                "path": "mint"
              }
            ]
          }
        },
        {
          "name": "fees",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  102,
                  101,
                  101,
                  115
                ]
              },
              {
                "kind": "account",
                "path": "mint"
              }
            ]
          }
        },
        {
          "name": "asset",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  97,
                  115,
                  115,
                  101,
                  116
                ]
              },
              {
                "kind": "account",
                "path": "mint"
              }
            ]
          }
        },
        {
          "name": "authority",
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  97,
                  117,
                  116,
                  104,
                  111,
                  114,
                  105,
                  116,
                  121
                ]
              }
            ]
          }
        },
        {
          "name": "collection",
          "writable": true
        },
        {
          "name": "mpl_core",
          "address": "CoREENxT6tW1HoK8ypY1SxRMZTcVPm7R94rH4PZNhX7d"
        },
        {
          "name": "system_program",
          "address": "11111111111111111111111111111111"
        }
      ],
      "args": []
    },
    {
      "name": "set_admin",
      "discriminator": [
        251,
        163,
        0,
        52,
        91,
        194,
        187,
        92
      ],
      "accounts": [
        {
          "name": "admin",
          "writable": true,
          "signer": true,
          "relations": [
            "config"
          ]
        },
        {
          "name": "config",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  99,
                  111,
                  110,
                  102,
                  105,
                  103
                ]
              }
            ]
          }
        },
        {
          "name": "authority",
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  97,
                  117,
                  116,
                  104,
                  111,
                  114,
                  105,
                  116,
                  121
                ]
              }
            ]
          }
        },
        {
          "name": "collection",
          "writable": true
        },
        {
          "name": "mpl_core",
          "address": "CoREENxT6tW1HoK8ypY1SxRMZTcVPm7R94rH4PZNhX7d"
        },
        {
          "name": "system_program",
          "address": "11111111111111111111111111111111"
        }
      ],
      "args": [
        {
          "name": "admin",
          "type": "pubkey"
        }
      ]
    },
    {
      "name": "settle",
      "docs": [
        "Anyone, after an unsold launch auction: the deed goes back to the dev."
      ],
      "discriminator": [
        175,
        42,
        185,
        87,
        144,
        131,
        102,
        212
      ],
      "accounts": [
        {
          "name": "caller",
          "writable": true,
          "signer": true
        },
        {
          "name": "config",
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  99,
                  111,
                  110,
                  102,
                  105,
                  103
                ]
              }
            ]
          }
        },
        {
          "name": "deed",
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  100,
                  101,
                  101,
                  100
                ]
              },
              {
                "kind": "account",
                "path": "deed.mint",
                "account": "Deed"
              }
            ]
          }
        },
        {
          "name": "listing",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  108,
                  105,
                  115,
                  116,
                  105,
                  110,
                  103
                ]
              },
              {
                "kind": "account",
                "path": "deed.mint",
                "account": "Deed"
              }
            ]
          }
        },
        {
          "name": "seller",
          "writable": true,
          "relations": [
            "listing"
          ]
        },
        {
          "name": "asset",
          "writable": true
        },
        {
          "name": "collection",
          "writable": true
        },
        {
          "name": "mpl_core",
          "address": "CoREENxT6tW1HoK8ypY1SxRMZTcVPm7R94rH4PZNhX7d"
        },
        {
          "name": "system_program",
          "address": "11111111111111111111111111111111"
        }
      ],
      "args": []
    },
    {
      "name": "stamp",
      "docs": [
        "Anyone: records a change of hands (a sale on Tensor, Magic Eden or a plain transfer) as the next stamp on",
        "the deed's chain of title, and refreshes its attributes."
      ],
      "discriminator": [
        40,
        61,
        231,
        26,
        193,
        245,
        42,
        11
      ],
      "accounts": [
        {
          "name": "payer",
          "writable": true,
          "signer": true
        },
        {
          "name": "config",
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  99,
                  111,
                  110,
                  102,
                  105,
                  103
                ]
              }
            ]
          }
        },
        {
          "name": "deed",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  100,
                  101,
                  101,
                  100
                ]
              },
              {
                "kind": "account",
                "path": "deed.mint",
                "account": "Deed"
              }
            ]
          }
        },
        {
          "name": "asset",
          "writable": true
        },
        {
          "name": "listing",
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  108,
                  105,
                  115,
                  116,
                  105,
                  110,
                  103
                ]
              },
              {
                "kind": "account",
                "path": "deed.mint",
                "account": "Deed"
              }
            ]
          }
        },
        {
          "name": "authority",
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  97,
                  117,
                  116,
                  104,
                  111,
                  114,
                  105,
                  116,
                  121
                ]
              }
            ]
          }
        },
        {
          "name": "collection",
          "writable": true
        },
        {
          "name": "mpl_core",
          "address": "CoREENxT6tW1HoK8ypY1SxRMZTcVPm7R94rH4PZNhX7d"
        },
        {
          "name": "system_program",
          "address": "11111111111111111111111111111111"
        }
      ],
      "args": []
    },
    {
      "name": "unwrap_fees",
      "docs": [
        "Anyone: closes the fees PDA's WSOL account (PumpSwap pays creator fees in WSOL after migration) so the",
        "SOL lands on the fees PDA itself, ready for `claim`."
      ],
      "discriminator": [
        202,
        112,
        56,
        154,
        193,
        85,
        127,
        150
      ],
      "accounts": [
        {
          "name": "deed",
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  100,
                  101,
                  101,
                  100
                ]
              },
              {
                "kind": "account",
                "path": "deed.mint",
                "account": "Deed"
              }
            ]
          }
        },
        {
          "name": "fees",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  102,
                  101,
                  101,
                  115
                ]
              },
              {
                "kind": "account",
                "path": "deed.mint",
                "account": "Deed"
              }
            ]
          }
        },
        {
          "name": "wsol_ata",
          "writable": true
        },
        {
          "name": "token_program",
          "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
        }
      ],
      "args": []
    },
    {
      "name": "update_config",
      "docs": [
        "Admin: treasury (also the Core royalty recipient), metadata base URI, pause."
      ],
      "discriminator": [
        29,
        158,
        252,
        191,
        10,
        83,
        219,
        99
      ],
      "accounts": [
        {
          "name": "admin",
          "writable": true,
          "signer": true,
          "relations": [
            "config"
          ]
        },
        {
          "name": "config",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  99,
                  111,
                  110,
                  102,
                  105,
                  103
                ]
              }
            ]
          }
        },
        {
          "name": "authority",
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  97,
                  117,
                  116,
                  104,
                  111,
                  114,
                  105,
                  116,
                  121
                ]
              }
            ]
          }
        },
        {
          "name": "collection",
          "writable": true
        },
        {
          "name": "mpl_core",
          "address": "CoREENxT6tW1HoK8ypY1SxRMZTcVPm7R94rH4PZNhX7d"
        },
        {
          "name": "system_program",
          "address": "11111111111111111111111111111111"
        }
      ],
      "args": [
        {
          "name": "treasury",
          "type": "pubkey"
        },
        {
          "name": "base_uri",
          "type": "string"
        },
        {
          "name": "paused",
          "type": "bool"
        }
      ]
    }
  ],
  "accounts": [
    {
      "name": "Config",
      "discriminator": [
        155,
        12,
        170,
        224,
        30,
        250,
        204,
        130
      ]
    },
    {
      "name": "Deed",
      "discriminator": [
        24,
        235,
        190,
        92,
        169,
        218,
        231,
        125
      ]
    },
    {
      "name": "Listing",
      "discriminator": [
        218,
        32,
        50,
        73,
        43,
        134,
        26,
        58
      ]
    }
  ],
  "events": [
    {
      "name": "Claimed",
      "discriminator": [
        217,
        192,
        123,
        72,
        108,
        150,
        248,
        33
      ]
    },
    {
      "name": "DeedMinted",
      "discriminator": [
        34,
        98,
        131,
        132,
        40,
        135,
        196,
        29
      ]
    },
    {
      "name": "Delisted",
      "discriminator": [
        127,
        52,
        154,
        240,
        230,
        144,
        87,
        87
      ]
    },
    {
      "name": "Listed",
      "discriminator": [
        243,
        173,
        136,
        195,
        125,
        241,
        12,
        99
      ]
    },
    {
      "name": "Sold",
      "discriminator": [
        205,
        203,
        210,
        202,
        96,
        11,
        192,
        10
      ]
    }
  ],
  "errors": [
    {
      "code": 6000,
      "name": "Paused",
      "msg": "new deeds are paused"
    },
    {
      "code": 6001,
      "name": "BadName",
      "msg": "name must be 1-32 characters"
    },
    {
      "code": 6002,
      "name": "BadSymbol",
      "msg": "ticker must be 1-10 characters"
    },
    {
      "code": 6003,
      "name": "BadUri",
      "msg": "uri must be https and short enough"
    },
    {
      "code": 6004,
      "name": "BadAccounts",
      "msg": "wrong accounts"
    },
    {
      "code": 6005,
      "name": "BadPrice",
      "msg": "price below the minimum or start below floor"
    },
    {
      "code": 6006,
      "name": "NotShared",
      "msg": "the coin's pump fee sharing does not send 100% to this deed"
    },
    {
      "code": 6007,
      "name": "NotCoinAdmin",
      "msg": "only the coin's fee sharing admin can register it"
    },
    {
      "code": 6008,
      "name": "SharingEditable",
      "msg": "the coin's fee sharing can still be edited; lock it first"
    },
    {
      "code": 6009,
      "name": "BadMetadata",
      "msg": "could not read the coin's name and ticker"
    },
    {
      "code": 6010,
      "name": "NothingToClaim",
      "msg": "nothing to claim"
    },
    {
      "code": 6011,
      "name": "WrongHolder",
      "msg": "holder account is not the deed's holder"
    },
    {
      "code": 6012,
      "name": "Burned",
      "msg": "the deed was burned"
    },
    {
      "code": 6013,
      "name": "NoChange",
      "msg": "no change of hands to stamp"
    },
    {
      "code": 6014,
      "name": "AuctionRunning",
      "msg": "the launch auction is still running"
    },
    {
      "code": 6015,
      "name": "AuctionOver",
      "msg": "the auction is over"
    },
    {
      "code": 6016,
      "name": "PriceMoved",
      "msg": "price moved above your limit"
    },
    {
      "code": 6017,
      "name": "SelfBuy",
      "msg": "the seller cannot buy their own deed"
    }
  ],
  "types": [
    {
      "name": "AuctionArgs",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "start_price",
            "type": "u64"
          },
          {
            "name": "end_price",
            "type": "u64"
          }
        ]
      }
    },
    {
      "name": "Claimed",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "mint",
            "type": "pubkey"
          },
          {
            "name": "holder",
            "type": "pubkey"
          },
          {
            "name": "to_holder",
            "type": "u64"
          },
          {
            "name": "to_treasury",
            "type": "u64"
          },
          {
            "name": "lifetime",
            "type": "u64"
          },
          {
            "name": "tier",
            "type": "u8"
          }
        ]
      }
    },
    {
      "name": "Config",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "admin",
            "type": "pubkey"
          },
          {
            "name": "treasury",
            "type": "pubkey"
          },
          {
            "name": "collection",
            "type": "pubkey"
          },
          {
            "name": "base_uri",
            "type": "string"
          },
          {
            "name": "deed_count",
            "type": "u64"
          },
          {
            "name": "paused",
            "type": "bool"
          },
          {
            "name": "bump",
            "type": "u8"
          },
          {
            "name": "auth_bump",
            "type": "u8"
          }
        ]
      }
    },
    {
      "name": "Deed",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "serial",
            "type": "u64"
          },
          {
            "name": "mint",
            "type": "pubkey"
          },
          {
            "name": "asset",
            "type": "pubkey"
          },
          {
            "name": "dev",
            "type": "pubkey"
          },
          {
            "name": "kind",
            "type": "u8"
          },
          {
            "name": "name",
            "type": "string"
          },
          {
            "name": "symbol",
            "type": "string"
          },
          {
            "name": "minted_at",
            "type": "i64"
          },
          {
            "name": "lifetime",
            "docs": [
              "every lamport ever claimed through this deed"
            ],
            "type": "u64"
          },
          {
            "name": "to_holders",
            "type": "u64"
          },
          {
            "name": "to_treasury",
            "type": "u64"
          },
          {
            "name": "claims",
            "type": "u32"
          },
          {
            "name": "tier",
            "type": "u8"
          },
          {
            "name": "owner",
            "docs": [
              "the holder at the last booking (claim, stamp, sale)"
            ],
            "type": "pubkey"
          },
          {
            "name": "transfers",
            "type": "u32"
          },
          {
            "name": "stamps",
            "docs": [
              "the last STAMPS changes of hands, stamp n sits at (n - 1) % STAMPS"
            ],
            "type": {
              "array": [
                {
                  "defined": {
                    "name": "TitleStamp"
                  }
                },
                12
              ]
            }
          },
          {
            "name": "sales",
            "type": "u32"
          },
          {
            "name": "last_price",
            "type": "u64"
          },
          {
            "name": "bump",
            "type": "u8"
          },
          {
            "name": "asset_bump",
            "type": "u8"
          }
        ]
      }
    },
    {
      "name": "DeedMinted",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "mint",
            "type": "pubkey"
          },
          {
            "name": "asset",
            "type": "pubkey"
          },
          {
            "name": "serial",
            "type": "u64"
          },
          {
            "name": "dev",
            "type": "pubkey"
          },
          {
            "name": "kind",
            "type": "u8"
          }
        ]
      }
    },
    {
      "name": "Delisted",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "mint",
            "type": "pubkey"
          }
        ]
      }
    },
    {
      "name": "Listed",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "mint",
            "type": "pubkey"
          },
          {
            "name": "seller",
            "type": "pubkey"
          },
          {
            "name": "start_price",
            "type": "u64"
          },
          {
            "name": "end_price",
            "type": "u64"
          },
          {
            "name": "end_at",
            "type": "i64"
          },
          {
            "name": "is_launch",
            "type": "bool"
          }
        ]
      }
    },
    {
      "name": "Listing",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "mint",
            "type": "pubkey"
          },
          {
            "name": "seller",
            "type": "pubkey"
          },
          {
            "name": "start_price",
            "type": "u64"
          },
          {
            "name": "end_price",
            "type": "u64"
          },
          {
            "name": "start_at",
            "type": "i64"
          },
          {
            "name": "end_at",
            "docs": [
              "0 = fixed price, no end"
            ],
            "type": "i64"
          },
          {
            "name": "is_launch",
            "type": "bool"
          },
          {
            "name": "bump",
            "type": "u8"
          }
        ]
      }
    },
    {
      "name": "Sold",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "mint",
            "type": "pubkey"
          },
          {
            "name": "seller",
            "type": "pubkey"
          },
          {
            "name": "buyer",
            "type": "pubkey"
          },
          {
            "name": "price",
            "type": "u64"
          },
          {
            "name": "royalty",
            "type": "u64"
          },
          {
            "name": "is_launch",
            "type": "bool"
          }
        ]
      }
    },
    {
      "name": "TitleStamp",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "n",
            "type": "u32"
          },
          {
            "name": "at",
            "type": "i64"
          },
          {
            "name": "to",
            "type": "pubkey"
          }
        ]
      }
    }
  ]
}