pb

package
v0.0.0-...-1a342eb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 3, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AppChainService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "acorus.rpc.appchain.AppChainService",
	HandlerType: (*AppChainServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "L1StakerRewardsAmount",
			Handler:    _AppChainService_L1StakerRewardsAmount_Handler,
		},
		{
			MethodName: "L2StakerRewardsAmount",
			Handler:    _AppChainService_L2StakerRewardsAmount_Handler,
		},
		{
			MethodName: "L2UnStakeRecord",
			Handler:    _AppChainService_L2UnStakeRecord_Handler,
		},
		{
			MethodName: "L2StakeRecord",
			Handler:    _AppChainService_L2StakeRecord_Handler,
		},
		{
			MethodName: "L2WithdrawRecord",
			Handler:    _AppChainService_L2WithdrawRecord_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "appchain.proto",
}

AppChainService_ServiceDesc is the grpc.ServiceDesc for AppChainService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_appchain_proto protoreflect.FileDescriptor

Functions

func RegisterAppChainServiceServer

func RegisterAppChainServiceServer(s grpc.ServiceRegistrar, srv AppChainServiceServer)

Types

type AppChainServiceClient

type AppChainServiceClient interface {
	L1StakerRewardsAmount(ctx context.Context, in *L1StakerRewardsAmountRequest, opts ...grpc.CallOption) (*L1StakerRewardsAmountResponse, error)
	L2StakerRewardsAmount(ctx context.Context, in *L2StakerRewardsAmountRequest, opts ...grpc.CallOption) (*L2StakerRewardsAmountResponse, error)
	L2UnStakeRecord(ctx context.Context, in *L2UnStakeRecordRequest, opts ...grpc.CallOption) (*L2UnStakeRecordResponse, error)
	L2StakeRecord(ctx context.Context, in *L2StakeRecordRequest, opts ...grpc.CallOption) (*L2StakeRecordResponse, error)
	L2WithdrawRecord(ctx context.Context, in *L2WithdrawRecordRequest, opts ...grpc.CallOption) (*L2WithdrawRecordResponse, error)
}

AppChainServiceClient is the client API for AppChainService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type AppChainServiceServer

AppChainServiceServer is the server API for AppChainService service. All implementations must embed UnimplementedAppChainServiceServer for forward compatibility

type L1StakerRewardsAmountRequest

type L1StakerRewardsAmountRequest struct {
	ChainId       string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	StakerAddress string `protobuf:"bytes,2,opt,name=staker_address,json=stakerAddress,proto3" json:"staker_address,omitempty"`
	Strategies    string `protobuf:"bytes,3,opt,name=strategies,proto3" json:"strategies,omitempty"`
	// contains filtered or unexported fields
}

func (*L1StakerRewardsAmountRequest) Descriptor deprecated

func (*L1StakerRewardsAmountRequest) Descriptor() ([]byte, []int)

Deprecated: Use L1StakerRewardsAmountRequest.ProtoReflect.Descriptor instead.

func (*L1StakerRewardsAmountRequest) GetChainId

func (x *L1StakerRewardsAmountRequest) GetChainId() string

func (*L1StakerRewardsAmountRequest) GetStakerAddress

func (x *L1StakerRewardsAmountRequest) GetStakerAddress() string

func (*L1StakerRewardsAmountRequest) GetStrategies

func (x *L1StakerRewardsAmountRequest) GetStrategies() string

func (*L1StakerRewardsAmountRequest) ProtoMessage

func (*L1StakerRewardsAmountRequest) ProtoMessage()

func (*L1StakerRewardsAmountRequest) ProtoReflect

func (*L1StakerRewardsAmountRequest) Reset

func (x *L1StakerRewardsAmountRequest) Reset()

func (*L1StakerRewardsAmountRequest) String

type L1StakerRewardsAmountResponse

type L1StakerRewardsAmountResponse struct {
	Success bool   `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	Income  string `protobuf:"bytes,3,opt,name=income,proto3" json:"income,omitempty"`
	// contains filtered or unexported fields
}

func (*L1StakerRewardsAmountResponse) Descriptor deprecated

func (*L1StakerRewardsAmountResponse) Descriptor() ([]byte, []int)

Deprecated: Use L1StakerRewardsAmountResponse.ProtoReflect.Descriptor instead.

func (*L1StakerRewardsAmountResponse) GetIncome

func (x *L1StakerRewardsAmountResponse) GetIncome() string

func (*L1StakerRewardsAmountResponse) GetMessage

func (x *L1StakerRewardsAmountResponse) GetMessage() string

func (*L1StakerRewardsAmountResponse) GetSuccess

func (x *L1StakerRewardsAmountResponse) GetSuccess() bool

func (*L1StakerRewardsAmountResponse) ProtoMessage

func (*L1StakerRewardsAmountResponse) ProtoMessage()

func (*L1StakerRewardsAmountResponse) ProtoReflect

func (*L1StakerRewardsAmountResponse) Reset

func (x *L1StakerRewardsAmountResponse) Reset()

func (*L1StakerRewardsAmountResponse) String

type L2StakeRecord

type L2StakeRecord struct {
	Guid         string `protobuf:"bytes,1,opt,name=guid,proto3" json:"guid,omitempty"`
	BlockNumber  int64  `protobuf:"varint,2,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"`
	TxHash       string `protobuf:"bytes,3,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"`
	Shares       string `protobuf:"bytes,4,opt,name=shares,proto3" json:"shares,omitempty"`
	Strategy     string `protobuf:"bytes,5,opt,name=strategy,proto3" json:"strategy,omitempty"`
	Staker       string `protobuf:"bytes,6,opt,name=staker,proto3" json:"staker,omitempty"`
	TokenAddress string `protobuf:"bytes,7,opt,name=token_address,json=tokenAddress,proto3" json:"token_address,omitempty"`
	ChainId      string `protobuf:"bytes,8,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	Status       int32  `protobuf:"varint,9,opt,name=status,proto3" json:"status,omitempty"`
	UseShares    string `protobuf:"bytes,10,opt,name=use_shares,json=useShares,proto3" json:"use_shares,omitempty"`
	Created      uint64 `protobuf:"varint,11,opt,name=created,proto3" json:"created,omitempty"`
	// contains filtered or unexported fields
}

func (*L2StakeRecord) Descriptor deprecated

func (*L2StakeRecord) Descriptor() ([]byte, []int)

Deprecated: Use L2StakeRecord.ProtoReflect.Descriptor instead.

func (*L2StakeRecord) GetBlockNumber

func (x *L2StakeRecord) GetBlockNumber() int64

func (*L2StakeRecord) GetChainId

func (x *L2StakeRecord) GetChainId() string

func (*L2StakeRecord) GetCreated

func (x *L2StakeRecord) GetCreated() uint64

func (*L2StakeRecord) GetGuid

func (x *L2StakeRecord) GetGuid() string

func (*L2StakeRecord) GetShares

func (x *L2StakeRecord) GetShares() string

func (*L2StakeRecord) GetStaker

func (x *L2StakeRecord) GetStaker() string

func (*L2StakeRecord) GetStatus

func (x *L2StakeRecord) GetStatus() int32

func (*L2StakeRecord) GetStrategy

func (x *L2StakeRecord) GetStrategy() string

func (*L2StakeRecord) GetTokenAddress

func (x *L2StakeRecord) GetTokenAddress() string

func (*L2StakeRecord) GetTxHash

func (x *L2StakeRecord) GetTxHash() string

func (*L2StakeRecord) GetUseShares

func (x *L2StakeRecord) GetUseShares() string

func (*L2StakeRecord) ProtoMessage

func (*L2StakeRecord) ProtoMessage()

func (*L2StakeRecord) ProtoReflect

func (x *L2StakeRecord) ProtoReflect() protoreflect.Message

func (*L2StakeRecord) Reset

func (x *L2StakeRecord) Reset()

func (*L2StakeRecord) String

func (x *L2StakeRecord) String() string

type L2StakeRecordRequest

type L2StakeRecordRequest struct {
	StakerAddress string `protobuf:"bytes,1,opt,name=staker_address,json=stakerAddress,proto3" json:"staker_address,omitempty"`
	Strategy      string `protobuf:"bytes,2,opt,name=strategy,proto3" json:"strategy,omitempty"`
	Page          uint32 `protobuf:"varint,3,opt,name=page,proto3" json:"page,omitempty"`
	PageSize      uint32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// contains filtered or unexported fields
}

func (*L2StakeRecordRequest) Descriptor deprecated

func (*L2StakeRecordRequest) Descriptor() ([]byte, []int)

Deprecated: Use L2StakeRecordRequest.ProtoReflect.Descriptor instead.

func (*L2StakeRecordRequest) GetPage

func (x *L2StakeRecordRequest) GetPage() uint32

func (*L2StakeRecordRequest) GetPageSize

func (x *L2StakeRecordRequest) GetPageSize() uint32

func (*L2StakeRecordRequest) GetStakerAddress

func (x *L2StakeRecordRequest) GetStakerAddress() string

func (*L2StakeRecordRequest) GetStrategy

func (x *L2StakeRecordRequest) GetStrategy() string

func (*L2StakeRecordRequest) ProtoMessage

func (*L2StakeRecordRequest) ProtoMessage()

func (*L2StakeRecordRequest) ProtoReflect

func (x *L2StakeRecordRequest) ProtoReflect() protoreflect.Message

func (*L2StakeRecordRequest) Reset

func (x *L2StakeRecordRequest) Reset()

func (*L2StakeRecordRequest) String

func (x *L2StakeRecordRequest) String() string

type L2StakeRecordResponse

type L2StakeRecordResponse struct {
	Success bool                               `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	Message string                             `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	Page    *L2StakeRecordResponse_L2StakePage `protobuf:"bytes,3,opt,name=page,proto3" json:"page,omitempty"`
	// contains filtered or unexported fields
}

func (*L2StakeRecordResponse) Descriptor deprecated

func (*L2StakeRecordResponse) Descriptor() ([]byte, []int)

Deprecated: Use L2StakeRecordResponse.ProtoReflect.Descriptor instead.

func (*L2StakeRecordResponse) GetMessage

func (x *L2StakeRecordResponse) GetMessage() string

func (*L2StakeRecordResponse) GetPage

func (*L2StakeRecordResponse) GetSuccess

func (x *L2StakeRecordResponse) GetSuccess() bool

func (*L2StakeRecordResponse) ProtoMessage

func (*L2StakeRecordResponse) ProtoMessage()

func (*L2StakeRecordResponse) ProtoReflect

func (x *L2StakeRecordResponse) ProtoReflect() protoreflect.Message

func (*L2StakeRecordResponse) Reset

func (x *L2StakeRecordResponse) Reset()

func (*L2StakeRecordResponse) String

func (x *L2StakeRecordResponse) String() string

type L2StakeRecordResponse_L2StakePage

type L2StakeRecordResponse_L2StakePage struct {
	CurrentPage uint32           `protobuf:"varint,1,opt,name=current_page,json=currentPage,proto3" json:"current_page,omitempty"`
	PageSize    uint32           `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	Total       int64            `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty"`
	Records     []*L2StakeRecord `protobuf:"bytes,4,rep,name=records,proto3" json:"records,omitempty"`
	// contains filtered or unexported fields
}

func (*L2StakeRecordResponse_L2StakePage) Descriptor deprecated

func (*L2StakeRecordResponse_L2StakePage) Descriptor() ([]byte, []int)

Deprecated: Use L2StakeRecordResponse_L2StakePage.ProtoReflect.Descriptor instead.

func (*L2StakeRecordResponse_L2StakePage) GetCurrentPage

func (x *L2StakeRecordResponse_L2StakePage) GetCurrentPage() uint32

func (*L2StakeRecordResponse_L2StakePage) GetPageSize

func (x *L2StakeRecordResponse_L2StakePage) GetPageSize() uint32

func (*L2StakeRecordResponse_L2StakePage) GetRecords

func (*L2StakeRecordResponse_L2StakePage) GetTotal

func (*L2StakeRecordResponse_L2StakePage) ProtoMessage

func (*L2StakeRecordResponse_L2StakePage) ProtoMessage()

func (*L2StakeRecordResponse_L2StakePage) ProtoReflect

func (*L2StakeRecordResponse_L2StakePage) Reset

func (*L2StakeRecordResponse_L2StakePage) String

type L2StakerRewardsAmountRequest

type L2StakerRewardsAmountRequest struct {
	ChainId       string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	StakerAddress string `protobuf:"bytes,2,opt,name=staker_address,json=stakerAddress,proto3" json:"staker_address,omitempty"`
	Strategy      string `protobuf:"bytes,3,opt,name=strategy,proto3" json:"strategy,omitempty"`
	// contains filtered or unexported fields
}

func (*L2StakerRewardsAmountRequest) Descriptor deprecated

func (*L2StakerRewardsAmountRequest) Descriptor() ([]byte, []int)

Deprecated: Use L2StakerRewardsAmountRequest.ProtoReflect.Descriptor instead.

func (*L2StakerRewardsAmountRequest) GetChainId

func (x *L2StakerRewardsAmountRequest) GetChainId() string

func (*L2StakerRewardsAmountRequest) GetStakerAddress

func (x *L2StakerRewardsAmountRequest) GetStakerAddress() string

func (*L2StakerRewardsAmountRequest) GetStrategy

func (x *L2StakerRewardsAmountRequest) GetStrategy() string

func (*L2StakerRewardsAmountRequest) ProtoMessage

func (*L2StakerRewardsAmountRequest) ProtoMessage()

func (*L2StakerRewardsAmountRequest) ProtoReflect

func (*L2StakerRewardsAmountRequest) Reset

func (x *L2StakerRewardsAmountRequest) Reset()

func (*L2StakerRewardsAmountRequest) String

type L2StakerRewardsAmountResponse

type L2StakerRewardsAmountResponse struct {
	Success bool   `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	Income  string `protobuf:"bytes,3,opt,name=income,proto3" json:"income,omitempty"`
	// contains filtered or unexported fields
}

func (*L2StakerRewardsAmountResponse) Descriptor deprecated

func (*L2StakerRewardsAmountResponse) Descriptor() ([]byte, []int)

Deprecated: Use L2StakerRewardsAmountResponse.ProtoReflect.Descriptor instead.

func (*L2StakerRewardsAmountResponse) GetIncome

func (x *L2StakerRewardsAmountResponse) GetIncome() string

func (*L2StakerRewardsAmountResponse) GetMessage

func (x *L2StakerRewardsAmountResponse) GetMessage() string

func (*L2StakerRewardsAmountResponse) GetSuccess

func (x *L2StakerRewardsAmountResponse) GetSuccess() bool

func (*L2StakerRewardsAmountResponse) ProtoMessage

func (*L2StakerRewardsAmountResponse) ProtoMessage()

func (*L2StakerRewardsAmountResponse) ProtoReflect

func (*L2StakerRewardsAmountResponse) Reset

func (x *L2StakerRewardsAmountResponse) Reset()

func (*L2StakerRewardsAmountResponse) String

type L2UnStakeRecord

type L2UnStakeRecord struct {
	Guid          string `protobuf:"bytes,1,opt,name=guid,proto3" json:"guid,omitempty"`
	BlockNumber   int64  `protobuf:"varint,2,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"`
	TxHash        string `protobuf:"bytes,3,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"`
	EthAmount     string `protobuf:"bytes,4,opt,name=eth_amount,json=ethAmount,proto3" json:"eth_amount,omitempty"`
	LockedAmount  string `protobuf:"bytes,5,opt,name=locked_amount,json=lockedAmount,proto3" json:"locked_amount,omitempty"`
	ClaimTxHash   string `protobuf:"bytes,6,opt,name=claim_tx_hash,json=claimTxHash,proto3" json:"claim_tx_hash,omitempty"`
	L2Strategy    string `protobuf:"bytes,7,opt,name=l2_strategy,json=l2Strategy,proto3" json:"l2_strategy,omitempty"`
	Staker        string `protobuf:"bytes,8,opt,name=staker,proto3" json:"staker,omitempty"`
	Bridge        string `protobuf:"bytes,9,opt,name=bridge,proto3" json:"bridge,omitempty"`
	SourceChainId string `protobuf:"bytes,10,opt,name=source_chain_id,json=sourceChainId,proto3" json:"source_chain_id,omitempty"`
	DestChainId   string `protobuf:"bytes,11,opt,name=dest_chain_id,json=destChainId,proto3" json:"dest_chain_id,omitempty"`
	Status        int32  `protobuf:"varint,12,opt,name=status,proto3" json:"status,omitempty"`
	NotifyRelayer bool   `protobuf:"varint,13,opt,name=notify_relayer,json=notifyRelayer,proto3" json:"notify_relayer,omitempty"`
	Created       uint64 `protobuf:"varint,14,opt,name=created,proto3" json:"created,omitempty"`
	Updated       uint64 `protobuf:"varint,15,opt,name=updated,proto3" json:"updated,omitempty"`
	// contains filtered or unexported fields
}

func (*L2UnStakeRecord) Descriptor deprecated

func (*L2UnStakeRecord) Descriptor() ([]byte, []int)

Deprecated: Use L2UnStakeRecord.ProtoReflect.Descriptor instead.

func (*L2UnStakeRecord) GetBlockNumber

func (x *L2UnStakeRecord) GetBlockNumber() int64

func (*L2UnStakeRecord) GetBridge

func (x *L2UnStakeRecord) GetBridge() string

func (*L2UnStakeRecord) GetClaimTxHash

func (x *L2UnStakeRecord) GetClaimTxHash() string

func (*L2UnStakeRecord) GetCreated

func (x *L2UnStakeRecord) GetCreated() uint64

func (*L2UnStakeRecord) GetDestChainId

func (x *L2UnStakeRecord) GetDestChainId() string

func (*L2UnStakeRecord) GetEthAmount

func (x *L2UnStakeRecord) GetEthAmount() string

func (*L2UnStakeRecord) GetGuid

func (x *L2UnStakeRecord) GetGuid() string

func (*L2UnStakeRecord) GetL2Strategy

func (x *L2UnStakeRecord) GetL2Strategy() string

func (*L2UnStakeRecord) GetLockedAmount

func (x *L2UnStakeRecord) GetLockedAmount() string

func (*L2UnStakeRecord) GetNotifyRelayer

func (x *L2UnStakeRecord) GetNotifyRelayer() bool

func (*L2UnStakeRecord) GetSourceChainId

func (x *L2UnStakeRecord) GetSourceChainId() string

func (*L2UnStakeRecord) GetStaker

func (x *L2UnStakeRecord) GetStaker() string

func (*L2UnStakeRecord) GetStatus

func (x *L2UnStakeRecord) GetStatus() int32

func (*L2UnStakeRecord) GetTxHash

func (x *L2UnStakeRecord) GetTxHash() string

func (*L2UnStakeRecord) GetUpdated

func (x *L2UnStakeRecord) GetUpdated() uint64

func (*L2UnStakeRecord) ProtoMessage

func (*L2UnStakeRecord) ProtoMessage()

func (*L2UnStakeRecord) ProtoReflect

func (x *L2UnStakeRecord) ProtoReflect() protoreflect.Message

func (*L2UnStakeRecord) Reset

func (x *L2UnStakeRecord) Reset()

func (*L2UnStakeRecord) String

func (x *L2UnStakeRecord) String() string

type L2UnStakeRecordRequest

type L2UnStakeRecordRequest struct {
	StakerAddress string `protobuf:"bytes,1,opt,name=staker_address,json=stakerAddress,proto3" json:"staker_address,omitempty"`
	Strategy      string `protobuf:"bytes,2,opt,name=strategy,proto3" json:"strategy,omitempty"`
	Page          uint32 `protobuf:"varint,3,opt,name=page,proto3" json:"page,omitempty"`
	PageSize      uint32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// contains filtered or unexported fields
}

func (*L2UnStakeRecordRequest) Descriptor deprecated

func (*L2UnStakeRecordRequest) Descriptor() ([]byte, []int)

Deprecated: Use L2UnStakeRecordRequest.ProtoReflect.Descriptor instead.

func (*L2UnStakeRecordRequest) GetPage

func (x *L2UnStakeRecordRequest) GetPage() uint32

func (*L2UnStakeRecordRequest) GetPageSize

func (x *L2UnStakeRecordRequest) GetPageSize() uint32

func (*L2UnStakeRecordRequest) GetStakerAddress

func (x *L2UnStakeRecordRequest) GetStakerAddress() string

func (*L2UnStakeRecordRequest) GetStrategy

func (x *L2UnStakeRecordRequest) GetStrategy() string

func (*L2UnStakeRecordRequest) ProtoMessage

func (*L2UnStakeRecordRequest) ProtoMessage()

func (*L2UnStakeRecordRequest) ProtoReflect

func (x *L2UnStakeRecordRequest) ProtoReflect() protoreflect.Message

func (*L2UnStakeRecordRequest) Reset

func (x *L2UnStakeRecordRequest) Reset()

func (*L2UnStakeRecordRequest) String

func (x *L2UnStakeRecordRequest) String() string

type L2UnStakeRecordResponse

type L2UnStakeRecordResponse struct {
	Success bool                                   `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	Message string                                 `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	Page    *L2UnStakeRecordResponse_L2UnStakePage `protobuf:"bytes,3,opt,name=page,proto3" json:"page,omitempty"`
	// contains filtered or unexported fields
}

func (*L2UnStakeRecordResponse) Descriptor deprecated

func (*L2UnStakeRecordResponse) Descriptor() ([]byte, []int)

Deprecated: Use L2UnStakeRecordResponse.ProtoReflect.Descriptor instead.

func (*L2UnStakeRecordResponse) GetMessage

func (x *L2UnStakeRecordResponse) GetMessage() string

func (*L2UnStakeRecordResponse) GetPage

func (*L2UnStakeRecordResponse) GetSuccess

func (x *L2UnStakeRecordResponse) GetSuccess() bool

func (*L2UnStakeRecordResponse) ProtoMessage

func (*L2UnStakeRecordResponse) ProtoMessage()

func (*L2UnStakeRecordResponse) ProtoReflect

func (x *L2UnStakeRecordResponse) ProtoReflect() protoreflect.Message

func (*L2UnStakeRecordResponse) Reset

func (x *L2UnStakeRecordResponse) Reset()

func (*L2UnStakeRecordResponse) String

func (x *L2UnStakeRecordResponse) String() string

type L2UnStakeRecordResponse_L2UnStakePage

type L2UnStakeRecordResponse_L2UnStakePage struct {
	CurrentPage uint32             `protobuf:"varint,1,opt,name=current_page,json=currentPage,proto3" json:"current_page,omitempty"`
	PageSize    uint32             `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	Total       int64              `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty"`
	Records     []*L2UnStakeRecord `protobuf:"bytes,4,rep,name=records,proto3" json:"records,omitempty"`
	// contains filtered or unexported fields
}

func (*L2UnStakeRecordResponse_L2UnStakePage) Descriptor deprecated

func (*L2UnStakeRecordResponse_L2UnStakePage) Descriptor() ([]byte, []int)

Deprecated: Use L2UnStakeRecordResponse_L2UnStakePage.ProtoReflect.Descriptor instead.

func (*L2UnStakeRecordResponse_L2UnStakePage) GetCurrentPage

func (x *L2UnStakeRecordResponse_L2UnStakePage) GetCurrentPage() uint32

func (*L2UnStakeRecordResponse_L2UnStakePage) GetPageSize

func (*L2UnStakeRecordResponse_L2UnStakePage) GetRecords

func (*L2UnStakeRecordResponse_L2UnStakePage) GetTotal

func (*L2UnStakeRecordResponse_L2UnStakePage) ProtoMessage

func (*L2UnStakeRecordResponse_L2UnStakePage) ProtoMessage()

func (*L2UnStakeRecordResponse_L2UnStakePage) ProtoReflect

func (*L2UnStakeRecordResponse_L2UnStakePage) Reset

func (*L2UnStakeRecordResponse_L2UnStakePage) String

type L2WithdrawRecord

type L2WithdrawRecord struct {
	Guid        string `protobuf:"bytes,1,opt,name=guid,proto3" json:"guid,omitempty"`
	BlockNumber int64  `protobuf:"varint,2,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"`
	TxHash      string `protobuf:"bytes,3,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"`
	Shares      string `protobuf:"bytes,4,opt,name=shares,proto3" json:"shares,omitempty"`
	Strategy    string `protobuf:"bytes,5,opt,name=strategy,proto3" json:"strategy,omitempty"`
	Staker      string `protobuf:"bytes,6,opt,name=staker,proto3" json:"staker,omitempty"`
	ChainId     string `protobuf:"bytes,7,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	Operator    string `protobuf:"bytes,8,opt,name=operator,proto3" json:"operator,omitempty"`
	Created     uint64 `protobuf:"varint,9,opt,name=created,proto3" json:"created,omitempty"`
	// contains filtered or unexported fields
}

func (*L2WithdrawRecord) Descriptor deprecated

func (*L2WithdrawRecord) Descriptor() ([]byte, []int)

Deprecated: Use L2WithdrawRecord.ProtoReflect.Descriptor instead.

func (*L2WithdrawRecord) GetBlockNumber

func (x *L2WithdrawRecord) GetBlockNumber() int64

func (*L2WithdrawRecord) GetChainId

func (x *L2WithdrawRecord) GetChainId() string

func (*L2WithdrawRecord) GetCreated

func (x *L2WithdrawRecord) GetCreated() uint64

func (*L2WithdrawRecord) GetGuid

func (x *L2WithdrawRecord) GetGuid() string

func (*L2WithdrawRecord) GetOperator

func (x *L2WithdrawRecord) GetOperator() string

func (*L2WithdrawRecord) GetShares

func (x *L2WithdrawRecord) GetShares() string

func (*L2WithdrawRecord) GetStaker

func (x *L2WithdrawRecord) GetStaker() string

func (*L2WithdrawRecord) GetStrategy

func (x *L2WithdrawRecord) GetStrategy() string

func (*L2WithdrawRecord) GetTxHash

func (x *L2WithdrawRecord) GetTxHash() string

func (*L2WithdrawRecord) ProtoMessage

func (*L2WithdrawRecord) ProtoMessage()

func (*L2WithdrawRecord) ProtoReflect

func (x *L2WithdrawRecord) ProtoReflect() protoreflect.Message

func (*L2WithdrawRecord) Reset

func (x *L2WithdrawRecord) Reset()

func (*L2WithdrawRecord) String

func (x *L2WithdrawRecord) String() string

type L2WithdrawRecordRequest

type L2WithdrawRecordRequest struct {
	Address  string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Strategy string `protobuf:"bytes,2,opt,name=strategy,proto3" json:"strategy,omitempty"`
	Page     uint32 `protobuf:"varint,4,opt,name=page,proto3" json:"page,omitempty"`
	PageSize uint32 `protobuf:"varint,5,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// contains filtered or unexported fields
}

func (*L2WithdrawRecordRequest) Descriptor deprecated

func (*L2WithdrawRecordRequest) Descriptor() ([]byte, []int)

Deprecated: Use L2WithdrawRecordRequest.ProtoReflect.Descriptor instead.

func (*L2WithdrawRecordRequest) GetAddress

func (x *L2WithdrawRecordRequest) GetAddress() string

func (*L2WithdrawRecordRequest) GetPage

func (x *L2WithdrawRecordRequest) GetPage() uint32

func (*L2WithdrawRecordRequest) GetPageSize

func (x *L2WithdrawRecordRequest) GetPageSize() uint32

func (*L2WithdrawRecordRequest) GetStrategy

func (x *L2WithdrawRecordRequest) GetStrategy() string

func (*L2WithdrawRecordRequest) ProtoMessage

func (*L2WithdrawRecordRequest) ProtoMessage()

func (*L2WithdrawRecordRequest) ProtoReflect

func (x *L2WithdrawRecordRequest) ProtoReflect() protoreflect.Message

func (*L2WithdrawRecordRequest) Reset

func (x *L2WithdrawRecordRequest) Reset()

func (*L2WithdrawRecordRequest) String

func (x *L2WithdrawRecordRequest) String() string

type L2WithdrawRecordResponse

type L2WithdrawRecordResponse struct {
	Success bool                                     `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	Message string                                   `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	Page    *L2WithdrawRecordResponse_L2WithdrawPage `protobuf:"bytes,3,opt,name=page,proto3" json:"page,omitempty"`
	// contains filtered or unexported fields
}

func (*L2WithdrawRecordResponse) Descriptor deprecated

func (*L2WithdrawRecordResponse) Descriptor() ([]byte, []int)

Deprecated: Use L2WithdrawRecordResponse.ProtoReflect.Descriptor instead.

func (*L2WithdrawRecordResponse) GetMessage

func (x *L2WithdrawRecordResponse) GetMessage() string

func (*L2WithdrawRecordResponse) GetPage

func (*L2WithdrawRecordResponse) GetSuccess

func (x *L2WithdrawRecordResponse) GetSuccess() bool

func (*L2WithdrawRecordResponse) ProtoMessage

func (*L2WithdrawRecordResponse) ProtoMessage()

func (*L2WithdrawRecordResponse) ProtoReflect

func (x *L2WithdrawRecordResponse) ProtoReflect() protoreflect.Message

func (*L2WithdrawRecordResponse) Reset

func (x *L2WithdrawRecordResponse) Reset()

func (*L2WithdrawRecordResponse) String

func (x *L2WithdrawRecordResponse) String() string

type L2WithdrawRecordResponse_L2WithdrawPage

type L2WithdrawRecordResponse_L2WithdrawPage struct {
	CurrentPage uint32              `protobuf:"varint,1,opt,name=current_page,json=currentPage,proto3" json:"current_page,omitempty"`
	PageSize    uint32              `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	Total       int64               `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty"`
	Records     []*L2WithdrawRecord `protobuf:"bytes,4,rep,name=records,proto3" json:"records,omitempty"`
	// contains filtered or unexported fields
}

func (*L2WithdrawRecordResponse_L2WithdrawPage) Descriptor deprecated

func (*L2WithdrawRecordResponse_L2WithdrawPage) Descriptor() ([]byte, []int)

Deprecated: Use L2WithdrawRecordResponse_L2WithdrawPage.ProtoReflect.Descriptor instead.

func (*L2WithdrawRecordResponse_L2WithdrawPage) GetCurrentPage

func (x *L2WithdrawRecordResponse_L2WithdrawPage) GetCurrentPage() uint32

func (*L2WithdrawRecordResponse_L2WithdrawPage) GetPageSize

func (*L2WithdrawRecordResponse_L2WithdrawPage) GetRecords

func (*L2WithdrawRecordResponse_L2WithdrawPage) GetTotal

func (*L2WithdrawRecordResponse_L2WithdrawPage) ProtoMessage

func (*L2WithdrawRecordResponse_L2WithdrawPage) ProtoReflect

func (*L2WithdrawRecordResponse_L2WithdrawPage) Reset

func (*L2WithdrawRecordResponse_L2WithdrawPage) String

type UnimplementedAppChainServiceServer

type UnimplementedAppChainServiceServer struct {
}

UnimplementedAppChainServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedAppChainServiceServer) L2StakeRecord

func (UnimplementedAppChainServiceServer) L2UnStakeRecord

func (UnimplementedAppChainServiceServer) L2WithdrawRecord

type UnsafeAppChainServiceServer

type UnsafeAppChainServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeAppChainServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AppChainServiceServer will result in compilation errors.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL