#0
nonstandard
0.00004000 BSV
Q!o#ÄÃkoÂyËõÞÜpJPÓ
÷@·óAQ®Mz{"summary":1,"identifiers":2,"keyDates":3,"creditStats":4,"tradingStats":5,"__cls":"class FacilitySC {\n constructor(\n owners = [],\n name = '',\n owningBranch = '',\n loanFormat = 'Revolver',\n agentId = '',\n dealId = '',\n facilityTypeName = '',\n facilityTypeCode = '',\n accrualType = 'Accrual',\n ANSI = '',\n facilityControlNumber = 0,\n ISIN = 0,\n CUSIP = 0,\n startDate = '',\n effectiveDate = '',\n loanEffectiveDate = '',\n creditAgreementDate = '',\n expiryDate = '',\n finalMaturityDate = '',\n breakDate = '',\n multiCurrency = false,\n fxRate = 0,\n globalProposedAmount = 0,\n globalOriginationAmount = 0,\n repaymentRule = 'FIFO',\n cancelationRule = 'FIFO',\n prepaymentRule = 'FIFO',\n facilityCurrency = '',\n ageFactor = 0,\n bidAsk = 0,\n creditRating = '',\n reportingCurrency = '',\n maxRate = 0,\n minRate = 0,\n spread = 0,\n maxSpread = 0,\n minSpread = 0,\n assignmentFeesRequired = false,\n assignmentFeeType = 'Flat Amount',\n assignmentFee = 0,\n borrowerConsentRequired = false,\n agentConsentRequired = false,\n margin = 0,\n interestOption = '',\n baseRate = '',\n baseRateAmount = 0,\n creditAgreementName = '',\n purchaseRate = 0,\n RACRate = 0,\n averageLibor = 0,\n currentLibor = 0,\n exchangeRate = 0,\n createdBy = '',\n uploaded = '',\n lastModified = '',\n imported = false\n ) {\n this._owners = owners;\n\n this.summary = {\n name,\n owningBranch,\n loanFormat,\n agentId,\n };\n\n this.identifiers = {\n dealId,\n facilityTypeName,\n facilityTypeCode,\n accrualType,\n ANSI,\n facilityControlNumber,\n ISIN,\n CUSIP,\n };\n\n this.keyDates = {\n startDate,\n effectiveDate,\n loanEffectiveDate,\n creditAgreementDate,\n expiryDate,\n finalMaturityDate,\n breakDate\n };\n\n this.creditStats = {\n multiCurrency,\n fxRate,\n globalProposedAmount,\n numberOfShares: 0,\n globalOriginationAmount,\n amountUnavailable: 0,\n repaymentRule,\n cancelationRule,\n prepaymentRule,\n };\n\n this.tradingStats = {\n facilityCurrency,\n ageFactor,\n bidAsk,\n creditRating,\n reportingCurrency,\n maxRate,\n minRate,\n spread,\n maxSpread,\n minSpread,\n assignmentFeesRequired,\n assignmentFeeType,\n assignmentFee,\n borrowerConsentRequired,\n agentConsentRequired,\n margin,\n lastTradeAmount: '--',\n interestOption,\n baseRate,\n baseRateAmount,\n creditAgreementName,\n purchaseRate,\n RACRate,\n averageLibor,\n currentLibor,\n exchangeRate\n };\n\n this.createdBy = createdBy;\n this.uploaded = uploaded;\n this.lastModified = lastModified;\n this.lendersOfRecord = [];\n this.facilityFees = [];\n this.imported = imported;\n }\n\n setDealId(dealId) {\n this.identifiers.dealId = dealId;\n }\n\n setImported(imported) {\n this.imported = imported;\n }\n\n setLastModified(lastModified) {\n this.lastModified = lastModified;\n }\n\n setLendersOfRecord(fundId, numberOfShares) {\n const prev = this.lendersOfRecord.filter(x => x.fundId === fundId);\n const commitmentAmount = numberOfShares;\n if (prev.length !== 0) {\n prev[0].commitmentAmount += commitmentAmount;\n } else {\n this.lendersOfRecord.push({ fundId, status: 'Actual', commitmentAmount, timestamp: Date.now() });\n }\n }\n\n addOwners(publicKeys) {\n this._owners = [...new Set(this._owners.concat(publicKeys))];\n this.tradingStats._owners = [...new Set(this._owners.concat(publicKeys))];\n this.creditStats._owners = [...new Set(this._owners.concat(publicKeys))];\n this.keyDates._owners = [...new Set(this._owners.concat(publicKeys))];\n this.identifiers._owners = [...new Set(this._owners.concat(publicKeys))];\n this.summary._owners = [...new Set(this._owners.concat(publicKeys))];\n }\n\n setAmountUnavailable(amountUnavailable) {\n this.creditStats.amountUnavailable = amountUnavailable;\n }\n\n setLastTradeAmount(lastTradeAmount) {\n this.tradingStats.lastTradeAmount = lastTradeAmount;\n }\n\n addFacilityFee(typeAndFee) {\n this.facilityFees.push(typeAndFee);\n }\n\n edit([\n name,\n agentId,\n loanFormat,\n facilityTypeCode,\n accrualType,\n facilityControlNumber,\n ISIN,\n CUSIP,\n effectiveDate,\n dateOfAgreement,\n expiryDate,\n finalMaturityDate,\n multiCurrency,\n fxRate,\n globalProposedAmount,\n globalOriginationAmount,\n repaymentRule,\n cancelationRule,\n prepaymentRule,\n ageFactor,\n creditRating,\n reportingCurrency,\n maxRate,\n minRate,\n maxSpread,\n minSpread,\n assignmentFeesRequired,\n borrowerConsentRequired,\n agentConsentRequired,\n margin,\n creditAgreement\n ]) {\n this.summary.name = name;\n this.summary.agentId = agentId;\n this.summary.loanFormat = loanFormat;\n this.identifiers.facilityTypeCode = facilityTypeCode;\n this.identifiers.accrualType = accrualType;\n this.identifiers.facilityControlNumber = facilityControlNumber;\n this.identifiers.ISIN = ISIN;\n this.identifiers.CUSIP = CUSIP;\n this.keyDates.effectiveDate = effectiveDate;\n this.keyDates.dateOfAgreement = dateOfAgreement;\n this.keyDates.expiryDate = expiryDate;\n this.keyDates.finalMaturityDate = finalMaturityDate;\n this.creditStats.multiCurrency = multiCurrency;\n this.creditStats.fxRate = fxRate;\n this.creditStats.globalProposedAmount = globalProposedAmount;\n this.creditStats.globalOriginationAmount = globalOriginationAmount;\n this.creditStats.repaymentRule = repaymentRule;\n this.creditStats.cancelationRule = cancelationRule;\n this.creditStats.prepaymentRule = prepaymentRule;\n this.creditStats.ageFactor = ageFactor;\n this.tradingStats.creditRating = creditRating;\n this.tradingStats.reportingCurrency = reportingCurrency;\n this.tradingStats.maxRate = maxRate;\n this.tradingStats.minRate = minRate;\n this.tradingStats.maxSpread = maxSpread;\n this.tradingStats.minSpread = minSpread;\n this.tradingStats.assignmentFeesRequired = assignmentFeesRequired;\n this.tradingStats.borrowerConsentRequired = borrowerConsentRequired;\n this.tradingStats.agentConsentRequired = agentConsentRequired;\n this.tradingStats.margin = margin;\n this.tradingStats.creditAgreement = creditAgreement;\n }\n}","__index":{"obj":0},"__func":"constructor","__args":[["036f87012302c4c36b6fc279cbf58b921994dedc704a50d30df7401e1bb7f38d41"],"name2","owningBranch2","loanFormat2","a171c6c6bc534ab71cbdb01120537a88403c09b1f801e7ac7c8adc54bccb57ad:0","","facilityTypeName2","facilityTypeCode2","accrualType2","ANSI2","facilityControlNumber2","ISIN2","CUSIP2","startDate2","effectiveDate2","loanEffectiveDate2","creditAgreementDate2","expiryDate2","finalMaturityDate2","breakDate2","multiCurrency2","fxRate2","globalProposedAmount2","globalOriginationAmount2","repaymentRule2","cancelationRule2","prepaymentRule2","facilityCurrency2","ageFactor2","bidAsk2","creditRating2","reportingCurrency2","maxRate2","minRate2","spread2","maxSpread2","minSpread2","assignmentFeesRequired2","assignmentFeeType2","assignmentFee2","borrowerConsentRequired2","agentConsentRequired2","margin2","interestOption2","baseRate2","baseRateAmount2","creditAgreementName2","purchaseRate2","RACRate2","averageLibor2","currentLibor2","exchangeRate2","a171c6c6bc534ab71cbdb01120537a88403c09b1f801e7ac7c8adc54bccb57ad:0","01/11/2021","01/11/2021",true]}u
https://whatsonchain.com/tx/122f6f47aa4e4fa44d72ffa1729b73a42e6704b956f9cf94de444cd33b9b51ce