github.com/Finschia/finschia-sdk@v0.48.1/proto/lbm/foundation/v1/event.proto (about)

     1  syntax = "proto3";
     2  package lbm.foundation.v1;
     3  
     4  option go_package = "github.com/Finschia/finschia-sdk/x/foundation";
     5  
     6  import "gogoproto/gogo.proto";
     7  
     8  import "google/protobuf/any.proto";
     9  import "cosmos_proto/cosmos.proto";
    10  
    11  import "cosmos/base/v1beta1/coin.proto";
    12  import "lbm/foundation/v1/foundation.proto";
    13  
    14  // EventFundTreasury is an event emitted when one funds the treasury.
    15  message EventFundTreasury {
    16    string   from                            = 1;
    17    repeated cosmos.base.v1beta1.Coin amount = 2
    18        [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/Finschia/finschia-sdk/types.Coins"];
    19  }
    20  
    21  // EventWithdrawFromTreasury is an event emitted when coins are withdrawn from the treasury.
    22  message EventWithdrawFromTreasury {
    23    string   to                              = 1;
    24    repeated cosmos.base.v1beta1.Coin amount = 2
    25        [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/Finschia/finschia-sdk/types.Coins"];
    26  }
    27  
    28  // EventUpdateMembers is an event emitted when the members have been updated.
    29  message EventUpdateMembers {
    30    repeated MemberRequest member_updates = 1 [(gogoproto.nullable) = false];
    31  }
    32  
    33  // EventUpdateDecisionPolicy is an event emitted when the decision policy have been updated.
    34  message EventUpdateDecisionPolicy {
    35    option (gogoproto.goproto_getters)  = false;
    36    google.protobuf.Any decision_policy = 1 [(cosmos_proto.accepts_interface) = "DecisionPolicy"];
    37  }
    38  
    39  // EventSubmitProposal is an event emitted when a proposal is created.
    40  message EventSubmitProposal {
    41    // proposal is the unique ID of the proposal.
    42    Proposal proposal = 1 [(gogoproto.nullable) = false];
    43  }
    44  
    45  // EventWithdrawProposal is an event emitted when a proposal is withdrawn.
    46  message EventWithdrawProposal {
    47    // proposal_id is the unique ID of the proposal.
    48    uint64 proposal_id = 1;
    49  }
    50  
    51  // EventVote is an event emitted when a voter votes on a proposal.
    52  message EventVote {
    53    Vote vote = 1 [(gogoproto.nullable) = false];
    54  }
    55  
    56  // EventExec is an event emitted when a proposal is executed.
    57  message EventExec {
    58    // proposal_id is the unique ID of the proposal.
    59    uint64 proposal_id = 1;
    60  
    61    // result is the proposal execution result.
    62    ProposalExecutorResult result = 2;
    63  
    64    // logs contains error logs in case the execution result is FAILURE.
    65    string logs = 3;
    66  }
    67  
    68  // EventLeaveFoundation is an event emitted when a foundation member leaves the foundation.
    69  message EventLeaveFoundation {
    70    // address is the account address of the foundation member.
    71    string address = 1;
    72  }
    73  
    74  // EventUpdateCensorship is emitted when a censorship information updated.
    75  message EventUpdateCensorship {
    76    Censorship censorship = 1 [(gogoproto.nullable) = false];
    77  }
    78  
    79  // EventGrant is emitted on Msg/Grant
    80  message EventGrant {
    81    // the address of the grantee.
    82    string grantee = 1;
    83    // authorization granted.
    84    google.protobuf.Any authorization = 2
    85        [(cosmos_proto.accepts_interface) = "github.com/Finschia/finschia-sdk/x/authz.Authorization"];
    86  }
    87  
    88  // EventRevoke is emitted on Msg/Revoke
    89  message EventRevoke {
    90    // address of the grantee.
    91    string grantee = 1;
    92    // message type url for which an autorization is revoked.
    93    string msg_type_url = 2;
    94  }