[#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:
parent
189a83d9d6
commit
806dbbb487
4 changed files with 31 additions and 31 deletions
|
@ -4,11 +4,11 @@ events:
|
||||||
- name: Lock
|
- name: Lock
|
||||||
parameters:
|
parameters:
|
||||||
- name: txID
|
- name: txID
|
||||||
type: ByteString
|
type: ByteArray
|
||||||
- name: from
|
- name: from
|
||||||
type: ByteString
|
type: ByteArray
|
||||||
- name: to
|
- name: to
|
||||||
type: ByteString
|
type: ByteArray
|
||||||
- name: amount
|
- name: amount
|
||||||
type: Integer
|
type: Integer
|
||||||
- name: until
|
- name: until
|
||||||
|
@ -16,30 +16,30 @@ events:
|
||||||
- name: transfer
|
- name: transfer
|
||||||
parameters:
|
parameters:
|
||||||
- name: from
|
- name: from
|
||||||
type: ByteString
|
type: ByteArray
|
||||||
- name: to
|
- name: to
|
||||||
type: ByteString
|
type: ByteArray
|
||||||
- name: amount
|
- name: amount
|
||||||
type: Integer
|
type: Integer
|
||||||
- name: transferX
|
- name: transferX
|
||||||
parameters:
|
parameters:
|
||||||
- name: from
|
- name: from
|
||||||
type: ByteString
|
type: ByteArray
|
||||||
- name: to
|
- name: to
|
||||||
type: ByteString
|
type: ByteArray
|
||||||
- name: amount
|
- name: amount
|
||||||
type: Integer
|
type: Integer
|
||||||
- name: details
|
- name: details
|
||||||
type: ByteString
|
type: ByteArray
|
||||||
- name: Mint
|
- name: Mint
|
||||||
parameters:
|
parameters:
|
||||||
- name: from
|
- name: from
|
||||||
type: ByteString
|
type: ByteArray
|
||||||
- name: amount
|
- name: amount
|
||||||
type: Integer
|
type: Integer
|
||||||
- name: Burn
|
- name: Burn
|
||||||
parameters:
|
parameters:
|
||||||
- name: to
|
- name: to
|
||||||
type: ByteString
|
type: ByteArray
|
||||||
- name: amount
|
- name: amount
|
||||||
type: Integer
|
type: Integer
|
|
@ -4,14 +4,14 @@ events:
|
||||||
- name: containerPut
|
- name: containerPut
|
||||||
parameters:
|
parameters:
|
||||||
- name: container
|
- name: container
|
||||||
type: ByteString
|
type: ByteArray
|
||||||
- name: signature
|
- name: signature
|
||||||
type: ByteString
|
type: ByteArray
|
||||||
- name: publicKey
|
- name: publicKey
|
||||||
type: ByteString
|
type: ByteArray
|
||||||
- name: containerDelete
|
- name: containerDelete
|
||||||
parameters:
|
parameters:
|
||||||
- name: containerID
|
- name: containerID
|
||||||
type: ByteString
|
type: ByteArray
|
||||||
- name: signature
|
- name: signature
|
||||||
type: ByteString
|
type: ByteArray
|
||||||
|
|
|
@ -4,54 +4,54 @@ events:
|
||||||
- name: Deposit
|
- name: Deposit
|
||||||
parameters:
|
parameters:
|
||||||
- name: from
|
- name: from
|
||||||
type: ByteString
|
type: ByteArray
|
||||||
- name: amount
|
- name: amount
|
||||||
type: Integer
|
type: Integer
|
||||||
- name: receiver
|
- name: receiver
|
||||||
type: ByteString
|
type: ByteArray
|
||||||
- name: txHash
|
- name: txHash
|
||||||
type: ByteString
|
type: Hash256
|
||||||
- name: Withdraw
|
- name: Withdraw
|
||||||
parameters:
|
parameters:
|
||||||
- name: user
|
- name: user
|
||||||
type: ByteString
|
type: ByteArray
|
||||||
- name: amount
|
- name: amount
|
||||||
type: Integer
|
type: Integer
|
||||||
- name: txHash
|
- name: txHash
|
||||||
type: ByteString
|
type: Hash256
|
||||||
- name: Cheque
|
- name: Cheque
|
||||||
parameters:
|
parameters:
|
||||||
- name: id
|
- name: id
|
||||||
type: ByteString
|
type: ByteArray
|
||||||
- name: user
|
- name: user
|
||||||
type: ByteString
|
type: ByteArray
|
||||||
- name: amount
|
- name: amount
|
||||||
type: Integer
|
type: Integer
|
||||||
- name: lockAccount
|
- name: lockAccount
|
||||||
type: ByteString
|
type: ByteArray
|
||||||
- name: Bind
|
- name: Bind
|
||||||
parameters:
|
parameters:
|
||||||
- name: user
|
- name: user
|
||||||
type: ByteString
|
type: ByteArray
|
||||||
- name: keys
|
- name: keys
|
||||||
type: Array
|
type: Array
|
||||||
- name: Unbind
|
- name: Unbind
|
||||||
parameters:
|
parameters:
|
||||||
- name: user
|
- name: user
|
||||||
type: ByteString
|
type: ByteArray
|
||||||
- name: keys
|
- name: keys
|
||||||
type: Array
|
type: Array
|
||||||
- name: InnerRingUpdate
|
- name: InnerRingUpdate
|
||||||
parameters:
|
parameters:
|
||||||
- name: id
|
- name: id
|
||||||
type: ByteString
|
type: ByteArray
|
||||||
- name: innerRingList
|
- name: innerRingList
|
||||||
type: Array
|
type: Array
|
||||||
- name: SetConfig
|
- name: SetConfig
|
||||||
parameters:
|
parameters:
|
||||||
- name: id
|
- name: id
|
||||||
type: ByteString
|
type: ByteArray
|
||||||
- name: key
|
- name: key
|
||||||
type: ByteString
|
type: ByteArray
|
||||||
- name: value
|
- name: value
|
||||||
type: ByteString
|
type: ByteArray
|
||||||
|
|
|
@ -4,13 +4,13 @@ events:
|
||||||
- name: AddPeer
|
- name: AddPeer
|
||||||
parameters:
|
parameters:
|
||||||
- name: nodeInfo
|
- name: nodeInfo
|
||||||
type: ByteString
|
type: ByteArray
|
||||||
- name: UpdateState
|
- name: UpdateState
|
||||||
parameters:
|
parameters:
|
||||||
- name: state
|
- name: state
|
||||||
type: Integer
|
type: Integer
|
||||||
- name: publicKey
|
- name: publicKey
|
||||||
type: ByteString
|
type: ByteArray
|
||||||
- name: NewEpoch
|
- name: NewEpoch
|
||||||
parameters:
|
parameters:
|
||||||
- name: epoch
|
- name: epoch
|
||||||
|
|
Loading…
Reference in a new issue