{
  "schema": "edition-checkout/2",
  "name": "雨落八景",
  "chainId": 56,
  "address": "0xFa16B2Ff6e48514622DB5a10Ee5bD803Db5078C9",
  "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": "1800000000000000",
      "stock": 4
    },
    {
      "sku": 2,
      "title": "濕陡階",
      "description": "石階反光，坡度消失在遠方。",
      "price": "1800000000000000",
      "stock": 4
    },
    {
      "sku": 3,
      "title": "倒白霧",
      "description": "霧在水面的另一側。",
      "price": "1800000000000000",
      "stock": 4
    },
    {
      "sku": 4,
      "title": "林末電線",
      "description": "最後一條線穿出森林。",
      "price": "1800000000000000",
      "stock": 4
    },
    {
      "sku": 5,
      "title": "末班車窗",
      "description": "濕玻璃借來一點暖色。",
      "price": "1800000000000000",
      "stock": 4
    },
    {
      "sku": 6,
      "title": "屋瓦",
      "description": "雨點在低處聚集。",
      "price": "1800000000000000",
      "stock": 4
    },
    {
      "sku": 7,
      "title": "霓虹水痕",
      "description": "水接住快要熄滅的霓虹。",
      "price": "1800000000000000",
      "stock": 4
    },
    {
      "sku": 8,
      "title": "渡橋",
      "description": "橋燈把水分成兩片。",
      "price": "1800000000000000",
      "stock": 4
    },
    {
      "sku": 101,
      "title": "山線｜4 件組",
      "price": "6480000000000000",
      "works": [
        1,
        2,
        3,
        4
      ]
    },
    {
      "sku": 102,
      "title": "城線｜4 件組",
      "price": "6480000000000000",
      "works": [
        5,
        6,
        7,
        8
      ]
    }
  ],
  "lotArtwork": [],
  "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": "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": "tokenIds",
          "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": "tokenIds",
          "type": "uint256[]",
          "internalType": "uint256[]"
        }
      ],
      "stateMutability": "payable"
    },
    {
      "type": "function",
      "name": "purchaseCart",
      "inputs": [
        {
          "name": "lines",
          "type": "tuple[]",
          "internalType": "struct GalleryCheckout.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": [
        {
          "name": "tokenIds",
          "type": "uint256[]",
          "internalType": "uint256[]"
        }
      ],
      "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": "unit",
          "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": "unit",
          "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": "lines",
          "type": "tuple[]",
          "internalType": "struct GalleryCheckout.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": "weiAmount",
          "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": "uint64",
          "internalType": "uint64"
        }
      ],
      "stateMutability": "view"
    },
    {
      "type": "function",
      "name": "saleStart",
      "inputs": [],
      "outputs": [
        {
          "name": "",
          "type": "uint64",
          "internalType": "uint64"
        }
      ],
      "stateMutability": "view"
    }
  ],
  "receipts": [
    {
      "type": "event",
      "name": "GalleryPurchase",
      "inputs": [
        {
          "name": "buyer",
          "type": "address",
          "indexed": true,
          "internalType": "address"
        },
        {
          "name": "recipient",
          "type": "address",
          "indexed": true,
          "internalType": "address"
        },
        {
          "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": "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
    }
  ]
}
