#0
nonstandard
0.00004000 BSV
Q!I_Á<'ö3ÉÛ׫V>ÅþRP+yNV¯!%ÝnfúÑÂâë^ª«>%,ftNX¹ãøáR®MA
{"kind":"script","__func":"constructor","_args":[["03498d5f15c13c278ff6331dc9dbd7ab563e0114c5fe5250922b798b154e9456af","0325dd8f6e66fad1c2e2eb125e0214aaab3e2587832c66744e58b9e30614f8e188"],"test","test","test","03498d","03498d5f15c13c278ff6331dc9dbd7ab563e0114c5fe5250922b798b154e9456af","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/e96ff9df9ddf5d9d7e9316dbc9d1dbab052881168bcbb1a6368dd477856e86b0