Add withdraw method and notification #15

Closed
opened 2025-12-28 18:08:14 +00:00 by sami · 1 comment
Owner

Originally created by @alexvanin on GitHub (Jan 29, 2021).

Balance contract should have method to verify withdraw origin and produce withdraw notification for inner ring nodes.

Notification should be pretty much similar to neofs.Withdraw notification, because it should trigger the same processes in inner ring. Unlike neofs contract, balance contract can't rely on witness check, because balance contract will be called by storage node and not directly by asset owner. So there should be proof.

I propose client to provide some random nonce based on current epoch value and its signature.

Related to https://github.com/nspcc-dev/neofs-api/issues/52

Originally created by @alexvanin on GitHub (Jan 29, 2021). Balance contract should have method to verify withdraw origin and produce withdraw notification for inner ring nodes. Notification should be pretty much similar to `neofs.Withdraw` notification, because it should trigger the same processes in inner ring. Unlike neofs contract, balance contract can't rely on witness check, because balance contract will be called by storage node and not directly by asset owner. So there should be `proof`. I propose client to provide some random nonce based on current epoch value and its signature. Related to https://github.com/nspcc-dev/neofs-api/issues/52
sami 2025-12-28 18:08:14 +00:00
  • closed this issue
  • added the
    balance
    label
Author
Owner

@alexvanin commented on GitHub (Apr 8, 2021):

https://github.com/nspcc-dev/neofs-api/issues/52#issuecomment-815675571

@alexvanin commented on GitHub (Apr 8, 2021): https://github.com/nspcc-dev/neofs-api/issues/52#issuecomment-815675571
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
nspcc-dev/neofs-contract#15
No description provided.