[#15] Add notifications list in config

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
Alex Vanin 2020-08-26 13:24:35 +03:00 committed by Alex Vanin
parent 9041bb77d4
commit a2479a3ade
3 changed files with 57 additions and 2 deletions

2
.gitignore vendored
View file

@ -1,4 +1,4 @@
*.avm
*.nef
config.json
*.manifest.json
/vendor/

View file

@ -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

View file

@ -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