UNPKG

bnpl

Version:

The smart contracts for bnpl

26 lines (25 loc) 856 B
const orderType = { OrderComponents: [ { name: "offerer", type: "address" }, { name: "token", type: "address" }, { name: "identifier", type: "uint256" }, { name: "currency", type: "address" }, { name: "artist", type: "address" }, { name: "platform", type: "address" }, { name: "startTime", type: "uint256" }, { name: "endTime", type: "uint256" }, { name: "duration", type: "uint256" }, { name: "periods", type: "uint256" }, { name: "amount", type: "uint256" }, { name: "ratio", type: "uint256" }, { name: "royalty", type: "uint256" }, { name: "fee", type: "uint256" }, { name: "withdrawFee", type: "uint256" }, { name: "salt", type: "uint256" }, { name: "conduitKey", type: "bytes32" }, { name: "counter", type: "uint256" }, ] }; module.exports = Object.freeze({ orderType, });