forked from TrueCloudLab/frostfs-contract
*: goimports -w
Signed-off-by: Evgenii Stratonikov <evgeniy@morphbits.ru>
This commit is contained in:
parent
9052ec62d6
commit
8ca71d22b2
11 changed files with 152 additions and 154 deletions
|
@ -14,7 +14,7 @@ one of the alphabetical contracts to emit GAS. To vote for a new list of side
|
|||
chain committee, alphabet nodes of the Inner Ring create multisignature transactions
|
||||
for each alphabet contract.
|
||||
|
||||
Contract notifications
|
||||
# Contract notifications
|
||||
|
||||
Alphabet contract does not produce notifications to process.
|
||||
*/
|
||||
|
|
|
@ -15,7 +15,7 @@ nodes send a stable marshaled version of the DataAuditResult structure to the
|
|||
contract. When Alphabet nodes of the Inner Ring perform settlement operations,
|
||||
they make a list and get these AuditResultStructures from the audit contract.
|
||||
|
||||
Contract notifications
|
||||
# Contract notifications
|
||||
|
||||
Audit contract does not produce notifications to process.
|
||||
*/
|
||||
|
|
|
@ -15,7 +15,7 @@ minting of NEOFS tokens in Balance contract. Withdraw locks some NEOFS tokens
|
|||
in a special lock account. When NeoFS contract transfers GAS assets back to the
|
||||
user, the lock account is destroyed with burn operation.
|
||||
|
||||
Contract notifications
|
||||
# Contract notifications
|
||||
|
||||
Transfer notification. This is a NEP-17 standard notification.
|
||||
|
||||
|
@ -66,7 +66,6 @@ replenished from deposit in the mainchain.
|
|||
- name: amount
|
||||
type: Integer
|
||||
|
||||
|
||||
Burn notification. This notification is produced after user balance is reduced
|
||||
when NeoFS contract has transferred GAS assets back to the user.
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@ containers or extended ACLs, it is done by Alphabet nodes of the Inner Ring.
|
|||
Alphabet nodes approve it by invoking the same Put or SetEACL methods with
|
||||
the same arguments.
|
||||
|
||||
Contract notifications
|
||||
# Contract notifications
|
||||
|
||||
containerPut notification. This notification is produced when a user wants to
|
||||
create a new container. Alphabet nodes of the Inner Ring catch the notification and
|
||||
|
|
|
@ -12,7 +12,7 @@ NeoFS contract contains the actual list of Alphabet nodes in the sidechain.
|
|||
Network configuration is also stored in NeoFS contract. All changes in
|
||||
configuration are mirrored in the sidechain with notifications.
|
||||
|
||||
Contract notifications
|
||||
# Contract notifications
|
||||
|
||||
Deposit notification. This notification is produced when user transfers native
|
||||
GAS to the NeoFS contract address. The same amount of NEOFS token will be
|
||||
|
@ -39,7 +39,6 @@ withdraw GAS from the internal NeoFS balance and has paid fee for that.
|
|||
- name: txHash
|
||||
type: Hash256
|
||||
|
||||
|
||||
Cheque notification. This notification is produced when NeoFS contract
|
||||
has successfully transferred assets back to the user after withdraw.
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ by invoking Bind or Unbind methods of NeoFS contract in the mainchain. After tha
|
|||
Alphabet nodes produce multisigned AddKey and RemoveKey invocations of NeoFSID
|
||||
contract.
|
||||
|
||||
Contract notifications
|
||||
# Contract notifications
|
||||
|
||||
NeoFSID contract does not produce notifications to process.
|
||||
*/
|
||||
|
|
|
@ -5,7 +5,7 @@ Netmap contract stores and manages NeoFS network map, Storage node candidates
|
|||
and epoch number counter. In notary disabled environment, contract also stores
|
||||
a list of Inner Ring node keys.
|
||||
|
||||
Contract notifications
|
||||
# Contract notifications
|
||||
|
||||
AddPeer notification. This notification is produced when a Storage node sends
|
||||
a bootstrap request by invoking AddPeer method.
|
||||
|
|
|
@ -15,7 +15,7 @@ the multisignature transaction. Therefore, NeoVM executes Verify method of the
|
|||
contract and if invocation is verified, Processing contract pays for the
|
||||
execution.
|
||||
|
||||
Contract notifications
|
||||
# Contract notifications
|
||||
|
||||
Processing contract does not produce notifications to process.
|
||||
*/
|
||||
|
|
|
@ -14,7 +14,7 @@ Proxy contract is used as the first signer in a multisignature transaction.
|
|||
Therefore, NeoVM executes Verify method of the contract; and if invocation is
|
||||
verified, Proxy contract pays for the execution.
|
||||
|
||||
Contract notifications
|
||||
# Contract notifications
|
||||
|
||||
Proxy contract does not produce notifications to process.
|
||||
*/
|
||||
|
|
|
@ -10,7 +10,7 @@ During settlement process, Alphabet nodes fetch all DataAuditResult structures
|
|||
from the epoch and execute balance transfers from data owners to Storage and
|
||||
Inner Ring nodes if data audit succeeds.
|
||||
|
||||
Contract notifications
|
||||
# Contract notifications
|
||||
|
||||
Reputation contract does not produce notifications to process.
|
||||
*/
|
||||
|
|
|
@ -5,7 +5,7 @@ Subnet contract stores and manages NeoFS subnetwork states. It allows registerin
|
|||
and deleting subnetworks, limiting access to them, and defining a list of the Storage
|
||||
Nodes that can be included in them.
|
||||
|
||||
Contract notifications
|
||||
# Contract notifications
|
||||
|
||||
Put notification. This notification is produced when a new subnetwork is
|
||||
registered by invoking Put method.
|
||||
|
|
Loading…
Reference in a new issue