{
  "schema": "edition-checkout/2",
  "name": "留用版庫",
  "chainId": 56,
  "address": "0x3D98eb6A7607f572CC3CE78044F6D3654DEa2905",
  "status": "verified",
  "enabled": true,
  "contracts": "./deployment.json",
  "art": "./art/manifest.json",
  "nativeAsset": "BNB",
  "decimals": 18,
  "exactChange": true,
  "nakedTransfer": false,
  "unitPricesWeiAreIllustrative": false,
  "maxItemsPerTransaction": 8,
  "products": [
    {
      "sku": 1,
      "title": "楮皮纖維",
      "description": "纖維細沙紙紋，用於邀請卡與留白底。",
      "price": "1200000000000000",
      "stock": 12
    },
    {
      "sku": 2,
      "title": "苔色細麻",
      "description": "低對比冷綠底，適合活動海報。",
      "price": "1200000000000000",
      "stock": 12
    },
    {
      "sku": 3,
      "title": "咖啡灰板",
      "description": "帶紙屑的中性色底，用於標籤與頁角。",
      "price": "1200000000000000",
      "stock": 12
    },
    {
      "sku": 4,
      "title": "暖棉粗粒",
      "description": "高密度纖維，適合印製樣張。",
      "price": "1200000000000000",
      "stock": 12
    },
    {
      "sku": 5,
      "title": "鐵線蕨",
      "description": "林下蕨葉剪影，可變色。",
      "price": "1200000000000000",
      "stock": 12
    },
    {
      "sku": 6,
      "title": "銀杏扇枝",
      "description": "適合疊放在書封與卡片。",
      "price": "1200000000000000",
      "stock": 12
    },
    {
      "sku": 7,
      "title": "野地草莖",
      "description": "細枝適合作為窄幅分隔。",
      "price": "1200000000000000",
      "stock": 12
    },
    {
      "sku": 8,
      "title": "尤加利枝",
      "description": "疏落枝葉，適合大幅留白。",
      "price": "1200000000000000",
      "stock": 12
    },
    {
      "sku": 9,
      "title": "琥珀蝕圈",
      "description": "偏軸圓環，可編輯向量。",
      "price": "1200000000000000",
      "stock": 12
    },
    {
      "sku": 10,
      "title": "青刃",
      "description": "斜向層疊，可編輯向量。",
      "price": "1200000000000000",
      "stock": 12
    },
    {
      "sku": 11,
      "title": "赤磚拱",
      "description": "可調拱面與開孔。",
      "price": "1200000000000000",
      "stock": 12
    },
    {
      "sku": 12,
      "title": "橄欖迴紋",
      "description": "可調環線密度。",
      "price": "1200000000000000",
      "stock": 12
    },
    {
      "sku": 13,
      "title": "玄武方印",
      "description": "深色粗邊印痕。",
      "price": "1200000000000000",
      "stock": 12
    },
    {
      "sku": 14,
      "title": "缺月拓",
      "description": "適合細長頁角。",
      "price": "1200000000000000",
      "stock": 12
    },
    {
      "sku": 15,
      "title": "葉脈橢印",
      "description": "自然葉路紋。",
      "price": "1200000000000000",
      "stock": 12
    },
    {
      "sku": 16,
      "title": "水紋章",
      "description": "有密度差的水線。",
      "price": "1200000000000000",
      "stock": 12
    },
    {
      "sku": 101,
      "title": "紙紋邊飾｜4 件組",
      "price": "3900000000000000",
      "works": [
        1,
        2,
        3,
        4
      ]
    },
    {
      "sku": 102,
      "title": "植物剪影｜4 件組",
      "price": "3900000000000000",
      "works": [
        5,
        6,
        7,
        8
      ]
    },
    {
      "sku": 103,
      "title": "幾何光幕｜4 件組",
      "price": "3900000000000000",
      "works": [
        9,
        10,
        11,
        12
      ]
    },
    {
      "sku": 104,
      "title": "拓印章面｜4 件組",
      "price": "3900000000000000",
      "works": [
        13,
        14,
        15,
        16
      ]
    }
  ],
  "lotArtwork": [],
  "options": "abi.encode(address beneficiary) for commercial SKUs; optional for purchase of an NFT together with a commercial license",
  "commercial": {
    "unit": "3500000000000000",
    "bundle": "10800000000000000"
  },
  "commercialStartSku": 201,
  "commercialSetStartSku": 301,
  "standaloneStartSku": 401,
  "standaloneSetStartSku": 501,
  "licenseOnlyEnabled": false,
  "checkout": [
    {
      "type": "function",
      "name": "claimRefund",
      "inputs": [
        {
          "name": "recipient",
          "type": "address",
          "internalType": "address payable"
        }
      ],
      "outputs": [],
      "stateMutability": "nonpayable"
    },
    {
      "type": "function",
      "name": "commercialLicense",
      "inputs": [
        {
          "name": "item",
          "type": "uint256",
          "internalType": "uint256"
        },
        {
          "name": "beneficiary",
          "type": "address",
          "internalType": "address"
        }
      ],
      "outputs": [
        {
          "name": "",
          "type": "bool",
          "internalType": "bool"
        }
      ],
      "stateMutability": "view"
    },
    {
      "type": "function",
      "name": "licenseOnlyEnabled",
      "inputs": [],
      "outputs": [
        {
          "name": "",
          "type": "bool",
          "internalType": "bool"
        }
      ],
      "stateMutability": "view"
    },
    {
      "type": "function",
      "name": "licenseSaleActive",
      "inputs": [],
      "outputs": [
        {
          "name": "",
          "type": "bool",
          "internalType": "bool"
        }
      ],
      "stateMutability": "view"
    },
    {
      "type": "function",
      "name": "licenseTermsSha256",
      "inputs": [],
      "outputs": [
        {
          "name": "",
          "type": "bytes32",
          "internalType": "bytes32"
        }
      ],
      "stateMutability": "view"
    },
    {
      "type": "function",
      "name": "priceForSKU",
      "inputs": [
        {
          "name": "sku",
          "type": "uint256",
          "internalType": "uint256"
        }
      ],
      "outputs": [
        {
          "name": "",
          "type": "uint256",
          "internalType": "uint256"
        }
      ],
      "stateMutability": "view"
    },
    {
      "type": "function",
      "name": "purchase",
      "inputs": [
        {
          "name": "sku",
          "type": "uint256",
          "internalType": "uint256"
        },
        {
          "name": "quantity",
          "type": "uint256",
          "internalType": "uint256"
        },
        {
          "name": "recipient",
          "type": "address",
          "internalType": "address"
        },
        {
          "name": "options",
          "type": "bytes",
          "internalType": "bytes"
        },
        {
          "name": "maxUnitPrice",
          "type": "uint256",
          "internalType": "uint256"
        },
        {
          "name": "deadline",
          "type": "uint256",
          "internalType": "uint256"
        }
      ],
      "outputs": [
        {
          "name": "orderId",
          "type": "uint256",
          "internalType": "uint256"
        }
      ],
      "stateMutability": "payable"
    },
    {
      "type": "function",
      "name": "purchaseByBudget",
      "inputs": [
        {
          "name": "sku",
          "type": "uint256",
          "internalType": "uint256"
        },
        {
          "name": "recipient",
          "type": "address",
          "internalType": "address"
        },
        {
          "name": "options",
          "type": "bytes",
          "internalType": "bytes"
        },
        {
          "name": "maxUnitPrice",
          "type": "uint256",
          "internalType": "uint256"
        },
        {
          "name": "minQuantity",
          "type": "uint256",
          "internalType": "uint256"
        },
        {
          "name": "deadline",
          "type": "uint256",
          "internalType": "uint256"
        }
      ],
      "outputs": [
        {
          "name": "orderId",
          "type": "uint256",
          "internalType": "uint256"
        }
      ],
      "stateMutability": "payable"
    },
    {
      "type": "function",
      "name": "purchaseCart",
      "inputs": [
        {
          "name": "cart",
          "type": "tuple[]",
          "internalType": "struct GalleryCheckout.CartLine[]",
          "components": [
            {
              "name": "sku",
              "type": "uint256",
              "internalType": "uint256"
            },
            {
              "name": "quantity",
              "type": "uint256",
              "internalType": "uint256"
            },
            {
              "name": "recipient",
              "type": "address",
              "internalType": "address"
            },
            {
              "name": "beneficiary",
              "type": "address",
              "internalType": "address"
            }
          ]
        },
        {
          "name": "maxTotal",
          "type": "uint256",
          "internalType": "uint256"
        },
        {
          "name": "deadline",
          "type": "uint256",
          "internalType": "uint256"
        }
      ],
      "outputs": [
        {
          "name": "firstOrderId",
          "type": "uint256",
          "internalType": "uint256"
        }
      ],
      "stateMutability": "payable"
    },
    {
      "type": "function",
      "name": "quote",
      "inputs": [
        {
          "name": "buyer",
          "type": "address",
          "internalType": "address"
        },
        {
          "name": "sku",
          "type": "uint256",
          "internalType": "uint256"
        },
        {
          "name": "quantity",
          "type": "uint256",
          "internalType": "uint256"
        }
      ],
      "outputs": [
        {
          "name": "unitPrice",
          "type": "uint256",
          "internalType": "uint256"
        },
        {
          "name": "total",
          "type": "uint256",
          "internalType": "uint256"
        },
        {
          "name": "available",
          "type": "uint256",
          "internalType": "uint256"
        }
      ],
      "stateMutability": "view"
    },
    {
      "type": "function",
      "name": "quoteBudget",
      "inputs": [
        {
          "name": "buyer",
          "type": "address",
          "internalType": "address"
        },
        {
          "name": "sku",
          "type": "uint256",
          "internalType": "uint256"
        },
        {
          "name": "budget",
          "type": "uint256",
          "internalType": "uint256"
        }
      ],
      "outputs": [
        {
          "name": "unitPrice",
          "type": "uint256",
          "internalType": "uint256"
        },
        {
          "name": "quantity",
          "type": "uint256",
          "internalType": "uint256"
        },
        {
          "name": "paidWei",
          "type": "uint256",
          "internalType": "uint256"
        },
        {
          "name": "refundWei",
          "type": "uint256",
          "internalType": "uint256"
        },
        {
          "name": "available",
          "type": "uint256",
          "internalType": "uint256"
        }
      ],
      "stateMutability": "view"
    },
    {
      "type": "function",
      "name": "quoteBudgetFor",
      "inputs": [
        {
          "name": "recipient",
          "type": "address",
          "internalType": "address"
        },
        {
          "name": "beneficiary",
          "type": "address",
          "internalType": "address"
        },
        {
          "name": "sku",
          "type": "uint256",
          "internalType": "uint256"
        },
        {
          "name": "budget",
          "type": "uint256",
          "internalType": "uint256"
        }
      ],
      "outputs": [
        {
          "name": "unitPrice",
          "type": "uint256",
          "internalType": "uint256"
        },
        {
          "name": "quantity",
          "type": "uint256",
          "internalType": "uint256"
        },
        {
          "name": "paidWei",
          "type": "uint256",
          "internalType": "uint256"
        },
        {
          "name": "refundWei",
          "type": "uint256",
          "internalType": "uint256"
        },
        {
          "name": "available",
          "type": "uint256",
          "internalType": "uint256"
        }
      ],
      "stateMutability": "view"
    },
    {
      "type": "function",
      "name": "quoteCart",
      "inputs": [
        {
          "name": "cart",
          "type": "tuple[]",
          "internalType": "struct GalleryCheckout.CartLine[]",
          "components": [
            {
              "name": "sku",
              "type": "uint256",
              "internalType": "uint256"
            },
            {
              "name": "quantity",
              "type": "uint256",
              "internalType": "uint256"
            },
            {
              "name": "recipient",
              "type": "address",
              "internalType": "address"
            },
            {
              "name": "beneficiary",
              "type": "address",
              "internalType": "address"
            }
          ]
        }
      ],
      "outputs": [
        {
          "name": "total",
          "type": "uint256",
          "internalType": "uint256"
        },
        {
          "name": "units",
          "type": "uint256",
          "internalType": "uint256"
        }
      ],
      "stateMutability": "view"
    },
    {
      "type": "function",
      "name": "quoteFor",
      "inputs": [
        {
          "name": "recipient",
          "type": "address",
          "internalType": "address"
        },
        {
          "name": "beneficiary",
          "type": "address",
          "internalType": "address"
        },
        {
          "name": "sku",
          "type": "uint256",
          "internalType": "uint256"
        },
        {
          "name": "quantity",
          "type": "uint256",
          "internalType": "uint256"
        }
      ],
      "outputs": [
        {
          "name": "unitPrice",
          "type": "uint256",
          "internalType": "uint256"
        },
        {
          "name": "total",
          "type": "uint256",
          "internalType": "uint256"
        },
        {
          "name": "available",
          "type": "uint256",
          "internalType": "uint256"
        }
      ],
      "stateMutability": "view"
    },
    {
      "type": "function",
      "name": "quoteUpgrade",
      "inputs": [
        {
          "name": "originalOrderId",
          "type": "uint256",
          "internalType": "uint256"
        },
        {
          "name": "skuMask",
          "type": "uint256",
          "internalType": "uint256"
        },
        {
          "name": "beneficiary",
          "type": "address",
          "internalType": "address"
        }
      ],
      "outputs": [
        {
          "name": "total",
          "type": "uint256",
          "internalType": "uint256"
        },
        {
          "name": "available",
          "type": "bool",
          "internalType": "bool"
        }
      ],
      "stateMutability": "view"
    },
    {
      "type": "function",
      "name": "refundCredit",
      "inputs": [
        {
          "name": "buyer",
          "type": "address",
          "internalType": "address"
        }
      ],
      "outputs": [
        {
          "name": "",
          "type": "uint256",
          "internalType": "uint256"
        }
      ],
      "stateMutability": "view"
    },
    {
      "type": "function",
      "name": "remaining",
      "inputs": [
        {
          "name": "sku",
          "type": "uint256",
          "internalType": "uint256"
        }
      ],
      "outputs": [
        {
          "name": "",
          "type": "uint256",
          "internalType": "uint256"
        }
      ],
      "stateMutability": "view"
    },
    {
      "type": "function",
      "name": "saleActive",
      "inputs": [],
      "outputs": [
        {
          "name": "",
          "type": "bool",
          "internalType": "bool"
        }
      ],
      "stateMutability": "view"
    },
    {
      "type": "function",
      "name": "saleEnd",
      "inputs": [],
      "outputs": [
        {
          "name": "",
          "type": "uint256",
          "internalType": "uint256"
        }
      ],
      "stateMutability": "view"
    },
    {
      "type": "function",
      "name": "saleStart",
      "inputs": [],
      "outputs": [
        {
          "name": "",
          "type": "uint256",
          "internalType": "uint256"
        }
      ],
      "stateMutability": "view"
    },
    {
      "type": "function",
      "name": "upgradeLicense",
      "inputs": [
        {
          "name": "originalOrderId",
          "type": "uint256",
          "internalType": "uint256"
        },
        {
          "name": "skuMask",
          "type": "uint256",
          "internalType": "uint256"
        },
        {
          "name": "maxTotal",
          "type": "uint256",
          "internalType": "uint256"
        },
        {
          "name": "deadline",
          "type": "uint256",
          "internalType": "uint256"
        }
      ],
      "outputs": [],
      "stateMutability": "payable"
    }
  ],
  "receipts": [
    {
      "type": "event",
      "name": "ApprovalForAll",
      "inputs": [
        {
          "name": "account",
          "type": "address",
          "indexed": true,
          "internalType": "address"
        },
        {
          "name": "operator",
          "type": "address",
          "indexed": true,
          "internalType": "address"
        },
        {
          "name": "approved",
          "type": "bool",
          "indexed": false,
          "internalType": "bool"
        }
      ],
      "anonymous": false
    },
    {
      "type": "event",
      "name": "CommercialLicenseGranted",
      "inputs": [
        {
          "name": "beneficiary",
          "type": "address",
          "indexed": true,
          "internalType": "address"
        },
        {
          "name": "item",
          "type": "uint256",
          "indexed": true,
          "internalType": "uint256"
        },
        {
          "name": "orderId",
          "type": "uint256",
          "indexed": true,
          "internalType": "uint256"
        },
        {
          "name": "termsSha256",
          "type": "bytes32",
          "indexed": false,
          "internalType": "bytes32"
        }
      ],
      "anonymous": false
    },
    {
      "type": "event",
      "name": "LicenseUpgraded",
      "inputs": [
        {
          "name": "beneficiary",
          "type": "address",
          "indexed": true,
          "internalType": "address"
        },
        {
          "name": "originalOrderId",
          "type": "uint256",
          "indexed": true,
          "internalType": "uint256"
        },
        {
          "name": "skuMask",
          "type": "uint256",
          "indexed": false,
          "internalType": "uint256"
        },
        {
          "name": "paidWei",
          "type": "uint256",
          "indexed": false,
          "internalType": "uint256"
        }
      ],
      "anonymous": false
    },
    {
      "type": "event",
      "name": "ProceedsWithdrawn",
      "inputs": [
        {
          "name": "payee",
          "type": "address",
          "indexed": true,
          "internalType": "address"
        },
        {
          "name": "amount",
          "type": "uint256",
          "indexed": false,
          "internalType": "uint256"
        }
      ],
      "anonymous": false
    },
    {
      "type": "event",
      "name": "Purchased",
      "inputs": [
        {
          "name": "buyer",
          "type": "address",
          "indexed": true,
          "internalType": "address"
        },
        {
          "name": "recipient",
          "type": "address",
          "indexed": true,
          "internalType": "address"
        },
        {
          "name": "sku",
          "type": "uint256",
          "indexed": true,
          "internalType": "uint256"
        },
        {
          "name": "quantity",
          "type": "uint256",
          "indexed": false,
          "internalType": "uint256"
        },
        {
          "name": "orderId",
          "type": "uint256",
          "indexed": false,
          "internalType": "uint256"
        },
        {
          "name": "paidWei",
          "type": "uint256",
          "indexed": false,
          "internalType": "uint256"
        }
      ],
      "anonymous": false
    },
    {
      "type": "event",
      "name": "RefundClaimed",
      "inputs": [
        {
          "name": "buyer",
          "type": "address",
          "indexed": true,
          "internalType": "address"
        },
        {
          "name": "recipient",
          "type": "address",
          "indexed": true,
          "internalType": "address"
        },
        {
          "name": "amount",
          "type": "uint256",
          "indexed": false,
          "internalType": "uint256"
        }
      ],
      "anonymous": false
    },
    {
      "type": "event",
      "name": "RefundCredited",
      "inputs": [
        {
          "name": "buyer",
          "type": "address",
          "indexed": true,
          "internalType": "address"
        },
        {
          "name": "amount",
          "type": "uint256",
          "indexed": false,
          "internalType": "uint256"
        }
      ],
      "anonymous": false
    },
    {
      "type": "event",
      "name": "StandaloneLicensesEnabled",
      "inputs": [],
      "anonymous": false
    },
    {
      "type": "event",
      "name": "TransferBatch",
      "inputs": [
        {
          "name": "operator",
          "type": "address",
          "indexed": true,
          "internalType": "address"
        },
        {
          "name": "from",
          "type": "address",
          "indexed": true,
          "internalType": "address"
        },
        {
          "name": "to",
          "type": "address",
          "indexed": true,
          "internalType": "address"
        },
        {
          "name": "ids",
          "type": "uint256[]",
          "indexed": false,
          "internalType": "uint256[]"
        },
        {
          "name": "values",
          "type": "uint256[]",
          "indexed": false,
          "internalType": "uint256[]"
        }
      ],
      "anonymous": false
    },
    {
      "type": "event",
      "name": "TransferSingle",
      "inputs": [
        {
          "name": "operator",
          "type": "address",
          "indexed": true,
          "internalType": "address"
        },
        {
          "name": "from",
          "type": "address",
          "indexed": true,
          "internalType": "address"
        },
        {
          "name": "to",
          "type": "address",
          "indexed": true,
          "internalType": "address"
        },
        {
          "name": "id",
          "type": "uint256",
          "indexed": false,
          "internalType": "uint256"
        },
        {
          "name": "value",
          "type": "uint256",
          "indexed": false,
          "internalType": "uint256"
        }
      ],
      "anonymous": false
    },
    {
      "type": "event",
      "name": "URI",
      "inputs": [
        {
          "name": "value",
          "type": "string",
          "indexed": false,
          "internalType": "string"
        },
        {
          "name": "id",
          "type": "uint256",
          "indexed": true,
          "internalType": "uint256"
        }
      ],
      "anonymous": false
    }
  ]
}
