[#23] *: Update notification types

- rename ByteString to ByteArray type
- use Hash256 on transaction hashes

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
Alex Vanin 2020-12-09 15:53:43 +03:00 committed by Alex Vanin
parent 189a83d9d6
commit 806dbbb487
4 changed files with 31 additions and 31 deletions

View file

@ -4,11 +4,11 @@ events:
- name: Lock
parameters:
- name: txID
type: ByteString
type: ByteArray
- name: from
type: ByteString
type: ByteArray
- name: to
type: ByteString
type: ByteArray
- name: amount
type: Integer
- name: until
@ -16,30 +16,30 @@ events:
- name: transfer
parameters:
- name: from
type: ByteString
type: ByteArray
- name: to
type: ByteString
type: ByteArray
- name: amount
type: Integer
- name: transferX
parameters:
- name: from
type: ByteString
type: ByteArray
- name: to
type: ByteString
type: ByteArray
- name: amount
type: Integer
- name: details
type: ByteString
type: ByteArray
- name: Mint
parameters:
- name: from
type: ByteString
type: ByteArray
- name: amount
type: Integer
- name: Burn
parameters:
- name: to
type: ByteString
type: ByteArray
- name: amount
type: Integer

View file

@ -4,14 +4,14 @@ events:
- name: containerPut
parameters:
- name: container
type: ByteString
type: ByteArray
- name: signature
type: ByteString
type: ByteArray
- name: publicKey
type: ByteString
type: ByteArray
- name: containerDelete
parameters:
- name: containerID
type: ByteString
type: ByteArray
- name: signature
type: ByteString
type: ByteArray

View file

@ -4,54 +4,54 @@ events:
- name: Deposit
parameters:
- name: from
type: ByteString
type: ByteArray
- name: amount
type: Integer
- name: receiver
type: ByteString
type: ByteArray
- name: txHash
type: ByteString
type: Hash256
- name: Withdraw
parameters:
- name: user
type: ByteString
type: ByteArray
- name: amount
type: Integer
- name: txHash
type: ByteString
type: Hash256
- name: Cheque
parameters:
- name: id
type: ByteString
type: ByteArray
- name: user
type: ByteString
type: ByteArray
- name: amount
type: Integer
- name: lockAccount
type: ByteString
type: ByteArray
- name: Bind
parameters:
- name: user
type: ByteString
type: ByteArray
- name: keys
type: Array
- name: Unbind
parameters:
- name: user
type: ByteString
type: ByteArray
- name: keys
type: Array
- name: InnerRingUpdate
parameters:
- name: id
type: ByteString
type: ByteArray
- name: innerRingList
type: Array
- name: SetConfig
parameters:
- name: id
type: ByteString
type: ByteArray
- name: key
type: ByteString
type: ByteArray
- name: value
type: ByteString
type: ByteArray

View file

@ -4,13 +4,13 @@ events:
- name: AddPeer
parameters:
- name: nodeInfo
type: ByteString
type: ByteArray
- name: UpdateState
parameters:
- name: state
type: Integer
- name: publicKey
type: ByteString
type: ByteArray
- name: NewEpoch
parameters:
- name: epoch