#0
nonstandard
0.00004000 BSV
Q!rà üïÞ$2îik»föÉÅ&ÊÒ"xûna
Ú!%ÝnfúÑÂâë^ª«>%,ftNX¹ãøáR®MF
{"kind":"script","__func":"constructor","_args":[["0272c309fcef91de2432ee69066bbb66f60bc9c526cad2942278fb6e61851fda86","0325dd8f6e66fad1c2e2eb125e0214aaab3e2587832c66744e58b9e30614f8e188"],"testjanez","test","test","0272c3","0272c309fcef91de2432ee69066bbb66f60bc9c526cad2942278fb6e61851fda86","test","0325dd","0325dd8f6e66fad1c2e2eb125e0214aaab3e2587832c66744e58b9e30614f8e188","test","Yes","test","test","test","test","test","test","test","test","test","test","test","test","test","test","test","test","test","test"],"__index":{"obj":0},"__cls":"class LoanSC {\n constructor(\n publicKeys,\n cusip,\n type,\n tranche,\n agentName,\n agentId,\n borrowerName,\n arrangerName,\n arrangerId,\n requiresConsent,\n distressed,\n facilityAmount,\n facilityRating,\n facilityCurrency,\n pricingOption,\n facilityFee,\n availabilityFee,\n utilizationFee,\n racRate,\n allInRate,\n baseRate,\n margin,\n repricingDate,\n startDate,\n syndicationDate,\n creditAgreement,\n termsAndConditions,\n corporateActions,\n ratingsActions,\n ) {\n this._owners = publicKeys\n this.cusip = cusip\n this.type = type\n this.tranche = tranche\n this.agentName = agentName\n this.agentId = agentId\n this.borrowerName = borrowerName\n this.arrangerName = arrangerName\n this.arrangerId = arrangerId\n this.requiresConsent = requiresConsent\n this.distressed = distressed\n this.facilityAmount = facilityAmount\n this.facilityRating = facilityRating\n this.facilityCurrency = facilityCurrency\n this.pricingOption = pricingOption\n this.facilityFee = facilityFee\n this.availabilityFee = availabilityFee\n this.utilizationFee = utilizationFee\n this.racRate = racRate\n this.allInRate = allInRate\n this.baseRate = baseRate\n this.margin = margin\n this.repricingDate = repricingDate\n this.startDate = startDate\n this.syndicationDate = syndicationDate\n this.creditAgreement = creditAgreement\n this.termsAndConditions = termsAndConditions\n this.corporateActions = corporateActions\n this.ratingsActions = ratingsActions\n this.trades = []\n this.lendersOfRecord = []\n this.status = 'New'\n }\n\n addTrade(tradeId, publicKeys = []) {\n this.trades.push(tradeId)\n this._owners = [...new Set(this._owners.concat(publicKeys))]\n }\n\n addOwners(publicKeys) {\n this._owners = [...new Set(this._owners.concat(publicKeys))]\n }\n\n addToLendersOfRecord(publicKey, commitmentAmount) {\n this.lendersOfRecord.push([publicKey, commitmentAmount])\n }\n}"}u
https://whatsonchain.com/tx/3fc76c8a4f7051952f0a3424622a60b11cef7d8f87bef0661b4013fcbee16957