From bc62f3e875b256ee99d6118612eb95f304d3abf7 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 29 Jan 2025 09:22:26 +0000 Subject: [PATCH 1/2] chore: auto-fix lint issues and generate swagger json --- src/utils/swagger-generator/openapi-docs.json | 74 +++++++++---------- 1 file changed, 37 insertions(+), 37 deletions(-) diff --git a/src/utils/swagger-generator/openapi-docs.json b/src/utils/swagger-generator/openapi-docs.json index 0afb29d..cffa98b 100644 --- a/src/utils/swagger-generator/openapi-docs.json +++ b/src/utils/swagger-generator/openapi-docs.json @@ -299,8 +299,8 @@ "PendingTransaction": null, "walletAddress": "wallet_address", "WalletSecret": { - "createdAt": "2025-01-28T14:47:11.622Z", - "updatedAt": "2025-01-28T14:47:11.622Z", + "createdAt": "2025-01-29T09:22:26.137Z", + "updatedAt": "2025-01-29T09:22:26.137Z", "secret": "decoded_secret" } } @@ -1194,8 +1194,8 @@ "data": { "payments": [ { - "createdAt": "2025-01-28T14:47:11.623Z", - "updatedAt": "2025-01-28T14:47:11.623Z", + "createdAt": "2025-01-29T09:22:26.137Z", + "updatedAt": "2025-01-29T09:22:26.137Z", "status": "PaymentRequested", "txHash": "tx_hash", "utxo": "utxo", @@ -1215,8 +1215,8 @@ "Amounts": [ { "id": "unique_cuid_v2_auto_generated", - "createdAt": "2025-01-28T14:47:11.623Z", - "updatedAt": "2025-01-28T14:47:11.623Z", + "createdAt": "2025-01-29T09:22:26.137Z", + "updatedAt": "2025-01-29T09:22:26.137Z", "amount": 1000000, "unit": "unit" } @@ -1328,7 +1328,7 @@ "format": "date-time" } ], - "default": "2025-01-29T02:47:11.289Z", + "default": "2025-01-29T21:22:25.801Z", "description": "The time after which the payment has to be submitted to the smart contract" }, "unlockTime": { @@ -1383,7 +1383,7 @@ } ], "paymentType": "WEB3_CARDANO_V1", - "submitResultTime": "2025-01-29T02:47:11.623Z" + "submitResultTime": "2025-01-29T21:22:26.137Z" } } } @@ -1577,8 +1577,8 @@ "status": "success", "data": { "identifier": "agent_identifier_unique_cuid_v2_auto_generated", - "createdAt": "2025-01-28T14:47:11.623Z", - "updatedAt": "2025-01-28T14:47:11.623Z", + "createdAt": "2025-01-29T09:22:26.137Z", + "updatedAt": "2025-01-29T09:22:26.137Z", "status": "PaymentRequested", "txHash": "tx_hash", "utxo": "utxo", @@ -1588,8 +1588,8 @@ "Amounts": [ { "id": "unique_cuid_v2_auto_generated", - "createdAt": "2025-01-28T14:47:11.623Z", - "updatedAt": "2025-01-28T14:47:11.623Z", + "createdAt": "2025-01-29T09:22:26.137Z", + "updatedAt": "2025-01-29T09:22:26.137Z", "amount": 1000000, "unit": "lovelace" } @@ -1738,8 +1738,8 @@ "status": "success", "data": { "id": "unique_cuid_v2_auto_generated", - "createdAt": "2025-01-28T14:47:11.623Z", - "updatedAt": "2025-01-28T14:47:11.623Z", + "createdAt": "2025-01-29T09:22:26.137Z", + "updatedAt": "2025-01-29T09:22:26.137Z", "status": "PaymentRequested" } } @@ -2040,8 +2040,8 @@ "data": { "purchases": [ { - "createdAt": "2025-01-28T14:47:11.623Z", - "updatedAt": "2025-01-28T14:47:11.623Z", + "createdAt": "2025-01-29T09:22:26.138Z", + "updatedAt": "2025-01-29T09:22:26.138Z", "status": "PurchaseRequested", "txHash": "tx_hash", "utxo": "utxo", @@ -2058,8 +2058,8 @@ "Amounts": [ { "id": "unique_cuid_v2_auto_generated", - "createdAt": "2025-01-28T14:47:11.623Z", - "updatedAt": "2025-01-28T14:47:11.623Z", + "createdAt": "2025-01-29T09:22:26.138Z", + "updatedAt": "2025-01-29T09:22:26.138Z", "amount": 1000000, "unit": "lovelace" } @@ -2238,9 +2238,9 @@ } ], "paymentType": "WEB3_CARDANO_V1", - "submitResultTime": "2025-01-29T02:47:11.623Z", - "unlockTime": "2025-01-29T14:47:11.623Z", - "refundTime": "2025-01-30T02:47:11.623Z" + "submitResultTime": "2025-01-29T21:22:26.138Z", + "unlockTime": "2025-01-30T09:22:26.138Z", + "refundTime": "2025-01-30T21:22:26.138Z" } } } @@ -2302,8 +2302,8 @@ "status": "success", "data": { "id": "unique_cuid_v2_auto_generated", - "createdAt": "2025-01-28T14:47:11.623Z", - "updatedAt": "2025-01-28T14:47:11.623Z", + "createdAt": "2025-01-29T09:22:26.138Z", + "updatedAt": "2025-01-29T09:22:26.138Z", "status": "PurchaseRequested" } } @@ -3254,13 +3254,13 @@ "paymentSources": [ { "id": "unique_cuid_v2_auto_generated", - "createdAt": "2025-01-28T14:47:11.623Z", - "updatedAt": "2025-01-28T14:47:11.623Z", + "createdAt": "2025-01-29T09:22:26.138Z", + "updatedAt": "2025-01-29T09:22:26.138Z", "network": "PREPROD", "paymentType": "WEB3_CARDANO_V1", "paymentContractAddress": "address_of_the_smart_contract", "lastPageChecked": 1, - "lastCheckedAt": "2025-01-28T14:47:11.623Z", + "lastCheckedAt": "2025-01-29T09:22:26.138Z", "lastIdentifierChecked": null, "AdminWallets": [ { @@ -3558,15 +3558,15 @@ "paymentSources": [ { "id": "unique_cuid_v2_auto_generated", - "createdAt": "2025-01-28T14:47:11.623Z", - "updatedAt": "2025-01-28T14:47:11.623Z", + "createdAt": "2025-01-29T09:22:26.138Z", + "updatedAt": "2025-01-29T09:22:26.138Z", "network": "PREPROD", "paymentType": "WEB3_CARDANO_V1", "paymentContractAddress": "address_of_the_smart_contract", "rpcProviderApiKey": "rpc_provider_api_key", "isSyncing": false, "lastPageChecked": 1, - "lastCheckedAt": "2025-01-28T14:47:11.623Z", + "lastCheckedAt": "2025-01-29T09:22:26.138Z", "lastIdentifierChecked": null, "AdminWallets": [ { @@ -3889,15 +3889,15 @@ "status": "success", "data": { "id": "unique_cuid_v2_auto_generated", - "createdAt": "2025-01-28T14:47:11.623Z", - "updatedAt": "2025-01-28T14:47:11.623Z", + "createdAt": "2025-01-29T09:22:26.138Z", + "updatedAt": "2025-01-29T09:22:26.138Z", "network": "PREPROD", "paymentType": "WEB3_CARDANO_V1", "paymentContractAddress": "address_of_the_smart_contract", "rpcProviderApiKey": "rpc_provider_api_key", "isSyncing": false, "lastPageChecked": 1, - "lastCheckedAt": "2025-01-28T14:47:11.623Z", + "lastCheckedAt": "2025-01-29T09:22:26.138Z", "lastIdentifierChecked": null } } @@ -4164,13 +4164,13 @@ "data": { "paymentContractAddress": "address_of_the_smart_contract", "id": "unique_cuid_v2_auto_generated", - "createdAt": "2025-01-28T14:47:11.623Z", - "updatedAt": "2025-01-28T14:47:11.623Z", + "createdAt": "2025-01-29T09:22:26.138Z", + "updatedAt": "2025-01-29T09:22:26.138Z", "network": "PREPROD", "paymentType": "WEB3_CARDANO_V1", "rpcProviderApiKey": "rpc_provider_api_key", "lastPageChecked": 1, - "lastCheckedAt": "2025-01-28T14:47:11.623Z", + "lastCheckedAt": "2025-01-29T09:22:26.138Z", "lastIdentifierChecked": null, "isSyncing": false } @@ -4508,8 +4508,8 @@ "network": "PREPROD", "id": "unique_cuid_v2", "rpcProviderApiKey": "blockfrost_api_key", - "createdAt": "2025-01-28T14:47:11.623Z", - "updatedAt": "2025-01-28T14:47:11.623Z" + "createdAt": "2025-01-29T09:22:26.138Z", + "updatedAt": "2025-01-29T09:22:26.138Z" } ] } From a94d226ddbdaf632653c41a96ccff1676001b76a Mon Sep 17 00:00:00 2001 From: Sandro Schaier <80533393+schaier-io@users.noreply.github.com> Date: Wed, 29 Jan 2025 10:23:02 +0100 Subject: [PATCH 2/2] updated default contract address --- src/utils/config/index.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/utils/config/index.ts b/src/utils/config/index.ts index 579d946..cdee058 100644 --- a/src/utils/config/index.ts +++ b/src/utils/config/index.ts @@ -24,14 +24,14 @@ export const DEFAULTS = { ADMIN_WALLET3_PREPROD: "addr_test1qzy7a702snswullyjg06j04jsulldc6yw0m4r4w49jm44f30pgqg0ez34lrdj7dy7ndp2lgv8e35e6jzazun8gekdlsq99mm6w", FEE_WALLET_PREPROD: "addr_test1qqfuahzn3rpnlah2ctcdjxdfl4230ygdar00qxc32guetexyg7nun6hggw9g2gpnayzf22sksr0aqdgkdcvqpc2stwtqt4u496", FEE_PERMILLE_PREPROD: 50, //equals simulated 5% fee for the network - PAYMENT_SMART_CONTRACT_ADDRESS_PREPROD: "addr_test1wzqp9cnu69w8x789t3y5m0h268gr7rdqkedjzd7lez3tv6qlzqrwg", - REGISTRY_POLICY_ID_PREPROD: "e57c0b9e2de90f51bef2b777b9b938db81265f8021cc538332f24eeb", + PAYMENT_SMART_CONTRACT_ADDRESS_PREPROD: "addr_test1wrykg83mv7746yx7tru6dgpk70ps74hk36qh9t6gqec0jwqcr9xsr", + REGISTRY_POLICY_ID_PREPROD: "b0fcefada74bec0132dbd01c01a631ead4473d0e0e566f69dd698c57", ADMIN_WALLET1_MAINNET: "addr1q87pdg0u7vy6a5p7cx9my9m0t63f4n48pwmez30t4laguawge7xugp6m5qgr6nnp6wazurtagjva8l9fc3a5a4scx0rqfjxhnw", ADMIN_WALLET2_MAINNET: "addr1q9lhs9snd92fmr3tzw87uujvn7nqd4ss0fn8yz7mf3y2mf3a3806uqngr7hvksqvtkmetcjcluu6xeguagwyaxevdhmslj9lcz", ADMIN_WALLET3_MAINNET: "addr1qxy7a702snswullyjg06j04jsulldc6yw0m4r4w49jm44f30pgqg0ez34lrdj7dy7ndp2lgv8e35e6jzazun8gekdlsqxnxmk3", FEE_WALLET_MAINNET: "addr1qyfuahzn3rpnlah2ctcdjxdfl4230ygdar00qxc32guetexyg7nun6hggw9g2gpnayzf22sksr0aqdgkdcvqpc2stwtqgrp4f9", FEE_PERMILLE_MAINNET: 50, //equals 5% fee for the network - PAYMENT_SMART_CONTRACT_ADDRESS_MAINNET: "addr1wxqp9cnu69w8x789t3y5m0h268gr7rdqkedjzd7lez3tv6qy25lpd", - REGISTRY_POLICY_ID_MAINNET: "0ccabe90d9ab4a6f047571f2ebbb9719b007bf1dffb68dfd66a3a553", + PAYMENT_SMART_CONTRACT_ADDRESS_MAINNET: "addr1w8ykg83mv7746yx7tru6dgpk70ps74hk36qh9t6gqec0jwqrt36lx", + REGISTRY_POLICY_ID_MAINNET: "0af294ef7fc26bceb20dd36ea556e8829b8ccaa743f1c66993d1b52a", } \ No newline at end of file