@hypernetlabs/objects
Version:
Objects and types shared by the Hypernet Protocol
36 lines • 1.48 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.pullPaymentSigningTypes = exports.pushPaymentSigningTypes = exports.paymentSigningDomain = void 0;
exports.paymentSigningDomain = {
name: "Hypernet Protocol",
version: "1",
};
exports.pushPaymentSigningTypes = {
PushPayment: [
{ name: "requestIdentifier", type: "string" },
{ name: "paymentId", type: "string" },
{ name: "channelAddress", type: "address" },
{ name: "recipientPublicIdentifier", type: "string" },
{ name: "amount", type: "string" },
{ name: "expirationDate", type: "uint32" },
{ name: "requiredStake", type: "string" },
{ name: "paymentToken", type: "address" },
{ name: "metadata", type: "string" },
],
};
exports.pullPaymentSigningTypes = {
PullPayment: [
{ name: "requestIdentifier", type: "string" },
{ name: "paymentId", type: "string" },
{ name: "channelAddress", type: "address" },
{ name: "recipientPublicIdentifier", type: "string" },
{ name: "totalAuthorized", type: "string" },
{ name: "expirationDate", type: "uint32" },
{ name: "deltaAmount", type: "string" },
{ name: "deltaTime", type: "uint32" },
{ name: "requiredStake", type: "string" },
{ name: "paymentToken", type: "address" },
{ name: "metadata", type: "string" },
],
};
//# sourceMappingURL=PaymentSigningValues.js.map