#0
nonstandard
0.00004000 BSV
Q!ï
Á* ÒÏó¾5ÞØÓ´Oë:2̼·rÙÁÏßQ®M§{"kind":"script","__func":"constructor","_args":[["03ef85c1972a8409d2cff3be35ded8d3b4914feb3a32181819ccbcb772d9c1cfdf"],"First Name","Last Name","Email","Phone","03ef85c1972a8409d2cff3be35ded8d3b4914feb3a32181819ccbcb772d9c1cfdf",["03ef85c1972a8409d2cff3be35ded8d3b4914feb3a32181819ccbcb772d9c1cfdf"]],"__index":{"obj":0},"__cls":"class InstitutionSC {\n constructor(admins, institutionName, addressLine, country, customerType, usPayIdType, description) {\n this._owners = admins\n this.institutionName = institutionName\n this.addressLine = addressLine\n this.country = country\n this.customerType = customerType\n this.usPayIdType = usPayIdType\n this.description = description\n this.members = admins\n this.waitlistUsers = []\n this.defaultFund = null\n this.funds = []\n }\n\n addAdmin(id) {\n if (this._owners.filter((x) => x === id).length !== 0 && typeof id !== 'undefined') {\n this._owners.push(id)\n }\n }\n\n removeAdmin(id) {\n const index = this.admins.indexOf(id)\n this.admins = this.admins.splice(index, 1)\n }\n\n removeMember(id) {\n const index = this.members.indexOf(id)\n this.members = 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 editDefaultFund(id) {\n this.defaultFund = id\n }\n\n editName(value) {\n this.name = value\n }\n\n editAddressLine(value) {\n this.addressLine = value\n }\n\n editCountry(value) {\n this.country = value\n }\n\n editCustomerType(value) {\n this.customerType = value\n }\n\n editUsPayIdType(value) {\n this.usPayIdType = value\n }\n}"}u
https://whatsonchain.com/tx/97a3dc16e082a711ef434bbc610bd2c3b747726efd52aa9e81804fa262aaa239