#0
nonstandard
0.00004000 BSV
Q!§I{_ÃzvVû%>üWÜūѤP¹AºâZß?Q®MÅ{"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.creationInfo.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":[["03a799497b5fc39d7a765601fb253efc5796dc14c5abd1a450b94113bae25adf3f"],"Facility A","a","Revolver","03a799497b5fc39d7a765601fb253efc5796dc14c5abd1a450b94113bae25adf3f","5a9a07105ca56a7fdfdccdcbd1a5ed7ec0fc71499e437b0c17770e138490815d:0","a","a","Accrual","a",0,0,0,"12/02/2020","12/19/2020","12/25/2020","12/23/2020","12/26/2020","12/29/2020","12/31/2020","false",0,0,0,"FIFO","FIFO","FIFO","a",0,0,"a","a",0,0,0,0,0,"false","Flat Amount",0,"false","false",0,"a","a",0,"a",0,0,0,0,0,"03a799497b5fc39d7a765601fb253efc5796dc14c5abd1a450b94113bae25adf3f","12/30/2020","12/30/2020",false]}u
https://whatsonchain.com/tx/4c87bf057976ba1c264f51f4d9c1ba4884a72fc76aa3e9e4ddbc2651eee220ea