#0
nonstandard
0.00004000 BSV
Q!T
X!MIÕÛ$'x?(se¿ô¬tàrØõ[`Q®Mo&{"summary":1,"identifiers":2,"keyDates":3,"creditStats":4,"tradingStats":5,"__cls":"class FacilitySC {\n constructor(\n owners = [],\n dealId = '',\n name = '',\n owningBranch = '',\n loanFormat = '',\n agentId = '',\n facilityTypeCode = '',\n accrualType = 'Accrual',\n ANSI = '',\n facilityControlNumber = '',\n ISIN = '',\n CUSIP = '',\n creditAgreementDate = '',\n effectiveDate = '',\n loanEffectiveDate = '',\n expiryDate = '',\n finalMaturityDate = '',\n repricingDate = '',\n isMultiCurrency = false,\n multiCurrency = '',\n fxRate = 0,\n globalProposedAmount = 0,\n globalOriginationAmount = 0,\n repaymentRule = '',\n cancelationRule = '',\n prepaymentRule = '',\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 = '',\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 isDraft = false,\n draftName = '',\n lastStage = 0,\n isTerminated = false\n ) {\n this._owners = owners;\n\n this.summary = {\n dealId,\n name,\n owningBranch,\n loanFormat,\n agentId,\n };\n\n this.identifiers = {\n facilityTypeCode,\n accrualType,\n ANSI,\n facilityControlNumber,\n ISIN,\n CUSIP,\n };\n\n this.keyDates = {\n creditAgreementDate,\n effectiveDate,\n loanEffectiveDate,\n breakdate: '',\n expiryDate,\n finalMaturityDate,\n repricingDate,\n };\n\n this.creditStats = {\n isMultiCurrency,\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 this.isDraft = isDraft;\n this.draftName = draftName;\n this.lastStage = lastStage;\n this.isTerminated = isTerminated;\n }\n\n setBreakdate(breakdate) {\n this.keyDates.breakdate = breakdate;\n }\n\n addShares(num) {\n this.creditStats.numberOfShares += num;\n }\n\n removeShares(num) {\n this.creditStats.numberOfShares -= num;\n }\n\n setDealId(dealId) {\n this.summary.dealId = dealId;\n }\n\n setCreditAgreementName(creditAgreementName) {\n this.tradingStats.creditAgreementName = creditAgreementName;\n }\n\n setImported(imported) {\n this.imported = imported;\n }\n\n setIsDraft(isDraft) {\n this.isDraft = isDraft;\n }\n\n setLastModified(lastModified) {\n this.lastModified = lastModified;\n }\n\n setLendersOfRecord(id) {\n this.lendersOfRecord = id\n }\n\n addOwners(publicKeys) {\n publicKeys = publicKeys.filter(publicKey => !this._owners.includes(publicKey));\n\n if (publicKeys.length > 0) {\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\n removeOwners(publicKeys) {\n this._owners = this._owners ? this._owners.filter(owner => !publicKeys.includes(owner)) : [];\n this.tradingStats._owners = this.tradingStats._owners ? this.tradingStats._owners.filter(owner => !publicKeys.includes(owner)) : [];\n this.creditStats._owners = this.creditStats._owners ? this.creditStats._owners.filter(owner => !publicKeys.includes(owner)) : [];\n this.keyDates._owners = this.keyDates._owners ? this.keyDates._owners.filter(owner => !publicKeys.includes(owner)) : [];\n this.identifiers._owners = this.identifiers._owners ? this.identifiers._owners.filter(owner => !publicKeys.includes(owner)) : [];\n this.summary._owners = this.summary._owners ? this.summary._owners.filter(owner => !publicKeys.includes(owner)) : [];\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 terminate() {\n this.isTerminated = true;\n }\n\n edit(\n dealId,\n name,\n owningBranch,\n loanFormat,\n facilityTypeCode,\n accrualType,\n ANSI,\n facilityControlNumber,\n ISIN,\n CUSIP,\n creditAgreementDate,\n effectiveDate,\n loanEffectiveDate,\n expiryDate,\n finalMaturityDate,\n repricingDate,\n isMultiCurrency,\n multiCurrency,\n fxRate,\n globalProposedAmount,\n globalOriginationAmount,\n repaymentRule,\n cancelationRule,\n prepaymentRule,\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 interestOption,\n baseRate,\n baseRateAmount,\n creditAgreementName,\n purchaseRate,\n RACRate,\n averageLibor,\n currentLibor,\n exchangeRate\n ) {\n this.summary.dealId = dealId;\n this.summary.name = name;\n this.summary.owningBranch = owningBranch;\n this.summary.loanFormat = loanFormat;\n this.identifiers.facilityTypeCode = facilityTypeCode;\n this.identifiers.accrualType = accrualType;\n this.identifiers.ANSI = ANSI;\n this.identifiers.facilityControlNumber = facilityControlNumber;\n this.identifiers.ISIN = ISIN;\n this.identifiers.CUSIP = CUSIP;\n this.keyDates.creditAgreementDate = creditAgreementDate;\n this.keyDates.effectiveDate = effectiveDate;\n this.keyDates.loanEffectiveDate = loanEffectiveDate;\n this.keyDates.expiryDate = expiryDate;\n this.keyDates.finalMaturityDate = finalMaturityDate;\n this.keyDates.repricingDate = repricingDate;\n this.creditStats.isMultiCurrency = isMultiCurrency;\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.tradingStats.facilityCurrency = facilityCurrency;\n this.tradingStats.ageFactor = ageFactor;\n this.tradingStats.bidAsk = bidAsk;\n this.tradingStats.creditRating = creditRating;\n this.tradingStats.reportingCurrency = reportingCurrency;\n this.tradingStats.maxRate = maxRate;\n this.tradingStats.minRate = minRate;\n this.tradingStats.spread = spread;\n this.tradingStats.maxSpread = maxSpread;\n this.tradingStats.minSpread = minSpread;\n this.tradingStats.assignmentFeesRequired = assignmentFeesRequired;\n this.tradingStats.assignmentFeeType = assignmentFeeType;\n this.tradingStats.assignmentFee = assignmentFee;\n this.tradingStats.borrowerConsentRequired = borrowerConsentRequired;\n this.tradingStats.agentConsentRequired = agentConsentRequired;\n this.tradingStats.margin = margin;\n this.tradingStats.interestOption = interestOption;\n this.tradingStats.baseRate = baseRate;\n this.tradingStats.baseRateAmount = baseRateAmount;\n this.tradingStats.creditAgreementName = creditAgreementName;\n this.tradingStats.purchaseRate = purchaseRate;\n this.tradingStats.RACRate = RACRate;\n this.tradingStats.averageLibor = averageLibor;\n this.tradingStats.currentLibor = currentLibor;\n this.tradingStats.exchangeRate = exchangeRate;\n }\n}","__index":{"obj":0},"__func":"constructor","__args":[["03540d5817214d49d5db2427783f287365bff47f88ac74e07280d88d94f55b1260"],"a937bcf97d979ed41187fdeb0ff71685e5453a9cc6c289f4eb4561ab0a9ace2f:0","Facility 1","branch","Revolver","e825024908cd7df340923efe27616f01e8955e2e448e3883980d3ab74643a2ff:0","code","Accrual","EX2312312","123","123582029182","128302391","","1617336000","","","","",false,"",0,0,0,"","","","USD",0,"0","","",0,0,0,0,0,false,"",0,false,false,0,"","",0,"",0,0,0,0,0,"e825024908cd7df340923efe27616f01e8955e2e448e3883980d3ab74643a2ff:0",1616597971,1616597971,false,true,"Facility Draft",1,false]}u
https://whatsonchain.com/tx/65e8626b8e3d63c312b679d5f7ddd56ee8aa346b04bf0af4c641e8fdada4b70d