#0
nonstandard
0.00004000 BSV
Q!ñ Q\®àdf+ÖÓö58ZJh*â-$Ê8Z'¯[Q®M {"kind":"script","__func":"constructor","_args":[["03f100515caee06466952bd6d30696f63538845a4a682ae22d24ca82385a27af5b"],"First Name","Last Name","Email","Phone",true],"__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/11c88ff0610f025a0825e05d6bd4fdd20ef50fc389fb3bf0d8dc4a72dfc7178c