forked from TrueCloudLab/frostfs-contract
Alex Vanin
d626660c1a
Allows easier project name updates in the future. Signed-off-by: Alex Vanin <a.vanin@yadro.com>
29 lines
718 B
YAML
29 lines
718 B
YAML
name: "Netmap"
|
|
safemethods: ["innerRingList", "epoch", "netmap", "netmapCandidates", "snapshot", "snapshotByEpoch", "config", "listConfig", "version"]
|
|
permissions:
|
|
- methods: ["update", "newEpoch"]
|
|
events:
|
|
- name: AddPeer
|
|
parameters:
|
|
- name: nodeInfo
|
|
type: ByteArray
|
|
- name: AddPeerSuccess
|
|
parameters:
|
|
- name: publicKey
|
|
type: PublicKey
|
|
- name: UpdateState
|
|
parameters:
|
|
- name: state
|
|
type: Integer
|
|
- name: publicKey
|
|
type: PublicKey
|
|
- name: UpdateStateSuccess
|
|
parameters:
|
|
- name: publicKey
|
|
type: PublicKey
|
|
- name: state
|
|
type: Integer
|
|
- name: NewEpoch
|
|
parameters:
|
|
- name: epoch
|
|
type: Integer
|