[#15] Add notifications list in config
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
parent
9041bb77d4
commit
a2479a3ade
3 changed files with 57 additions and 2 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1,4 +1,4 @@
|
|||
*.avm
|
||||
*.nef
|
||||
config.json
|
||||
*.manifest.json
|
||||
/vendor/
|
||||
|
|
2
Makefile
2
Makefile
|
@ -4,7 +4,7 @@ NEOGO?=neo-go
|
|||
.PHONY: build tests
|
||||
|
||||
build:
|
||||
$(NEOGO) contract compile -i neofs_contract.go -c neofs_config.yml -m config.json
|
||||
$(NEOGO) contract compile -i neofs_contract.go -c neofs_config.yml -m neofs.manifest.json
|
||||
|
||||
tests:
|
||||
go mod vendor
|
||||
|
|
|
@ -1,2 +1,57 @@
|
|||
hasstorage: true
|
||||
ispayable: false
|
||||
events:
|
||||
- name: Deposit
|
||||
parameters:
|
||||
- name: from
|
||||
type: ByteString
|
||||
- name: amount
|
||||
type: Integer
|
||||
- name: receiver
|
||||
type: ByteString
|
||||
- name: txHash
|
||||
type: ByteString
|
||||
- name: Withdraw
|
||||
parameters:
|
||||
- name: user
|
||||
type: ByteString
|
||||
- name: amount
|
||||
type: Integer
|
||||
- name: txHash
|
||||
type: ByteString
|
||||
- name: Cheque
|
||||
parameters:
|
||||
- name: id
|
||||
type: ByteString
|
||||
- name: user
|
||||
type: ByteString
|
||||
- name: amount
|
||||
type: Integer
|
||||
- name: lockAccount
|
||||
type: ByteString
|
||||
- name: Bind
|
||||
parameters:
|
||||
- name: user
|
||||
type: ByteString
|
||||
- name: keys
|
||||
type: Array
|
||||
- name: Unbind
|
||||
parameters:
|
||||
- name: user
|
||||
type: ByteString
|
||||
- name: keys
|
||||
type: Array
|
||||
- name: InnerRingUpdate
|
||||
parameters:
|
||||
- name: id
|
||||
type: ByteString
|
||||
- name: innerRingList
|
||||
type: Array
|
||||
- name: SetConfig
|
||||
parameters:
|
||||
- name: id
|
||||
type: ByteString
|
||||
- name: key
|
||||
type: ByteString
|
||||
- name: value
|
||||
type: ByteString
|
||||
|
|
Loading…
Reference in a new issue