You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
message Actor {
ActorType actor_type = 1;
string address = 2;
string public_key = 3;
repeated string chains = 4; // NB: Not applicable Validator actors
// proto-gen-c does not support go_name at the time of writing resulting
// in the output go field being snakeCase: ServiceUrl (golang/protobuf#555)
string service_url = 5; // Not applicable to Application actors
string staked_amount = 6;
int64 paused_height = 7; // TECHDEBT: Revisit this parameter and see if it can be removed for simplification purposes.
int64 unstaking_height = 8; // TECHDEBT: Revisit this parameter and see if it can be removed for simplification purposes.
string output = 9; // TECHDEBT: Revisit custodial / non-custodial flows (e.g. what if we want multiple outputs for business purposes)
}
For the actor type we have:
message Actor {
ActorType actor_type = 1;
string address = 2;
string public_key = 3;
repeated string chains = 4; // NB: Not applicable
Validator
actors// proto-gen-c does not support
go_name
at the time of writing resulting// in the output go field being snakeCase: ServiceUrl (golang/protobuf#555)
string service_url = 5; // Not applicable to
Application
actorsstring staked_amount = 6;
int64 paused_height = 7; // TECHDEBT: Revisit this parameter and see if it can be removed for simplification purposes.
int64 unstaking_height = 8; // TECHDEBT: Revisit this parameter and see if it can be removed for simplification purposes.
string output = 9; // TECHDEBT: Revisit custodial / non-custodial flows (e.g. what if we want multiple outputs for business purposes)
}
from: https://github.com/pokt-network/pocket/blob/afc873e941f489b2ec645768a5ebad41fede47e0/shared/core/types/proto/actor.proto#L7
Do we want to use this is a base class for other instantiated entities?
The text was updated successfully, but these errors were encountered: