github.com/iotexproject/iotex-core@v1.14.1-rc1/blockindex/contractstaking/contractstakingpb/contractstaking.proto (about)

     1  // Copyright (c) 2019 IoTeX
     2  // This source code is provided 'as is' and no warranties are given as to title or non-infringement, merchantability
     3  // or fitness for purpose and, to the extent permitted by law, all liability for your use of the code is disclaimed.
     4  // This source code is governed by Apache License 2.0 that can be found in the LICENSE file.
     5  
     6  // To compile the proto, run:
     7  //      protoc --go_out=plugins=grpc:. *.proto
     8  syntax = "proto3";
     9  package contractstakingpb;
    10  option go_package = "github.com/iotexproject/iotex-core/blockindex/contractstaking/contractstakingpb";
    11  
    12  message BucketInfo {
    13      uint64 typeIndex = 1;
    14      uint64 createdAt = 2;
    15      uint64 unlockedAt = 3;
    16      uint64 unstakedAt = 4;
    17      string delegate = 5;
    18      string owner = 6;
    19  }