diff --git a/.gitignore b/.gitignore index a6693ea..b4ad229 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ node_modules/ -logs/ \ No newline at end of file +logs/ +.env diff --git a/.nxignore b/.nxignore index fb06d30..84ae126 100644 --- a/.nxignore +++ b/.nxignore @@ -5,9 +5,7 @@ # Personal Conf .vscode/ \.DS_Store -skaffold.yaml -auth0-cypress-demo/ # Created by .ignore support plugin (hsz.mobi) ### Node template # Logs diff --git a/cast.code-workspace b/cast.code-workspace index 5c82875..5d79f92 100644 --- a/cast.code-workspace +++ b/cast.code-workspace @@ -1,9 +1,6 @@ { "extensions": { "recommendations": [ - "googlecloudtools.cloudcode", - "msjsdiag.debugger-for-chrome", - "jingkaizhao.vscode-redux-devtools", "ms-azuretools.vscode-docker", "redhat.vscode-yaml", "mikestead.dotenv", @@ -43,7 +40,7 @@ "path": "packages/cast/cast-tz-v1" }, { - "name": "forge-platform", + "name": "cast-v1", "path": "." } ], @@ -75,10 +72,8 @@ "editor.tabSize": 2, "files.eol": "\n", "files.exclude": { - "packages/sgforge/www": true, "packages/cast/cast-eth-v1": true, "packages/cast/cast-tz-v1": true, - "charts": true, "packages": true }, "eslint.enable": true, @@ -179,7 +174,7 @@ "typescript.format.insertSpaceAfterSemicolonInForStatements": false, "typescript.format.insertSpaceBeforeAndAfterBinaryOperators": false, "typescript.reportStyleChecksAsWarnings": false, - "typescript.tsdk": "forge-platform/node_modules/typescript/lib", + "typescript.tsdk": "cast1/node_modules/typescript/lib", "workbench.editor.enablePreview": false, "solidity.enableLocalNodeCompiler": false, "python.formatting.autopep8Args": [ diff --git a/docker-compose.yml b/docker-compose.yml index 20d97ff..e2412b2 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -15,8 +15,6 @@ services: - POSTGRES_DB=oracle ports: - '5434:5432' - volumes: - - './charts/forge-platform/init-data/defaults/default-str-postgres-init.sql:/docker-entrypoint-initdb.d/init.sql' fro: container_name: fro image: 'node:16.9.1-alpine3.14' @@ -106,7 +104,7 @@ services: - "20000:20000" volumes: - 'flextesa_data:/tmp' - command: hangzbox start --keep-root --add-bootstrap-account "${TZ_KEY}@2_000_000_000_000" --no-daemons-for=forge + command: hangzbox start --keep-root --add-bootstrap-account "${TZ_KEY}@2_000_000_000_000" --no-daemons-for=cast environment: - block_time=3 mkdocs: diff --git a/docs/fro/04_createEMTN_variables_TEZOS.json b/docs/fro/04_createEMTN_variables_TEZOS.json index 1fa13de..bac24f0 100644 --- a/docs/fro/04_createEMTN_variables_TEZOS.json +++ b/docs/fro/04_createEMTN_variables_TEZOS.json @@ -1,7 +1,7 @@ { "EMTN": { "status": "CREATED", - "issuerId": "O2RNE8IBXP4R0TD8PU41", + "issuerId": "40FB4DC1392C13C0C1D5", "isinCode": "202106301141", "cfiCode": "202106301141", "commonCode": "202106301141", @@ -18,11 +18,11 @@ "firstCouponDate": "2022-07-30T09:41:26.079Z", "isCallable": false, "callFrequency": "DAILY", - "registrarAgentAddress": "tz1es1Cci5T4NWhYHep7gnj3M3aF7Vq9CiLL", - "settlerAgentAddress": "tz1NF3vkkDAozuVrBKTWTmALULPkbVsa53r2", - "issuerAddress": "tz1fjUm3gdP9ugKKU9Uiv3StnVCC5CoaVqaF", - "registrarId": "969500FX8K40ZDW4F377", - "settlementAgentId": "PAREL_LEI", + "registrarAgentAddress": "tz1es1Cci5T4NWhYHep7jnj3M3aF7Vq9CiLL", + "settlerAgentAddress": "tz1NF3vkkDAozuVrBKTWTnALULPkbVsa53r2", + "issuerAddress": "tz1fjUm3gdP9ugKKU9Uiv3StnVCC5CoaVqeF", + "registrarId": "5F04801BA62A99392892", + "settlementAgentId": "6FE314DDB2F43A4AAA47", "EmtnType": "type1", "underlying": "UDL1", "isAutocall": true, diff --git a/docs/fro/05_initiateSubscription_variables_ETHEREUM.json b/docs/fro/05_initiateSubscription_variables_ETHEREUM.json index e6717ed..c5f77ac 100644 --- a/docs/fro/05_initiateSubscription_variables_ETHEREUM.json +++ b/docs/fro/05_initiateSubscription_variables_ETHEREUM.json @@ -1,7 +1,7 @@ { "initiateSubscriptionInput": { "settlementModel": "INDIRECT", - "intermediateAccountIBAN": "FR7630003011300300000000000", + "intermediateAccountIBAN": "FR7632000000000000000000000", "holdableTokenAddress": null, "settlementDate": "2022-04-04T08:44:32.785Z", "operationId": "974a2dcc-a241-447f-8ea2-82b00cf818bb", @@ -12,12 +12,12 @@ "tradeDate": "2022-03-04T09:44:32.785", "issuerAddresses": { "legalEntityId": "LEI_ISSUER_1", - "paymentAccountNumber": "FR7630003011300400000000000" + "paymentAccountNumber": "FR7633000000000000000000000" }, "investorAddresses": { "deliveryAccountNumber": "0xee39c0435ab3c4a205e9e117dcea0cc7610d7dc3", "legalEntityId": "LEI_INVESTOR_1", - "paymentAccountNumber": "FR7630003011300500000000000" + "paymentAccountNumber": "FR7631000000000000000000000" }, "deliveryQuantity": 1, "paymentAmount": 980000, diff --git a/docs/fro/05_initiateSubscription_variables_TEZOS.json b/docs/fro/05_initiateSubscription_variables_TEZOS.json index 214c91b..b98ff6b 100644 --- a/docs/fro/05_initiateSubscription_variables_TEZOS.json +++ b/docs/fro/05_initiateSubscription_variables_TEZOS.json @@ -1,7 +1,7 @@ { "initiateSubscriptionInput": { "settlementModel": "INDIRECT", - "intermediateAccountIBAN": "FR7630003011300300000000000", + "intermediateAccountIBAN": "FR7632000000000000000000000", "holdableTokenAddress": null, "settlementDate": "2022-04-04T08:44:32.785Z", "operationId": "974a2dcc-a241-447f-8ea2-82b00cf818bb", @@ -12,12 +12,12 @@ "tradeDate": "2022-03-04T09:44:32.785", "issuerAddresses": { "legalEntityId": "LEI_ISSUER_1", - "paymentAccountNumber": "FR7630003011300400000000000" + "paymentAccountNumber": "FR7633000000000000000000000" }, "investorAddresses": { "deliveryAccountNumber": "tz1gQZPnKpc97AXNohwkzBdHuw53KJrCkvRs", "legalEntityId": "LEI_INVESTOR_1", - "paymentAccountNumber": "FR7630003011300500000000000" + "paymentAccountNumber": "FR7631000000000000000000000" }, "deliveryQuantity": 1, "paymentAmount": 980000, diff --git a/docs/fso/commented/13_confirmPaymentTransferred_variables_with_comments.hjson b/docs/fso/commented/13_confirmPaymentTransferred_variables_with_comments.hjson index ccfc861..5610127 100644 --- a/docs/fso/commented/13_confirmPaymentTransferred_variables_with_comments.hjson +++ b/docs/fso/commented/13_confirmPaymentTransferred_variables_with_comments.hjson @@ -1,3 +1,3 @@ { - "settlementTransactionId": "a984f4ca-ee73-487b-9bca-04943819f3a0" // id of the corresponding settlement transaction + "settlementTransactionId": "2cc3e9bbfc2360j8" // id of the swift reference received } diff --git a/mkdocs/docs/img/forge-ecosystem-components.png b/mkdocs/docs/img/cast-ecosystem-components.png similarity index 100% rename from mkdocs/docs/img/forge-ecosystem-components.png rename to mkdocs/docs/img/cast-ecosystem-components.png diff --git a/mkdocs/docs/tutorials/bondEmission.md b/mkdocs/docs/tutorials/bondIssuance.md similarity index 98% rename from mkdocs/docs/tutorials/bondEmission.md rename to mkdocs/docs/tutorials/bondIssuance.md index 04b33c2..d79a840 100644 --- a/mkdocs/docs/tutorials/bondEmission.md +++ b/mkdocs/docs/tutorials/bondIssuance.md @@ -1,7 +1,7 @@ # Emitting a Bond using Financial Oracles This step by step guide will go through the bond emission process. -At the end of this tutorial you will have emitted and settled a new Forge Bond on +At the end of this tutorial you will have issued and settled a new Forge Bond on your local environnement. For this you need to interact with two components : the [Financial Registrar Oracle (FRO)](/modules/explorerFRO) and the [Financial Settlement Oracle (FSO)](/modules/explorerFSO). @@ -17,7 +17,7 @@ Any Financial Oracle (FO) can do this. For this tutorial, we will be using the < ### Registry Notification -Anytime a new contract is emitted by a factory, you will receive a notification here. +Anytime a new contract is issued by a factory, you will receive a notification here.