2023-11-07 10:54:48 +00:00
|
|
|
// Package frostfsid
|
2023-01-11 07:33:14 +00:00
|
|
|
/*
|
|
|
|
FrostFSID contract is a contract deployed in FrostFS sidechain.
|
|
|
|
|
|
|
|
# Contract notifications
|
|
|
|
|
|
|
|
FrostFSID contract does not produce notifications to process.
|
2023-05-10 08:19:19 +00:00
|
|
|
|
|
|
|
# Contract storage scheme
|
|
|
|
|
2023-11-09 14:39:25 +00:00
|
|
|
| Key | Value | Description |
|
|
|
|
|------------------------------------------------------------------------------|--------------------------------|-----------------------------------------------|
|
|
|
|
| `o` + [ owner address ] | []byte{1} | contract owners that can invoke write methods |
|
|
|
|
| `s` + [ subject address ] | Serialized Subject structure | subject into |
|
|
|
|
| `a` + [ pk address ] + [ subject address ] | []byte{1} | link extra public keys for subject |
|
|
|
|
| `n` + [ RIPEMD160 of namespace ] | Serialized Namespace structure | namespace info |
|
|
|
|
| `N` + [ RIPEMD160 of namespace ] + [ subject address ] | []byte{1} | subject that belongs to the namespace |
|
|
|
|
| `l` + [ RIPEMD160 of namespace ] + [ RIPEMD160 of subject name ] | Subject public key | subject name to public key index |
|
|
|
|
| `g` + [ RIPEMD160 of namespace ] + [ 8 byte group id ] | Serialized Group structure | group into |
|
|
|
|
| `G` + [ RIPEMD160 of namespace ] + [ 8 byte group id ] + [ subject address ] | []byte{1} | subject that belongs to the group |
|
|
|
|
| `c` | Int | group id counter |
|
|
|
|
| `m` + [ RIPEMD160 of namespace ] + [ RIPEMD160 of subject name ] | Serialized group id int | group name to group id index |
|
2024-11-13 18:35:15 +00:00
|
|
|
| `A` + [ subject address ] | bool | means that the wallet has been used |
|
2023-11-07 10:54:48 +00:00
|
|
|
|
|
|
|
|
2023-01-11 07:33:14 +00:00
|
|
|
*/
|
|
|
|
package frostfsid
|