#0
nonstandard
0.00004000 BSV
Q!%ÞõH¤XYD Ò
¬Rg²«4Ç08?¨$xà;Q®M{"__cls":"class InstitutionSC {\n constructor(\n admins = [],\n name = '',\n address = '',\n country = '',\n customerType = '',\n usPayIdType = '',\n defaultFund = false,\n isAgent = false,\n kycRequirements = [],\n ) {\n this._owners = admins\n this.name = name\n this.address = address\n this.country = country\n this.customerType = customerType\n this.usPayIdType = usPayIdType\n this.defaultFund = defaultFund\n this.isAgent = isAgent\n this.kycRequirements = kycRequirements\n this.kycDocuments = []\n this.dqList = []\n this.funds = []\n this.members = []\n }\n\n addAdmin(id) {\n this._owners.push(id)\n }\n\n removeAdmin(id) {\n const index = this._owners.indexOf(id)\n this._owners.splice(index, 1)\n }\n\n removeMember(id) {\n const index = this.members.indexOf(id)\n this.members.splice(index, 1)\n this.removeAdmin(id)\n }\n\n addMember(id) {\n this.members.push(id)\n }\n\n addFund(id) {\n this.funds.push(id)\n }\n\n removeFund(id) {\n const index = this.funds.indexOf(id)\n this.funds.splice(index, 1)\n if (this.defaultFund === id) {\n this.defaultFund = null\n }\n }\n\n setDefaultFund(id) {\n this.defaultFund = id\n }\n\n setName(value) {\n this.name = value\n }\n\n setAddress(value) {\n this.address = value\n }\n\n setCountry(value) {\n this.country = value\n }\n\n setCustomerType(value) {\n this.customerType = value\n }\n\n setUsPayIdType(value) {\n this.usPayIdType = value\n }\n\n addKycDoc(doc) {\n this.kycDocuments.push(doc)\n }\n\n addKycRequirement(req) {\n this.kycRequirements.push(req)\n }\n\n addToDqList(fund) {\n this.dqList.push(fund)\n }\n}","__index":{"obj":0},"__args":[["0225def548a4185859448309d20aac5267adb28e01ab34c730383fa82478e03b9c"],"KYC Institution","hello","","","SWIFT","Yes","Yes",""],"__func":"constructor"}u
https://whatsonchain.com/tx/130ad0af4586b9db6b9fca6d8d9e2745f130d712974dd01bdcd9d16b5d412e4a