Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check actor type stuff #33

Closed
SeanMcOwen opened this issue Sep 5, 2023 · 0 comments
Closed

Check actor type stuff #33

SeanMcOwen opened this issue Sep 5, 2023 · 0 comments

Comments

@SeanMcOwen
Copy link
Collaborator

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 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)
}

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant