Skip to content

Commit

Permalink
docs: update fro and fos modules in mkdocs with graphiql
Browse files Browse the repository at this point in the history
  • Loading branch information
Sterling committed Sep 15, 2022
1 parent 3fc8a01 commit 3fe499c
Show file tree
Hide file tree
Showing 15 changed files with 116,815 additions and 116,788 deletions.
2 changes: 1 addition & 1 deletion bin/restart
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ set -o pipefail
PRJT_ROOT="$( cd "$(dirname "$0")" >/dev/null 2>&1 || exit 1 ; pwd -P | grep -o '^.*/' )"

# Remove all services but blockchains
${CONTAINER_COMPOSE_CMD:-docker-compose} rm -s -f postgres-api postgres-str api fro fio1 fso mfmo str mfbo1 www mcpu hasura
${CONTAINER_COMPOSE_CMD:-docker-compose} rm -s -f fro fio1 fso str

# Start all services
${CONTAINER_COMPOSE_CMD:-docker-compose} up -d
Expand Down
111 changes: 110 additions & 1 deletion mkdocs/docs/js/bondEmission.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,21 @@ const contractNotificationQuery = `subscription Subscription {
}
}
}`;
const contractNotificationFSOQuery = `subscription Subscription {
contractNotification {
notificationName
instrumentAddress
transactionHash
lightSettlementTransactions {
id
participantAccountNumbers {
securityDeliverer
securityReceiver
}
}
}
}
`;
const initiateSubscriptionMutation = `mutation InitiateSubscription($initiateSubscriptionInput: InitiateSubscriptionInput!) {
initiateSubscription(initiateSubscriptionInput: $initiateSubscriptionInput)
}`;
Expand Down Expand Up @@ -86,4 +101,98 @@ const getSettlementTransactionQuery = `query GetSettlementTransaction($getSettle
paymentReference
}
}
}`;
}`;
const createBondFROMutationVariables = `{
"bond": {
"symbol": "202203031112",
"status": "CREATED",
"isinCode": "202203031112",
"cfiCode": "202203031112",
"commonCode": "202203031112",
"ledger": "ETHEREUM",
"startDate": "2022-03-03T10:11:18.729",
"maturityDate": "2026-03-03T10:11:18.729",
"denomination": 1000000,
"nominalAmount": 1000000000,
"decimals": null,
"currency": "EUR",
"couponRateInBips": 0,
"couponFrequencyInMonths": 12,
"firstCouponDate": "2023-04-03T09:11:18.729",
"isCallable": false,
"callFrequency": "DAILY",
"registrarAgentAddress": "0x106f9f9a06c5bb607a8e6c6f2aec0ec4fd303f26",
"settlerAgentAddress": "0x58f3988e32cb39aac0b47b3c5384371335341195",
"issuerAddress": "0x23041c3e04a6770df70616608b6b1517735f7fc2",
"extendedMaturityDate": "2026-04-03T10:11:18.729",
"isSoftBullet": false,
"softBulletPeriodInMonths": 12,
"spread": 0,
"issuerId": "LEI_ISSUER_1",
"registrarId": "LEI_REGISTRAR",
"settlementAgentId": "LEI_SETTLEMENT_AGENT"
}
}`;
const initiateSubscriptionFROMutationVariables = `{
"initiateSubscriptionInput": {
"settlementModel": "INDIRECT",
"intermediateAccountIBAN": "FR7630003011300300000000000",
"holdableTokenAddress": null,
"settlementDate": "2022-04-04T08:44:32.785Z",
"operationId": "974a2dcc-a241-447f-8ea2-82b00cf818bb",
"instrumentAddress": "0x7811126D6F73daa25832828af88702EB529fe820",
"instrumentLedger": "ETHEREUM",
"additionalReaderAddresses": [],
"tradeId": "45e18171-b487-4a0e-9487-c3a7bc082c8d",
"tradeDate": "2022-03-04T09:44:32.785",
"issuerAddresses": {
"legalEntityId": "LEI_ISSUER_1",
"paymentAccountNumber": "FR7630003011300400000000000"
},
"investorAddresses": {
"deliveryAccountNumber": "0xee39c0435ab3c4a205e9e117dcea0cc7610d7dc3",
"legalEntityId": "LEI_INVESTOR_1",
"paymentAccountNumber": "FR7630003011300500000000000"
},
"deliveryQuantity": 1,
"paymentAmount": 980000,
"paymentCurrency": "EUR"
}
}`;
const getSettlementTransactionFROQuery = `query GetSettlementTransactions {
getSettlementTransactions {
deliveryQuantity
deliveryReceiverAccountNumber
deliverySenderAccountNumber
hash
id
instrumentLedger
instrumentPublicAddress
paymentSenderLegalEntityId
paymentReceiverLegalEntityId
movements {
id
paymentReference
receiverAccountNumber
senderAccountNumber
movementType
}
operationId
paymentAmount
paymentCurrency
paymentReceiverAccountNumber
paymentSenderAccountNumber
settlementDate
settlementStatus
settlementType
additionalReaderAddresses
tradeDate
tradeId
settlementModel
intermediateAccountIBAN
holdableTokenAddress
}
}`;



183 changes: 0 additions & 183 deletions mkdocs/docs/modules/explorerFRO.md

This file was deleted.

Loading

0 comments on commit 3fe499c

Please sign in to comment.