Skip to content

Commit

Permalink
Dev (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
schaier-io authored Jan 29, 2025
2 parents 399124b + 0039655 commit 4482237
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 41 deletions.
8 changes: 4 additions & 4 deletions src/utils/config/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
}
74 changes: 37 additions & 37 deletions src/utils/swagger-generator/openapi-docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
Expand Down Expand Up @@ -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",
Expand All @@ -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"
}
Expand Down Expand Up @@ -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": {
Expand Down Expand Up @@ -1383,7 +1383,7 @@
}
],
"paymentType": "WEB3_CARDANO_V1",
"submitResultTime": "2025-01-29T02:47:11.623Z"
"submitResultTime": "2025-01-29T21:22:26.137Z"
}
}
}
Expand Down Expand Up @@ -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",
Expand All @@ -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"
}
Expand Down Expand Up @@ -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"
}
}
Expand Down Expand Up @@ -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",
Expand All @@ -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"
}
Expand Down Expand Up @@ -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"
}
}
}
Expand Down Expand Up @@ -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"
}
}
Expand Down Expand Up @@ -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": [
{
Expand Down Expand Up @@ -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": [
{
Expand Down Expand Up @@ -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
}
}
Expand Down Expand Up @@ -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
}
Expand Down Expand Up @@ -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"
}
]
}
Expand Down

0 comments on commit 4482237

Please sign in to comment.