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

     1  syntax = "proto3";
     2  package lbm.fbridge.v1;
     3  
     4  option go_package = "github.com/Finschia/finschia-sdk/x/fbridge/types";
     5  
     6  import "gogoproto/gogo.proto";
     7  import "lbm/fbridge/v1/fbridge.proto";
     8  
     9  message EventUpdateParams {
    10    Params params = 1 [(gogoproto.nullable) = false];
    11  }
    12  
    13  message EventTransfer {
    14    // the sequence number of the bridge request
    15    uint64 seq = 1;
    16    // the sender address on the source chain
    17    string sender = 2;
    18    // the recipient address on the destination chain
    19    string receiver = 3;
    20    // the amount of token to be transferred
    21    string amount = 4;
    22  }
    23  
    24  message EventSuggestRole {
    25    RoleProposal proposal = 1 [(gogoproto.nullable) = false];
    26  }
    27  
    28  message EventAddVoteForRole {
    29    // the voter address
    30    string voter = 1;
    31    // the role proposal id
    32    uint64 proposal_id = 2;
    33    // the vote option
    34    VoteOption option = 3;
    35  }
    36  
    37  message EventProvision {
    38    // the sequence number of the bridge request
    39    uint64 seq = 1;
    40    // the sender address on the source chain
    41    string sender = 2;
    42    // the recipient address on the destination chain
    43    string receiver = 3;
    44    // the amount of token to be claimed
    45    string amount = 4;
    46    // the address of the operator
    47    string operator = 5;
    48  }
    49  
    50  message EventConfirmProvision {
    51    // the sequence number of the bridge request
    52    uint64 seq = 1;
    53  }
    54  
    55  message EventClaim {
    56    // the sequence number of the bridge request
    57    uint64 seq = 1;
    58    // the sender address on the source chain
    59    string sender = 2;
    60    // the recipient address on the destination chain
    61    string receiver = 3;
    62    // the amount of token to be claimed
    63    string amount = 4;
    64  }
    65  
    66  message EventSetBridgeStatus {
    67    // the guardian address who modifies the bridge status (a.k.a. bridge switch)
    68    string guardian = 1;
    69    // the new status of the guardian's bridge switch
    70    BridgeStatus status = 2;
    71  }