{
  "schema": "edition-checkout/2",
  "name": "底片試印簿",
  "chainId": 56,
  "address": "0x39b3c110b82677937045bb7584Cdb6d506d8c38d",
  "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": "35 mm 聯絡圖",
      "description": "6×6 格，選片標記與一頁總覽。",
      "price": "1200000000000000",
      "stock": 24
    },
    {
      "sku": 2,
      "title": "120 中片幅選片",
      "description": "4×3 格，留出卷號與相框欄。",
      "price": "1200000000000000",
      "stock": 24
    },
    {
      "sku": 3,
      "title": "多段曝光選樣",
      "description": "同一底片六個曝光段，並排比較。",
      "price": "1200000000000000",
      "stock": 24
    },
    {
      "sku": 4,
      "title": "分級反差並排",
      "description": "四格對照不同反差與曝光組合。",
      "price": "1200000000000000",
      "stock": 24
    },
    {
      "sku": 5,
      "title": "裁切與相紙留邊",
      "description": "四個實際裁切框，用來推敲留白。",
      "price": "1200000000000000",
      "stock": 24
    },
    {
      "sku": 6,
      "title": "局部遮燒標註",
      "description": "原圖與標註兩欄，保留遮燒位置。",
      "price": "1200000000000000",
      "stock": 24
    },
    {
      "sku": 7,
      "title": "展牆排列",
      "description": "三幅展牆順序、尺寸與留白示意。",
      "price": "1200000000000000",
      "stock": 24
    },
    {
      "sku": 8,
      "title": "小誌印張順序",
      "description": "八頁排序，試排連續敘事。",
      "price": "1200000000000000",
      "stock": 24
    },
    {
      "sku": 101,
      "title": "選片｜2 件組",
      "price": "2100000000000000",
      "works": [
        1,
        2
      ]
    },
    {
      "sku": 102,
      "title": "試印｜2 件組",
      "price": "2100000000000000",
      "works": [
        3,
        4
      ]
    },
    {
      "sku": 103,
      "title": "放大｜2 件組",
      "price": "2100000000000000",
      "works": [
        5,
        6
      ]
    },
    {
      "sku": 104,
      "title": "展示｜2 件組",
      "price": "2100000000000000",
      "works": [
        7,
        8
      ]
    }
  ],
  "lotArtwork": [],
  "options": "abi.encode(uint256 existingParentToken); use 0x if no parent",
  "checkout": [
    {
      "type": "function",
      "name": "claimRefund",
      "inputs": [
        {
          "name": "recipient",
          "type": "address",
          "internalType": "address payable"
        }
      ],
      "outputs": [],
      "stateMutability": "nonpayable"
    },
    {
      "type": "function",
      "name": "price",
      "inputs": [],
      "outputs": [
        {
          "name": "",
          "type": "uint256",
          "internalType": "uint256"
        }
      ],
      "stateMutability": "view"
    },
    {
      "type": "function",
      "name": "priceForSKU",
      "inputs": [
        {
          "name": "sku",
          "type": "uint256",
          "internalType": "uint256"
        }
      ],
      "outputs": [
        {
          "name": "",
          "type": "uint256",
          "internalType": "uint256"
        }
      ],
      "stateMutability": "pure"
    },
    {
      "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": [],
      "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": "minimum",
          "type": "uint256",
          "internalType": "uint256"
        },
        {
          "name": "deadline",
          "type": "uint256",
          "internalType": "uint256"
        }
      ],
      "outputs": [],
      "stateMutability": "payable"
    },
    {
      "type": "function",
      "name": "purchaseCart",
      "inputs": [
        {
          "name": "lines",
          "type": "tuple[]",
          "internalType": "struct ContactBook.Line[]",
          "components": [
            {
              "name": "sku",
              "type": "uint256",
              "internalType": "uint256"
            },
            {
              "name": "quantity",
              "type": "uint256",
              "internalType": "uint256"
            },
            {
              "name": "maxUnitPrice",
              "type": "uint256",
              "internalType": "uint256"
            }
          ]
        },
        {
          "name": "recipient",
          "type": "address",
          "internalType": "address"
        },
        {
          "name": "maxTotal",
          "type": "uint256",
          "internalType": "uint256"
        },
        {
          "name": "deadline",
          "type": "uint256",
          "internalType": "uint256"
        }
      ],
      "outputs": [],
      "stateMutability": "payable"
    },
    {
      "type": "function",
      "name": "purchasePages",
      "inputs": [
        {
          "name": "lines",
          "type": "tuple[]",
          "internalType": "struct ContactBook.Line[]",
          "components": [
            {
              "name": "sku",
              "type": "uint256",
              "internalType": "uint256"
            },
            {
              "name": "quantity",
              "type": "uint256",
              "internalType": "uint256"
            },
            {
              "name": "maxUnitPrice",
              "type": "uint256",
              "internalType": "uint256"
            }
          ]
        },
        {
          "name": "recipient",
          "type": "address",
          "internalType": "address"
        },
        {
          "name": "maxTotal",
          "type": "uint256",
          "internalType": "uint256"
        },
        {
          "name": "deadline",
          "type": "uint256",
          "internalType": "uint256"
        },
        {
          "name": "parent",
          "type": "uint256",
          "internalType": "uint256"
        }
      ],
      "outputs": [],
      "stateMutability": "payable"
    },
    {
      "type": "function",
      "name": "quote",
      "inputs": [
        {
          "name": "",
          "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": "",
          "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": "paid",
          "type": "uint256",
          "internalType": "uint256"
        },
        {
          "name": "refund",
          "type": "uint256",
          "internalType": "uint256"
        },
        {
          "name": "available",
          "type": "uint256",
          "internalType": "uint256"
        }
      ],
      "stateMutability": "view"
    },
    {
      "type": "function",
      "name": "quoteCart",
      "inputs": [
        {
          "name": "lines",
          "type": "tuple[]",
          "internalType": "struct ContactBook.Line[]",
          "components": [
            {
              "name": "sku",
              "type": "uint256",
              "internalType": "uint256"
            },
            {
              "name": "quantity",
              "type": "uint256",
              "internalType": "uint256"
            },
            {
              "name": "maxUnitPrice",
              "type": "uint256",
              "internalType": "uint256"
            }
          ]
        }
      ],
      "outputs": [
        {
          "name": "total",
          "type": "uint256",
          "internalType": "uint256"
        }
      ],
      "stateMutability": "view"
    },
    {
      "type": "function",
      "name": "refundCredit",
      "inputs": [
        {
          "name": "buyer",
          "type": "address",
          "internalType": "address"
        }
      ],
      "outputs": [
        {
          "name": "amount",
          "type": "uint256",
          "internalType": "uint256"
        }
      ],
      "stateMutability": "view"
    },
    {
      "type": "function",
      "name": "remaining",
      "inputs": [
        {
          "name": "sku",
          "type": "uint256",
          "internalType": "uint256"
        }
      ],
      "outputs": [
        {
          "name": "available",
          "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"
    }
  ],
  "receipts": [
    {
      "type": "event",
      "name": "Approval",
      "inputs": [
        {
          "name": "owner",
          "type": "address",
          "indexed": true,
          "internalType": "address"
        },
        {
          "name": "approved",
          "type": "address",
          "indexed": true,
          "internalType": "address"
        },
        {
          "name": "tokenId",
          "type": "uint256",
          "indexed": true,
          "internalType": "uint256"
        }
      ],
      "anonymous": false
    },
    {
      "type": "event",
      "name": "ApprovalForAll",
      "inputs": [
        {
          "name": "owner",
          "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": "ProceedsWithdrawn",
      "inputs": [
        {
          "name": "payee",
          "type": "address",
          "indexed": true,
          "internalType": "address"
        },
        {
          "name": "value",
          "type": "uint256",
          "indexed": false,
          "internalType": "uint256"
        }
      ],
      "anonymous": false
    },
    {
      "type": "event",
      "name": "PurchasedPages",
      "inputs": [
        {
          "name": "buyer",
          "type": "address",
          "indexed": true,
          "internalType": "address"
        },
        {
          "name": "recipient",
          "type": "address",
          "indexed": true,
          "internalType": "address"
        },
        {
          "name": "parentId",
          "type": "uint256",
          "indexed": true,
          "internalType": "uint256"
        },
        {
          "name": "skus",
          "type": "uint256[]",
          "indexed": false,
          "internalType": "uint256[]"
        },
        {
          "name": "tokenIds",
          "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": "value",
          "type": "uint256",
          "indexed": false,
          "internalType": "uint256"
        }
      ],
      "anonymous": false
    },
    {
      "type": "event",
      "name": "RefundCredited",
      "inputs": [
        {
          "name": "buyer",
          "type": "address",
          "indexed": true,
          "internalType": "address"
        },
        {
          "name": "value",
          "type": "uint256",
          "indexed": false,
          "internalType": "uint256"
        }
      ],
      "anonymous": false
    },
    {
      "type": "event",
      "name": "Transfer",
      "inputs": [
        {
          "name": "from",
          "type": "address",
          "indexed": true,
          "internalType": "address"
        },
        {
          "name": "to",
          "type": "address",
          "indexed": true,
          "internalType": "address"
        },
        {
          "name": "tokenId",
          "type": "uint256",
          "indexed": true,
          "internalType": "uint256"
        }
      ],
      "anonymous": false
    }
  ]
}
