2021-07-22 09:46:38 +00:00
|
|
|
name: "NameService"
|
|
|
|
supportedstandards: ["NEP-11"]
|
|
|
|
safemethods: ["balanceOf", "decimals", "symbol", "totalSupply", "tokensOf", "ownerOf",
|
2021-11-23 09:18:02 +00:00
|
|
|
"tokens", "properties", "roots", "getPrice", "isAvailable", "getRecords",
|
2024-11-21 07:16:27 +00:00
|
|
|
"getAllRecords",
|
2021-11-23 09:18:02 +00:00
|
|
|
"resolve", "version"]
|
2021-07-22 09:46:38 +00:00
|
|
|
events:
|
2024-09-06 13:37:35 +00:00
|
|
|
- name: RegisterDomain
|
|
|
|
parameters:
|
|
|
|
- name: name
|
|
|
|
type: String
|
|
|
|
- name: AddRecord
|
|
|
|
parameters:
|
|
|
|
- name: name
|
|
|
|
type: String
|
|
|
|
- name: type
|
|
|
|
type: Integer
|
2024-09-27 14:50:26 +00:00
|
|
|
- name: DeleteRecord
|
|
|
|
parameters:
|
|
|
|
- name: name
|
|
|
|
type: String
|
|
|
|
- name: type
|
|
|
|
type: Integer
|
2024-09-06 13:37:35 +00:00
|
|
|
- name: DeleteRecords
|
|
|
|
parameters:
|
|
|
|
- name: name
|
|
|
|
type: String
|
|
|
|
- name: type
|
|
|
|
type: Integer
|
|
|
|
- name: DeleteDomain
|
|
|
|
parameters:
|
|
|
|
- name: name
|
|
|
|
type: String
|
2021-07-22 09:46:38 +00:00
|
|
|
- name: Transfer
|
|
|
|
parameters:
|
|
|
|
- name: from
|
|
|
|
type: Hash160
|
|
|
|
- name: to
|
|
|
|
type: Hash160
|
|
|
|
- name: amount
|
|
|
|
type: Integer
|
|
|
|
- name: tokenId
|
|
|
|
type: ByteArray
|
|
|
|
permissions:
|
|
|
|
- hash: fffdc93764dbaddd97c48f252a53ea4643faa3fd
|
|
|
|
methods: ["update"]
|
|
|
|
- methods: ["onNEP11Payment"]
|