api

package
v0.0.0-...-4c5cb5a Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2023 License: LGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ReturnResponseCode_name = map[int32]string{
		0:  "SUCCESS",
		1:  "SIGERROR",
		2:  "CONTRACT_VALIDATE_ERROR",
		3:  "CONTRACT_EXE_ERROR",
		4:  "BANDWITH_ERROR",
		5:  "DUP_TRANSACTION_ERROR",
		6:  "TAPOS_ERROR",
		7:  "TOO_BIG_TRANSACTION_ERROR",
		8:  "TRANSACTION_EXPIRATION_ERROR",
		9:  "SERVER_BUSY",
		10: "NO_CONNECTION",
		11: "NOT_ENOUGH_EFFECTIVE_CONNECTION",
		20: "OTHER_ERROR",
	}
	ReturnResponseCode_value = map[string]int32{
		"SUCCESS":                         0,
		"SIGERROR":                        1,
		"CONTRACT_VALIDATE_ERROR":         2,
		"CONTRACT_EXE_ERROR":              3,
		"BANDWITH_ERROR":                  4,
		"DUP_TRANSACTION_ERROR":           5,
		"TAPOS_ERROR":                     6,
		"TOO_BIG_TRANSACTION_ERROR":       7,
		"TRANSACTION_EXPIRATION_ERROR":    8,
		"SERVER_BUSY":                     9,
		"NO_CONNECTION":                   10,
		"NOT_ENOUGH_EFFECTIVE_CONNECTION": 11,
		"OTHER_ERROR":                     20,
	}
)

Enum value maps for ReturnResponseCode.

View Source
var (
	TransactionSignWeight_ResultResponseCode_name = map[int32]string{
		0:  "ENOUGH_PERMISSION",
		1:  "NOT_ENOUGH_PERMISSION",
		2:  "SIGNATURE_FORMAT_ERROR",
		3:  "COMPUTE_ADDRESS_ERROR",
		4:  "PERMISSION_ERROR",
		20: "OTHER_ERROR",
	}
	TransactionSignWeight_ResultResponseCode_value = map[string]int32{
		"ENOUGH_PERMISSION":      0,
		"NOT_ENOUGH_PERMISSION":  1,
		"SIGNATURE_FORMAT_ERROR": 2,
		"COMPUTE_ADDRESS_ERROR":  3,
		"PERMISSION_ERROR":       4,
		"OTHER_ERROR":            20,
	}
)

Enum value maps for TransactionSignWeight_ResultResponseCode.

View Source
var (
	TransactionApprovedList_ResultResponseCode_name = map[int32]string{
		0:  "SUCCESS",
		1:  "SIGNATURE_FORMAT_ERROR",
		2:  "COMPUTE_ADDRESS_ERROR",
		20: "OTHER_ERROR",
	}
	TransactionApprovedList_ResultResponseCode_value = map[string]int32{
		"SUCCESS":                0,
		"SIGNATURE_FORMAT_ERROR": 1,
		"COMPUTE_ADDRESS_ERROR":  2,
		"OTHER_ERROR":            20,
	}
)

Enum value maps for TransactionApprovedList_ResultResponseCode.

View Source
var (
	ZksnarkResponse_Code_name = map[int32]string{
		0: "SUCCESS",
		1: "FAILED",
	}
	ZksnarkResponse_Code_value = map[string]int32{
		"SUCCESS": 0,
		"FAILED":  1,
	}
)

Enum value maps for ZksnarkResponse_Code.

View Source
var Database_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "protocol.Database",
	HandlerType: (*DatabaseServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "getBlockReference",
			Handler:    _Database_GetBlockReference_Handler,
		},
		{
			MethodName: "GetDynamicProperties",
			Handler:    _Database_GetDynamicProperties_Handler,
		},
		{
			MethodName: "GetNowBlock",
			Handler:    _Database_GetNowBlock_Handler,
		},
		{
			MethodName: "GetBlockByNum",
			Handler:    _Database_GetBlockByNum_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api/api.proto",
}

Database_ServiceDesc is the grpc.ServiceDesc for Database 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_api_api_proto protoreflect.FileDescriptor
View Source
var File_api_zksnark_proto protoreflect.FileDescriptor
View Source
var Monitor_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "protocol.Monitor",
	HandlerType: (*MonitorServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetStatsInfo",
			Handler:    _Monitor_GetStatsInfo_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api/api.proto",
}

Monitor_ServiceDesc is the grpc.ServiceDesc for Monitor 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 Network_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "protocol.Network",
	HandlerType: (*NetworkServer)(nil),
	Methods:     []grpc.MethodDesc{},
	Streams:     []grpc.StreamDesc{},
	Metadata:    "api/api.proto",
}

Network_ServiceDesc is the grpc.ServiceDesc for Network 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 TronZksnark_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "protocol.TronZksnark",
	HandlerType: (*TronZksnarkServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CheckZksnarkProof",
			Handler:    _TronZksnark_CheckZksnarkProof_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api/zksnark.proto",
}

TronZksnark_ServiceDesc is the grpc.ServiceDesc for TronZksnark 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 WalletExtension_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "protocol.WalletExtension",
	HandlerType: (*WalletExtensionServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetTransactionsFromThis",
			Handler:    _WalletExtension_GetTransactionsFromThis_Handler,
		},
		{
			MethodName: "GetTransactionsFromThis2",
			Handler:    _WalletExtension_GetTransactionsFromThis2_Handler,
		},
		{
			MethodName: "GetTransactionsToThis",
			Handler:    _WalletExtension_GetTransactionsToThis_Handler,
		},
		{
			MethodName: "GetTransactionsToThis2",
			Handler:    _WalletExtension_GetTransactionsToThis2_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api/api.proto",
}

WalletExtension_ServiceDesc is the grpc.ServiceDesc for WalletExtension 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 WalletSolidity_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "protocol.WalletSolidity",
	HandlerType: (*WalletSolidityServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetAccount",
			Handler:    _WalletSolidity_GetAccount_Handler,
		},
		{
			MethodName: "GetAccountById",
			Handler:    _WalletSolidity_GetAccountById_Handler,
		},
		{
			MethodName: "ListWitnesses",
			Handler:    _WalletSolidity_ListWitnesses_Handler,
		},
		{
			MethodName: "GetAssetIssueList",
			Handler:    _WalletSolidity_GetAssetIssueList_Handler,
		},
		{
			MethodName: "GetPaginatedAssetIssueList",
			Handler:    _WalletSolidity_GetPaginatedAssetIssueList_Handler,
		},
		{
			MethodName: "GetAssetIssueByName",
			Handler:    _WalletSolidity_GetAssetIssueByName_Handler,
		},
		{
			MethodName: "GetAssetIssueListByName",
			Handler:    _WalletSolidity_GetAssetIssueListByName_Handler,
		},
		{
			MethodName: "GetAssetIssueById",
			Handler:    _WalletSolidity_GetAssetIssueById_Handler,
		},
		{
			MethodName: "GetNowBlock",
			Handler:    _WalletSolidity_GetNowBlock_Handler,
		},
		{
			MethodName: "GetNowBlock2",
			Handler:    _WalletSolidity_GetNowBlock2_Handler,
		},
		{
			MethodName: "GetBlockByNum",
			Handler:    _WalletSolidity_GetBlockByNum_Handler,
		},
		{
			MethodName: "GetBlockByNum2",
			Handler:    _WalletSolidity_GetBlockByNum2_Handler,
		},
		{
			MethodName: "GetTransactionCountByBlockNum",
			Handler:    _WalletSolidity_GetTransactionCountByBlockNum_Handler,
		},
		{
			MethodName: "GetDelegatedResource",
			Handler:    _WalletSolidity_GetDelegatedResource_Handler,
		},
		{
			MethodName: "GetDelegatedResourceV2",
			Handler:    _WalletSolidity_GetDelegatedResourceV2_Handler,
		},
		{
			MethodName: "GetDelegatedResourceAccountIndex",
			Handler:    _WalletSolidity_GetDelegatedResourceAccountIndex_Handler,
		},
		{
			MethodName: "GetDelegatedResourceAccountIndexV2",
			Handler:    _WalletSolidity_GetDelegatedResourceAccountIndexV2_Handler,
		},
		{
			MethodName: "GetCanDelegatedMaxSize",
			Handler:    _WalletSolidity_GetCanDelegatedMaxSize_Handler,
		},
		{
			MethodName: "GetAvailableUnfreezeCount",
			Handler:    _WalletSolidity_GetAvailableUnfreezeCount_Handler,
		},
		{
			MethodName: "GetCanWithdrawUnfreezeAmount",
			Handler:    _WalletSolidity_GetCanWithdrawUnfreezeAmount_Handler,
		},
		{
			MethodName: "GetExchangeById",
			Handler:    _WalletSolidity_GetExchangeById_Handler,
		},
		{
			MethodName: "ListExchanges",
			Handler:    _WalletSolidity_ListExchanges_Handler,
		},
		{
			MethodName: "GetTransactionById",
			Handler:    _WalletSolidity_GetTransactionById_Handler,
		},
		{
			MethodName: "GetTransactionInfoById",
			Handler:    _WalletSolidity_GetTransactionInfoById_Handler,
		},
		{
			MethodName: "GenerateAddress",
			Handler:    _WalletSolidity_GenerateAddress_Handler,
		},
		{
			MethodName: "GetMerkleTreeVoucherInfo",
			Handler:    _WalletSolidity_GetMerkleTreeVoucherInfo_Handler,
		},
		{
			MethodName: "ScanNoteByIvk",
			Handler:    _WalletSolidity_ScanNoteByIvk_Handler,
		},
		{
			MethodName: "ScanAndMarkNoteByIvk",
			Handler:    _WalletSolidity_ScanAndMarkNoteByIvk_Handler,
		},
		{
			MethodName: "ScanNoteByOvk",
			Handler:    _WalletSolidity_ScanNoteByOvk_Handler,
		},
		{
			MethodName: "IsSpend",
			Handler:    _WalletSolidity_IsSpend_Handler,
		},
		{
			MethodName: "ScanShieldedTRC20NotesByIvk",
			Handler:    _WalletSolidity_ScanShieldedTRC20NotesByIvk_Handler,
		},
		{
			MethodName: "ScanShieldedTRC20NotesByOvk",
			Handler:    _WalletSolidity_ScanShieldedTRC20NotesByOvk_Handler,
		},
		{
			MethodName: "IsShieldedTRC20ContractNoteSpent",
			Handler:    _WalletSolidity_IsShieldedTRC20ContractNoteSpent_Handler,
		},
		{
			MethodName: "GetRewardInfo",
			Handler:    _WalletSolidity_GetRewardInfo_Handler,
		},
		{
			MethodName: "GetBrokerageInfo",
			Handler:    _WalletSolidity_GetBrokerageInfo_Handler,
		},
		{
			MethodName: "TriggerConstantContract",
			Handler:    _WalletSolidity_TriggerConstantContract_Handler,
		},
		{
			MethodName: "EstimateEnergy",
			Handler:    _WalletSolidity_EstimateEnergy_Handler,
		},
		{
			MethodName: "GetTransactionInfoByBlockNum",
			Handler:    _WalletSolidity_GetTransactionInfoByBlockNum_Handler,
		},
		{
			MethodName: "GetMarketOrderById",
			Handler:    _WalletSolidity_GetMarketOrderById_Handler,
		},
		{
			MethodName: "GetMarketOrderByAccount",
			Handler:    _WalletSolidity_GetMarketOrderByAccount_Handler,
		},
		{
			MethodName: "GetMarketPriceByPair",
			Handler:    _WalletSolidity_GetMarketPriceByPair_Handler,
		},
		{
			MethodName: "GetMarketOrderListByPair",
			Handler:    _WalletSolidity_GetMarketOrderListByPair_Handler,
		},
		{
			MethodName: "GetMarketPairList",
			Handler:    _WalletSolidity_GetMarketPairList_Handler,
		},
		{
			MethodName: "GetBurnTrx",
			Handler:    _WalletSolidity_GetBurnTrx_Handler,
		},
		{
			MethodName: "GetBlock",
			Handler:    _WalletSolidity_GetBlock_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api/api.proto",
}

WalletSolidity_ServiceDesc is the grpc.ServiceDesc for WalletSolidity 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 Wallet_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "protocol.Wallet",
	HandlerType: (*WalletServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetAccount",
			Handler:    _Wallet_GetAccount_Handler,
		},
		{
			MethodName: "GetAccountById",
			Handler:    _Wallet_GetAccountById_Handler,
		},
		{
			MethodName: "GetAccountBalance",
			Handler:    _Wallet_GetAccountBalance_Handler,
		},
		{
			MethodName: "GetBlockBalanceTrace",
			Handler:    _Wallet_GetBlockBalanceTrace_Handler,
		},
		{
			MethodName: "CreateTransaction",
			Handler:    _Wallet_CreateTransaction_Handler,
		},
		{
			MethodName: "CreateTransaction2",
			Handler:    _Wallet_CreateTransaction2_Handler,
		},
		{
			MethodName: "BroadcastTransaction",
			Handler:    _Wallet_BroadcastTransaction_Handler,
		},
		{
			MethodName: "UpdateAccount",
			Handler:    _Wallet_UpdateAccount_Handler,
		},
		{
			MethodName: "SetAccountId",
			Handler:    _Wallet_SetAccountId_Handler,
		},
		{
			MethodName: "UpdateAccount2",
			Handler:    _Wallet_UpdateAccount2_Handler,
		},
		{
			MethodName: "VoteWitnessAccount",
			Handler:    _Wallet_VoteWitnessAccount_Handler,
		},
		{
			MethodName: "UpdateSetting",
			Handler:    _Wallet_UpdateSetting_Handler,
		},
		{
			MethodName: "UpdateEnergyLimit",
			Handler:    _Wallet_UpdateEnergyLimit_Handler,
		},
		{
			MethodName: "VoteWitnessAccount2",
			Handler:    _Wallet_VoteWitnessAccount2_Handler,
		},
		{
			MethodName: "CreateAssetIssue",
			Handler:    _Wallet_CreateAssetIssue_Handler,
		},
		{
			MethodName: "CreateAssetIssue2",
			Handler:    _Wallet_CreateAssetIssue2_Handler,
		},
		{
			MethodName: "UpdateWitness",
			Handler:    _Wallet_UpdateWitness_Handler,
		},
		{
			MethodName: "UpdateWitness2",
			Handler:    _Wallet_UpdateWitness2_Handler,
		},
		{
			MethodName: "CreateAccount",
			Handler:    _Wallet_CreateAccount_Handler,
		},
		{
			MethodName: "CreateAccount2",
			Handler:    _Wallet_CreateAccount2_Handler,
		},
		{
			MethodName: "CreateWitness",
			Handler:    _Wallet_CreateWitness_Handler,
		},
		{
			MethodName: "CreateWitness2",
			Handler:    _Wallet_CreateWitness2_Handler,
		},
		{
			MethodName: "TransferAsset",
			Handler:    _Wallet_TransferAsset_Handler,
		},
		{
			MethodName: "TransferAsset2",
			Handler:    _Wallet_TransferAsset2_Handler,
		},
		{
			MethodName: "ParticipateAssetIssue",
			Handler:    _Wallet_ParticipateAssetIssue_Handler,
		},
		{
			MethodName: "ParticipateAssetIssue2",
			Handler:    _Wallet_ParticipateAssetIssue2_Handler,
		},
		{
			MethodName: "FreezeBalance",
			Handler:    _Wallet_FreezeBalance_Handler,
		},
		{
			MethodName: "FreezeBalance2",
			Handler:    _Wallet_FreezeBalance2_Handler,
		},
		{
			MethodName: "FreezeBalanceV2",
			Handler:    _Wallet_FreezeBalanceV2_Handler,
		},
		{
			MethodName: "UnfreezeBalance",
			Handler:    _Wallet_UnfreezeBalance_Handler,
		},
		{
			MethodName: "UnfreezeBalance2",
			Handler:    _Wallet_UnfreezeBalance2_Handler,
		},
		{
			MethodName: "UnfreezeBalanceV2",
			Handler:    _Wallet_UnfreezeBalanceV2_Handler,
		},
		{
			MethodName: "UnfreezeAsset",
			Handler:    _Wallet_UnfreezeAsset_Handler,
		},
		{
			MethodName: "UnfreezeAsset2",
			Handler:    _Wallet_UnfreezeAsset2_Handler,
		},
		{
			MethodName: "WithdrawBalance",
			Handler:    _Wallet_WithdrawBalance_Handler,
		},
		{
			MethodName: "WithdrawBalance2",
			Handler:    _Wallet_WithdrawBalance2_Handler,
		},
		{
			MethodName: "WithdrawExpireUnfreeze",
			Handler:    _Wallet_WithdrawExpireUnfreeze_Handler,
		},
		{
			MethodName: "DelegateResource",
			Handler:    _Wallet_DelegateResource_Handler,
		},
		{
			MethodName: "UnDelegateResource",
			Handler:    _Wallet_UnDelegateResource_Handler,
		},
		{
			MethodName: "UpdateAsset",
			Handler:    _Wallet_UpdateAsset_Handler,
		},
		{
			MethodName: "UpdateAsset2",
			Handler:    _Wallet_UpdateAsset2_Handler,
		},
		{
			MethodName: "ProposalCreate",
			Handler:    _Wallet_ProposalCreate_Handler,
		},
		{
			MethodName: "ProposalApprove",
			Handler:    _Wallet_ProposalApprove_Handler,
		},
		{
			MethodName: "ProposalDelete",
			Handler:    _Wallet_ProposalDelete_Handler,
		},
		{
			MethodName: "BuyStorage",
			Handler:    _Wallet_BuyStorage_Handler,
		},
		{
			MethodName: "BuyStorageBytes",
			Handler:    _Wallet_BuyStorageBytes_Handler,
		},
		{
			MethodName: "SellStorage",
			Handler:    _Wallet_SellStorage_Handler,
		},
		{
			MethodName: "ExchangeCreate",
			Handler:    _Wallet_ExchangeCreate_Handler,
		},
		{
			MethodName: "ExchangeInject",
			Handler:    _Wallet_ExchangeInject_Handler,
		},
		{
			MethodName: "ExchangeWithdraw",
			Handler:    _Wallet_ExchangeWithdraw_Handler,
		},
		{
			MethodName: "ExchangeTransaction",
			Handler:    _Wallet_ExchangeTransaction_Handler,
		},
		{
			MethodName: "MarketSellAsset",
			Handler:    _Wallet_MarketSellAsset_Handler,
		},
		{
			MethodName: "MarketCancelOrder",
			Handler:    _Wallet_MarketCancelOrder_Handler,
		},
		{
			MethodName: "GetMarketOrderById",
			Handler:    _Wallet_GetMarketOrderById_Handler,
		},
		{
			MethodName: "GetMarketOrderByAccount",
			Handler:    _Wallet_GetMarketOrderByAccount_Handler,
		},
		{
			MethodName: "GetMarketPriceByPair",
			Handler:    _Wallet_GetMarketPriceByPair_Handler,
		},
		{
			MethodName: "GetMarketOrderListByPair",
			Handler:    _Wallet_GetMarketOrderListByPair_Handler,
		},
		{
			MethodName: "GetMarketPairList",
			Handler:    _Wallet_GetMarketPairList_Handler,
		},
		{
			MethodName: "ListNodes",
			Handler:    _Wallet_ListNodes_Handler,
		},
		{
			MethodName: "GetAssetIssueByAccount",
			Handler:    _Wallet_GetAssetIssueByAccount_Handler,
		},
		{
			MethodName: "GetAccountNet",
			Handler:    _Wallet_GetAccountNet_Handler,
		},
		{
			MethodName: "GetAccountResource",
			Handler:    _Wallet_GetAccountResource_Handler,
		},
		{
			MethodName: "GetAssetIssueByName",
			Handler:    _Wallet_GetAssetIssueByName_Handler,
		},
		{
			MethodName: "GetAssetIssueListByName",
			Handler:    _Wallet_GetAssetIssueListByName_Handler,
		},
		{
			MethodName: "GetAssetIssueById",
			Handler:    _Wallet_GetAssetIssueById_Handler,
		},
		{
			MethodName: "GetNowBlock",
			Handler:    _Wallet_GetNowBlock_Handler,
		},
		{
			MethodName: "GetNowBlock2",
			Handler:    _Wallet_GetNowBlock2_Handler,
		},
		{
			MethodName: "GetBlockByNum",
			Handler:    _Wallet_GetBlockByNum_Handler,
		},
		{
			MethodName: "GetBlockByNum2",
			Handler:    _Wallet_GetBlockByNum2_Handler,
		},
		{
			MethodName: "GetTransactionCountByBlockNum",
			Handler:    _Wallet_GetTransactionCountByBlockNum_Handler,
		},
		{
			MethodName: "GetBlockById",
			Handler:    _Wallet_GetBlockById_Handler,
		},
		{
			MethodName: "GetBlockByLimitNext",
			Handler:    _Wallet_GetBlockByLimitNext_Handler,
		},
		{
			MethodName: "GetBlockByLimitNext2",
			Handler:    _Wallet_GetBlockByLimitNext2_Handler,
		},
		{
			MethodName: "GetBlockByLatestNum",
			Handler:    _Wallet_GetBlockByLatestNum_Handler,
		},
		{
			MethodName: "GetBlockByLatestNum2",
			Handler:    _Wallet_GetBlockByLatestNum2_Handler,
		},
		{
			MethodName: "GetTransactionById",
			Handler:    _Wallet_GetTransactionById_Handler,
		},
		{
			MethodName: "DeployContract",
			Handler:    _Wallet_DeployContract_Handler,
		},
		{
			MethodName: "GetContract",
			Handler:    _Wallet_GetContract_Handler,
		},
		{
			MethodName: "GetContractInfo",
			Handler:    _Wallet_GetContractInfo_Handler,
		},
		{
			MethodName: "TriggerContract",
			Handler:    _Wallet_TriggerContract_Handler,
		},
		{
			MethodName: "TriggerConstantContract",
			Handler:    _Wallet_TriggerConstantContract_Handler,
		},
		{
			MethodName: "EstimateEnergy",
			Handler:    _Wallet_EstimateEnergy_Handler,
		},
		{
			MethodName: "ClearContractABI",
			Handler:    _Wallet_ClearContractABI_Handler,
		},
		{
			MethodName: "ListWitnesses",
			Handler:    _Wallet_ListWitnesses_Handler,
		},
		{
			MethodName: "GetDelegatedResource",
			Handler:    _Wallet_GetDelegatedResource_Handler,
		},
		{
			MethodName: "GetDelegatedResourceV2",
			Handler:    _Wallet_GetDelegatedResourceV2_Handler,
		},
		{
			MethodName: "GetDelegatedResourceAccountIndex",
			Handler:    _Wallet_GetDelegatedResourceAccountIndex_Handler,
		},
		{
			MethodName: "GetDelegatedResourceAccountIndexV2",
			Handler:    _Wallet_GetDelegatedResourceAccountIndexV2_Handler,
		},
		{
			MethodName: "GetCanDelegatedMaxSize",
			Handler:    _Wallet_GetCanDelegatedMaxSize_Handler,
		},
		{
			MethodName: "GetAvailableUnfreezeCount",
			Handler:    _Wallet_GetAvailableUnfreezeCount_Handler,
		},
		{
			MethodName: "GetCanWithdrawUnfreezeAmount",
			Handler:    _Wallet_GetCanWithdrawUnfreezeAmount_Handler,
		},
		{
			MethodName: "ListProposals",
			Handler:    _Wallet_ListProposals_Handler,
		},
		{
			MethodName: "GetPaginatedProposalList",
			Handler:    _Wallet_GetPaginatedProposalList_Handler,
		},
		{
			MethodName: "GetProposalById",
			Handler:    _Wallet_GetProposalById_Handler,
		},
		{
			MethodName: "ListExchanges",
			Handler:    _Wallet_ListExchanges_Handler,
		},
		{
			MethodName: "GetPaginatedExchangeList",
			Handler:    _Wallet_GetPaginatedExchangeList_Handler,
		},
		{
			MethodName: "GetExchangeById",
			Handler:    _Wallet_GetExchangeById_Handler,
		},
		{
			MethodName: "GetChainParameters",
			Handler:    _Wallet_GetChainParameters_Handler,
		},
		{
			MethodName: "GetAssetIssueList",
			Handler:    _Wallet_GetAssetIssueList_Handler,
		},
		{
			MethodName: "GetPaginatedAssetIssueList",
			Handler:    _Wallet_GetPaginatedAssetIssueList_Handler,
		},
		{
			MethodName: "TotalTransaction",
			Handler:    _Wallet_TotalTransaction_Handler,
		},
		{
			MethodName: "GetNextMaintenanceTime",
			Handler:    _Wallet_GetNextMaintenanceTime_Handler,
		},
		{
			MethodName: "GetTransactionSign",
			Handler:    _Wallet_GetTransactionSign_Handler,
		},
		{
			MethodName: "GetTransactionSign2",
			Handler:    _Wallet_GetTransactionSign2_Handler,
		},
		{
			MethodName: "CreateAddress",
			Handler:    _Wallet_CreateAddress_Handler,
		},
		{
			MethodName: "EasyTransferAsset",
			Handler:    _Wallet_EasyTransferAsset_Handler,
		},
		{
			MethodName: "EasyTransferAssetByPrivate",
			Handler:    _Wallet_EasyTransferAssetByPrivate_Handler,
		},
		{
			MethodName: "EasyTransfer",
			Handler:    _Wallet_EasyTransfer_Handler,
		},
		{
			MethodName: "EasyTransferByPrivate",
			Handler:    _Wallet_EasyTransferByPrivate_Handler,
		},
		{
			MethodName: "GenerateAddress",
			Handler:    _Wallet_GenerateAddress_Handler,
		},
		{
			MethodName: "GetTransactionInfoById",
			Handler:    _Wallet_GetTransactionInfoById_Handler,
		},
		{
			MethodName: "AccountPermissionUpdate",
			Handler:    _Wallet_AccountPermissionUpdate_Handler,
		},
		{
			MethodName: "AddSign",
			Handler:    _Wallet_AddSign_Handler,
		},
		{
			MethodName: "GetTransactionSignWeight",
			Handler:    _Wallet_GetTransactionSignWeight_Handler,
		},
		{
			MethodName: "GetTransactionApprovedList",
			Handler:    _Wallet_GetTransactionApprovedList_Handler,
		},
		{
			MethodName: "GetNodeInfo",
			Handler:    _Wallet_GetNodeInfo_Handler,
		},
		{
			MethodName: "GetRewardInfo",
			Handler:    _Wallet_GetRewardInfo_Handler,
		},
		{
			MethodName: "GetBrokerageInfo",
			Handler:    _Wallet_GetBrokerageInfo_Handler,
		},
		{
			MethodName: "UpdateBrokerage",
			Handler:    _Wallet_UpdateBrokerage_Handler,
		},
		{
			MethodName: "CreateShieldedTransaction",
			Handler:    _Wallet_CreateShieldedTransaction_Handler,
		},
		{
			MethodName: "GetMerkleTreeVoucherInfo",
			Handler:    _Wallet_GetMerkleTreeVoucherInfo_Handler,
		},
		{
			MethodName: "ScanNoteByIvk",
			Handler:    _Wallet_ScanNoteByIvk_Handler,
		},
		{
			MethodName: "ScanAndMarkNoteByIvk",
			Handler:    _Wallet_ScanAndMarkNoteByIvk_Handler,
		},
		{
			MethodName: "ScanNoteByOvk",
			Handler:    _Wallet_ScanNoteByOvk_Handler,
		},
		{
			MethodName: "GetSpendingKey",
			Handler:    _Wallet_GetSpendingKey_Handler,
		},
		{
			MethodName: "GetExpandedSpendingKey",
			Handler:    _Wallet_GetExpandedSpendingKey_Handler,
		},
		{
			MethodName: "GetAkFromAsk",
			Handler:    _Wallet_GetAkFromAsk_Handler,
		},
		{
			MethodName: "GetNkFromNsk",
			Handler:    _Wallet_GetNkFromNsk_Handler,
		},
		{
			MethodName: "GetIncomingViewingKey",
			Handler:    _Wallet_GetIncomingViewingKey_Handler,
		},
		{
			MethodName: "GetDiversifier",
			Handler:    _Wallet_GetDiversifier_Handler,
		},
		{
			MethodName: "GetNewShieldedAddress",
			Handler:    _Wallet_GetNewShieldedAddress_Handler,
		},
		{
			MethodName: "GetZenPaymentAddress",
			Handler:    _Wallet_GetZenPaymentAddress_Handler,
		},
		{
			MethodName: "GetRcm",
			Handler:    _Wallet_GetRcm_Handler,
		},
		{
			MethodName: "IsSpend",
			Handler:    _Wallet_IsSpend_Handler,
		},
		{
			MethodName: "CreateShieldedTransactionWithoutSpendAuthSig",
			Handler:    _Wallet_CreateShieldedTransactionWithoutSpendAuthSig_Handler,
		},
		{
			MethodName: "GetShieldTransactionHash",
			Handler:    _Wallet_GetShieldTransactionHash_Handler,
		},
		{
			MethodName: "CreateSpendAuthSig",
			Handler:    _Wallet_CreateSpendAuthSig_Handler,
		},
		{
			MethodName: "CreateShieldNullifier",
			Handler:    _Wallet_CreateShieldNullifier_Handler,
		},
		{
			MethodName: "CreateShieldedContractParameters",
			Handler:    _Wallet_CreateShieldedContractParameters_Handler,
		},
		{
			MethodName: "CreateShieldedContractParametersWithoutAsk",
			Handler:    _Wallet_CreateShieldedContractParametersWithoutAsk_Handler,
		},
		{
			MethodName: "ScanShieldedTRC20NotesByIvk",
			Handler:    _Wallet_ScanShieldedTRC20NotesByIvk_Handler,
		},
		{
			MethodName: "ScanShieldedTRC20NotesByOvk",
			Handler:    _Wallet_ScanShieldedTRC20NotesByOvk_Handler,
		},
		{
			MethodName: "IsShieldedTRC20ContractNoteSpent",
			Handler:    _Wallet_IsShieldedTRC20ContractNoteSpent_Handler,
		},
		{
			MethodName: "GetTriggerInputForShieldedTRC20Contract",
			Handler:    _Wallet_GetTriggerInputForShieldedTRC20Contract_Handler,
		},
		{
			MethodName: "CreateCommonTransaction",
			Handler:    _Wallet_CreateCommonTransaction_Handler,
		},
		{
			MethodName: "GetTransactionInfoByBlockNum",
			Handler:    _Wallet_GetTransactionInfoByBlockNum_Handler,
		},
		{
			MethodName: "GetBurnTrx",
			Handler:    _Wallet_GetBurnTrx_Handler,
		},
		{
			MethodName: "GetTransactionFromPending",
			Handler:    _Wallet_GetTransactionFromPending_Handler,
		},
		{
			MethodName: "GetTransactionListFromPending",
			Handler:    _Wallet_GetTransactionListFromPending_Handler,
		},
		{
			MethodName: "GetPendingSize",
			Handler:    _Wallet_GetPendingSize_Handler,
		},
		{
			MethodName: "GetBlock",
			Handler:    _Wallet_GetBlock_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api/api.proto",
}

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

Functions

func RegisterDatabaseServer

func RegisterDatabaseServer(s grpc.ServiceRegistrar, srv DatabaseServer)

func RegisterMonitorServer

func RegisterMonitorServer(s grpc.ServiceRegistrar, srv MonitorServer)

func RegisterNetworkServer

func RegisterNetworkServer(s grpc.ServiceRegistrar, srv NetworkServer)

func RegisterTronZksnarkServer

func RegisterTronZksnarkServer(s grpc.ServiceRegistrar, srv TronZksnarkServer)

func RegisterWalletExtensionServer

func RegisterWalletExtensionServer(s grpc.ServiceRegistrar, srv WalletExtensionServer)

func RegisterWalletServer

func RegisterWalletServer(s grpc.ServiceRegistrar, srv WalletServer)

func RegisterWalletSolidityServer

func RegisterWalletSolidityServer(s grpc.ServiceRegistrar, srv WalletSolidityServer)

Types

type AccountNetMessage

type AccountNetMessage struct {
	FreeNetUsed    int64            `protobuf:"varint,1,opt,name=freeNetUsed,proto3" json:"freeNetUsed,omitempty"`
	FreeNetLimit   int64            `protobuf:"varint,2,opt,name=freeNetLimit,proto3" json:"freeNetLimit,omitempty"`
	NetUsed        int64            `protobuf:"varint,3,opt,name=NetUsed,proto3" json:"NetUsed,omitempty"`
	NetLimit       int64            `protobuf:"varint,4,opt,name=NetLimit,proto3" json:"NetLimit,omitempty"`
	AssetNetUsed   map[string]int64 `` /* 166-byte string literal not displayed */
	AssetNetLimit  map[string]int64 `` /* 168-byte string literal not displayed */
	TotalNetLimit  int64            `protobuf:"varint,7,opt,name=TotalNetLimit,proto3" json:"TotalNetLimit,omitempty"`
	TotalNetWeight int64            `protobuf:"varint,8,opt,name=TotalNetWeight,proto3" json:"TotalNetWeight,omitempty"`
	// contains filtered or unexported fields
}

deprecated

func (*AccountNetMessage) Descriptor deprecated

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

Deprecated: Use AccountNetMessage.ProtoReflect.Descriptor instead.

func (*AccountNetMessage) GetAssetNetLimit

func (x *AccountNetMessage) GetAssetNetLimit() map[string]int64

func (*AccountNetMessage) GetAssetNetUsed

func (x *AccountNetMessage) GetAssetNetUsed() map[string]int64

func (*AccountNetMessage) GetFreeNetLimit

func (x *AccountNetMessage) GetFreeNetLimit() int64

func (*AccountNetMessage) GetFreeNetUsed

func (x *AccountNetMessage) GetFreeNetUsed() int64

func (*AccountNetMessage) GetNetLimit

func (x *AccountNetMessage) GetNetLimit() int64

func (*AccountNetMessage) GetNetUsed

func (x *AccountNetMessage) GetNetUsed() int64

func (*AccountNetMessage) GetTotalNetLimit

func (x *AccountNetMessage) GetTotalNetLimit() int64

func (*AccountNetMessage) GetTotalNetWeight

func (x *AccountNetMessage) GetTotalNetWeight() int64

func (*AccountNetMessage) ProtoMessage

func (*AccountNetMessage) ProtoMessage()

func (*AccountNetMessage) ProtoReflect

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

func (*AccountNetMessage) Reset

func (x *AccountNetMessage) Reset()

func (*AccountNetMessage) String

func (x *AccountNetMessage) String() string

type AccountPaginated

type AccountPaginated struct {
	Account *core.Account `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	Offset  int64         `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
	Limit   int64         `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"`
	// contains filtered or unexported fields
}

func (*AccountPaginated) Descriptor deprecated

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

Deprecated: Use AccountPaginated.ProtoReflect.Descriptor instead.

func (*AccountPaginated) GetAccount

func (x *AccountPaginated) GetAccount() *core.Account

func (*AccountPaginated) GetLimit

func (x *AccountPaginated) GetLimit() int64

func (*AccountPaginated) GetOffset

func (x *AccountPaginated) GetOffset() int64

func (*AccountPaginated) ProtoMessage

func (*AccountPaginated) ProtoMessage()

func (*AccountPaginated) ProtoReflect

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

func (*AccountPaginated) Reset

func (x *AccountPaginated) Reset()

func (*AccountPaginated) String

func (x *AccountPaginated) String() string

type AccountResourceMessage

type AccountResourceMessage struct {
	FreeNetUsed          int64            `protobuf:"varint,1,opt,name=freeNetUsed,proto3" json:"freeNetUsed,omitempty"`
	FreeNetLimit         int64            `protobuf:"varint,2,opt,name=freeNetLimit,proto3" json:"freeNetLimit,omitempty"`
	NetUsed              int64            `protobuf:"varint,3,opt,name=NetUsed,proto3" json:"NetUsed,omitempty"`
	NetLimit             int64            `protobuf:"varint,4,opt,name=NetLimit,proto3" json:"NetLimit,omitempty"`
	AssetNetUsed         map[string]int64 `` /* 166-byte string literal not displayed */
	AssetNetLimit        map[string]int64 `` /* 168-byte string literal not displayed */
	TotalNetLimit        int64            `protobuf:"varint,7,opt,name=TotalNetLimit,proto3" json:"TotalNetLimit,omitempty"`
	TotalNetWeight       int64            `protobuf:"varint,8,opt,name=TotalNetWeight,proto3" json:"TotalNetWeight,omitempty"`
	TotalTronPowerWeight int64            `protobuf:"varint,9,opt,name=TotalTronPowerWeight,proto3" json:"TotalTronPowerWeight,omitempty"`
	TronPowerUsed        int64            `protobuf:"varint,10,opt,name=tronPowerUsed,proto3" json:"tronPowerUsed,omitempty"`
	TronPowerLimit       int64            `protobuf:"varint,11,opt,name=tronPowerLimit,proto3" json:"tronPowerLimit,omitempty"`
	EnergyUsed           int64            `protobuf:"varint,13,opt,name=EnergyUsed,proto3" json:"EnergyUsed,omitempty"`
	EnergyLimit          int64            `protobuf:"varint,14,opt,name=EnergyLimit,proto3" json:"EnergyLimit,omitempty"`
	TotalEnergyLimit     int64            `protobuf:"varint,15,opt,name=TotalEnergyLimit,proto3" json:"TotalEnergyLimit,omitempty"`
	TotalEnergyWeight    int64            `protobuf:"varint,16,opt,name=TotalEnergyWeight,proto3" json:"TotalEnergyWeight,omitempty"`
	StorageUsed          int64            `protobuf:"varint,21,opt,name=storageUsed,proto3" json:"storageUsed,omitempty"`
	StorageLimit         int64            `protobuf:"varint,22,opt,name=storageLimit,proto3" json:"storageLimit,omitempty"`
	// contains filtered or unexported fields
}

func (*AccountResourceMessage) Descriptor deprecated

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

Deprecated: Use AccountResourceMessage.ProtoReflect.Descriptor instead.

func (*AccountResourceMessage) GetAssetNetLimit

func (x *AccountResourceMessage) GetAssetNetLimit() map[string]int64

func (*AccountResourceMessage) GetAssetNetUsed

func (x *AccountResourceMessage) GetAssetNetUsed() map[string]int64

func (*AccountResourceMessage) GetEnergyLimit

func (x *AccountResourceMessage) GetEnergyLimit() int64

func (*AccountResourceMessage) GetEnergyUsed

func (x *AccountResourceMessage) GetEnergyUsed() int64

func (*AccountResourceMessage) GetFreeNetLimit

func (x *AccountResourceMessage) GetFreeNetLimit() int64

func (*AccountResourceMessage) GetFreeNetUsed

func (x *AccountResourceMessage) GetFreeNetUsed() int64

func (*AccountResourceMessage) GetNetLimit

func (x *AccountResourceMessage) GetNetLimit() int64

func (*AccountResourceMessage) GetNetUsed

func (x *AccountResourceMessage) GetNetUsed() int64

func (*AccountResourceMessage) GetStorageLimit

func (x *AccountResourceMessage) GetStorageLimit() int64

func (*AccountResourceMessage) GetStorageUsed

func (x *AccountResourceMessage) GetStorageUsed() int64

func (*AccountResourceMessage) GetTotalEnergyLimit

func (x *AccountResourceMessage) GetTotalEnergyLimit() int64

func (*AccountResourceMessage) GetTotalEnergyWeight

func (x *AccountResourceMessage) GetTotalEnergyWeight() int64

func (*AccountResourceMessage) GetTotalNetLimit

func (x *AccountResourceMessage) GetTotalNetLimit() int64

func (*AccountResourceMessage) GetTotalNetWeight

func (x *AccountResourceMessage) GetTotalNetWeight() int64

func (*AccountResourceMessage) GetTotalTronPowerWeight

func (x *AccountResourceMessage) GetTotalTronPowerWeight() int64

func (*AccountResourceMessage) GetTronPowerLimit

func (x *AccountResourceMessage) GetTronPowerLimit() int64

func (*AccountResourceMessage) GetTronPowerUsed

func (x *AccountResourceMessage) GetTronPowerUsed() int64

func (*AccountResourceMessage) ProtoMessage

func (*AccountResourceMessage) ProtoMessage()

func (*AccountResourceMessage) ProtoReflect

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

func (*AccountResourceMessage) Reset

func (x *AccountResourceMessage) Reset()

func (*AccountResourceMessage) String

func (x *AccountResourceMessage) String() string

type Address

type Address struct {
	Host []byte `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
	Port int32  `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
	// contains filtered or unexported fields
}

Gossip node address

func (*Address) Descriptor deprecated

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

Deprecated: Use Address.ProtoReflect.Descriptor instead.

func (*Address) GetHost

func (x *Address) GetHost() []byte

func (*Address) GetPort

func (x *Address) GetPort() int32

func (*Address) ProtoMessage

func (*Address) ProtoMessage()

func (*Address) ProtoReflect

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

func (*Address) Reset

func (x *Address) Reset()

func (*Address) String

func (x *Address) String() string

type AddressPrKeyPairMessage

type AddressPrKeyPairMessage struct {
	Address    string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	PrivateKey string `protobuf:"bytes,2,opt,name=privateKey,proto3" json:"privateKey,omitempty"`
	// contains filtered or unexported fields
}

func (*AddressPrKeyPairMessage) Descriptor deprecated

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

Deprecated: Use AddressPrKeyPairMessage.ProtoReflect.Descriptor instead.

func (*AddressPrKeyPairMessage) GetAddress

func (x *AddressPrKeyPairMessage) GetAddress() string

func (*AddressPrKeyPairMessage) GetPrivateKey

func (x *AddressPrKeyPairMessage) GetPrivateKey() string

func (*AddressPrKeyPairMessage) ProtoMessage

func (*AddressPrKeyPairMessage) ProtoMessage()

func (*AddressPrKeyPairMessage) ProtoReflect

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

func (*AddressPrKeyPairMessage) Reset

func (x *AddressPrKeyPairMessage) Reset()

func (*AddressPrKeyPairMessage) String

func (x *AddressPrKeyPairMessage) String() string

type AssetIssueList

type AssetIssueList struct {
	AssetIssue []*core.AssetIssueContract `protobuf:"bytes,1,rep,name=assetIssue,proto3" json:"assetIssue,omitempty"`
	// contains filtered or unexported fields
}

func (*AssetIssueList) Descriptor deprecated

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

Deprecated: Use AssetIssueList.ProtoReflect.Descriptor instead.

func (*AssetIssueList) GetAssetIssue

func (x *AssetIssueList) GetAssetIssue() []*core.AssetIssueContract

func (*AssetIssueList) ProtoMessage

func (*AssetIssueList) ProtoMessage()

func (*AssetIssueList) ProtoReflect

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

func (*AssetIssueList) Reset

func (x *AssetIssueList) Reset()

func (*AssetIssueList) String

func (x *AssetIssueList) String() string

type BlockExtention

type BlockExtention struct {
	Transactions []*TransactionExtention `protobuf:"bytes,1,rep,name=transactions,proto3" json:"transactions,omitempty"`
	BlockHeader  *core.BlockHeader       `protobuf:"bytes,2,opt,name=block_header,json=blockHeader,proto3" json:"block_header,omitempty"`
	Blockid      []byte                  `protobuf:"bytes,3,opt,name=blockid,proto3" json:"blockid,omitempty"`
	// contains filtered or unexported fields
}

func (*BlockExtention) Descriptor deprecated

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

Deprecated: Use BlockExtention.ProtoReflect.Descriptor instead.

func (*BlockExtention) GetBlockHeader

func (x *BlockExtention) GetBlockHeader() *core.BlockHeader

func (*BlockExtention) GetBlockid

func (x *BlockExtention) GetBlockid() []byte

func (*BlockExtention) GetTransactions

func (x *BlockExtention) GetTransactions() []*TransactionExtention

func (*BlockExtention) ProtoMessage

func (*BlockExtention) ProtoMessage()

func (*BlockExtention) ProtoReflect

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

func (*BlockExtention) Reset

func (x *BlockExtention) Reset()

func (*BlockExtention) String

func (x *BlockExtention) String() string

type BlockIncrementalMerkleTree

type BlockIncrementalMerkleTree struct {
	Number     int64                       `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"`
	MerkleTree *core.IncrementalMerkleTree `protobuf:"bytes,2,opt,name=merkleTree,proto3" json:"merkleTree,omitempty"`
	// contains filtered or unexported fields
}

func (*BlockIncrementalMerkleTree) Descriptor deprecated

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

Deprecated: Use BlockIncrementalMerkleTree.ProtoReflect.Descriptor instead.

func (*BlockIncrementalMerkleTree) GetMerkleTree

func (*BlockIncrementalMerkleTree) GetNumber

func (x *BlockIncrementalMerkleTree) GetNumber() int64

func (*BlockIncrementalMerkleTree) ProtoMessage

func (*BlockIncrementalMerkleTree) ProtoMessage()

func (*BlockIncrementalMerkleTree) ProtoReflect

func (*BlockIncrementalMerkleTree) Reset

func (x *BlockIncrementalMerkleTree) Reset()

func (*BlockIncrementalMerkleTree) String

func (x *BlockIncrementalMerkleTree) String() string

type BlockLimit

type BlockLimit struct {
	StartNum int64 `protobuf:"varint,1,opt,name=startNum,proto3" json:"startNum,omitempty"`
	EndNum   int64 `protobuf:"varint,2,opt,name=endNum,proto3" json:"endNum,omitempty"`
	// contains filtered or unexported fields
}

func (*BlockLimit) Descriptor deprecated

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

Deprecated: Use BlockLimit.ProtoReflect.Descriptor instead.

func (*BlockLimit) GetEndNum

func (x *BlockLimit) GetEndNum() int64

func (*BlockLimit) GetStartNum

func (x *BlockLimit) GetStartNum() int64

func (*BlockLimit) ProtoMessage

func (*BlockLimit) ProtoMessage()

func (*BlockLimit) ProtoReflect

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

func (*BlockLimit) Reset

func (x *BlockLimit) Reset()

func (*BlockLimit) String

func (x *BlockLimit) String() string

type BlockList

type BlockList struct {
	Block []*core.Block `protobuf:"bytes,1,rep,name=block,proto3" json:"block,omitempty"`
	// contains filtered or unexported fields
}

func (*BlockList) Descriptor deprecated

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

Deprecated: Use BlockList.ProtoReflect.Descriptor instead.

func (*BlockList) GetBlock

func (x *BlockList) GetBlock() []*core.Block

func (*BlockList) ProtoMessage

func (*BlockList) ProtoMessage()

func (*BlockList) ProtoReflect

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

func (*BlockList) Reset

func (x *BlockList) Reset()

func (*BlockList) String

func (x *BlockList) String() string

type BlockListExtention

type BlockListExtention struct {
	Block []*BlockExtention `protobuf:"bytes,1,rep,name=block,proto3" json:"block,omitempty"`
	// contains filtered or unexported fields
}

func (*BlockListExtention) Descriptor deprecated

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

Deprecated: Use BlockListExtention.ProtoReflect.Descriptor instead.

func (*BlockListExtention) GetBlock

func (x *BlockListExtention) GetBlock() []*BlockExtention

func (*BlockListExtention) ProtoMessage

func (*BlockListExtention) ProtoMessage()

func (*BlockListExtention) ProtoReflect

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

func (*BlockListExtention) Reset

func (x *BlockListExtention) Reset()

func (*BlockListExtention) String

func (x *BlockListExtention) String() string

type BlockReference

type BlockReference struct {
	BlockNum  int64  `protobuf:"varint,1,opt,name=block_num,json=blockNum,proto3" json:"block_num,omitempty"`
	BlockHash []byte `protobuf:"bytes,2,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"`
	// contains filtered or unexported fields
}

func (*BlockReference) Descriptor deprecated

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

Deprecated: Use BlockReference.ProtoReflect.Descriptor instead.

func (*BlockReference) GetBlockHash

func (x *BlockReference) GetBlockHash() []byte

func (*BlockReference) GetBlockNum

func (x *BlockReference) GetBlockNum() int64

func (*BlockReference) ProtoMessage

func (*BlockReference) ProtoMessage()

func (*BlockReference) ProtoReflect

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

func (*BlockReference) Reset

func (x *BlockReference) Reset()

func (*BlockReference) String

func (x *BlockReference) String() string

type BlockReq

type BlockReq struct {
	IdOrNum string `protobuf:"bytes,1,opt,name=id_or_num,json=idOrNum,proto3" json:"id_or_num,omitempty"`
	Detail  bool   `protobuf:"varint,2,opt,name=detail,proto3" json:"detail,omitempty"`
	// contains filtered or unexported fields
}

func (*BlockReq) Descriptor deprecated

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

Deprecated: Use BlockReq.ProtoReflect.Descriptor instead.

func (*BlockReq) GetDetail

func (x *BlockReq) GetDetail() bool

func (*BlockReq) GetIdOrNum

func (x *BlockReq) GetIdOrNum() string

func (*BlockReq) ProtoMessage

func (*BlockReq) ProtoMessage()

func (*BlockReq) ProtoReflect

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

func (*BlockReq) Reset

func (x *BlockReq) Reset()

func (*BlockReq) String

func (x *BlockReq) String() string

type BytesMessage

type BytesMessage struct {
	Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*BytesMessage) Descriptor deprecated

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

Deprecated: Use BytesMessage.ProtoReflect.Descriptor instead.

func (*BytesMessage) GetValue

func (x *BytesMessage) GetValue() []byte

func (*BytesMessage) ProtoMessage

func (*BytesMessage) ProtoMessage()

func (*BytesMessage) ProtoReflect

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

func (*BytesMessage) Reset

func (x *BytesMessage) Reset()

func (*BytesMessage) String

func (x *BytesMessage) String() string

type CanDelegatedMaxSizeRequestMessage

type CanDelegatedMaxSizeRequestMessage struct {
	Type         int32  `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"`
	OwnerAddress []byte `protobuf:"bytes,2,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"`
	// contains filtered or unexported fields
}

GetCanDelegatedMaxSize

func (*CanDelegatedMaxSizeRequestMessage) Descriptor deprecated

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

Deprecated: Use CanDelegatedMaxSizeRequestMessage.ProtoReflect.Descriptor instead.

func (*CanDelegatedMaxSizeRequestMessage) GetOwnerAddress

func (x *CanDelegatedMaxSizeRequestMessage) GetOwnerAddress() []byte

func (*CanDelegatedMaxSizeRequestMessage) GetType

func (*CanDelegatedMaxSizeRequestMessage) ProtoMessage

func (*CanDelegatedMaxSizeRequestMessage) ProtoMessage()

func (*CanDelegatedMaxSizeRequestMessage) ProtoReflect

func (*CanDelegatedMaxSizeRequestMessage) Reset

func (*CanDelegatedMaxSizeRequestMessage) String

type CanDelegatedMaxSizeResponseMessage

type CanDelegatedMaxSizeResponseMessage struct {
	MaxSize int64 `protobuf:"varint,1,opt,name=max_size,json=maxSize,proto3" json:"max_size,omitempty"`
	// contains filtered or unexported fields
}

func (*CanDelegatedMaxSizeResponseMessage) Descriptor deprecated

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

Deprecated: Use CanDelegatedMaxSizeResponseMessage.ProtoReflect.Descriptor instead.

func (*CanDelegatedMaxSizeResponseMessage) GetMaxSize

func (x *CanDelegatedMaxSizeResponseMessage) GetMaxSize() int64

func (*CanDelegatedMaxSizeResponseMessage) ProtoMessage

func (*CanDelegatedMaxSizeResponseMessage) ProtoMessage()

func (*CanDelegatedMaxSizeResponseMessage) ProtoReflect

func (*CanDelegatedMaxSizeResponseMessage) Reset

func (*CanDelegatedMaxSizeResponseMessage) String

type CanWithdrawUnfreezeAmountRequestMessage

type CanWithdrawUnfreezeAmountRequestMessage struct {
	OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"`
	Timestamp    int64  `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// contains filtered or unexported fields
}

GetCanWithdrawUnfreezeAmount

func (*CanWithdrawUnfreezeAmountRequestMessage) Descriptor deprecated

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

Deprecated: Use CanWithdrawUnfreezeAmountRequestMessage.ProtoReflect.Descriptor instead.

func (*CanWithdrawUnfreezeAmountRequestMessage) GetOwnerAddress

func (x *CanWithdrawUnfreezeAmountRequestMessage) GetOwnerAddress() []byte

func (*CanWithdrawUnfreezeAmountRequestMessage) GetTimestamp

func (*CanWithdrawUnfreezeAmountRequestMessage) ProtoMessage

func (*CanWithdrawUnfreezeAmountRequestMessage) ProtoReflect

func (*CanWithdrawUnfreezeAmountRequestMessage) Reset

func (*CanWithdrawUnfreezeAmountRequestMessage) String

type CanWithdrawUnfreezeAmountResponseMessage

type CanWithdrawUnfreezeAmountResponseMessage struct {
	Amount int64 `protobuf:"varint,1,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

func (*CanWithdrawUnfreezeAmountResponseMessage) Descriptor deprecated

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

Deprecated: Use CanWithdrawUnfreezeAmountResponseMessage.ProtoReflect.Descriptor instead.

func (*CanWithdrawUnfreezeAmountResponseMessage) GetAmount

func (*CanWithdrawUnfreezeAmountResponseMessage) ProtoMessage

func (*CanWithdrawUnfreezeAmountResponseMessage) ProtoReflect

func (*CanWithdrawUnfreezeAmountResponseMessage) Reset

func (*CanWithdrawUnfreezeAmountResponseMessage) String

type DatabaseClient

type DatabaseClient interface {
	// for tapos
	GetBlockReference(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*BlockReference, error)
	GetDynamicProperties(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*core.DynamicProperties, error)
	GetNowBlock(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*core.Block, error)
	GetBlockByNum(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*core.Block, error)
}

DatabaseClient is the client API for Database 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.

func NewDatabaseClient

func NewDatabaseClient(cc grpc.ClientConnInterface) DatabaseClient

type DatabaseServer

type DatabaseServer interface {
	// for tapos
	GetBlockReference(context.Context, *EmptyMessage) (*BlockReference, error)
	GetDynamicProperties(context.Context, *EmptyMessage) (*core.DynamicProperties, error)
	GetNowBlock(context.Context, *EmptyMessage) (*core.Block, error)
	GetBlockByNum(context.Context, *NumberMessage) (*core.Block, error)
	// contains filtered or unexported methods
}

DatabaseServer is the server API for Database service. All implementations must embed UnimplementedDatabaseServer for forward compatibility

type DecryptNotes

type DecryptNotes struct {
	NoteTxs []*DecryptNotes_NoteTx `protobuf:"bytes,1,rep,name=noteTxs,proto3" json:"noteTxs,omitempty"`
	// contains filtered or unexported fields
}

func (*DecryptNotes) Descriptor deprecated

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

Deprecated: Use DecryptNotes.ProtoReflect.Descriptor instead.

func (*DecryptNotes) GetNoteTxs

func (x *DecryptNotes) GetNoteTxs() []*DecryptNotes_NoteTx

func (*DecryptNotes) ProtoMessage

func (*DecryptNotes) ProtoMessage()

func (*DecryptNotes) ProtoReflect

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

func (*DecryptNotes) Reset

func (x *DecryptNotes) Reset()

func (*DecryptNotes) String

func (x *DecryptNotes) String() string

type DecryptNotesMarked

type DecryptNotesMarked struct {
	NoteTxs []*DecryptNotesMarked_NoteTx `protobuf:"bytes,1,rep,name=noteTxs,proto3" json:"noteTxs,omitempty"`
	// contains filtered or unexported fields
}

func (*DecryptNotesMarked) Descriptor deprecated

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

Deprecated: Use DecryptNotesMarked.ProtoReflect.Descriptor instead.

func (*DecryptNotesMarked) GetNoteTxs

func (x *DecryptNotesMarked) GetNoteTxs() []*DecryptNotesMarked_NoteTx

func (*DecryptNotesMarked) ProtoMessage

func (*DecryptNotesMarked) ProtoMessage()

func (*DecryptNotesMarked) ProtoReflect

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

func (*DecryptNotesMarked) Reset

func (x *DecryptNotesMarked) Reset()

func (*DecryptNotesMarked) String

func (x *DecryptNotesMarked) String() string

type DecryptNotesMarked_NoteTx

type DecryptNotesMarked_NoteTx struct {
	Note    *Note  `protobuf:"bytes,1,opt,name=note,proto3" json:"note,omitempty"`
	Txid    []byte `protobuf:"bytes,2,opt,name=txid,proto3" json:"txid,omitempty"`    //transaction id =  sha256(transaction.rowdata)
	Index   int32  `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"` //the index of note in receive
	IsSpend bool   `protobuf:"varint,4,opt,name=is_spend,json=isSpend,proto3" json:"is_spend,omitempty"`
	// contains filtered or unexported fields
}

func (*DecryptNotesMarked_NoteTx) Descriptor deprecated

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

Deprecated: Use DecryptNotesMarked_NoteTx.ProtoReflect.Descriptor instead.

func (*DecryptNotesMarked_NoteTx) GetIndex

func (x *DecryptNotesMarked_NoteTx) GetIndex() int32

func (*DecryptNotesMarked_NoteTx) GetIsSpend

func (x *DecryptNotesMarked_NoteTx) GetIsSpend() bool

func (*DecryptNotesMarked_NoteTx) GetNote

func (x *DecryptNotesMarked_NoteTx) GetNote() *Note

func (*DecryptNotesMarked_NoteTx) GetTxid

func (x *DecryptNotesMarked_NoteTx) GetTxid() []byte

func (*DecryptNotesMarked_NoteTx) ProtoMessage

func (*DecryptNotesMarked_NoteTx) ProtoMessage()

func (*DecryptNotesMarked_NoteTx) ProtoReflect

func (*DecryptNotesMarked_NoteTx) Reset

func (x *DecryptNotesMarked_NoteTx) Reset()

func (*DecryptNotesMarked_NoteTx) String

func (x *DecryptNotesMarked_NoteTx) String() string

type DecryptNotesTRC20

type DecryptNotesTRC20 struct {
	NoteTxs []*DecryptNotesTRC20_NoteTx `protobuf:"bytes,1,rep,name=noteTxs,proto3" json:"noteTxs,omitempty"`
	// contains filtered or unexported fields
}

func (*DecryptNotesTRC20) Descriptor deprecated

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

Deprecated: Use DecryptNotesTRC20.ProtoReflect.Descriptor instead.

func (*DecryptNotesTRC20) GetNoteTxs

func (x *DecryptNotesTRC20) GetNoteTxs() []*DecryptNotesTRC20_NoteTx

func (*DecryptNotesTRC20) ProtoMessage

func (*DecryptNotesTRC20) ProtoMessage()

func (*DecryptNotesTRC20) ProtoReflect

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

func (*DecryptNotesTRC20) Reset

func (x *DecryptNotesTRC20) Reset()

func (*DecryptNotesTRC20) String

func (x *DecryptNotesTRC20) String() string

type DecryptNotesTRC20_NoteTx

type DecryptNotesTRC20_NoteTx struct {
	Note                 *Note  `protobuf:"bytes,1,opt,name=note,proto3" json:"note,omitempty"`
	Position             int64  `protobuf:"varint,2,opt,name=position,proto3" json:"position,omitempty"`
	IsSpent              bool   `protobuf:"varint,3,opt,name=is_spent,json=isSpent,proto3" json:"is_spent,omitempty"`
	Txid                 []byte `protobuf:"bytes,4,opt,name=txid,proto3" json:"txid,omitempty"`
	Index                int32  `protobuf:"varint,5,opt,name=index,proto3" json:"index,omitempty"` //the index of note in txid
	ToAmount             string `protobuf:"bytes,6,opt,name=to_amount,json=toAmount,proto3" json:"to_amount,omitempty"`
	TransparentToAddress []byte `protobuf:"bytes,7,opt,name=transparent_to_address,json=transparentToAddress,proto3" json:"transparent_to_address,omitempty"`
	// contains filtered or unexported fields
}

func (*DecryptNotesTRC20_NoteTx) Descriptor deprecated

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

Deprecated: Use DecryptNotesTRC20_NoteTx.ProtoReflect.Descriptor instead.

func (*DecryptNotesTRC20_NoteTx) GetIndex

func (x *DecryptNotesTRC20_NoteTx) GetIndex() int32

func (*DecryptNotesTRC20_NoteTx) GetIsSpent

func (x *DecryptNotesTRC20_NoteTx) GetIsSpent() bool

func (*DecryptNotesTRC20_NoteTx) GetNote

func (x *DecryptNotesTRC20_NoteTx) GetNote() *Note

func (*DecryptNotesTRC20_NoteTx) GetPosition

func (x *DecryptNotesTRC20_NoteTx) GetPosition() int64

func (*DecryptNotesTRC20_NoteTx) GetToAmount

func (x *DecryptNotesTRC20_NoteTx) GetToAmount() string

func (*DecryptNotesTRC20_NoteTx) GetTransparentToAddress

func (x *DecryptNotesTRC20_NoteTx) GetTransparentToAddress() []byte

func (*DecryptNotesTRC20_NoteTx) GetTxid

func (x *DecryptNotesTRC20_NoteTx) GetTxid() []byte

func (*DecryptNotesTRC20_NoteTx) ProtoMessage

func (*DecryptNotesTRC20_NoteTx) ProtoMessage()

func (*DecryptNotesTRC20_NoteTx) ProtoReflect

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

func (*DecryptNotesTRC20_NoteTx) Reset

func (x *DecryptNotesTRC20_NoteTx) Reset()

func (*DecryptNotesTRC20_NoteTx) String

func (x *DecryptNotesTRC20_NoteTx) String() string

type DecryptNotes_NoteTx

type DecryptNotes_NoteTx struct {
	Note  *Note  `protobuf:"bytes,1,opt,name=note,proto3" json:"note,omitempty"`
	Txid  []byte `protobuf:"bytes,2,opt,name=txid,proto3" json:"txid,omitempty"`    //transaction id =  sha256(transaction.rowdata)
	Index int32  `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"` //the index of note in receive
	// contains filtered or unexported fields
}

func (*DecryptNotes_NoteTx) Descriptor deprecated

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

Deprecated: Use DecryptNotes_NoteTx.ProtoReflect.Descriptor instead.

func (*DecryptNotes_NoteTx) GetIndex

func (x *DecryptNotes_NoteTx) GetIndex() int32

func (*DecryptNotes_NoteTx) GetNote

func (x *DecryptNotes_NoteTx) GetNote() *Note

func (*DecryptNotes_NoteTx) GetTxid

func (x *DecryptNotes_NoteTx) GetTxid() []byte

func (*DecryptNotes_NoteTx) ProtoMessage

func (*DecryptNotes_NoteTx) ProtoMessage()

func (*DecryptNotes_NoteTx) ProtoReflect

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

func (*DecryptNotes_NoteTx) Reset

func (x *DecryptNotes_NoteTx) Reset()

func (*DecryptNotes_NoteTx) String

func (x *DecryptNotes_NoteTx) String() string

type DelegatedResourceList

type DelegatedResourceList struct {
	DelegatedResource []*core.DelegatedResource `protobuf:"bytes,1,rep,name=delegatedResource,proto3" json:"delegatedResource,omitempty"`
	// contains filtered or unexported fields
}

func (*DelegatedResourceList) Descriptor deprecated

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

Deprecated: Use DelegatedResourceList.ProtoReflect.Descriptor instead.

func (*DelegatedResourceList) GetDelegatedResource

func (x *DelegatedResourceList) GetDelegatedResource() []*core.DelegatedResource

func (*DelegatedResourceList) ProtoMessage

func (*DelegatedResourceList) ProtoMessage()

func (*DelegatedResourceList) ProtoReflect

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

func (*DelegatedResourceList) Reset

func (x *DelegatedResourceList) Reset()

func (*DelegatedResourceList) String

func (x *DelegatedResourceList) String() string

type DelegatedResourceMessage

type DelegatedResourceMessage struct {
	FromAddress []byte `protobuf:"bytes,1,opt,name=fromAddress,proto3" json:"fromAddress,omitempty"`
	ToAddress   []byte `protobuf:"bytes,2,opt,name=toAddress,proto3" json:"toAddress,omitempty"`
	// contains filtered or unexported fields
}

func (*DelegatedResourceMessage) Descriptor deprecated

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

Deprecated: Use DelegatedResourceMessage.ProtoReflect.Descriptor instead.

func (*DelegatedResourceMessage) GetFromAddress

func (x *DelegatedResourceMessage) GetFromAddress() []byte

func (*DelegatedResourceMessage) GetToAddress

func (x *DelegatedResourceMessage) GetToAddress() []byte

func (*DelegatedResourceMessage) ProtoMessage

func (*DelegatedResourceMessage) ProtoMessage()

func (*DelegatedResourceMessage) ProtoReflect

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

func (*DelegatedResourceMessage) Reset

func (x *DelegatedResourceMessage) Reset()

func (*DelegatedResourceMessage) String

func (x *DelegatedResourceMessage) String() string

type DiversifierMessage

type DiversifierMessage struct {
	D []byte `protobuf:"bytes,1,opt,name=d,proto3" json:"d,omitempty"`
	// contains filtered or unexported fields
}

func (*DiversifierMessage) Descriptor deprecated

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

Deprecated: Use DiversifierMessage.ProtoReflect.Descriptor instead.

func (*DiversifierMessage) GetD

func (x *DiversifierMessage) GetD() []byte

func (*DiversifierMessage) ProtoMessage

func (*DiversifierMessage) ProtoMessage()

func (*DiversifierMessage) ProtoReflect

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

func (*DiversifierMessage) Reset

func (x *DiversifierMessage) Reset()

func (*DiversifierMessage) String

func (x *DiversifierMessage) String() string

type EasyTransferAssetByPrivateMessage

type EasyTransferAssetByPrivateMessage struct {
	PrivateKey []byte `protobuf:"bytes,1,opt,name=privateKey,proto3" json:"privateKey,omitempty"`
	ToAddress  []byte `protobuf:"bytes,2,opt,name=toAddress,proto3" json:"toAddress,omitempty"`
	AssetId    string `protobuf:"bytes,3,opt,name=assetId,proto3" json:"assetId,omitempty"`
	Amount     int64  `protobuf:"varint,4,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

func (*EasyTransferAssetByPrivateMessage) Descriptor deprecated

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

Deprecated: Use EasyTransferAssetByPrivateMessage.ProtoReflect.Descriptor instead.

func (*EasyTransferAssetByPrivateMessage) GetAmount

func (*EasyTransferAssetByPrivateMessage) GetAssetId

func (x *EasyTransferAssetByPrivateMessage) GetAssetId() string

func (*EasyTransferAssetByPrivateMessage) GetPrivateKey

func (x *EasyTransferAssetByPrivateMessage) GetPrivateKey() []byte

func (*EasyTransferAssetByPrivateMessage) GetToAddress

func (x *EasyTransferAssetByPrivateMessage) GetToAddress() []byte

func (*EasyTransferAssetByPrivateMessage) ProtoMessage

func (*EasyTransferAssetByPrivateMessage) ProtoMessage()

func (*EasyTransferAssetByPrivateMessage) ProtoReflect

func (*EasyTransferAssetByPrivateMessage) Reset

func (*EasyTransferAssetByPrivateMessage) String

type EasyTransferAssetMessage

type EasyTransferAssetMessage struct {
	PassPhrase []byte `protobuf:"bytes,1,opt,name=passPhrase,proto3" json:"passPhrase,omitempty"`
	ToAddress  []byte `protobuf:"bytes,2,opt,name=toAddress,proto3" json:"toAddress,omitempty"`
	AssetId    string `protobuf:"bytes,3,opt,name=assetId,proto3" json:"assetId,omitempty"`
	Amount     int64  `protobuf:"varint,4,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

func (*EasyTransferAssetMessage) Descriptor deprecated

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

Deprecated: Use EasyTransferAssetMessage.ProtoReflect.Descriptor instead.

func (*EasyTransferAssetMessage) GetAmount

func (x *EasyTransferAssetMessage) GetAmount() int64

func (*EasyTransferAssetMessage) GetAssetId

func (x *EasyTransferAssetMessage) GetAssetId() string

func (*EasyTransferAssetMessage) GetPassPhrase

func (x *EasyTransferAssetMessage) GetPassPhrase() []byte

func (*EasyTransferAssetMessage) GetToAddress

func (x *EasyTransferAssetMessage) GetToAddress() []byte

func (*EasyTransferAssetMessage) ProtoMessage

func (*EasyTransferAssetMessage) ProtoMessage()

func (*EasyTransferAssetMessage) ProtoReflect

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

func (*EasyTransferAssetMessage) Reset

func (x *EasyTransferAssetMessage) Reset()

func (*EasyTransferAssetMessage) String

func (x *EasyTransferAssetMessage) String() string

type EasyTransferByPrivateMessage

type EasyTransferByPrivateMessage struct {
	PrivateKey []byte `protobuf:"bytes,1,opt,name=privateKey,proto3" json:"privateKey,omitempty"`
	ToAddress  []byte `protobuf:"bytes,2,opt,name=toAddress,proto3" json:"toAddress,omitempty"`
	Amount     int64  `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

func (*EasyTransferByPrivateMessage) Descriptor deprecated

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

Deprecated: Use EasyTransferByPrivateMessage.ProtoReflect.Descriptor instead.

func (*EasyTransferByPrivateMessage) GetAmount

func (x *EasyTransferByPrivateMessage) GetAmount() int64

func (*EasyTransferByPrivateMessage) GetPrivateKey

func (x *EasyTransferByPrivateMessage) GetPrivateKey() []byte

func (*EasyTransferByPrivateMessage) GetToAddress

func (x *EasyTransferByPrivateMessage) GetToAddress() []byte

func (*EasyTransferByPrivateMessage) ProtoMessage

func (*EasyTransferByPrivateMessage) ProtoMessage()

func (*EasyTransferByPrivateMessage) ProtoReflect

func (*EasyTransferByPrivateMessage) Reset

func (x *EasyTransferByPrivateMessage) Reset()

func (*EasyTransferByPrivateMessage) String

type EasyTransferMessage

type EasyTransferMessage struct {
	PassPhrase []byte `protobuf:"bytes,1,opt,name=passPhrase,proto3" json:"passPhrase,omitempty"`
	ToAddress  []byte `protobuf:"bytes,2,opt,name=toAddress,proto3" json:"toAddress,omitempty"`
	Amount     int64  `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

func (*EasyTransferMessage) Descriptor deprecated

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

Deprecated: Use EasyTransferMessage.ProtoReflect.Descriptor instead.

func (*EasyTransferMessage) GetAmount

func (x *EasyTransferMessage) GetAmount() int64

func (*EasyTransferMessage) GetPassPhrase

func (x *EasyTransferMessage) GetPassPhrase() []byte

func (*EasyTransferMessage) GetToAddress

func (x *EasyTransferMessage) GetToAddress() []byte

func (*EasyTransferMessage) ProtoMessage

func (*EasyTransferMessage) ProtoMessage()

func (*EasyTransferMessage) ProtoReflect

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

func (*EasyTransferMessage) Reset

func (x *EasyTransferMessage) Reset()

func (*EasyTransferMessage) String

func (x *EasyTransferMessage) String() string

type EasyTransferResponse

type EasyTransferResponse struct {
	Transaction *core.Transaction `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"`
	Result      *Return           `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"`
	Txid        []byte            `protobuf:"bytes,3,opt,name=txid,proto3" json:"txid,omitempty"` //transaction id =  sha256(transaction.rowdata)
	// contains filtered or unexported fields
}

func (*EasyTransferResponse) Descriptor deprecated

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

Deprecated: Use EasyTransferResponse.ProtoReflect.Descriptor instead.

func (*EasyTransferResponse) GetResult

func (x *EasyTransferResponse) GetResult() *Return

func (*EasyTransferResponse) GetTransaction

func (x *EasyTransferResponse) GetTransaction() *core.Transaction

func (*EasyTransferResponse) GetTxid

func (x *EasyTransferResponse) GetTxid() []byte

func (*EasyTransferResponse) ProtoMessage

func (*EasyTransferResponse) ProtoMessage()

func (*EasyTransferResponse) ProtoReflect

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

func (*EasyTransferResponse) Reset

func (x *EasyTransferResponse) Reset()

func (*EasyTransferResponse) String

func (x *EasyTransferResponse) String() string

type EmptyMessage

type EmptyMessage struct {
	// contains filtered or unexported fields
}

func (*EmptyMessage) Descriptor deprecated

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

Deprecated: Use EmptyMessage.ProtoReflect.Descriptor instead.

func (*EmptyMessage) ProtoMessage

func (*EmptyMessage) ProtoMessage()

func (*EmptyMessage) ProtoReflect

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

func (*EmptyMessage) Reset

func (x *EmptyMessage) Reset()

func (*EmptyMessage) String

func (x *EmptyMessage) String() string

type EstimateEnergyMessage

type EstimateEnergyMessage struct {
	Result         *Return `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
	EnergyRequired int64   `protobuf:"varint,2,opt,name=energy_required,json=energyRequired,proto3" json:"energy_required,omitempty"`
	// contains filtered or unexported fields
}

func (*EstimateEnergyMessage) Descriptor deprecated

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

Deprecated: Use EstimateEnergyMessage.ProtoReflect.Descriptor instead.

func (*EstimateEnergyMessage) GetEnergyRequired

func (x *EstimateEnergyMessage) GetEnergyRequired() int64

func (*EstimateEnergyMessage) GetResult

func (x *EstimateEnergyMessage) GetResult() *Return

func (*EstimateEnergyMessage) ProtoMessage

func (*EstimateEnergyMessage) ProtoMessage()

func (*EstimateEnergyMessage) ProtoReflect

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

func (*EstimateEnergyMessage) Reset

func (x *EstimateEnergyMessage) Reset()

func (*EstimateEnergyMessage) String

func (x *EstimateEnergyMessage) String() string

type ExchangeList

type ExchangeList struct {
	Exchanges []*core.Exchange `protobuf:"bytes,1,rep,name=exchanges,proto3" json:"exchanges,omitempty"`
	// contains filtered or unexported fields
}

func (*ExchangeList) Descriptor deprecated

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

Deprecated: Use ExchangeList.ProtoReflect.Descriptor instead.

func (*ExchangeList) GetExchanges

func (x *ExchangeList) GetExchanges() []*core.Exchange

func (*ExchangeList) ProtoMessage

func (*ExchangeList) ProtoMessage()

func (*ExchangeList) ProtoReflect

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

func (*ExchangeList) Reset

func (x *ExchangeList) Reset()

func (*ExchangeList) String

func (x *ExchangeList) String() string

type ExpandedSpendingKeyMessage

type ExpandedSpendingKeyMessage struct {
	Ask []byte `protobuf:"bytes,1,opt,name=ask,proto3" json:"ask,omitempty"`
	Nsk []byte `protobuf:"bytes,2,opt,name=nsk,proto3" json:"nsk,omitempty"`
	Ovk []byte `protobuf:"bytes,3,opt,name=ovk,proto3" json:"ovk,omitempty"`
	// contains filtered or unexported fields
}

func (*ExpandedSpendingKeyMessage) Descriptor deprecated

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

Deprecated: Use ExpandedSpendingKeyMessage.ProtoReflect.Descriptor instead.

func (*ExpandedSpendingKeyMessage) GetAsk

func (x *ExpandedSpendingKeyMessage) GetAsk() []byte

func (*ExpandedSpendingKeyMessage) GetNsk

func (x *ExpandedSpendingKeyMessage) GetNsk() []byte

func (*ExpandedSpendingKeyMessage) GetOvk

func (x *ExpandedSpendingKeyMessage) GetOvk() []byte

func (*ExpandedSpendingKeyMessage) ProtoMessage

func (*ExpandedSpendingKeyMessage) ProtoMessage()

func (*ExpandedSpendingKeyMessage) ProtoReflect

func (*ExpandedSpendingKeyMessage) Reset

func (x *ExpandedSpendingKeyMessage) Reset()

func (*ExpandedSpendingKeyMessage) String

func (x *ExpandedSpendingKeyMessage) String() string

type GetAvailableUnfreezeCountRequestMessage

type GetAvailableUnfreezeCountRequestMessage struct {
	OwnerAddress []byte `protobuf:"bytes,1,opt,name=owner_address,json=ownerAddress,proto3" json:"owner_address,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAvailableUnfreezeCountRequestMessage) Descriptor deprecated

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

Deprecated: Use GetAvailableUnfreezeCountRequestMessage.ProtoReflect.Descriptor instead.

func (*GetAvailableUnfreezeCountRequestMessage) GetOwnerAddress

func (x *GetAvailableUnfreezeCountRequestMessage) GetOwnerAddress() []byte

func (*GetAvailableUnfreezeCountRequestMessage) ProtoMessage

func (*GetAvailableUnfreezeCountRequestMessage) ProtoReflect

func (*GetAvailableUnfreezeCountRequestMessage) Reset

func (*GetAvailableUnfreezeCountRequestMessage) String

type GetAvailableUnfreezeCountResponseMessage

type GetAvailableUnfreezeCountResponseMessage struct {
	Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAvailableUnfreezeCountResponseMessage) Descriptor deprecated

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

Deprecated: Use GetAvailableUnfreezeCountResponseMessage.ProtoReflect.Descriptor instead.

func (*GetAvailableUnfreezeCountResponseMessage) GetCount

func (*GetAvailableUnfreezeCountResponseMessage) ProtoMessage

func (*GetAvailableUnfreezeCountResponseMessage) ProtoReflect

func (*GetAvailableUnfreezeCountResponseMessage) Reset

func (*GetAvailableUnfreezeCountResponseMessage) String

type IncomingViewingKeyDiversifierMessage

type IncomingViewingKeyDiversifierMessage struct {
	Ivk *IncomingViewingKeyMessage `protobuf:"bytes,1,opt,name=ivk,proto3" json:"ivk,omitempty"`
	D   *DiversifierMessage        `protobuf:"bytes,2,opt,name=d,proto3" json:"d,omitempty"`
	// contains filtered or unexported fields
}

func (*IncomingViewingKeyDiversifierMessage) Descriptor deprecated

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

Deprecated: Use IncomingViewingKeyDiversifierMessage.ProtoReflect.Descriptor instead.

func (*IncomingViewingKeyDiversifierMessage) GetD

func (*IncomingViewingKeyDiversifierMessage) GetIvk

func (*IncomingViewingKeyDiversifierMessage) ProtoMessage

func (*IncomingViewingKeyDiversifierMessage) ProtoMessage()

func (*IncomingViewingKeyDiversifierMessage) ProtoReflect

func (*IncomingViewingKeyDiversifierMessage) Reset

func (*IncomingViewingKeyDiversifierMessage) String

type IncomingViewingKeyMessage

type IncomingViewingKeyMessage struct {
	Ivk []byte `protobuf:"bytes,1,opt,name=ivk,proto3" json:"ivk,omitempty"`
	// contains filtered or unexported fields
}

func (*IncomingViewingKeyMessage) Descriptor deprecated

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

Deprecated: Use IncomingViewingKeyMessage.ProtoReflect.Descriptor instead.

func (*IncomingViewingKeyMessage) GetIvk

func (x *IncomingViewingKeyMessage) GetIvk() []byte

func (*IncomingViewingKeyMessage) ProtoMessage

func (*IncomingViewingKeyMessage) ProtoMessage()

func (*IncomingViewingKeyMessage) ProtoReflect

func (*IncomingViewingKeyMessage) Reset

func (x *IncomingViewingKeyMessage) Reset()

func (*IncomingViewingKeyMessage) String

func (x *IncomingViewingKeyMessage) String() string

type IvkDecryptAndMarkParameters

type IvkDecryptAndMarkParameters struct {
	StartBlockIndex int64  `protobuf:"varint,1,opt,name=start_block_index,json=startBlockIndex,proto3" json:"start_block_index,omitempty"`
	EndBlockIndex   int64  `protobuf:"varint,2,opt,name=end_block_index,json=endBlockIndex,proto3" json:"end_block_index,omitempty"`
	Ivk             []byte `protobuf:"bytes,5,opt,name=ivk,proto3" json:"ivk,omitempty"`
	Ak              []byte `protobuf:"bytes,3,opt,name=ak,proto3" json:"ak,omitempty"`
	Nk              []byte `protobuf:"bytes,4,opt,name=nk,proto3" json:"nk,omitempty"`
	// contains filtered or unexported fields
}

func (*IvkDecryptAndMarkParameters) Descriptor deprecated

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

Deprecated: Use IvkDecryptAndMarkParameters.ProtoReflect.Descriptor instead.

func (*IvkDecryptAndMarkParameters) GetAk

func (x *IvkDecryptAndMarkParameters) GetAk() []byte

func (*IvkDecryptAndMarkParameters) GetEndBlockIndex

func (x *IvkDecryptAndMarkParameters) GetEndBlockIndex() int64

func (*IvkDecryptAndMarkParameters) GetIvk

func (x *IvkDecryptAndMarkParameters) GetIvk() []byte

func (*IvkDecryptAndMarkParameters) GetNk

func (x *IvkDecryptAndMarkParameters) GetNk() []byte

func (*IvkDecryptAndMarkParameters) GetStartBlockIndex

func (x *IvkDecryptAndMarkParameters) GetStartBlockIndex() int64

func (*IvkDecryptAndMarkParameters) ProtoMessage

func (*IvkDecryptAndMarkParameters) ProtoMessage()

func (*IvkDecryptAndMarkParameters) ProtoReflect

func (*IvkDecryptAndMarkParameters) Reset

func (x *IvkDecryptAndMarkParameters) Reset()

func (*IvkDecryptAndMarkParameters) String

func (x *IvkDecryptAndMarkParameters) String() string

type IvkDecryptParameters

type IvkDecryptParameters struct {
	StartBlockIndex int64  `protobuf:"varint,1,opt,name=start_block_index,json=startBlockIndex,proto3" json:"start_block_index,omitempty"`
	EndBlockIndex   int64  `protobuf:"varint,2,opt,name=end_block_index,json=endBlockIndex,proto3" json:"end_block_index,omitempty"`
	Ivk             []byte `protobuf:"bytes,3,opt,name=ivk,proto3" json:"ivk,omitempty"`
	// contains filtered or unexported fields
}

func (*IvkDecryptParameters) Descriptor deprecated

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

Deprecated: Use IvkDecryptParameters.ProtoReflect.Descriptor instead.

func (*IvkDecryptParameters) GetEndBlockIndex

func (x *IvkDecryptParameters) GetEndBlockIndex() int64

func (*IvkDecryptParameters) GetIvk

func (x *IvkDecryptParameters) GetIvk() []byte

func (*IvkDecryptParameters) GetStartBlockIndex

func (x *IvkDecryptParameters) GetStartBlockIndex() int64

func (*IvkDecryptParameters) ProtoMessage

func (*IvkDecryptParameters) ProtoMessage()

func (*IvkDecryptParameters) ProtoReflect

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

func (*IvkDecryptParameters) Reset

func (x *IvkDecryptParameters) Reset()

func (*IvkDecryptParameters) String

func (x *IvkDecryptParameters) String() string

type IvkDecryptTRC20Parameters

type IvkDecryptTRC20Parameters struct {
	StartBlockIndex               int64    `protobuf:"varint,1,opt,name=start_block_index,json=startBlockIndex,proto3" json:"start_block_index,omitempty"`
	EndBlockIndex                 int64    `protobuf:"varint,2,opt,name=end_block_index,json=endBlockIndex,proto3" json:"end_block_index,omitempty"`
	Shielded_TRC20ContractAddress []byte   `` /* 149-byte string literal not displayed */
	Ivk                           []byte   `protobuf:"bytes,4,opt,name=ivk,proto3" json:"ivk,omitempty"`
	Ak                            []byte   `protobuf:"bytes,5,opt,name=ak,proto3" json:"ak,omitempty"`
	Nk                            []byte   `protobuf:"bytes,6,opt,name=nk,proto3" json:"nk,omitempty"`
	Events                        []string `protobuf:"bytes,7,rep,name=events,proto3" json:"events,omitempty"`
	// contains filtered or unexported fields
}

func (*IvkDecryptTRC20Parameters) Descriptor deprecated

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

Deprecated: Use IvkDecryptTRC20Parameters.ProtoReflect.Descriptor instead.

func (*IvkDecryptTRC20Parameters) GetAk

func (x *IvkDecryptTRC20Parameters) GetAk() []byte

func (*IvkDecryptTRC20Parameters) GetEndBlockIndex

func (x *IvkDecryptTRC20Parameters) GetEndBlockIndex() int64

func (*IvkDecryptTRC20Parameters) GetEvents

func (x *IvkDecryptTRC20Parameters) GetEvents() []string

func (*IvkDecryptTRC20Parameters) GetIvk

func (x *IvkDecryptTRC20Parameters) GetIvk() []byte

func (*IvkDecryptTRC20Parameters) GetNk

func (x *IvkDecryptTRC20Parameters) GetNk() []byte

func (*IvkDecryptTRC20Parameters) GetShielded_TRC20ContractAddress

func (x *IvkDecryptTRC20Parameters) GetShielded_TRC20ContractAddress() []byte

func (*IvkDecryptTRC20Parameters) GetStartBlockIndex

func (x *IvkDecryptTRC20Parameters) GetStartBlockIndex() int64

func (*IvkDecryptTRC20Parameters) ProtoMessage

func (*IvkDecryptTRC20Parameters) ProtoMessage()

func (*IvkDecryptTRC20Parameters) ProtoReflect

func (*IvkDecryptTRC20Parameters) Reset

func (x *IvkDecryptTRC20Parameters) Reset()

func (*IvkDecryptTRC20Parameters) String

func (x *IvkDecryptTRC20Parameters) String() string

type MonitorClient

type MonitorClient interface {
	GetStatsInfo(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*core.MetricsInfo, error)
}

MonitorClient is the client API for Monitor 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.

func NewMonitorClient

func NewMonitorClient(cc grpc.ClientConnInterface) MonitorClient

type MonitorServer

type MonitorServer interface {
	GetStatsInfo(context.Context, *EmptyMessage) (*core.MetricsInfo, error)
	// contains filtered or unexported methods
}

MonitorServer is the server API for Monitor service. All implementations must embed UnimplementedMonitorServer for forward compatibility

type NetworkClient

type NetworkClient interface {
}

NetworkClient is the client API for Network 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.

func NewNetworkClient

func NewNetworkClient(cc grpc.ClientConnInterface) NetworkClient

type NetworkServer

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

NetworkServer is the server API for Network service. All implementations must embed UnimplementedNetworkServer for forward compatibility

type NfParameters

type NfParameters struct {
	Note    *Note                          `protobuf:"bytes,1,opt,name=note,proto3" json:"note,omitempty"`
	Voucher *core.IncrementalMerkleVoucher `protobuf:"bytes,2,opt,name=voucher,proto3" json:"voucher,omitempty"`
	Ak      []byte                         `protobuf:"bytes,3,opt,name=ak,proto3" json:"ak,omitempty"`
	Nk      []byte                         `protobuf:"bytes,4,opt,name=nk,proto3" json:"nk,omitempty"`
	// contains filtered or unexported fields
}

func (*NfParameters) Descriptor deprecated

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

Deprecated: Use NfParameters.ProtoReflect.Descriptor instead.

func (*NfParameters) GetAk

func (x *NfParameters) GetAk() []byte

func (*NfParameters) GetNk

func (x *NfParameters) GetNk() []byte

func (*NfParameters) GetNote

func (x *NfParameters) GetNote() *Note

func (*NfParameters) GetVoucher

func (x *NfParameters) GetVoucher() *core.IncrementalMerkleVoucher

func (*NfParameters) ProtoMessage

func (*NfParameters) ProtoMessage()

func (*NfParameters) ProtoReflect

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

func (*NfParameters) Reset

func (x *NfParameters) Reset()

func (*NfParameters) String

func (x *NfParameters) String() string

type NfTRC20Parameters

type NfTRC20Parameters struct {
	Note                          *Note  `protobuf:"bytes,1,opt,name=note,proto3" json:"note,omitempty"`
	Ak                            []byte `protobuf:"bytes,2,opt,name=ak,proto3" json:"ak,omitempty"`
	Nk                            []byte `protobuf:"bytes,3,opt,name=nk,proto3" json:"nk,omitempty"`
	Position                      int64  `protobuf:"varint,4,opt,name=position,proto3" json:"position,omitempty"`
	Shielded_TRC20ContractAddress []byte `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*NfTRC20Parameters) Descriptor deprecated

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

Deprecated: Use NfTRC20Parameters.ProtoReflect.Descriptor instead.

func (*NfTRC20Parameters) GetAk

func (x *NfTRC20Parameters) GetAk() []byte

func (*NfTRC20Parameters) GetNk

func (x *NfTRC20Parameters) GetNk() []byte

func (*NfTRC20Parameters) GetNote

func (x *NfTRC20Parameters) GetNote() *Note

func (*NfTRC20Parameters) GetPosition

func (x *NfTRC20Parameters) GetPosition() int64

func (*NfTRC20Parameters) GetShielded_TRC20ContractAddress

func (x *NfTRC20Parameters) GetShielded_TRC20ContractAddress() []byte

func (*NfTRC20Parameters) ProtoMessage

func (*NfTRC20Parameters) ProtoMessage()

func (*NfTRC20Parameters) ProtoReflect

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

func (*NfTRC20Parameters) Reset

func (x *NfTRC20Parameters) Reset()

func (*NfTRC20Parameters) String

func (x *NfTRC20Parameters) String() string

type Node

type Node struct {
	Address *Address `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

Gossip node

func (*Node) Descriptor deprecated

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

Deprecated: Use Node.ProtoReflect.Descriptor instead.

func (*Node) GetAddress

func (x *Node) GetAddress() *Address

func (*Node) ProtoMessage

func (*Node) ProtoMessage()

func (*Node) ProtoReflect

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

func (*Node) Reset

func (x *Node) Reset()

func (*Node) String

func (x *Node) String() string

type NodeList

type NodeList struct {
	Nodes []*Node `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"`
	// contains filtered or unexported fields
}

Gossip node list

func (*NodeList) Descriptor deprecated

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

Deprecated: Use NodeList.ProtoReflect.Descriptor instead.

func (*NodeList) GetNodes

func (x *NodeList) GetNodes() []*Node

func (*NodeList) ProtoMessage

func (*NodeList) ProtoMessage()

func (*NodeList) ProtoReflect

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

func (*NodeList) Reset

func (x *NodeList) Reset()

func (*NodeList) String

func (x *NodeList) String() string

type Note

type Note struct {
	Value          int64  `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
	PaymentAddress string `protobuf:"bytes,2,opt,name=payment_address,json=paymentAddress,proto3" json:"payment_address,omitempty"`
	Rcm            []byte `protobuf:"bytes,3,opt,name=rcm,proto3" json:"rcm,omitempty"` // random 32
	Memo           []byte `protobuf:"bytes,4,opt,name=memo,proto3" json:"memo,omitempty"`
	// contains filtered or unexported fields
}

func (*Note) Descriptor deprecated

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

Deprecated: Use Note.ProtoReflect.Descriptor instead.

func (*Note) GetMemo

func (x *Note) GetMemo() []byte

func (*Note) GetPaymentAddress

func (x *Note) GetPaymentAddress() string

func (*Note) GetRcm

func (x *Note) GetRcm() []byte

func (*Note) GetValue

func (x *Note) GetValue() int64

func (*Note) ProtoMessage

func (*Note) ProtoMessage()

func (*Note) ProtoReflect

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

func (*Note) Reset

func (x *Note) Reset()

func (*Note) String

func (x *Note) String() string

type NoteParameters

type NoteParameters struct {
	Ak    []byte `protobuf:"bytes,1,opt,name=ak,proto3" json:"ak,omitempty"`
	Nk    []byte `protobuf:"bytes,2,opt,name=nk,proto3" json:"nk,omitempty"`
	Note  *Note  `protobuf:"bytes,3,opt,name=note,proto3" json:"note,omitempty"`
	Txid  []byte `protobuf:"bytes,4,opt,name=txid,proto3" json:"txid,omitempty"`
	Index int32  `protobuf:"varint,5,opt,name=index,proto3" json:"index,omitempty"`
	// contains filtered or unexported fields
}

func (*NoteParameters) Descriptor deprecated

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

Deprecated: Use NoteParameters.ProtoReflect.Descriptor instead.

func (*NoteParameters) GetAk

func (x *NoteParameters) GetAk() []byte

func (*NoteParameters) GetIndex

func (x *NoteParameters) GetIndex() int32

func (*NoteParameters) GetNk

func (x *NoteParameters) GetNk() []byte

func (*NoteParameters) GetNote

func (x *NoteParameters) GetNote() *Note

func (*NoteParameters) GetTxid

func (x *NoteParameters) GetTxid() []byte

func (*NoteParameters) ProtoMessage

func (*NoteParameters) ProtoMessage()

func (*NoteParameters) ProtoReflect

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

func (*NoteParameters) Reset

func (x *NoteParameters) Reset()

func (*NoteParameters) String

func (x *NoteParameters) String() string

type NullifierResult

type NullifierResult struct {
	IsSpent bool `protobuf:"varint,1,opt,name=is_spent,json=isSpent,proto3" json:"is_spent,omitempty"`
	// contains filtered or unexported fields
}

func (*NullifierResult) Descriptor deprecated

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

Deprecated: Use NullifierResult.ProtoReflect.Descriptor instead.

func (*NullifierResult) GetIsSpent

func (x *NullifierResult) GetIsSpent() bool

func (*NullifierResult) ProtoMessage

func (*NullifierResult) ProtoMessage()

func (*NullifierResult) ProtoReflect

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

func (*NullifierResult) Reset

func (x *NullifierResult) Reset()

func (*NullifierResult) String

func (x *NullifierResult) String() string

type NumberMessage

type NumberMessage struct {
	Num int64 `protobuf:"varint,1,opt,name=num,proto3" json:"num,omitempty"`
	// contains filtered or unexported fields
}

func (*NumberMessage) Descriptor deprecated

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

Deprecated: Use NumberMessage.ProtoReflect.Descriptor instead.

func (*NumberMessage) GetNum

func (x *NumberMessage) GetNum() int64

func (*NumberMessage) ProtoMessage

func (*NumberMessage) ProtoMessage()

func (*NumberMessage) ProtoReflect

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

func (*NumberMessage) Reset

func (x *NumberMessage) Reset()

func (*NumberMessage) String

func (x *NumberMessage) String() string

type OvkDecryptParameters

type OvkDecryptParameters struct {
	StartBlockIndex int64  `protobuf:"varint,1,opt,name=start_block_index,json=startBlockIndex,proto3" json:"start_block_index,omitempty"`
	EndBlockIndex   int64  `protobuf:"varint,2,opt,name=end_block_index,json=endBlockIndex,proto3" json:"end_block_index,omitempty"`
	Ovk             []byte `protobuf:"bytes,3,opt,name=ovk,proto3" json:"ovk,omitempty"`
	// contains filtered or unexported fields
}

func (*OvkDecryptParameters) Descriptor deprecated

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

Deprecated: Use OvkDecryptParameters.ProtoReflect.Descriptor instead.

func (*OvkDecryptParameters) GetEndBlockIndex

func (x *OvkDecryptParameters) GetEndBlockIndex() int64

func (*OvkDecryptParameters) GetOvk

func (x *OvkDecryptParameters) GetOvk() []byte

func (*OvkDecryptParameters) GetStartBlockIndex

func (x *OvkDecryptParameters) GetStartBlockIndex() int64

func (*OvkDecryptParameters) ProtoMessage

func (*OvkDecryptParameters) ProtoMessage()

func (*OvkDecryptParameters) ProtoReflect

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

func (*OvkDecryptParameters) Reset

func (x *OvkDecryptParameters) Reset()

func (*OvkDecryptParameters) String

func (x *OvkDecryptParameters) String() string

type OvkDecryptTRC20Parameters

type OvkDecryptTRC20Parameters struct {
	StartBlockIndex               int64    `protobuf:"varint,1,opt,name=start_block_index,json=startBlockIndex,proto3" json:"start_block_index,omitempty"`
	EndBlockIndex                 int64    `protobuf:"varint,2,opt,name=end_block_index,json=endBlockIndex,proto3" json:"end_block_index,omitempty"`
	Ovk                           []byte   `protobuf:"bytes,3,opt,name=ovk,proto3" json:"ovk,omitempty"`
	Shielded_TRC20ContractAddress []byte   `` /* 149-byte string literal not displayed */
	Events                        []string `protobuf:"bytes,5,rep,name=events,proto3" json:"events,omitempty"`
	// contains filtered or unexported fields
}

func (*OvkDecryptTRC20Parameters) Descriptor deprecated

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

Deprecated: Use OvkDecryptTRC20Parameters.ProtoReflect.Descriptor instead.

func (*OvkDecryptTRC20Parameters) GetEndBlockIndex

func (x *OvkDecryptTRC20Parameters) GetEndBlockIndex() int64

func (*OvkDecryptTRC20Parameters) GetEvents

func (x *OvkDecryptTRC20Parameters) GetEvents() []string

func (*OvkDecryptTRC20Parameters) GetOvk

func (x *OvkDecryptTRC20Parameters) GetOvk() []byte

func (*OvkDecryptTRC20Parameters) GetShielded_TRC20ContractAddress

func (x *OvkDecryptTRC20Parameters) GetShielded_TRC20ContractAddress() []byte

func (*OvkDecryptTRC20Parameters) GetStartBlockIndex

func (x *OvkDecryptTRC20Parameters) GetStartBlockIndex() int64

func (*OvkDecryptTRC20Parameters) ProtoMessage

func (*OvkDecryptTRC20Parameters) ProtoMessage()

func (*OvkDecryptTRC20Parameters) ProtoReflect

func (*OvkDecryptTRC20Parameters) Reset

func (x *OvkDecryptTRC20Parameters) Reset()

func (*OvkDecryptTRC20Parameters) String

func (x *OvkDecryptTRC20Parameters) String() string

type PaginatedMessage

type PaginatedMessage struct {
	Offset int64 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"`
	Limit  int64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	// contains filtered or unexported fields
}

func (*PaginatedMessage) Descriptor deprecated

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

Deprecated: Use PaginatedMessage.ProtoReflect.Descriptor instead.

func (*PaginatedMessage) GetLimit

func (x *PaginatedMessage) GetLimit() int64

func (*PaginatedMessage) GetOffset

func (x *PaginatedMessage) GetOffset() int64

func (*PaginatedMessage) ProtoMessage

func (*PaginatedMessage) ProtoMessage()

func (*PaginatedMessage) ProtoReflect

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

func (*PaginatedMessage) Reset

func (x *PaginatedMessage) Reset()

func (*PaginatedMessage) String

func (x *PaginatedMessage) String() string

type PaymentAddressMessage

type PaymentAddressMessage struct {
	D              *DiversifierMessage `protobuf:"bytes,1,opt,name=d,proto3" json:"d,omitempty"`
	PkD            []byte              `protobuf:"bytes,2,opt,name=pkD,proto3" json:"pkD,omitempty"`
	PaymentAddress string              `protobuf:"bytes,3,opt,name=payment_address,json=paymentAddress,proto3" json:"payment_address,omitempty"`
	// contains filtered or unexported fields
}

func (*PaymentAddressMessage) Descriptor deprecated

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

Deprecated: Use PaymentAddressMessage.ProtoReflect.Descriptor instead.

func (*PaymentAddressMessage) GetD

func (*PaymentAddressMessage) GetPaymentAddress

func (x *PaymentAddressMessage) GetPaymentAddress() string

func (*PaymentAddressMessage) GetPkD

func (x *PaymentAddressMessage) GetPkD() []byte

func (*PaymentAddressMessage) ProtoMessage

func (*PaymentAddressMessage) ProtoMessage()

func (*PaymentAddressMessage) ProtoReflect

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

func (*PaymentAddressMessage) Reset

func (x *PaymentAddressMessage) Reset()

func (*PaymentAddressMessage) String

func (x *PaymentAddressMessage) String() string

type PrivateParameters

type PrivateParameters struct {
	TransparentFromAddress []byte         `` /* 129-byte string literal not displayed */
	Ask                    []byte         `protobuf:"bytes,2,opt,name=ask,proto3" json:"ask,omitempty"`
	Nsk                    []byte         `protobuf:"bytes,3,opt,name=nsk,proto3" json:"nsk,omitempty"`
	Ovk                    []byte         `protobuf:"bytes,4,opt,name=ovk,proto3" json:"ovk,omitempty"`
	FromAmount             int64          `protobuf:"varint,5,opt,name=from_amount,json=fromAmount,proto3" json:"from_amount,omitempty"`
	ShieldedSpends         []*SpendNote   `protobuf:"bytes,6,rep,name=shielded_spends,json=shieldedSpends,proto3" json:"shielded_spends,omitempty"`
	ShieldedReceives       []*ReceiveNote `protobuf:"bytes,7,rep,name=shielded_receives,json=shieldedReceives,proto3" json:"shielded_receives,omitempty"`
	TransparentToAddress   []byte         `protobuf:"bytes,8,opt,name=transparent_to_address,json=transparentToAddress,proto3" json:"transparent_to_address,omitempty"`
	ToAmount               int64          `protobuf:"varint,9,opt,name=to_amount,json=toAmount,proto3" json:"to_amount,omitempty"`
	Timeout                int64          `protobuf:"varint,10,opt,name=timeout,proto3" json:"timeout,omitempty"` // timeout in seconds, it works only when it bigger than 0
	// contains filtered or unexported fields
}

func (*PrivateParameters) Descriptor deprecated

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

Deprecated: Use PrivateParameters.ProtoReflect.Descriptor instead.

func (*PrivateParameters) GetAsk

func (x *PrivateParameters) GetAsk() []byte

func (*PrivateParameters) GetFromAmount

func (x *PrivateParameters) GetFromAmount() int64

func (*PrivateParameters) GetNsk

func (x *PrivateParameters) GetNsk() []byte

func (*PrivateParameters) GetOvk

func (x *PrivateParameters) GetOvk() []byte

func (*PrivateParameters) GetShieldedReceives

func (x *PrivateParameters) GetShieldedReceives() []*ReceiveNote

func (*PrivateParameters) GetShieldedSpends

func (x *PrivateParameters) GetShieldedSpends() []*SpendNote

func (*PrivateParameters) GetTimeout

func (x *PrivateParameters) GetTimeout() int64

func (*PrivateParameters) GetToAmount

func (x *PrivateParameters) GetToAmount() int64

func (*PrivateParameters) GetTransparentFromAddress

func (x *PrivateParameters) GetTransparentFromAddress() []byte

func (*PrivateParameters) GetTransparentToAddress

func (x *PrivateParameters) GetTransparentToAddress() []byte

func (*PrivateParameters) ProtoMessage

func (*PrivateParameters) ProtoMessage()

func (*PrivateParameters) ProtoReflect

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

func (*PrivateParameters) Reset

func (x *PrivateParameters) Reset()

func (*PrivateParameters) String

func (x *PrivateParameters) String() string

type PrivateParametersWithoutAsk

type PrivateParametersWithoutAsk struct {
	TransparentFromAddress []byte         `` /* 129-byte string literal not displayed */
	Ak                     []byte         `protobuf:"bytes,2,opt,name=ak,proto3" json:"ak,omitempty"`
	Nsk                    []byte         `protobuf:"bytes,3,opt,name=nsk,proto3" json:"nsk,omitempty"`
	Ovk                    []byte         `protobuf:"bytes,4,opt,name=ovk,proto3" json:"ovk,omitempty"`
	FromAmount             int64          `protobuf:"varint,5,opt,name=from_amount,json=fromAmount,proto3" json:"from_amount,omitempty"`
	ShieldedSpends         []*SpendNote   `protobuf:"bytes,6,rep,name=shielded_spends,json=shieldedSpends,proto3" json:"shielded_spends,omitempty"`
	ShieldedReceives       []*ReceiveNote `protobuf:"bytes,7,rep,name=shielded_receives,json=shieldedReceives,proto3" json:"shielded_receives,omitempty"`
	TransparentToAddress   []byte         `protobuf:"bytes,8,opt,name=transparent_to_address,json=transparentToAddress,proto3" json:"transparent_to_address,omitempty"`
	ToAmount               int64          `protobuf:"varint,9,opt,name=to_amount,json=toAmount,proto3" json:"to_amount,omitempty"`
	Timeout                int64          `protobuf:"varint,10,opt,name=timeout,proto3" json:"timeout,omitempty"` // timeout in seconds, it works only when it bigger than 0
	// contains filtered or unexported fields
}

func (*PrivateParametersWithoutAsk) Descriptor deprecated

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

Deprecated: Use PrivateParametersWithoutAsk.ProtoReflect.Descriptor instead.

func (*PrivateParametersWithoutAsk) GetAk

func (x *PrivateParametersWithoutAsk) GetAk() []byte

func (*PrivateParametersWithoutAsk) GetFromAmount

func (x *PrivateParametersWithoutAsk) GetFromAmount() int64

func (*PrivateParametersWithoutAsk) GetNsk

func (x *PrivateParametersWithoutAsk) GetNsk() []byte

func (*PrivateParametersWithoutAsk) GetOvk

func (x *PrivateParametersWithoutAsk) GetOvk() []byte

func (*PrivateParametersWithoutAsk) GetShieldedReceives

func (x *PrivateParametersWithoutAsk) GetShieldedReceives() []*ReceiveNote

func (*PrivateParametersWithoutAsk) GetShieldedSpends

func (x *PrivateParametersWithoutAsk) GetShieldedSpends() []*SpendNote

func (*PrivateParametersWithoutAsk) GetTimeout

func (x *PrivateParametersWithoutAsk) GetTimeout() int64

func (*PrivateParametersWithoutAsk) GetToAmount

func (x *PrivateParametersWithoutAsk) GetToAmount() int64

func (*PrivateParametersWithoutAsk) GetTransparentFromAddress

func (x *PrivateParametersWithoutAsk) GetTransparentFromAddress() []byte

func (*PrivateParametersWithoutAsk) GetTransparentToAddress

func (x *PrivateParametersWithoutAsk) GetTransparentToAddress() []byte

func (*PrivateParametersWithoutAsk) ProtoMessage

func (*PrivateParametersWithoutAsk) ProtoMessage()

func (*PrivateParametersWithoutAsk) ProtoReflect

func (*PrivateParametersWithoutAsk) Reset

func (x *PrivateParametersWithoutAsk) Reset()

func (*PrivateParametersWithoutAsk) String

func (x *PrivateParametersWithoutAsk) String() string

type PrivateShieldedTRC20Parameters

type PrivateShieldedTRC20Parameters struct {
	Ask                           []byte            `protobuf:"bytes,1,opt,name=ask,proto3" json:"ask,omitempty"`
	Nsk                           []byte            `protobuf:"bytes,2,opt,name=nsk,proto3" json:"nsk,omitempty"`
	Ovk                           []byte            `protobuf:"bytes,3,opt,name=ovk,proto3" json:"ovk,omitempty"`
	FromAmount                    string            `protobuf:"bytes,4,opt,name=from_amount,json=fromAmount,proto3" json:"from_amount,omitempty"`
	ShieldedSpends                []*SpendNoteTRC20 `protobuf:"bytes,5,rep,name=shielded_spends,json=shieldedSpends,proto3" json:"shielded_spends,omitempty"`
	ShieldedReceives              []*ReceiveNote    `protobuf:"bytes,6,rep,name=shielded_receives,json=shieldedReceives,proto3" json:"shielded_receives,omitempty"`
	TransparentToAddress          []byte            `protobuf:"bytes,7,opt,name=transparent_to_address,json=transparentToAddress,proto3" json:"transparent_to_address,omitempty"`
	ToAmount                      string            `protobuf:"bytes,8,opt,name=to_amount,json=toAmount,proto3" json:"to_amount,omitempty"`
	Shielded_TRC20ContractAddress []byte            `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*PrivateShieldedTRC20Parameters) Descriptor deprecated

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

Deprecated: Use PrivateShieldedTRC20Parameters.ProtoReflect.Descriptor instead.

func (*PrivateShieldedTRC20Parameters) GetAsk

func (x *PrivateShieldedTRC20Parameters) GetAsk() []byte

func (*PrivateShieldedTRC20Parameters) GetFromAmount

func (x *PrivateShieldedTRC20Parameters) GetFromAmount() string

func (*PrivateShieldedTRC20Parameters) GetNsk

func (x *PrivateShieldedTRC20Parameters) GetNsk() []byte

func (*PrivateShieldedTRC20Parameters) GetOvk

func (x *PrivateShieldedTRC20Parameters) GetOvk() []byte

func (*PrivateShieldedTRC20Parameters) GetShieldedReceives

func (x *PrivateShieldedTRC20Parameters) GetShieldedReceives() []*ReceiveNote

func (*PrivateShieldedTRC20Parameters) GetShieldedSpends

func (x *PrivateShieldedTRC20Parameters) GetShieldedSpends() []*SpendNoteTRC20

func (*PrivateShieldedTRC20Parameters) GetShielded_TRC20ContractAddress

func (x *PrivateShieldedTRC20Parameters) GetShielded_TRC20ContractAddress() []byte

func (*PrivateShieldedTRC20Parameters) GetToAmount

func (x *PrivateShieldedTRC20Parameters) GetToAmount() string

func (*PrivateShieldedTRC20Parameters) GetTransparentToAddress

func (x *PrivateShieldedTRC20Parameters) GetTransparentToAddress() []byte

func (*PrivateShieldedTRC20Parameters) ProtoMessage

func (*PrivateShieldedTRC20Parameters) ProtoMessage()

func (*PrivateShieldedTRC20Parameters) ProtoReflect

func (*PrivateShieldedTRC20Parameters) Reset

func (x *PrivateShieldedTRC20Parameters) Reset()

func (*PrivateShieldedTRC20Parameters) String

type PrivateShieldedTRC20ParametersWithoutAsk

type PrivateShieldedTRC20ParametersWithoutAsk struct {
	Ak                            []byte            `protobuf:"bytes,1,opt,name=ak,proto3" json:"ak,omitempty"`
	Nsk                           []byte            `protobuf:"bytes,2,opt,name=nsk,proto3" json:"nsk,omitempty"`
	Ovk                           []byte            `protobuf:"bytes,3,opt,name=ovk,proto3" json:"ovk,omitempty"`
	FromAmount                    string            `protobuf:"bytes,4,opt,name=from_amount,json=fromAmount,proto3" json:"from_amount,omitempty"`
	ShieldedSpends                []*SpendNoteTRC20 `protobuf:"bytes,5,rep,name=shielded_spends,json=shieldedSpends,proto3" json:"shielded_spends,omitempty"`
	ShieldedReceives              []*ReceiveNote    `protobuf:"bytes,6,rep,name=shielded_receives,json=shieldedReceives,proto3" json:"shielded_receives,omitempty"`
	TransparentToAddress          []byte            `protobuf:"bytes,7,opt,name=transparent_to_address,json=transparentToAddress,proto3" json:"transparent_to_address,omitempty"`
	ToAmount                      string            `protobuf:"bytes,8,opt,name=to_amount,json=toAmount,proto3" json:"to_amount,omitempty"`
	Shielded_TRC20ContractAddress []byte            `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*PrivateShieldedTRC20ParametersWithoutAsk) Descriptor deprecated

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

Deprecated: Use PrivateShieldedTRC20ParametersWithoutAsk.ProtoReflect.Descriptor instead.

func (*PrivateShieldedTRC20ParametersWithoutAsk) GetAk

func (*PrivateShieldedTRC20ParametersWithoutAsk) GetFromAmount

func (*PrivateShieldedTRC20ParametersWithoutAsk) GetNsk

func (*PrivateShieldedTRC20ParametersWithoutAsk) GetOvk

func (*PrivateShieldedTRC20ParametersWithoutAsk) GetShieldedReceives

func (x *PrivateShieldedTRC20ParametersWithoutAsk) GetShieldedReceives() []*ReceiveNote

func (*PrivateShieldedTRC20ParametersWithoutAsk) GetShieldedSpends

func (x *PrivateShieldedTRC20ParametersWithoutAsk) GetShieldedSpends() []*SpendNoteTRC20

func (*PrivateShieldedTRC20ParametersWithoutAsk) GetShielded_TRC20ContractAddress

func (x *PrivateShieldedTRC20ParametersWithoutAsk) GetShielded_TRC20ContractAddress() []byte

func (*PrivateShieldedTRC20ParametersWithoutAsk) GetToAmount

func (*PrivateShieldedTRC20ParametersWithoutAsk) GetTransparentToAddress

func (x *PrivateShieldedTRC20ParametersWithoutAsk) GetTransparentToAddress() []byte

func (*PrivateShieldedTRC20ParametersWithoutAsk) ProtoMessage

func (*PrivateShieldedTRC20ParametersWithoutAsk) ProtoReflect

func (*PrivateShieldedTRC20ParametersWithoutAsk) Reset

func (*PrivateShieldedTRC20ParametersWithoutAsk) String

type ProposalList

type ProposalList struct {
	Proposals []*core.Proposal `protobuf:"bytes,1,rep,name=proposals,proto3" json:"proposals,omitempty"`
	// contains filtered or unexported fields
}

func (*ProposalList) Descriptor deprecated

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

Deprecated: Use ProposalList.ProtoReflect.Descriptor instead.

func (*ProposalList) GetProposals

func (x *ProposalList) GetProposals() []*core.Proposal

func (*ProposalList) ProtoMessage

func (*ProposalList) ProtoMessage()

func (*ProposalList) ProtoReflect

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

func (*ProposalList) Reset

func (x *ProposalList) Reset()

func (*ProposalList) String

func (x *ProposalList) String() string

type ReceiveNote

type ReceiveNote struct {
	Note *Note `protobuf:"bytes,1,opt,name=note,proto3" json:"note,omitempty"`
	// contains filtered or unexported fields
}

func (*ReceiveNote) Descriptor deprecated

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

Deprecated: Use ReceiveNote.ProtoReflect.Descriptor instead.

func (*ReceiveNote) GetNote

func (x *ReceiveNote) GetNote() *Note

func (*ReceiveNote) ProtoMessage

func (*ReceiveNote) ProtoMessage()

func (*ReceiveNote) ProtoReflect

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

func (*ReceiveNote) Reset

func (x *ReceiveNote) Reset()

func (*ReceiveNote) String

func (x *ReceiveNote) String() string

type Return

type Return struct {
	Result  bool               `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"`
	Code    ReturnResponseCode `protobuf:"varint,2,opt,name=code,proto3,enum=protocol.ReturnResponseCode" json:"code,omitempty"`
	Message []byte             `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*Return) Descriptor deprecated

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

Deprecated: Use Return.ProtoReflect.Descriptor instead.

func (*Return) GetCode

func (x *Return) GetCode() ReturnResponseCode

func (*Return) GetMessage

func (x *Return) GetMessage() []byte

func (*Return) GetResult

func (x *Return) GetResult() bool

func (*Return) ProtoMessage

func (*Return) ProtoMessage()

func (*Return) ProtoReflect

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

func (*Return) Reset

func (x *Return) Reset()

func (*Return) String

func (x *Return) String() string

type ReturnResponseCode

type ReturnResponseCode int32
const (
	Return_SUCCESS                         ReturnResponseCode = 0
	Return_SIGERROR                        ReturnResponseCode = 1 // error in signature
	Return_CONTRACT_VALIDATE_ERROR         ReturnResponseCode = 2
	Return_CONTRACT_EXE_ERROR              ReturnResponseCode = 3
	Return_BANDWITH_ERROR                  ReturnResponseCode = 4
	Return_DUP_TRANSACTION_ERROR           ReturnResponseCode = 5
	Return_TAPOS_ERROR                     ReturnResponseCode = 6
	Return_TOO_BIG_TRANSACTION_ERROR       ReturnResponseCode = 7
	Return_TRANSACTION_EXPIRATION_ERROR    ReturnResponseCode = 8
	Return_SERVER_BUSY                     ReturnResponseCode = 9
	Return_NO_CONNECTION                   ReturnResponseCode = 10
	Return_NOT_ENOUGH_EFFECTIVE_CONNECTION ReturnResponseCode = 11
	Return_OTHER_ERROR                     ReturnResponseCode = 20
)

func (ReturnResponseCode) Descriptor

func (ReturnResponseCode) Enum

func (ReturnResponseCode) EnumDescriptor deprecated

func (ReturnResponseCode) EnumDescriptor() ([]byte, []int)

Deprecated: Use ReturnResponseCode.Descriptor instead.

func (ReturnResponseCode) Number

func (ReturnResponseCode) String

func (x ReturnResponseCode) String() string

func (ReturnResponseCode) Type

type ShieldedAddressInfo

type ShieldedAddressInfo struct {
	Sk             []byte `protobuf:"bytes,1,opt,name=sk,proto3" json:"sk,omitempty"`
	Ask            []byte `protobuf:"bytes,2,opt,name=ask,proto3" json:"ask,omitempty"`
	Nsk            []byte `protobuf:"bytes,3,opt,name=nsk,proto3" json:"nsk,omitempty"`
	Ovk            []byte `protobuf:"bytes,4,opt,name=ovk,proto3" json:"ovk,omitempty"`
	Ak             []byte `protobuf:"bytes,5,opt,name=ak,proto3" json:"ak,omitempty"`
	Nk             []byte `protobuf:"bytes,6,opt,name=nk,proto3" json:"nk,omitempty"`
	Ivk            []byte `protobuf:"bytes,7,opt,name=ivk,proto3" json:"ivk,omitempty"`
	D              []byte `protobuf:"bytes,8,opt,name=d,proto3" json:"d,omitempty"`
	PkD            []byte `protobuf:"bytes,9,opt,name=pkD,proto3" json:"pkD,omitempty"`
	PaymentAddress string `protobuf:"bytes,10,opt,name=payment_address,json=paymentAddress,proto3" json:"payment_address,omitempty"`
	// contains filtered or unexported fields
}

func (*ShieldedAddressInfo) Descriptor deprecated

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

Deprecated: Use ShieldedAddressInfo.ProtoReflect.Descriptor instead.

func (*ShieldedAddressInfo) GetAk

func (x *ShieldedAddressInfo) GetAk() []byte

func (*ShieldedAddressInfo) GetAsk

func (x *ShieldedAddressInfo) GetAsk() []byte

func (*ShieldedAddressInfo) GetD

func (x *ShieldedAddressInfo) GetD() []byte

func (*ShieldedAddressInfo) GetIvk

func (x *ShieldedAddressInfo) GetIvk() []byte

func (*ShieldedAddressInfo) GetNk

func (x *ShieldedAddressInfo) GetNk() []byte

func (*ShieldedAddressInfo) GetNsk

func (x *ShieldedAddressInfo) GetNsk() []byte

func (*ShieldedAddressInfo) GetOvk

func (x *ShieldedAddressInfo) GetOvk() []byte

func (*ShieldedAddressInfo) GetPaymentAddress

func (x *ShieldedAddressInfo) GetPaymentAddress() string

func (*ShieldedAddressInfo) GetPkD

func (x *ShieldedAddressInfo) GetPkD() []byte

func (*ShieldedAddressInfo) GetSk

func (x *ShieldedAddressInfo) GetSk() []byte

func (*ShieldedAddressInfo) ProtoMessage

func (*ShieldedAddressInfo) ProtoMessage()

func (*ShieldedAddressInfo) ProtoReflect

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

func (*ShieldedAddressInfo) Reset

func (x *ShieldedAddressInfo) Reset()

func (*ShieldedAddressInfo) String

func (x *ShieldedAddressInfo) String() string

type ShieldedTRC20Parameters

type ShieldedTRC20Parameters struct {
	SpendDescription     []*core.SpendDescription   `protobuf:"bytes,1,rep,name=spend_description,json=spendDescription,proto3" json:"spend_description,omitempty"`
	ReceiveDescription   []*core.ReceiveDescription `protobuf:"bytes,2,rep,name=receive_description,json=receiveDescription,proto3" json:"receive_description,omitempty"`
	BindingSignature     []byte                     `protobuf:"bytes,3,opt,name=binding_signature,json=bindingSignature,proto3" json:"binding_signature,omitempty"`
	MessageHash          []byte                     `protobuf:"bytes,4,opt,name=message_hash,json=messageHash,proto3" json:"message_hash,omitempty"`
	TriggerContractInput string                     `protobuf:"bytes,5,opt,name=trigger_contract_input,json=triggerContractInput,proto3" json:"trigger_contract_input,omitempty"`
	ParameterType        string                     `protobuf:"bytes,6,opt,name=parameter_type,json=parameterType,proto3" json:"parameter_type,omitempty"`
	// contains filtered or unexported fields
}

func (*ShieldedTRC20Parameters) Descriptor deprecated

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

Deprecated: Use ShieldedTRC20Parameters.ProtoReflect.Descriptor instead.

func (*ShieldedTRC20Parameters) GetBindingSignature

func (x *ShieldedTRC20Parameters) GetBindingSignature() []byte

func (*ShieldedTRC20Parameters) GetMessageHash

func (x *ShieldedTRC20Parameters) GetMessageHash() []byte

func (*ShieldedTRC20Parameters) GetParameterType

func (x *ShieldedTRC20Parameters) GetParameterType() string

func (*ShieldedTRC20Parameters) GetReceiveDescription

func (x *ShieldedTRC20Parameters) GetReceiveDescription() []*core.ReceiveDescription

func (*ShieldedTRC20Parameters) GetSpendDescription

func (x *ShieldedTRC20Parameters) GetSpendDescription() []*core.SpendDescription

func (*ShieldedTRC20Parameters) GetTriggerContractInput

func (x *ShieldedTRC20Parameters) GetTriggerContractInput() string

func (*ShieldedTRC20Parameters) ProtoMessage

func (*ShieldedTRC20Parameters) ProtoMessage()

func (*ShieldedTRC20Parameters) ProtoReflect

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

func (*ShieldedTRC20Parameters) Reset

func (x *ShieldedTRC20Parameters) Reset()

func (*ShieldedTRC20Parameters) String

func (x *ShieldedTRC20Parameters) String() string

type ShieldedTRC20TriggerContractParameters

type ShieldedTRC20TriggerContractParameters struct {
	Shielded_TRC20_Parameters *ShieldedTRC20Parameters `` /* 132-byte string literal not displayed */
	SpendAuthoritySignature   []*BytesMessage          `` /* 132-byte string literal not displayed */
	Amount                    string                   `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"`
	TransparentToAddress      []byte                   `protobuf:"bytes,4,opt,name=transparent_to_address,json=transparentToAddress,proto3" json:"transparent_to_address,omitempty"`
	// contains filtered or unexported fields
}

func (*ShieldedTRC20TriggerContractParameters) Descriptor deprecated

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

Deprecated: Use ShieldedTRC20TriggerContractParameters.ProtoReflect.Descriptor instead.

func (*ShieldedTRC20TriggerContractParameters) GetAmount

func (*ShieldedTRC20TriggerContractParameters) GetShielded_TRC20_Parameters

func (x *ShieldedTRC20TriggerContractParameters) GetShielded_TRC20_Parameters() *ShieldedTRC20Parameters

func (*ShieldedTRC20TriggerContractParameters) GetSpendAuthoritySignature

func (x *ShieldedTRC20TriggerContractParameters) GetSpendAuthoritySignature() []*BytesMessage

func (*ShieldedTRC20TriggerContractParameters) GetTransparentToAddress

func (x *ShieldedTRC20TriggerContractParameters) GetTransparentToAddress() []byte

func (*ShieldedTRC20TriggerContractParameters) ProtoMessage

func (*ShieldedTRC20TriggerContractParameters) ProtoReflect

func (*ShieldedTRC20TriggerContractParameters) Reset

func (*ShieldedTRC20TriggerContractParameters) String

type SpendAuthSigParameters

type SpendAuthSigParameters struct {
	Ask    []byte `protobuf:"bytes,1,opt,name=ask,proto3" json:"ask,omitempty"`
	TxHash []byte `protobuf:"bytes,2,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"`
	Alpha  []byte `protobuf:"bytes,3,opt,name=alpha,proto3" json:"alpha,omitempty"`
	// contains filtered or unexported fields
}

func (*SpendAuthSigParameters) Descriptor deprecated

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

Deprecated: Use SpendAuthSigParameters.ProtoReflect.Descriptor instead.

func (*SpendAuthSigParameters) GetAlpha

func (x *SpendAuthSigParameters) GetAlpha() []byte

func (*SpendAuthSigParameters) GetAsk

func (x *SpendAuthSigParameters) GetAsk() []byte

func (*SpendAuthSigParameters) GetTxHash

func (x *SpendAuthSigParameters) GetTxHash() []byte

func (*SpendAuthSigParameters) ProtoMessage

func (*SpendAuthSigParameters) ProtoMessage()

func (*SpendAuthSigParameters) ProtoReflect

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

func (*SpendAuthSigParameters) Reset

func (x *SpendAuthSigParameters) Reset()

func (*SpendAuthSigParameters) String

func (x *SpendAuthSigParameters) String() string

type SpendNote

type SpendNote struct {
	Note    *Note                          `protobuf:"bytes,3,opt,name=note,proto3" json:"note,omitempty"`
	Alpha   []byte                         `protobuf:"bytes,4,opt,name=alpha,proto3" json:"alpha,omitempty"` // random number for spend authority signature
	Voucher *core.IncrementalMerkleVoucher `protobuf:"bytes,5,opt,name=voucher,proto3" json:"voucher,omitempty"`
	Path    []byte                         `protobuf:"bytes,6,opt,name=path,proto3" json:"path,omitempty"` // path for cm from leaf to root in merkle tree
	// contains filtered or unexported fields
}

func (*SpendNote) Descriptor deprecated

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

Deprecated: Use SpendNote.ProtoReflect.Descriptor instead.

func (*SpendNote) GetAlpha

func (x *SpendNote) GetAlpha() []byte

func (*SpendNote) GetNote

func (x *SpendNote) GetNote() *Note

func (*SpendNote) GetPath

func (x *SpendNote) GetPath() []byte

func (*SpendNote) GetVoucher

func (x *SpendNote) GetVoucher() *core.IncrementalMerkleVoucher

func (*SpendNote) ProtoMessage

func (*SpendNote) ProtoMessage()

func (*SpendNote) ProtoReflect

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

func (*SpendNote) Reset

func (x *SpendNote) Reset()

func (*SpendNote) String

func (x *SpendNote) String() string

type SpendNoteTRC20

type SpendNoteTRC20 struct {
	Note  *Note  `protobuf:"bytes,1,opt,name=note,proto3" json:"note,omitempty"`
	Alpha []byte `protobuf:"bytes,2,opt,name=alpha,proto3" json:"alpha,omitempty"`
	Root  []byte `protobuf:"bytes,3,opt,name=root,proto3" json:"root,omitempty"`
	Path  []byte `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"`
	Pos   int64  `protobuf:"varint,5,opt,name=pos,proto3" json:"pos,omitempty"`
	// contains filtered or unexported fields
}

func (*SpendNoteTRC20) Descriptor deprecated

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

Deprecated: Use SpendNoteTRC20.ProtoReflect.Descriptor instead.

func (*SpendNoteTRC20) GetAlpha

func (x *SpendNoteTRC20) GetAlpha() []byte

func (*SpendNoteTRC20) GetNote

func (x *SpendNoteTRC20) GetNote() *Note

func (*SpendNoteTRC20) GetPath

func (x *SpendNoteTRC20) GetPath() []byte

func (*SpendNoteTRC20) GetPos

func (x *SpendNoteTRC20) GetPos() int64

func (*SpendNoteTRC20) GetRoot

func (x *SpendNoteTRC20) GetRoot() []byte

func (*SpendNoteTRC20) ProtoMessage

func (*SpendNoteTRC20) ProtoMessage()

func (*SpendNoteTRC20) ProtoReflect

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

func (*SpendNoteTRC20) Reset

func (x *SpendNoteTRC20) Reset()

func (*SpendNoteTRC20) String

func (x *SpendNoteTRC20) String() string

type SpendResult

type SpendResult struct {
	Result  bool   `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"`
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*SpendResult) Descriptor deprecated

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

Deprecated: Use SpendResult.ProtoReflect.Descriptor instead.

func (*SpendResult) GetMessage

func (x *SpendResult) GetMessage() string

func (*SpendResult) GetResult

func (x *SpendResult) GetResult() bool

func (*SpendResult) ProtoMessage

func (*SpendResult) ProtoMessage()

func (*SpendResult) ProtoReflect

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

func (*SpendResult) Reset

func (x *SpendResult) Reset()

func (*SpendResult) String

func (x *SpendResult) String() string

type TimeMessage

type TimeMessage struct {
	BeginInMilliseconds int64 `protobuf:"varint,1,opt,name=beginInMilliseconds,proto3" json:"beginInMilliseconds,omitempty"`
	EndInMilliseconds   int64 `protobuf:"varint,2,opt,name=endInMilliseconds,proto3" json:"endInMilliseconds,omitempty"`
	// contains filtered or unexported fields
}

func (*TimeMessage) Descriptor deprecated

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

Deprecated: Use TimeMessage.ProtoReflect.Descriptor instead.

func (*TimeMessage) GetBeginInMilliseconds

func (x *TimeMessage) GetBeginInMilliseconds() int64

func (*TimeMessage) GetEndInMilliseconds

func (x *TimeMessage) GetEndInMilliseconds() int64

func (*TimeMessage) ProtoMessage

func (*TimeMessage) ProtoMessage()

func (*TimeMessage) ProtoReflect

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

func (*TimeMessage) Reset

func (x *TimeMessage) Reset()

func (*TimeMessage) String

func (x *TimeMessage) String() string

type TimePaginatedMessage

type TimePaginatedMessage struct {
	TimeMessage *TimeMessage `protobuf:"bytes,1,opt,name=timeMessage,proto3" json:"timeMessage,omitempty"`
	Offset      int64        `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
	Limit       int64        `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"`
	// contains filtered or unexported fields
}

func (*TimePaginatedMessage) Descriptor deprecated

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

Deprecated: Use TimePaginatedMessage.ProtoReflect.Descriptor instead.

func (*TimePaginatedMessage) GetLimit

func (x *TimePaginatedMessage) GetLimit() int64

func (*TimePaginatedMessage) GetOffset

func (x *TimePaginatedMessage) GetOffset() int64

func (*TimePaginatedMessage) GetTimeMessage

func (x *TimePaginatedMessage) GetTimeMessage() *TimeMessage

func (*TimePaginatedMessage) ProtoMessage

func (*TimePaginatedMessage) ProtoMessage()

func (*TimePaginatedMessage) ProtoReflect

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

func (*TimePaginatedMessage) Reset

func (x *TimePaginatedMessage) Reset()

func (*TimePaginatedMessage) String

func (x *TimePaginatedMessage) String() string

type TransactionApprovedList

type TransactionApprovedList struct {
	ApprovedList [][]byte                        `protobuf:"bytes,2,rep,name=approved_list,json=approvedList,proto3" json:"approved_list,omitempty"`
	Result       *TransactionApprovedList_Result `protobuf:"bytes,4,opt,name=result,proto3" json:"result,omitempty"`
	Transaction  *TransactionExtention           `protobuf:"bytes,5,opt,name=transaction,proto3" json:"transaction,omitempty"`
	// contains filtered or unexported fields
}

func (*TransactionApprovedList) Descriptor deprecated

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

Deprecated: Use TransactionApprovedList.ProtoReflect.Descriptor instead.

func (*TransactionApprovedList) GetApprovedList

func (x *TransactionApprovedList) GetApprovedList() [][]byte

func (*TransactionApprovedList) GetResult

func (*TransactionApprovedList) GetTransaction

func (x *TransactionApprovedList) GetTransaction() *TransactionExtention

func (*TransactionApprovedList) ProtoMessage

func (*TransactionApprovedList) ProtoMessage()

func (*TransactionApprovedList) ProtoReflect

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

func (*TransactionApprovedList) Reset

func (x *TransactionApprovedList) Reset()

func (*TransactionApprovedList) String

func (x *TransactionApprovedList) String() string

type TransactionApprovedList_Result

type TransactionApprovedList_Result struct {
	Code    TransactionApprovedList_ResultResponseCode `protobuf:"varint,1,opt,name=code,proto3,enum=protocol.TransactionApprovedList_ResultResponseCode" json:"code,omitempty"`
	Message string                                     `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*TransactionApprovedList_Result) Descriptor deprecated

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

Deprecated: Use TransactionApprovedList_Result.ProtoReflect.Descriptor instead.

func (*TransactionApprovedList_Result) GetCode

func (*TransactionApprovedList_Result) GetMessage

func (x *TransactionApprovedList_Result) GetMessage() string

func (*TransactionApprovedList_Result) ProtoMessage

func (*TransactionApprovedList_Result) ProtoMessage()

func (*TransactionApprovedList_Result) ProtoReflect

func (*TransactionApprovedList_Result) Reset

func (x *TransactionApprovedList_Result) Reset()

func (*TransactionApprovedList_Result) String

type TransactionApprovedList_ResultResponseCode

type TransactionApprovedList_ResultResponseCode int32
const (
	TransactionApprovedList_Result_SUCCESS                TransactionApprovedList_ResultResponseCode = 0
	TransactionApprovedList_Result_SIGNATURE_FORMAT_ERROR TransactionApprovedList_ResultResponseCode = 1
	TransactionApprovedList_Result_COMPUTE_ADDRESS_ERROR  TransactionApprovedList_ResultResponseCode = 2
	TransactionApprovedList_Result_OTHER_ERROR            TransactionApprovedList_ResultResponseCode = 20
)

func (TransactionApprovedList_ResultResponseCode) Descriptor

func (TransactionApprovedList_ResultResponseCode) Enum

func (TransactionApprovedList_ResultResponseCode) EnumDescriptor deprecated

func (TransactionApprovedList_ResultResponseCode) EnumDescriptor() ([]byte, []int)

Deprecated: Use TransactionApprovedList_ResultResponseCode.Descriptor instead.

func (TransactionApprovedList_ResultResponseCode) Number

func (TransactionApprovedList_ResultResponseCode) String

func (TransactionApprovedList_ResultResponseCode) Type

type TransactionExtention

type TransactionExtention struct {
	Transaction          *core.Transaction           `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"`
	Txid                 []byte                      `protobuf:"bytes,2,opt,name=txid,proto3" json:"txid,omitempty"` //transaction id =  sha256(transaction.rowdata)
	ConstantResult       [][]byte                    `protobuf:"bytes,3,rep,name=constant_result,json=constantResult,proto3" json:"constant_result,omitempty"`
	Result               *Return                     `protobuf:"bytes,4,opt,name=result,proto3" json:"result,omitempty"`
	EnergyUsed           int64                       `protobuf:"varint,5,opt,name=energy_used,json=energyUsed,proto3" json:"energy_used,omitempty"`
	Logs                 []*core.TransactionInfo_Log `protobuf:"bytes,6,rep,name=logs,proto3" json:"logs,omitempty"`
	InternalTransactions []*core.InternalTransaction `protobuf:"bytes,7,rep,name=internal_transactions,json=internalTransactions,proto3" json:"internal_transactions,omitempty"`
	EnergyPenalty        int64                       `protobuf:"varint,8,opt,name=energy_penalty,json=energyPenalty,proto3" json:"energy_penalty,omitempty"`
	// contains filtered or unexported fields
}

func (*TransactionExtention) Descriptor deprecated

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

Deprecated: Use TransactionExtention.ProtoReflect.Descriptor instead.

func (*TransactionExtention) GetConstantResult

func (x *TransactionExtention) GetConstantResult() [][]byte

func (*TransactionExtention) GetEnergyPenalty

func (x *TransactionExtention) GetEnergyPenalty() int64

func (*TransactionExtention) GetEnergyUsed

func (x *TransactionExtention) GetEnergyUsed() int64

func (*TransactionExtention) GetInternalTransactions

func (x *TransactionExtention) GetInternalTransactions() []*core.InternalTransaction

func (*TransactionExtention) GetLogs

func (*TransactionExtention) GetResult

func (x *TransactionExtention) GetResult() *Return

func (*TransactionExtention) GetTransaction

func (x *TransactionExtention) GetTransaction() *core.Transaction

func (*TransactionExtention) GetTxid

func (x *TransactionExtention) GetTxid() []byte

func (*TransactionExtention) ProtoMessage

func (*TransactionExtention) ProtoMessage()

func (*TransactionExtention) ProtoReflect

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

func (*TransactionExtention) Reset

func (x *TransactionExtention) Reset()

func (*TransactionExtention) String

func (x *TransactionExtention) String() string

type TransactionIdList

type TransactionIdList struct {
	TxId []string `protobuf:"bytes,1,rep,name=txId,proto3" json:"txId,omitempty"`
	// contains filtered or unexported fields
}

func (*TransactionIdList) Descriptor deprecated

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

Deprecated: Use TransactionIdList.ProtoReflect.Descriptor instead.

func (*TransactionIdList) GetTxId

func (x *TransactionIdList) GetTxId() []string

func (*TransactionIdList) ProtoMessage

func (*TransactionIdList) ProtoMessage()

func (*TransactionIdList) ProtoReflect

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

func (*TransactionIdList) Reset

func (x *TransactionIdList) Reset()

func (*TransactionIdList) String

func (x *TransactionIdList) String() string

type TransactionInfoList

type TransactionInfoList struct {
	TransactionInfo []*core.TransactionInfo `protobuf:"bytes,1,rep,name=transactionInfo,proto3" json:"transactionInfo,omitempty"`
	// contains filtered or unexported fields
}

func (*TransactionInfoList) Descriptor deprecated

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

Deprecated: Use TransactionInfoList.ProtoReflect.Descriptor instead.

func (*TransactionInfoList) GetTransactionInfo

func (x *TransactionInfoList) GetTransactionInfo() []*core.TransactionInfo

func (*TransactionInfoList) ProtoMessage

func (*TransactionInfoList) ProtoMessage()

func (*TransactionInfoList) ProtoReflect

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

func (*TransactionInfoList) Reset

func (x *TransactionInfoList) Reset()

func (*TransactionInfoList) String

func (x *TransactionInfoList) String() string

type TransactionLimit

type TransactionLimit struct {
	TransactionId []byte `protobuf:"bytes,1,opt,name=transactionId,proto3" json:"transactionId,omitempty"`
	LimitNum      int64  `protobuf:"varint,2,opt,name=limitNum,proto3" json:"limitNum,omitempty"`
	// contains filtered or unexported fields
}

func (*TransactionLimit) Descriptor deprecated

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

Deprecated: Use TransactionLimit.ProtoReflect.Descriptor instead.

func (*TransactionLimit) GetLimitNum

func (x *TransactionLimit) GetLimitNum() int64

func (*TransactionLimit) GetTransactionId

func (x *TransactionLimit) GetTransactionId() []byte

func (*TransactionLimit) ProtoMessage

func (*TransactionLimit) ProtoMessage()

func (*TransactionLimit) ProtoReflect

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

func (*TransactionLimit) Reset

func (x *TransactionLimit) Reset()

func (*TransactionLimit) String

func (x *TransactionLimit) String() string

type TransactionList

type TransactionList struct {
	Transaction []*core.Transaction `protobuf:"bytes,1,rep,name=transaction,proto3" json:"transaction,omitempty"`
	// contains filtered or unexported fields
}

func (*TransactionList) Descriptor deprecated

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

Deprecated: Use TransactionList.ProtoReflect.Descriptor instead.

func (*TransactionList) GetTransaction

func (x *TransactionList) GetTransaction() []*core.Transaction

func (*TransactionList) ProtoMessage

func (*TransactionList) ProtoMessage()

func (*TransactionList) ProtoReflect

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

func (*TransactionList) Reset

func (x *TransactionList) Reset()

func (*TransactionList) String

func (x *TransactionList) String() string

type TransactionListExtention

type TransactionListExtention struct {
	Transaction []*TransactionExtention `protobuf:"bytes,1,rep,name=transaction,proto3" json:"transaction,omitempty"`
	// contains filtered or unexported fields
}

func (*TransactionListExtention) Descriptor deprecated

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

Deprecated: Use TransactionListExtention.ProtoReflect.Descriptor instead.

func (*TransactionListExtention) GetTransaction

func (x *TransactionListExtention) GetTransaction() []*TransactionExtention

func (*TransactionListExtention) ProtoMessage

func (*TransactionListExtention) ProtoMessage()

func (*TransactionListExtention) ProtoReflect

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

func (*TransactionListExtention) Reset

func (x *TransactionListExtention) Reset()

func (*TransactionListExtention) String

func (x *TransactionListExtention) String() string

type TransactionSignWeight

type TransactionSignWeight struct {
	Permission    *core.Permission              `protobuf:"bytes,1,opt,name=permission,proto3" json:"permission,omitempty"`
	ApprovedList  [][]byte                      `protobuf:"bytes,2,rep,name=approved_list,json=approvedList,proto3" json:"approved_list,omitempty"`
	CurrentWeight int64                         `protobuf:"varint,3,opt,name=current_weight,json=currentWeight,proto3" json:"current_weight,omitempty"`
	Result        *TransactionSignWeight_Result `protobuf:"bytes,4,opt,name=result,proto3" json:"result,omitempty"`
	Transaction   *TransactionExtention         `protobuf:"bytes,5,opt,name=transaction,proto3" json:"transaction,omitempty"`
	// contains filtered or unexported fields
}

func (*TransactionSignWeight) Descriptor deprecated

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

Deprecated: Use TransactionSignWeight.ProtoReflect.Descriptor instead.

func (*TransactionSignWeight) GetApprovedList

func (x *TransactionSignWeight) GetApprovedList() [][]byte

func (*TransactionSignWeight) GetCurrentWeight

func (x *TransactionSignWeight) GetCurrentWeight() int64

func (*TransactionSignWeight) GetPermission

func (x *TransactionSignWeight) GetPermission() *core.Permission

func (*TransactionSignWeight) GetResult

func (*TransactionSignWeight) GetTransaction

func (x *TransactionSignWeight) GetTransaction() *TransactionExtention

func (*TransactionSignWeight) ProtoMessage

func (*TransactionSignWeight) ProtoMessage()

func (*TransactionSignWeight) ProtoReflect

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

func (*TransactionSignWeight) Reset

func (x *TransactionSignWeight) Reset()

func (*TransactionSignWeight) String

func (x *TransactionSignWeight) String() string

type TransactionSignWeight_Result

type TransactionSignWeight_Result struct {
	Code    TransactionSignWeight_ResultResponseCode `protobuf:"varint,1,opt,name=code,proto3,enum=protocol.TransactionSignWeight_ResultResponseCode" json:"code,omitempty"`
	Message string                                   `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*TransactionSignWeight_Result) Descriptor deprecated

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

Deprecated: Use TransactionSignWeight_Result.ProtoReflect.Descriptor instead.

func (*TransactionSignWeight_Result) GetCode

func (*TransactionSignWeight_Result) GetMessage

func (x *TransactionSignWeight_Result) GetMessage() string

func (*TransactionSignWeight_Result) ProtoMessage

func (*TransactionSignWeight_Result) ProtoMessage()

func (*TransactionSignWeight_Result) ProtoReflect

func (*TransactionSignWeight_Result) Reset

func (x *TransactionSignWeight_Result) Reset()

func (*TransactionSignWeight_Result) String

type TransactionSignWeight_ResultResponseCode

type TransactionSignWeight_ResultResponseCode int32
const (
	TransactionSignWeight_Result_ENOUGH_PERMISSION      TransactionSignWeight_ResultResponseCode = 0
	TransactionSignWeight_Result_NOT_ENOUGH_PERMISSION  TransactionSignWeight_ResultResponseCode = 1 // error in
	TransactionSignWeight_Result_SIGNATURE_FORMAT_ERROR TransactionSignWeight_ResultResponseCode = 2
	TransactionSignWeight_Result_COMPUTE_ADDRESS_ERROR  TransactionSignWeight_ResultResponseCode = 3
	TransactionSignWeight_Result_PERMISSION_ERROR       TransactionSignWeight_ResultResponseCode = 4 //The key is not in permission
	TransactionSignWeight_Result_OTHER_ERROR            TransactionSignWeight_ResultResponseCode = 20
)

func (TransactionSignWeight_ResultResponseCode) Descriptor

func (TransactionSignWeight_ResultResponseCode) Enum

func (TransactionSignWeight_ResultResponseCode) EnumDescriptor deprecated

func (TransactionSignWeight_ResultResponseCode) EnumDescriptor() ([]byte, []int)

Deprecated: Use TransactionSignWeight_ResultResponseCode.Descriptor instead.

func (TransactionSignWeight_ResultResponseCode) Number

func (TransactionSignWeight_ResultResponseCode) String

func (TransactionSignWeight_ResultResponseCode) Type

type TronZksnarkClient

type TronZksnarkClient interface {
	CheckZksnarkProof(ctx context.Context, in *ZksnarkRequest, opts ...grpc.CallOption) (*ZksnarkResponse, error)
}

TronZksnarkClient is the client API for TronZksnark 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 TronZksnarkServer

type TronZksnarkServer interface {
	CheckZksnarkProof(context.Context, *ZksnarkRequest) (*ZksnarkResponse, error)
	// contains filtered or unexported methods
}

TronZksnarkServer is the server API for TronZksnark service. All implementations must embed UnimplementedTronZksnarkServer for forward compatibility

type UnimplementedDatabaseServer

type UnimplementedDatabaseServer struct {
}

UnimplementedDatabaseServer must be embedded to have forward compatible implementations.

func (UnimplementedDatabaseServer) GetBlockByNum

func (UnimplementedDatabaseServer) GetBlockReference

func (UnimplementedDatabaseServer) GetDynamicProperties

func (UnimplementedDatabaseServer) GetNowBlock

type UnimplementedMonitorServer

type UnimplementedMonitorServer struct {
}

UnimplementedMonitorServer must be embedded to have forward compatible implementations.

func (UnimplementedMonitorServer) GetStatsInfo

type UnimplementedNetworkServer

type UnimplementedNetworkServer struct {
}

UnimplementedNetworkServer must be embedded to have forward compatible implementations.

type UnimplementedTronZksnarkServer

type UnimplementedTronZksnarkServer struct {
}

UnimplementedTronZksnarkServer must be embedded to have forward compatible implementations.

func (UnimplementedTronZksnarkServer) CheckZksnarkProof

type UnimplementedWalletExtensionServer

type UnimplementedWalletExtensionServer struct {
}

UnimplementedWalletExtensionServer must be embedded to have forward compatible implementations.

func (UnimplementedWalletExtensionServer) GetTransactionsFromThis

func (UnimplementedWalletExtensionServer) GetTransactionsFromThis2

func (UnimplementedWalletExtensionServer) GetTransactionsToThis

func (UnimplementedWalletExtensionServer) GetTransactionsToThis2

type UnimplementedWalletServer

type UnimplementedWalletServer struct {
}

UnimplementedWalletServer must be embedded to have forward compatible implementations.

func (UnimplementedWalletServer) AddSign

func (UnimplementedWalletServer) BroadcastTransaction

func (UnimplementedWalletServer) BuyStorage

func (UnimplementedWalletServer) BuyStorageBytes

func (UnimplementedWalletServer) ClearContractABI

func (UnimplementedWalletServer) CreateAccount

func (UnimplementedWalletServer) CreateAccount2

func (UnimplementedWalletServer) CreateAddress

func (UnimplementedWalletServer) CreateAssetIssue

func (UnimplementedWalletServer) CreateAssetIssue2

func (UnimplementedWalletServer) CreateCommonTransaction

func (UnimplementedWalletServer) CreateShieldNullifier

func (UnimplementedWalletServer) CreateShieldedContractParameters

func (UnimplementedWalletServer) CreateShieldedTransaction

func (UnimplementedWalletServer) CreateShieldedTransactionWithoutSpendAuthSig

func (UnimplementedWalletServer) CreateShieldedTransactionWithoutSpendAuthSig(context.Context, *PrivateParametersWithoutAsk) (*TransactionExtention, error)

func (UnimplementedWalletServer) CreateSpendAuthSig

func (UnimplementedWalletServer) CreateTransaction

func (UnimplementedWalletServer) CreateTransaction2

func (UnimplementedWalletServer) CreateWitness

func (UnimplementedWalletServer) CreateWitness2

func (UnimplementedWalletServer) DelegateResource

func (UnimplementedWalletServer) DeployContract

func (UnimplementedWalletServer) EasyTransfer

func (UnimplementedWalletServer) EasyTransferAsset

func (UnimplementedWalletServer) EasyTransferByPrivate

func (UnimplementedWalletServer) EstimateEnergy

func (UnimplementedWalletServer) ExchangeCreate

func (UnimplementedWalletServer) ExchangeInject

func (UnimplementedWalletServer) ExchangeWithdraw

func (UnimplementedWalletServer) FreezeBalance

func (UnimplementedWalletServer) FreezeBalance2

func (UnimplementedWalletServer) FreezeBalanceV2

func (UnimplementedWalletServer) GenerateAddress

func (UnimplementedWalletServer) GetAccount

func (UnimplementedWalletServer) GetAccountBalance

func (UnimplementedWalletServer) GetAccountById

func (UnimplementedWalletServer) GetAccountNet

func (UnimplementedWalletServer) GetAccountResource

func (UnimplementedWalletServer) GetAkFromAsk

func (UnimplementedWalletServer) GetAssetIssueByAccount

func (UnimplementedWalletServer) GetAssetIssueById

func (UnimplementedWalletServer) GetAssetIssueByName

func (UnimplementedWalletServer) GetAssetIssueList

func (UnimplementedWalletServer) GetAssetIssueListByName

func (UnimplementedWalletServer) GetBlock

func (UnimplementedWalletServer) GetBlockById

func (UnimplementedWalletServer) GetBlockByLatestNum

func (UnimplementedWalletServer) GetBlockByLatestNum2

func (UnimplementedWalletServer) GetBlockByLimitNext

func (UnimplementedWalletServer) GetBlockByLimitNext2

func (UnimplementedWalletServer) GetBlockByNum

func (UnimplementedWalletServer) GetBlockByNum2

func (UnimplementedWalletServer) GetBrokerageInfo

func (UnimplementedWalletServer) GetBurnTrx

func (UnimplementedWalletServer) GetChainParameters

func (UnimplementedWalletServer) GetContract

func (UnimplementedWalletServer) GetContractInfo

func (UnimplementedWalletServer) GetDelegatedResource

func (UnimplementedWalletServer) GetDelegatedResourceAccountIndex

func (UnimplementedWalletServer) GetDelegatedResourceAccountIndexV2

func (UnimplementedWalletServer) GetDelegatedResourceV2

func (UnimplementedWalletServer) GetDiversifier

func (UnimplementedWalletServer) GetExchangeById

func (UnimplementedWalletServer) GetExpandedSpendingKey

func (UnimplementedWalletServer) GetIncomingViewingKey

func (UnimplementedWalletServer) GetMarketOrderByAccount

func (UnimplementedWalletServer) GetMarketOrderById

func (UnimplementedWalletServer) GetMarketOrderListByPair

func (UnimplementedWalletServer) GetMarketPairList

func (UnimplementedWalletServer) GetMarketPriceByPair

func (UnimplementedWalletServer) GetMerkleTreeVoucherInfo

func (UnimplementedWalletServer) GetNewShieldedAddress

func (UnimplementedWalletServer) GetNextMaintenanceTime

func (UnimplementedWalletServer) GetNkFromNsk

func (UnimplementedWalletServer) GetNodeInfo

func (UnimplementedWalletServer) GetNowBlock

func (UnimplementedWalletServer) GetNowBlock2

func (UnimplementedWalletServer) GetPaginatedAssetIssueList

func (UnimplementedWalletServer) GetPaginatedExchangeList

func (UnimplementedWalletServer) GetPaginatedProposalList

func (UnimplementedWalletServer) GetPendingSize

func (UnimplementedWalletServer) GetProposalById

func (UnimplementedWalletServer) GetRcm

func (UnimplementedWalletServer) GetRewardInfo

func (UnimplementedWalletServer) GetShieldTransactionHash

func (UnimplementedWalletServer) GetSpendingKey

func (UnimplementedWalletServer) GetTransactionApprovedList

func (UnimplementedWalletServer) GetTransactionById

func (UnimplementedWalletServer) GetTransactionCountByBlockNum

func (UnimplementedWalletServer) GetTransactionCountByBlockNum(context.Context, *NumberMessage) (*NumberMessage, error)

func (UnimplementedWalletServer) GetTransactionFromPending

func (UnimplementedWalletServer) GetTransactionFromPending(context.Context, *BytesMessage) (*core.Transaction, error)

func (UnimplementedWalletServer) GetTransactionInfoByBlockNum

func (UnimplementedWalletServer) GetTransactionInfoById

func (UnimplementedWalletServer) GetTransactionListFromPending

func (UnimplementedWalletServer) GetTransactionListFromPending(context.Context, *EmptyMessage) (*TransactionIdList, error)

func (UnimplementedWalletServer) GetTransactionSign

func (UnimplementedWalletServer) GetTransactionSign2

func (UnimplementedWalletServer) GetTransactionSignWeight

func (UnimplementedWalletServer) GetTriggerInputForShieldedTRC20Contract

func (UnimplementedWalletServer) IsShieldedTRC20ContractNoteSpent

func (UnimplementedWalletServer) IsShieldedTRC20ContractNoteSpent(context.Context, *NfTRC20Parameters) (*NullifierResult, error)

func (UnimplementedWalletServer) IsSpend

func (UnimplementedWalletServer) ListExchanges

func (UnimplementedWalletServer) ListNodes

func (UnimplementedWalletServer) ListProposals

func (UnimplementedWalletServer) ListWitnesses

func (UnimplementedWalletServer) MarketCancelOrder

func (UnimplementedWalletServer) MarketSellAsset

func (UnimplementedWalletServer) ParticipateAssetIssue

func (UnimplementedWalletServer) ProposalApprove

func (UnimplementedWalletServer) ProposalCreate

func (UnimplementedWalletServer) ProposalDelete

func (UnimplementedWalletServer) ScanAndMarkNoteByIvk

func (UnimplementedWalletServer) ScanNoteByIvk

func (UnimplementedWalletServer) ScanNoteByOvk

func (UnimplementedWalletServer) ScanShieldedTRC20NotesByIvk

func (UnimplementedWalletServer) ScanShieldedTRC20NotesByOvk

func (UnimplementedWalletServer) SellStorage

func (UnimplementedWalletServer) SetAccountId

func (UnimplementedWalletServer) TotalTransaction

func (UnimplementedWalletServer) TransferAsset

func (UnimplementedWalletServer) TransferAsset2

func (UnimplementedWalletServer) TriggerConstantContract

func (UnimplementedWalletServer) TriggerContract

func (UnimplementedWalletServer) UnDelegateResource

func (UnimplementedWalletServer) UnfreezeAsset

func (UnimplementedWalletServer) UnfreezeAsset2

func (UnimplementedWalletServer) UnfreezeBalance

func (UnimplementedWalletServer) UnfreezeBalance2

func (UnimplementedWalletServer) UnfreezeBalanceV2

func (UnimplementedWalletServer) UpdateAccount

func (UnimplementedWalletServer) UpdateAccount2

func (UnimplementedWalletServer) UpdateAsset

func (UnimplementedWalletServer) UpdateAsset2

func (UnimplementedWalletServer) UpdateBrokerage

func (UnimplementedWalletServer) UpdateEnergyLimit

func (UnimplementedWalletServer) UpdateSetting

func (UnimplementedWalletServer) UpdateWitness

func (UnimplementedWalletServer) UpdateWitness2

func (UnimplementedWalletServer) VoteWitnessAccount

func (UnimplementedWalletServer) VoteWitnessAccount2

func (UnimplementedWalletServer) WithdrawBalance

func (UnimplementedWalletServer) WithdrawBalance2

type UnimplementedWalletSolidityServer

type UnimplementedWalletSolidityServer struct {
}

UnimplementedWalletSolidityServer must be embedded to have forward compatible implementations.

func (UnimplementedWalletSolidityServer) EstimateEnergy

func (UnimplementedWalletSolidityServer) GenerateAddress

func (UnimplementedWalletSolidityServer) GetAccount

func (UnimplementedWalletSolidityServer) GetAccountById

func (UnimplementedWalletSolidityServer) GetAssetIssueById

func (UnimplementedWalletSolidityServer) GetAssetIssueByName

func (UnimplementedWalletSolidityServer) GetAssetIssueList

func (UnimplementedWalletSolidityServer) GetAssetIssueListByName

func (UnimplementedWalletSolidityServer) GetBlock

func (UnimplementedWalletSolidityServer) GetBlockByNum

func (UnimplementedWalletSolidityServer) GetBlockByNum2

func (UnimplementedWalletSolidityServer) GetBrokerageInfo

func (UnimplementedWalletSolidityServer) GetBurnTrx

func (UnimplementedWalletSolidityServer) GetDelegatedResource

func (UnimplementedWalletSolidityServer) GetDelegatedResourceAccountIndex

func (UnimplementedWalletSolidityServer) GetDelegatedResourceAccountIndexV2

func (UnimplementedWalletSolidityServer) GetDelegatedResourceV2

func (UnimplementedWalletSolidityServer) GetExchangeById

func (UnimplementedWalletSolidityServer) GetMarketOrderByAccount

func (UnimplementedWalletSolidityServer) GetMarketOrderById

func (UnimplementedWalletSolidityServer) GetMarketOrderListByPair

func (UnimplementedWalletSolidityServer) GetMarketPairList

func (UnimplementedWalletSolidityServer) GetMarketPriceByPair

func (UnimplementedWalletSolidityServer) GetMerkleTreeVoucherInfo

func (UnimplementedWalletSolidityServer) GetNowBlock

func (UnimplementedWalletSolidityServer) GetNowBlock2

func (UnimplementedWalletSolidityServer) GetPaginatedAssetIssueList

func (UnimplementedWalletSolidityServer) GetRewardInfo

func (UnimplementedWalletSolidityServer) GetTransactionById

func (UnimplementedWalletSolidityServer) GetTransactionCountByBlockNum

func (UnimplementedWalletSolidityServer) GetTransactionInfoByBlockNum

func (UnimplementedWalletSolidityServer) GetTransactionInfoById

func (UnimplementedWalletSolidityServer) IsShieldedTRC20ContractNoteSpent

func (UnimplementedWalletSolidityServer) IsSpend

func (UnimplementedWalletSolidityServer) ListExchanges

func (UnimplementedWalletSolidityServer) ListWitnesses

func (UnimplementedWalletSolidityServer) ScanAndMarkNoteByIvk

func (UnimplementedWalletSolidityServer) ScanNoteByIvk

func (UnimplementedWalletSolidityServer) ScanNoteByOvk

func (UnimplementedWalletSolidityServer) ScanShieldedTRC20NotesByIvk

func (UnimplementedWalletSolidityServer) ScanShieldedTRC20NotesByOvk

func (UnimplementedWalletSolidityServer) TriggerConstantContract

type UnsafeDatabaseServer

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

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

type UnsafeMonitorServer

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

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

type UnsafeNetworkServer

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

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

type UnsafeTronZksnarkServer

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

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

type UnsafeWalletExtensionServer

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

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

type UnsafeWalletServer

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

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

type UnsafeWalletSolidityServer

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

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

type ViewingKeyMessage

type ViewingKeyMessage struct {
	Ak []byte `protobuf:"bytes,1,opt,name=ak,proto3" json:"ak,omitempty"`
	Nk []byte `protobuf:"bytes,2,opt,name=nk,proto3" json:"nk,omitempty"`
	// contains filtered or unexported fields
}

func (*ViewingKeyMessage) Descriptor deprecated

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

Deprecated: Use ViewingKeyMessage.ProtoReflect.Descriptor instead.

func (*ViewingKeyMessage) GetAk

func (x *ViewingKeyMessage) GetAk() []byte

func (*ViewingKeyMessage) GetNk

func (x *ViewingKeyMessage) GetNk() []byte

func (*ViewingKeyMessage) ProtoMessage

func (*ViewingKeyMessage) ProtoMessage()

func (*ViewingKeyMessage) ProtoReflect

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

func (*ViewingKeyMessage) Reset

func (x *ViewingKeyMessage) Reset()

func (*ViewingKeyMessage) String

func (x *ViewingKeyMessage) String() string

type WalletClient

type WalletClient interface {
	GetAccount(ctx context.Context, in *core.Account, opts ...grpc.CallOption) (*core.Account, error)
	GetAccountById(ctx context.Context, in *core.Account, opts ...grpc.CallOption) (*core.Account, error)
	GetAccountBalance(ctx context.Context, in *core.AccountBalanceRequest, opts ...grpc.CallOption) (*core.AccountBalanceResponse, error)
	GetBlockBalanceTrace(ctx context.Context, in *core.BlockBalanceTrace_BlockIdentifier, opts ...grpc.CallOption) (*core.BlockBalanceTrace, error)
	// Please use CreateTransaction2 instead of this function.
	CreateTransaction(ctx context.Context, in *core.TransferContract, opts ...grpc.CallOption) (*core.Transaction, error)
	// Use this function instead of CreateTransaction.
	CreateTransaction2(ctx context.Context, in *core.TransferContract, opts ...grpc.CallOption) (*TransactionExtention, error)
	BroadcastTransaction(ctx context.Context, in *core.Transaction, opts ...grpc.CallOption) (*Return, error)
	// Please use UpdateAccount2 instead of this function.
	UpdateAccount(ctx context.Context, in *core.AccountUpdateContract, opts ...grpc.CallOption) (*core.Transaction, error)
	SetAccountId(ctx context.Context, in *core.SetAccountIdContract, opts ...grpc.CallOption) (*core.Transaction, error)
	// Use this function instead of UpdateAccount.
	UpdateAccount2(ctx context.Context, in *core.AccountUpdateContract, opts ...grpc.CallOption) (*TransactionExtention, error)
	// Please use VoteWitnessAccount2 instead of this function.
	VoteWitnessAccount(ctx context.Context, in *core.VoteWitnessContract, opts ...grpc.CallOption) (*core.Transaction, error)
	// modify the consume_user_resource_percent
	UpdateSetting(ctx context.Context, in *core.UpdateSettingContract, opts ...grpc.CallOption) (*TransactionExtention, error)
	// modify the energy_limit
	UpdateEnergyLimit(ctx context.Context, in *core.UpdateEnergyLimitContract, opts ...grpc.CallOption) (*TransactionExtention, error)
	// Use this function instead of VoteWitnessAccount.
	VoteWitnessAccount2(ctx context.Context, in *core.VoteWitnessContract, opts ...grpc.CallOption) (*TransactionExtention, error)
	// Please use CreateAssetIssue2 instead of this function.
	CreateAssetIssue(ctx context.Context, in *core.AssetIssueContract, opts ...grpc.CallOption) (*core.Transaction, error)
	// Use this function instead of CreateAssetIssue.
	CreateAssetIssue2(ctx context.Context, in *core.AssetIssueContract, opts ...grpc.CallOption) (*TransactionExtention, error)
	// Please use UpdateWitness2 instead of this function.
	UpdateWitness(ctx context.Context, in *core.WitnessUpdateContract, opts ...grpc.CallOption) (*core.Transaction, error)
	// Use this function instead of UpdateWitness.
	UpdateWitness2(ctx context.Context, in *core.WitnessUpdateContract, opts ...grpc.CallOption) (*TransactionExtention, error)
	// Please use CreateAccount2 instead of this function.
	CreateAccount(ctx context.Context, in *core.AccountCreateContract, opts ...grpc.CallOption) (*core.Transaction, error)
	// Use this function instead of CreateAccount.
	CreateAccount2(ctx context.Context, in *core.AccountCreateContract, opts ...grpc.CallOption) (*TransactionExtention, error)
	// Please use CreateWitness2 instead of this function.
	CreateWitness(ctx context.Context, in *core.WitnessCreateContract, opts ...grpc.CallOption) (*core.Transaction, error)
	// Use this function instead of CreateWitness.
	CreateWitness2(ctx context.Context, in *core.WitnessCreateContract, opts ...grpc.CallOption) (*TransactionExtention, error)
	// Please use TransferAsset2 instead of this function.
	TransferAsset(ctx context.Context, in *core.TransferAssetContract, opts ...grpc.CallOption) (*core.Transaction, error)
	// Use this function instead of TransferAsset.
	TransferAsset2(ctx context.Context, in *core.TransferAssetContract, opts ...grpc.CallOption) (*TransactionExtention, error)
	// Please use ParticipateAssetIssue2 instead of this function.
	ParticipateAssetIssue(ctx context.Context, in *core.ParticipateAssetIssueContract, opts ...grpc.CallOption) (*core.Transaction, error)
	// Use this function instead of ParticipateAssetIssue.
	ParticipateAssetIssue2(ctx context.Context, in *core.ParticipateAssetIssueContract, opts ...grpc.CallOption) (*TransactionExtention, error)
	// Please use FreezeBalance2 instead of this function.
	FreezeBalance(ctx context.Context, in *core.FreezeBalanceContract, opts ...grpc.CallOption) (*core.Transaction, error)
	// Use this function instead of FreezeBalance.
	FreezeBalance2(ctx context.Context, in *core.FreezeBalanceContract, opts ...grpc.CallOption) (*TransactionExtention, error)
	// Use this function when FreezeBalanceV2.
	FreezeBalanceV2(ctx context.Context, in *core.FreezeBalanceV2Contract, opts ...grpc.CallOption) (*TransactionExtention, error)
	// Please use UnfreezeBalance2 instead of this function.
	UnfreezeBalance(ctx context.Context, in *core.UnfreezeBalanceContract, opts ...grpc.CallOption) (*core.Transaction, error)
	// Use this function instead of UnfreezeBalance.
	UnfreezeBalance2(ctx context.Context, in *core.UnfreezeBalanceContract, opts ...grpc.CallOption) (*TransactionExtention, error)
	// Use this function when UnfreezeBalanceV2.
	UnfreezeBalanceV2(ctx context.Context, in *core.UnfreezeBalanceV2Contract, opts ...grpc.CallOption) (*TransactionExtention, error)
	// Please use UnfreezeAsset2 instead of this function.
	UnfreezeAsset(ctx context.Context, in *core.UnfreezeAssetContract, opts ...grpc.CallOption) (*core.Transaction, error)
	// Use this function instead of UnfreezeAsset.
	UnfreezeAsset2(ctx context.Context, in *core.UnfreezeAssetContract, opts ...grpc.CallOption) (*TransactionExtention, error)
	// Please use WithdrawBalance2 instead of this function.
	WithdrawBalance(ctx context.Context, in *core.WithdrawBalanceContract, opts ...grpc.CallOption) (*core.Transaction, error)
	// Use this function instead of WithdrawBalance.
	WithdrawBalance2(ctx context.Context, in *core.WithdrawBalanceContract, opts ...grpc.CallOption) (*TransactionExtention, error)
	WithdrawExpireUnfreeze(ctx context.Context, in *core.WithdrawExpireUnfreezeContract, opts ...grpc.CallOption) (*TransactionExtention, error)
	DelegateResource(ctx context.Context, in *core.DelegateResourceContract, opts ...grpc.CallOption) (*TransactionExtention, error)
	UnDelegateResource(ctx context.Context, in *core.UnDelegateResourceContract, opts ...grpc.CallOption) (*TransactionExtention, error)
	// Please use UpdateAsset2 instead of this function.
	UpdateAsset(ctx context.Context, in *core.UpdateAssetContract, opts ...grpc.CallOption) (*core.Transaction, error)
	// Use this function instead of UpdateAsset.
	UpdateAsset2(ctx context.Context, in *core.UpdateAssetContract, opts ...grpc.CallOption) (*TransactionExtention, error)
	ProposalCreate(ctx context.Context, in *core.ProposalCreateContract, opts ...grpc.CallOption) (*TransactionExtention, error)
	ProposalApprove(ctx context.Context, in *core.ProposalApproveContract, opts ...grpc.CallOption) (*TransactionExtention, error)
	ProposalDelete(ctx context.Context, in *core.ProposalDeleteContract, opts ...grpc.CallOption) (*TransactionExtention, error)
	BuyStorage(ctx context.Context, in *core.BuyStorageContract, opts ...grpc.CallOption) (*TransactionExtention, error)
	BuyStorageBytes(ctx context.Context, in *core.BuyStorageBytesContract, opts ...grpc.CallOption) (*TransactionExtention, error)
	SellStorage(ctx context.Context, in *core.SellStorageContract, opts ...grpc.CallOption) (*TransactionExtention, error)
	ExchangeCreate(ctx context.Context, in *core.ExchangeCreateContract, opts ...grpc.CallOption) (*TransactionExtention, error)
	ExchangeInject(ctx context.Context, in *core.ExchangeInjectContract, opts ...grpc.CallOption) (*TransactionExtention, error)
	ExchangeWithdraw(ctx context.Context, in *core.ExchangeWithdrawContract, opts ...grpc.CallOption) (*TransactionExtention, error)
	ExchangeTransaction(ctx context.Context, in *core.ExchangeTransactionContract, opts ...grpc.CallOption) (*TransactionExtention, error)
	MarketSellAsset(ctx context.Context, in *core.MarketSellAssetContract, opts ...grpc.CallOption) (*TransactionExtention, error)
	MarketCancelOrder(ctx context.Context, in *core.MarketCancelOrderContract, opts ...grpc.CallOption) (*TransactionExtention, error)
	GetMarketOrderById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.MarketOrder, error)
	GetMarketOrderByAccount(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.MarketOrderList, error)
	GetMarketPriceByPair(ctx context.Context, in *core.MarketOrderPair, opts ...grpc.CallOption) (*core.MarketPriceList, error)
	GetMarketOrderListByPair(ctx context.Context, in *core.MarketOrderPair, opts ...grpc.CallOption) (*core.MarketOrderList, error)
	GetMarketPairList(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*core.MarketOrderPairList, error)
	ListNodes(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*NodeList, error)
	GetAssetIssueByAccount(ctx context.Context, in *core.Account, opts ...grpc.CallOption) (*AssetIssueList, error)
	GetAccountNet(ctx context.Context, in *core.Account, opts ...grpc.CallOption) (*AccountNetMessage, error)
	GetAccountResource(ctx context.Context, in *core.Account, opts ...grpc.CallOption) (*AccountResourceMessage, error)
	GetAssetIssueByName(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.AssetIssueContract, error)
	GetAssetIssueListByName(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*AssetIssueList, error)
	GetAssetIssueById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.AssetIssueContract, error)
	// Please use GetNowBlock2 instead of this function.
	GetNowBlock(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*core.Block, error)
	// Use this function instead of GetNowBlock.
	GetNowBlock2(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*BlockExtention, error)
	// Please use GetBlockByNum2 instead of this function.
	GetBlockByNum(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*core.Block, error)
	// Use this function instead of GetBlockByNum.
	GetBlockByNum2(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*BlockExtention, error)
	GetTransactionCountByBlockNum(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*NumberMessage, error)
	GetBlockById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.Block, error)
	// Please use GetBlockByLimitNext2 instead of this function.
	GetBlockByLimitNext(ctx context.Context, in *BlockLimit, opts ...grpc.CallOption) (*BlockList, error)
	// Use this function instead of GetBlockByLimitNext.
	GetBlockByLimitNext2(ctx context.Context, in *BlockLimit, opts ...grpc.CallOption) (*BlockListExtention, error)
	// Please use GetBlockByLatestNum2 instead of this function.
	GetBlockByLatestNum(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*BlockList, error)
	// Use this function instead of GetBlockByLatestNum.
	GetBlockByLatestNum2(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*BlockListExtention, error)
	GetTransactionById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.Transaction, error)
	DeployContract(ctx context.Context, in *core.CreateSmartContract, opts ...grpc.CallOption) (*TransactionExtention, error)
	GetContract(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.SmartContract, error)
	GetContractInfo(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.SmartContractDataWrapper, error)
	TriggerContract(ctx context.Context, in *core.TriggerSmartContract, opts ...grpc.CallOption) (*TransactionExtention, error)
	TriggerConstantContract(ctx context.Context, in *core.TriggerSmartContract, opts ...grpc.CallOption) (*TransactionExtention, error)
	EstimateEnergy(ctx context.Context, in *core.TriggerSmartContract, opts ...grpc.CallOption) (*EstimateEnergyMessage, error)
	ClearContractABI(ctx context.Context, in *core.ClearABIContract, opts ...grpc.CallOption) (*TransactionExtention, error)
	ListWitnesses(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*WitnessList, error)
	GetDelegatedResource(ctx context.Context, in *DelegatedResourceMessage, opts ...grpc.CallOption) (*DelegatedResourceList, error)
	GetDelegatedResourceV2(ctx context.Context, in *DelegatedResourceMessage, opts ...grpc.CallOption) (*DelegatedResourceList, error)
	GetDelegatedResourceAccountIndex(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.DelegatedResourceAccountIndex, error)
	GetDelegatedResourceAccountIndexV2(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.DelegatedResourceAccountIndex, error)
	GetCanDelegatedMaxSize(ctx context.Context, in *CanDelegatedMaxSizeRequestMessage, opts ...grpc.CallOption) (*CanDelegatedMaxSizeResponseMessage, error)
	GetAvailableUnfreezeCount(ctx context.Context, in *GetAvailableUnfreezeCountRequestMessage, opts ...grpc.CallOption) (*GetAvailableUnfreezeCountResponseMessage, error)
	GetCanWithdrawUnfreezeAmount(ctx context.Context, in *CanWithdrawUnfreezeAmountRequestMessage, opts ...grpc.CallOption) (*CanWithdrawUnfreezeAmountResponseMessage, error)
	ListProposals(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*ProposalList, error)
	GetPaginatedProposalList(ctx context.Context, in *PaginatedMessage, opts ...grpc.CallOption) (*ProposalList, error)
	GetProposalById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.Proposal, error)
	ListExchanges(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*ExchangeList, error)
	GetPaginatedExchangeList(ctx context.Context, in *PaginatedMessage, opts ...grpc.CallOption) (*ExchangeList, error)
	GetExchangeById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.Exchange, error)
	GetChainParameters(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*core.ChainParameters, error)
	GetAssetIssueList(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*AssetIssueList, error)
	GetPaginatedAssetIssueList(ctx context.Context, in *PaginatedMessage, opts ...grpc.CallOption) (*AssetIssueList, error)
	TotalTransaction(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*NumberMessage, error)
	GetNextMaintenanceTime(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*NumberMessage, error)
	// Warning: do not invoke this interface provided by others.
	// Please use GetTransactionSign2 instead of this function.
	GetTransactionSign(ctx context.Context, in *core.TransactionSign, opts ...grpc.CallOption) (*core.Transaction, error)
	// Warning: do not invoke this interface provided by others.
	// Use this function instead of GetTransactionSign.
	GetTransactionSign2(ctx context.Context, in *core.TransactionSign, opts ...grpc.CallOption) (*TransactionExtention, error)
	// Warning: do not invoke this interface provided by others.
	CreateAddress(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*BytesMessage, error)
	// Warning: do not invoke this interface provided by others.
	EasyTransferAsset(ctx context.Context, in *EasyTransferAssetMessage, opts ...grpc.CallOption) (*EasyTransferResponse, error)
	// Warning: do not invoke this interface provided by others.
	EasyTransferAssetByPrivate(ctx context.Context, in *EasyTransferAssetByPrivateMessage, opts ...grpc.CallOption) (*EasyTransferResponse, error)
	// Warning: do not invoke this interface provided by others.
	EasyTransfer(ctx context.Context, in *EasyTransferMessage, opts ...grpc.CallOption) (*EasyTransferResponse, error)
	// Warning: do not invoke this interface provided by others.
	EasyTransferByPrivate(ctx context.Context, in *EasyTransferByPrivateMessage, opts ...grpc.CallOption) (*EasyTransferResponse, error)
	// Warning: do not invoke this interface provided by others.
	GenerateAddress(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*AddressPrKeyPairMessage, error)
	GetTransactionInfoById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.TransactionInfo, error)
	AccountPermissionUpdate(ctx context.Context, in *core.AccountPermissionUpdateContract, opts ...grpc.CallOption) (*TransactionExtention, error)
	AddSign(ctx context.Context, in *core.TransactionSign, opts ...grpc.CallOption) (*TransactionExtention, error)
	GetTransactionSignWeight(ctx context.Context, in *core.Transaction, opts ...grpc.CallOption) (*TransactionSignWeight, error)
	GetTransactionApprovedList(ctx context.Context, in *core.Transaction, opts ...grpc.CallOption) (*TransactionApprovedList, error)
	GetNodeInfo(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*core.NodeInfo, error)
	GetRewardInfo(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*NumberMessage, error)
	GetBrokerageInfo(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*NumberMessage, error)
	UpdateBrokerage(ctx context.Context, in *core.UpdateBrokerageContract, opts ...grpc.CallOption) (*TransactionExtention, error)
	// for shiededTransaction
	CreateShieldedTransaction(ctx context.Context, in *PrivateParameters, opts ...grpc.CallOption) (*TransactionExtention, error)
	GetMerkleTreeVoucherInfo(ctx context.Context, in *core.OutputPointInfo, opts ...grpc.CallOption) (*core.IncrementalMerkleVoucherInfo, error)
	ScanNoteByIvk(ctx context.Context, in *IvkDecryptParameters, opts ...grpc.CallOption) (*DecryptNotes, error)
	ScanAndMarkNoteByIvk(ctx context.Context, in *IvkDecryptAndMarkParameters, opts ...grpc.CallOption) (*DecryptNotesMarked, error)
	ScanNoteByOvk(ctx context.Context, in *OvkDecryptParameters, opts ...grpc.CallOption) (*DecryptNotes, error)
	GetSpendingKey(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*BytesMessage, error)
	GetExpandedSpendingKey(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*ExpandedSpendingKeyMessage, error)
	GetAkFromAsk(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*BytesMessage, error)
	GetNkFromNsk(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*BytesMessage, error)
	GetIncomingViewingKey(ctx context.Context, in *ViewingKeyMessage, opts ...grpc.CallOption) (*IncomingViewingKeyMessage, error)
	GetDiversifier(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*DiversifierMessage, error)
	GetNewShieldedAddress(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*ShieldedAddressInfo, error)
	GetZenPaymentAddress(ctx context.Context, in *IncomingViewingKeyDiversifierMessage, opts ...grpc.CallOption) (*PaymentAddressMessage, error)
	GetRcm(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*BytesMessage, error)
	IsSpend(ctx context.Context, in *NoteParameters, opts ...grpc.CallOption) (*SpendResult, error)
	CreateShieldedTransactionWithoutSpendAuthSig(ctx context.Context, in *PrivateParametersWithoutAsk, opts ...grpc.CallOption) (*TransactionExtention, error)
	GetShieldTransactionHash(ctx context.Context, in *core.Transaction, opts ...grpc.CallOption) (*BytesMessage, error)
	CreateSpendAuthSig(ctx context.Context, in *SpendAuthSigParameters, opts ...grpc.CallOption) (*BytesMessage, error)
	CreateShieldNullifier(ctx context.Context, in *NfParameters, opts ...grpc.CallOption) (*BytesMessage, error)
	// for shielded contract
	CreateShieldedContractParameters(ctx context.Context, in *PrivateShieldedTRC20Parameters, opts ...grpc.CallOption) (*ShieldedTRC20Parameters, error)
	CreateShieldedContractParametersWithoutAsk(ctx context.Context, in *PrivateShieldedTRC20ParametersWithoutAsk, opts ...grpc.CallOption) (*ShieldedTRC20Parameters, error)
	ScanShieldedTRC20NotesByIvk(ctx context.Context, in *IvkDecryptTRC20Parameters, opts ...grpc.CallOption) (*DecryptNotesTRC20, error)
	ScanShieldedTRC20NotesByOvk(ctx context.Context, in *OvkDecryptTRC20Parameters, opts ...grpc.CallOption) (*DecryptNotesTRC20, error)
	IsShieldedTRC20ContractNoteSpent(ctx context.Context, in *NfTRC20Parameters, opts ...grpc.CallOption) (*NullifierResult, error)
	GetTriggerInputForShieldedTRC20Contract(ctx context.Context, in *ShieldedTRC20TriggerContractParameters, opts ...grpc.CallOption) (*BytesMessage, error)
	CreateCommonTransaction(ctx context.Context, in *core.Transaction, opts ...grpc.CallOption) (*TransactionExtention, error)
	GetTransactionInfoByBlockNum(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*TransactionInfoList, error)
	GetBurnTrx(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*NumberMessage, error)
	GetTransactionFromPending(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.Transaction, error)
	GetTransactionListFromPending(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*TransactionIdList, error)
	GetPendingSize(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*NumberMessage, error)
	GetBlock(ctx context.Context, in *BlockReq, opts ...grpc.CallOption) (*BlockExtention, error)
}

WalletClient is the client API for Wallet 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.

func NewWalletClient

func NewWalletClient(cc grpc.ClientConnInterface) WalletClient

type WalletExtensionClient

type WalletExtensionClient interface {
	// Please use GetTransactionsFromThis2 instead of this function.
	GetTransactionsFromThis(ctx context.Context, in *AccountPaginated, opts ...grpc.CallOption) (*TransactionList, error)
	// Use this function instead of GetTransactionsFromThis.
	GetTransactionsFromThis2(ctx context.Context, in *AccountPaginated, opts ...grpc.CallOption) (*TransactionListExtention, error)
	// Please use GetTransactionsToThis2 instead of this function.
	GetTransactionsToThis(ctx context.Context, in *AccountPaginated, opts ...grpc.CallOption) (*TransactionList, error)
	// Use this function instead of GetTransactionsToThis.
	GetTransactionsToThis2(ctx context.Context, in *AccountPaginated, opts ...grpc.CallOption) (*TransactionListExtention, error)
}

WalletExtensionClient is the client API for WalletExtension 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 WalletExtensionServer

type WalletExtensionServer interface {
	// Please use GetTransactionsFromThis2 instead of this function.
	GetTransactionsFromThis(context.Context, *AccountPaginated) (*TransactionList, error)
	// Use this function instead of GetTransactionsFromThis.
	GetTransactionsFromThis2(context.Context, *AccountPaginated) (*TransactionListExtention, error)
	// Please use GetTransactionsToThis2 instead of this function.
	GetTransactionsToThis(context.Context, *AccountPaginated) (*TransactionList, error)
	// Use this function instead of GetTransactionsToThis.
	GetTransactionsToThis2(context.Context, *AccountPaginated) (*TransactionListExtention, error)
	// contains filtered or unexported methods
}

WalletExtensionServer is the server API for WalletExtension service. All implementations must embed UnimplementedWalletExtensionServer for forward compatibility

type WalletServer

type WalletServer interface {
	GetAccount(context.Context, *core.Account) (*core.Account, error)
	GetAccountById(context.Context, *core.Account) (*core.Account, error)
	GetAccountBalance(context.Context, *core.AccountBalanceRequest) (*core.AccountBalanceResponse, error)
	GetBlockBalanceTrace(context.Context, *core.BlockBalanceTrace_BlockIdentifier) (*core.BlockBalanceTrace, error)
	// Please use CreateTransaction2 instead of this function.
	CreateTransaction(context.Context, *core.TransferContract) (*core.Transaction, error)
	// Use this function instead of CreateTransaction.
	CreateTransaction2(context.Context, *core.TransferContract) (*TransactionExtention, error)
	BroadcastTransaction(context.Context, *core.Transaction) (*Return, error)
	// Please use UpdateAccount2 instead of this function.
	UpdateAccount(context.Context, *core.AccountUpdateContract) (*core.Transaction, error)
	SetAccountId(context.Context, *core.SetAccountIdContract) (*core.Transaction, error)
	// Use this function instead of UpdateAccount.
	UpdateAccount2(context.Context, *core.AccountUpdateContract) (*TransactionExtention, error)
	// Please use VoteWitnessAccount2 instead of this function.
	VoteWitnessAccount(context.Context, *core.VoteWitnessContract) (*core.Transaction, error)
	// modify the consume_user_resource_percent
	UpdateSetting(context.Context, *core.UpdateSettingContract) (*TransactionExtention, error)
	// modify the energy_limit
	UpdateEnergyLimit(context.Context, *core.UpdateEnergyLimitContract) (*TransactionExtention, error)
	// Use this function instead of VoteWitnessAccount.
	VoteWitnessAccount2(context.Context, *core.VoteWitnessContract) (*TransactionExtention, error)
	// Please use CreateAssetIssue2 instead of this function.
	CreateAssetIssue(context.Context, *core.AssetIssueContract) (*core.Transaction, error)
	// Use this function instead of CreateAssetIssue.
	CreateAssetIssue2(context.Context, *core.AssetIssueContract) (*TransactionExtention, error)
	// Please use UpdateWitness2 instead of this function.
	UpdateWitness(context.Context, *core.WitnessUpdateContract) (*core.Transaction, error)
	// Use this function instead of UpdateWitness.
	UpdateWitness2(context.Context, *core.WitnessUpdateContract) (*TransactionExtention, error)
	// Please use CreateAccount2 instead of this function.
	CreateAccount(context.Context, *core.AccountCreateContract) (*core.Transaction, error)
	// Use this function instead of CreateAccount.
	CreateAccount2(context.Context, *core.AccountCreateContract) (*TransactionExtention, error)
	// Please use CreateWitness2 instead of this function.
	CreateWitness(context.Context, *core.WitnessCreateContract) (*core.Transaction, error)
	// Use this function instead of CreateWitness.
	CreateWitness2(context.Context, *core.WitnessCreateContract) (*TransactionExtention, error)
	// Please use TransferAsset2 instead of this function.
	TransferAsset(context.Context, *core.TransferAssetContract) (*core.Transaction, error)
	// Use this function instead of TransferAsset.
	TransferAsset2(context.Context, *core.TransferAssetContract) (*TransactionExtention, error)
	// Please use ParticipateAssetIssue2 instead of this function.
	ParticipateAssetIssue(context.Context, *core.ParticipateAssetIssueContract) (*core.Transaction, error)
	// Use this function instead of ParticipateAssetIssue.
	ParticipateAssetIssue2(context.Context, *core.ParticipateAssetIssueContract) (*TransactionExtention, error)
	// Please use FreezeBalance2 instead of this function.
	FreezeBalance(context.Context, *core.FreezeBalanceContract) (*core.Transaction, error)
	// Use this function instead of FreezeBalance.
	FreezeBalance2(context.Context, *core.FreezeBalanceContract) (*TransactionExtention, error)
	// Use this function when FreezeBalanceV2.
	FreezeBalanceV2(context.Context, *core.FreezeBalanceV2Contract) (*TransactionExtention, error)
	// Please use UnfreezeBalance2 instead of this function.
	UnfreezeBalance(context.Context, *core.UnfreezeBalanceContract) (*core.Transaction, error)
	// Use this function instead of UnfreezeBalance.
	UnfreezeBalance2(context.Context, *core.UnfreezeBalanceContract) (*TransactionExtention, error)
	// Use this function when UnfreezeBalanceV2.
	UnfreezeBalanceV2(context.Context, *core.UnfreezeBalanceV2Contract) (*TransactionExtention, error)
	// Please use UnfreezeAsset2 instead of this function.
	UnfreezeAsset(context.Context, *core.UnfreezeAssetContract) (*core.Transaction, error)
	// Use this function instead of UnfreezeAsset.
	UnfreezeAsset2(context.Context, *core.UnfreezeAssetContract) (*TransactionExtention, error)
	// Please use WithdrawBalance2 instead of this function.
	WithdrawBalance(context.Context, *core.WithdrawBalanceContract) (*core.Transaction, error)
	// Use this function instead of WithdrawBalance.
	WithdrawBalance2(context.Context, *core.WithdrawBalanceContract) (*TransactionExtention, error)
	WithdrawExpireUnfreeze(context.Context, *core.WithdrawExpireUnfreezeContract) (*TransactionExtention, error)
	DelegateResource(context.Context, *core.DelegateResourceContract) (*TransactionExtention, error)
	UnDelegateResource(context.Context, *core.UnDelegateResourceContract) (*TransactionExtention, error)
	// Please use UpdateAsset2 instead of this function.
	UpdateAsset(context.Context, *core.UpdateAssetContract) (*core.Transaction, error)
	// Use this function instead of UpdateAsset.
	UpdateAsset2(context.Context, *core.UpdateAssetContract) (*TransactionExtention, error)
	ProposalCreate(context.Context, *core.ProposalCreateContract) (*TransactionExtention, error)
	ProposalApprove(context.Context, *core.ProposalApproveContract) (*TransactionExtention, error)
	ProposalDelete(context.Context, *core.ProposalDeleteContract) (*TransactionExtention, error)
	BuyStorage(context.Context, *core.BuyStorageContract) (*TransactionExtention, error)
	BuyStorageBytes(context.Context, *core.BuyStorageBytesContract) (*TransactionExtention, error)
	SellStorage(context.Context, *core.SellStorageContract) (*TransactionExtention, error)
	ExchangeCreate(context.Context, *core.ExchangeCreateContract) (*TransactionExtention, error)
	ExchangeInject(context.Context, *core.ExchangeInjectContract) (*TransactionExtention, error)
	ExchangeWithdraw(context.Context, *core.ExchangeWithdrawContract) (*TransactionExtention, error)
	ExchangeTransaction(context.Context, *core.ExchangeTransactionContract) (*TransactionExtention, error)
	MarketSellAsset(context.Context, *core.MarketSellAssetContract) (*TransactionExtention, error)
	MarketCancelOrder(context.Context, *core.MarketCancelOrderContract) (*TransactionExtention, error)
	GetMarketOrderById(context.Context, *BytesMessage) (*core.MarketOrder, error)
	GetMarketOrderByAccount(context.Context, *BytesMessage) (*core.MarketOrderList, error)
	GetMarketPriceByPair(context.Context, *core.MarketOrderPair) (*core.MarketPriceList, error)
	GetMarketOrderListByPair(context.Context, *core.MarketOrderPair) (*core.MarketOrderList, error)
	GetMarketPairList(context.Context, *EmptyMessage) (*core.MarketOrderPairList, error)
	ListNodes(context.Context, *EmptyMessage) (*NodeList, error)
	GetAssetIssueByAccount(context.Context, *core.Account) (*AssetIssueList, error)
	GetAccountNet(context.Context, *core.Account) (*AccountNetMessage, error)
	GetAccountResource(context.Context, *core.Account) (*AccountResourceMessage, error)
	GetAssetIssueByName(context.Context, *BytesMessage) (*core.AssetIssueContract, error)
	GetAssetIssueListByName(context.Context, *BytesMessage) (*AssetIssueList, error)
	GetAssetIssueById(context.Context, *BytesMessage) (*core.AssetIssueContract, error)
	// Please use GetNowBlock2 instead of this function.
	GetNowBlock(context.Context, *EmptyMessage) (*core.Block, error)
	// Use this function instead of GetNowBlock.
	GetNowBlock2(context.Context, *EmptyMessage) (*BlockExtention, error)
	// Please use GetBlockByNum2 instead of this function.
	GetBlockByNum(context.Context, *NumberMessage) (*core.Block, error)
	// Use this function instead of GetBlockByNum.
	GetBlockByNum2(context.Context, *NumberMessage) (*BlockExtention, error)
	GetTransactionCountByBlockNum(context.Context, *NumberMessage) (*NumberMessage, error)
	GetBlockById(context.Context, *BytesMessage) (*core.Block, error)
	// Please use GetBlockByLimitNext2 instead of this function.
	GetBlockByLimitNext(context.Context, *BlockLimit) (*BlockList, error)
	// Use this function instead of GetBlockByLimitNext.
	GetBlockByLimitNext2(context.Context, *BlockLimit) (*BlockListExtention, error)
	// Please use GetBlockByLatestNum2 instead of this function.
	GetBlockByLatestNum(context.Context, *NumberMessage) (*BlockList, error)
	// Use this function instead of GetBlockByLatestNum.
	GetBlockByLatestNum2(context.Context, *NumberMessage) (*BlockListExtention, error)
	GetTransactionById(context.Context, *BytesMessage) (*core.Transaction, error)
	DeployContract(context.Context, *core.CreateSmartContract) (*TransactionExtention, error)
	GetContract(context.Context, *BytesMessage) (*core.SmartContract, error)
	GetContractInfo(context.Context, *BytesMessage) (*core.SmartContractDataWrapper, error)
	TriggerContract(context.Context, *core.TriggerSmartContract) (*TransactionExtention, error)
	TriggerConstantContract(context.Context, *core.TriggerSmartContract) (*TransactionExtention, error)
	EstimateEnergy(context.Context, *core.TriggerSmartContract) (*EstimateEnergyMessage, error)
	ClearContractABI(context.Context, *core.ClearABIContract) (*TransactionExtention, error)
	ListWitnesses(context.Context, *EmptyMessage) (*WitnessList, error)
	GetDelegatedResource(context.Context, *DelegatedResourceMessage) (*DelegatedResourceList, error)
	GetDelegatedResourceV2(context.Context, *DelegatedResourceMessage) (*DelegatedResourceList, error)
	GetDelegatedResourceAccountIndex(context.Context, *BytesMessage) (*core.DelegatedResourceAccountIndex, error)
	GetDelegatedResourceAccountIndexV2(context.Context, *BytesMessage) (*core.DelegatedResourceAccountIndex, error)
	GetCanDelegatedMaxSize(context.Context, *CanDelegatedMaxSizeRequestMessage) (*CanDelegatedMaxSizeResponseMessage, error)
	GetAvailableUnfreezeCount(context.Context, *GetAvailableUnfreezeCountRequestMessage) (*GetAvailableUnfreezeCountResponseMessage, error)
	GetCanWithdrawUnfreezeAmount(context.Context, *CanWithdrawUnfreezeAmountRequestMessage) (*CanWithdrawUnfreezeAmountResponseMessage, error)
	ListProposals(context.Context, *EmptyMessage) (*ProposalList, error)
	GetPaginatedProposalList(context.Context, *PaginatedMessage) (*ProposalList, error)
	GetProposalById(context.Context, *BytesMessage) (*core.Proposal, error)
	ListExchanges(context.Context, *EmptyMessage) (*ExchangeList, error)
	GetPaginatedExchangeList(context.Context, *PaginatedMessage) (*ExchangeList, error)
	GetExchangeById(context.Context, *BytesMessage) (*core.Exchange, error)
	GetChainParameters(context.Context, *EmptyMessage) (*core.ChainParameters, error)
	GetAssetIssueList(context.Context, *EmptyMessage) (*AssetIssueList, error)
	GetPaginatedAssetIssueList(context.Context, *PaginatedMessage) (*AssetIssueList, error)
	TotalTransaction(context.Context, *EmptyMessage) (*NumberMessage, error)
	GetNextMaintenanceTime(context.Context, *EmptyMessage) (*NumberMessage, error)
	// Warning: do not invoke this interface provided by others.
	// Please use GetTransactionSign2 instead of this function.
	GetTransactionSign(context.Context, *core.TransactionSign) (*core.Transaction, error)
	// Warning: do not invoke this interface provided by others.
	// Use this function instead of GetTransactionSign.
	GetTransactionSign2(context.Context, *core.TransactionSign) (*TransactionExtention, error)
	// Warning: do not invoke this interface provided by others.
	CreateAddress(context.Context, *BytesMessage) (*BytesMessage, error)
	// Warning: do not invoke this interface provided by others.
	EasyTransferAsset(context.Context, *EasyTransferAssetMessage) (*EasyTransferResponse, error)
	// Warning: do not invoke this interface provided by others.
	EasyTransferAssetByPrivate(context.Context, *EasyTransferAssetByPrivateMessage) (*EasyTransferResponse, error)
	// Warning: do not invoke this interface provided by others.
	EasyTransfer(context.Context, *EasyTransferMessage) (*EasyTransferResponse, error)
	// Warning: do not invoke this interface provided by others.
	EasyTransferByPrivate(context.Context, *EasyTransferByPrivateMessage) (*EasyTransferResponse, error)
	// Warning: do not invoke this interface provided by others.
	GenerateAddress(context.Context, *EmptyMessage) (*AddressPrKeyPairMessage, error)
	GetTransactionInfoById(context.Context, *BytesMessage) (*core.TransactionInfo, error)
	AccountPermissionUpdate(context.Context, *core.AccountPermissionUpdateContract) (*TransactionExtention, error)
	AddSign(context.Context, *core.TransactionSign) (*TransactionExtention, error)
	GetTransactionSignWeight(context.Context, *core.Transaction) (*TransactionSignWeight, error)
	GetTransactionApprovedList(context.Context, *core.Transaction) (*TransactionApprovedList, error)
	GetNodeInfo(context.Context, *EmptyMessage) (*core.NodeInfo, error)
	GetRewardInfo(context.Context, *BytesMessage) (*NumberMessage, error)
	GetBrokerageInfo(context.Context, *BytesMessage) (*NumberMessage, error)
	UpdateBrokerage(context.Context, *core.UpdateBrokerageContract) (*TransactionExtention, error)
	// for shiededTransaction
	CreateShieldedTransaction(context.Context, *PrivateParameters) (*TransactionExtention, error)
	GetMerkleTreeVoucherInfo(context.Context, *core.OutputPointInfo) (*core.IncrementalMerkleVoucherInfo, error)
	ScanNoteByIvk(context.Context, *IvkDecryptParameters) (*DecryptNotes, error)
	ScanAndMarkNoteByIvk(context.Context, *IvkDecryptAndMarkParameters) (*DecryptNotesMarked, error)
	ScanNoteByOvk(context.Context, *OvkDecryptParameters) (*DecryptNotes, error)
	GetSpendingKey(context.Context, *EmptyMessage) (*BytesMessage, error)
	GetExpandedSpendingKey(context.Context, *BytesMessage) (*ExpandedSpendingKeyMessage, error)
	GetAkFromAsk(context.Context, *BytesMessage) (*BytesMessage, error)
	GetNkFromNsk(context.Context, *BytesMessage) (*BytesMessage, error)
	GetIncomingViewingKey(context.Context, *ViewingKeyMessage) (*IncomingViewingKeyMessage, error)
	GetDiversifier(context.Context, *EmptyMessage) (*DiversifierMessage, error)
	GetNewShieldedAddress(context.Context, *EmptyMessage) (*ShieldedAddressInfo, error)
	GetZenPaymentAddress(context.Context, *IncomingViewingKeyDiversifierMessage) (*PaymentAddressMessage, error)
	GetRcm(context.Context, *EmptyMessage) (*BytesMessage, error)
	IsSpend(context.Context, *NoteParameters) (*SpendResult, error)
	CreateShieldedTransactionWithoutSpendAuthSig(context.Context, *PrivateParametersWithoutAsk) (*TransactionExtention, error)
	GetShieldTransactionHash(context.Context, *core.Transaction) (*BytesMessage, error)
	CreateSpendAuthSig(context.Context, *SpendAuthSigParameters) (*BytesMessage, error)
	CreateShieldNullifier(context.Context, *NfParameters) (*BytesMessage, error)
	// for shielded contract
	CreateShieldedContractParameters(context.Context, *PrivateShieldedTRC20Parameters) (*ShieldedTRC20Parameters, error)
	CreateShieldedContractParametersWithoutAsk(context.Context, *PrivateShieldedTRC20ParametersWithoutAsk) (*ShieldedTRC20Parameters, error)
	ScanShieldedTRC20NotesByIvk(context.Context, *IvkDecryptTRC20Parameters) (*DecryptNotesTRC20, error)
	ScanShieldedTRC20NotesByOvk(context.Context, *OvkDecryptTRC20Parameters) (*DecryptNotesTRC20, error)
	IsShieldedTRC20ContractNoteSpent(context.Context, *NfTRC20Parameters) (*NullifierResult, error)
	GetTriggerInputForShieldedTRC20Contract(context.Context, *ShieldedTRC20TriggerContractParameters) (*BytesMessage, error)
	CreateCommonTransaction(context.Context, *core.Transaction) (*TransactionExtention, error)
	GetTransactionInfoByBlockNum(context.Context, *NumberMessage) (*TransactionInfoList, error)
	GetBurnTrx(context.Context, *EmptyMessage) (*NumberMessage, error)
	GetTransactionFromPending(context.Context, *BytesMessage) (*core.Transaction, error)
	GetTransactionListFromPending(context.Context, *EmptyMessage) (*TransactionIdList, error)
	GetPendingSize(context.Context, *EmptyMessage) (*NumberMessage, error)
	GetBlock(context.Context, *BlockReq) (*BlockExtention, error)
	// contains filtered or unexported methods
}

WalletServer is the server API for Wallet service. All implementations must embed UnimplementedWalletServer for forward compatibility

type WalletSolidityClient

type WalletSolidityClient interface {
	GetAccount(ctx context.Context, in *core.Account, opts ...grpc.CallOption) (*core.Account, error)
	GetAccountById(ctx context.Context, in *core.Account, opts ...grpc.CallOption) (*core.Account, error)
	ListWitnesses(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*WitnessList, error)
	GetAssetIssueList(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*AssetIssueList, error)
	GetPaginatedAssetIssueList(ctx context.Context, in *PaginatedMessage, opts ...grpc.CallOption) (*AssetIssueList, error)
	GetAssetIssueByName(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.AssetIssueContract, error)
	GetAssetIssueListByName(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*AssetIssueList, error)
	GetAssetIssueById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.AssetIssueContract, error)
	// Please use GetNowBlock2 instead of this function.
	GetNowBlock(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*core.Block, error)
	// Use this function instead of GetNowBlock.
	GetNowBlock2(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*BlockExtention, error)
	// Please use GetBlockByNum2 instead of this function.
	GetBlockByNum(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*core.Block, error)
	// Use this function instead of GetBlockByNum.
	GetBlockByNum2(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*BlockExtention, error)
	GetTransactionCountByBlockNum(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*NumberMessage, error)
	GetDelegatedResource(ctx context.Context, in *DelegatedResourceMessage, opts ...grpc.CallOption) (*DelegatedResourceList, error)
	GetDelegatedResourceV2(ctx context.Context, in *DelegatedResourceMessage, opts ...grpc.CallOption) (*DelegatedResourceList, error)
	GetDelegatedResourceAccountIndex(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.DelegatedResourceAccountIndex, error)
	GetDelegatedResourceAccountIndexV2(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.DelegatedResourceAccountIndex, error)
	GetCanDelegatedMaxSize(ctx context.Context, in *CanDelegatedMaxSizeRequestMessage, opts ...grpc.CallOption) (*CanDelegatedMaxSizeResponseMessage, error)
	GetAvailableUnfreezeCount(ctx context.Context, in *GetAvailableUnfreezeCountRequestMessage, opts ...grpc.CallOption) (*GetAvailableUnfreezeCountResponseMessage, error)
	GetCanWithdrawUnfreezeAmount(ctx context.Context, in *CanWithdrawUnfreezeAmountRequestMessage, opts ...grpc.CallOption) (*CanWithdrawUnfreezeAmountResponseMessage, error)
	GetExchangeById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.Exchange, error)
	ListExchanges(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*ExchangeList, error)
	GetTransactionById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.Transaction, error)
	GetTransactionInfoById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.TransactionInfo, error)
	// Warning: do not invoke this interface provided by others.
	GenerateAddress(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*AddressPrKeyPairMessage, error)
	GetMerkleTreeVoucherInfo(ctx context.Context, in *core.OutputPointInfo, opts ...grpc.CallOption) (*core.IncrementalMerkleVoucherInfo, error)
	ScanNoteByIvk(ctx context.Context, in *IvkDecryptParameters, opts ...grpc.CallOption) (*DecryptNotes, error)
	ScanAndMarkNoteByIvk(ctx context.Context, in *IvkDecryptAndMarkParameters, opts ...grpc.CallOption) (*DecryptNotesMarked, error)
	ScanNoteByOvk(ctx context.Context, in *OvkDecryptParameters, opts ...grpc.CallOption) (*DecryptNotes, error)
	IsSpend(ctx context.Context, in *NoteParameters, opts ...grpc.CallOption) (*SpendResult, error)
	ScanShieldedTRC20NotesByIvk(ctx context.Context, in *IvkDecryptTRC20Parameters, opts ...grpc.CallOption) (*DecryptNotesTRC20, error)
	ScanShieldedTRC20NotesByOvk(ctx context.Context, in *OvkDecryptTRC20Parameters, opts ...grpc.CallOption) (*DecryptNotesTRC20, error)
	IsShieldedTRC20ContractNoteSpent(ctx context.Context, in *NfTRC20Parameters, opts ...grpc.CallOption) (*NullifierResult, error)
	GetRewardInfo(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*NumberMessage, error)
	GetBrokerageInfo(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*NumberMessage, error)
	TriggerConstantContract(ctx context.Context, in *core.TriggerSmartContract, opts ...grpc.CallOption) (*TransactionExtention, error)
	EstimateEnergy(ctx context.Context, in *core.TriggerSmartContract, opts ...grpc.CallOption) (*EstimateEnergyMessage, error)
	GetTransactionInfoByBlockNum(ctx context.Context, in *NumberMessage, opts ...grpc.CallOption) (*TransactionInfoList, error)
	GetMarketOrderById(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.MarketOrder, error)
	GetMarketOrderByAccount(ctx context.Context, in *BytesMessage, opts ...grpc.CallOption) (*core.MarketOrderList, error)
	GetMarketPriceByPair(ctx context.Context, in *core.MarketOrderPair, opts ...grpc.CallOption) (*core.MarketPriceList, error)
	GetMarketOrderListByPair(ctx context.Context, in *core.MarketOrderPair, opts ...grpc.CallOption) (*core.MarketOrderList, error)
	GetMarketPairList(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*core.MarketOrderPairList, error)
	GetBurnTrx(ctx context.Context, in *EmptyMessage, opts ...grpc.CallOption) (*NumberMessage, error)
	GetBlock(ctx context.Context, in *BlockReq, opts ...grpc.CallOption) (*BlockExtention, error)
}

WalletSolidityClient is the client API for WalletSolidity 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 WalletSolidityServer

type WalletSolidityServer interface {
	GetAccount(context.Context, *core.Account) (*core.Account, error)
	GetAccountById(context.Context, *core.Account) (*core.Account, error)
	ListWitnesses(context.Context, *EmptyMessage) (*WitnessList, error)
	GetAssetIssueList(context.Context, *EmptyMessage) (*AssetIssueList, error)
	GetPaginatedAssetIssueList(context.Context, *PaginatedMessage) (*AssetIssueList, error)
	GetAssetIssueByName(context.Context, *BytesMessage) (*core.AssetIssueContract, error)
	GetAssetIssueListByName(context.Context, *BytesMessage) (*AssetIssueList, error)
	GetAssetIssueById(context.Context, *BytesMessage) (*core.AssetIssueContract, error)
	// Please use GetNowBlock2 instead of this function.
	GetNowBlock(context.Context, *EmptyMessage) (*core.Block, error)
	// Use this function instead of GetNowBlock.
	GetNowBlock2(context.Context, *EmptyMessage) (*BlockExtention, error)
	// Please use GetBlockByNum2 instead of this function.
	GetBlockByNum(context.Context, *NumberMessage) (*core.Block, error)
	// Use this function instead of GetBlockByNum.
	GetBlockByNum2(context.Context, *NumberMessage) (*BlockExtention, error)
	GetTransactionCountByBlockNum(context.Context, *NumberMessage) (*NumberMessage, error)
	GetDelegatedResource(context.Context, *DelegatedResourceMessage) (*DelegatedResourceList, error)
	GetDelegatedResourceV2(context.Context, *DelegatedResourceMessage) (*DelegatedResourceList, error)
	GetDelegatedResourceAccountIndex(context.Context, *BytesMessage) (*core.DelegatedResourceAccountIndex, error)
	GetDelegatedResourceAccountIndexV2(context.Context, *BytesMessage) (*core.DelegatedResourceAccountIndex, error)
	GetCanDelegatedMaxSize(context.Context, *CanDelegatedMaxSizeRequestMessage) (*CanDelegatedMaxSizeResponseMessage, error)
	GetAvailableUnfreezeCount(context.Context, *GetAvailableUnfreezeCountRequestMessage) (*GetAvailableUnfreezeCountResponseMessage, error)
	GetCanWithdrawUnfreezeAmount(context.Context, *CanWithdrawUnfreezeAmountRequestMessage) (*CanWithdrawUnfreezeAmountResponseMessage, error)
	GetExchangeById(context.Context, *BytesMessage) (*core.Exchange, error)
	ListExchanges(context.Context, *EmptyMessage) (*ExchangeList, error)
	GetTransactionById(context.Context, *BytesMessage) (*core.Transaction, error)
	GetTransactionInfoById(context.Context, *BytesMessage) (*core.TransactionInfo, error)
	// Warning: do not invoke this interface provided by others.
	GenerateAddress(context.Context, *EmptyMessage) (*AddressPrKeyPairMessage, error)
	GetMerkleTreeVoucherInfo(context.Context, *core.OutputPointInfo) (*core.IncrementalMerkleVoucherInfo, error)
	ScanNoteByIvk(context.Context, *IvkDecryptParameters) (*DecryptNotes, error)
	ScanAndMarkNoteByIvk(context.Context, *IvkDecryptAndMarkParameters) (*DecryptNotesMarked, error)
	ScanNoteByOvk(context.Context, *OvkDecryptParameters) (*DecryptNotes, error)
	IsSpend(context.Context, *NoteParameters) (*SpendResult, error)
	ScanShieldedTRC20NotesByIvk(context.Context, *IvkDecryptTRC20Parameters) (*DecryptNotesTRC20, error)
	ScanShieldedTRC20NotesByOvk(context.Context, *OvkDecryptTRC20Parameters) (*DecryptNotesTRC20, error)
	IsShieldedTRC20ContractNoteSpent(context.Context, *NfTRC20Parameters) (*NullifierResult, error)
	GetRewardInfo(context.Context, *BytesMessage) (*NumberMessage, error)
	GetBrokerageInfo(context.Context, *BytesMessage) (*NumberMessage, error)
	TriggerConstantContract(context.Context, *core.TriggerSmartContract) (*TransactionExtention, error)
	EstimateEnergy(context.Context, *core.TriggerSmartContract) (*EstimateEnergyMessage, error)
	GetTransactionInfoByBlockNum(context.Context, *NumberMessage) (*TransactionInfoList, error)
	GetMarketOrderById(context.Context, *BytesMessage) (*core.MarketOrder, error)
	GetMarketOrderByAccount(context.Context, *BytesMessage) (*core.MarketOrderList, error)
	GetMarketPriceByPair(context.Context, *core.MarketOrderPair) (*core.MarketPriceList, error)
	GetMarketOrderListByPair(context.Context, *core.MarketOrderPair) (*core.MarketOrderList, error)
	GetMarketPairList(context.Context, *EmptyMessage) (*core.MarketOrderPairList, error)
	GetBurnTrx(context.Context, *EmptyMessage) (*NumberMessage, error)
	GetBlock(context.Context, *BlockReq) (*BlockExtention, error)
	// contains filtered or unexported methods
}

WalletSolidityServer is the server API for WalletSolidity service. All implementations must embed UnimplementedWalletSolidityServer for forward compatibility

type WitnessList

type WitnessList struct {
	Witnesses []*core.Witness `protobuf:"bytes,1,rep,name=witnesses,proto3" json:"witnesses,omitempty"`
	// contains filtered or unexported fields
}

func (*WitnessList) Descriptor deprecated

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

Deprecated: Use WitnessList.ProtoReflect.Descriptor instead.

func (*WitnessList) GetWitnesses

func (x *WitnessList) GetWitnesses() []*core.Witness

func (*WitnessList) ProtoMessage

func (*WitnessList) ProtoMessage()

func (*WitnessList) ProtoReflect

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

func (*WitnessList) Reset

func (x *WitnessList) Reset()

func (*WitnessList) String

func (x *WitnessList) String() string

type ZksnarkRequest

type ZksnarkRequest struct {
	Transaction  *core.Transaction `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"`
	Sighash      []byte            `protobuf:"bytes,2,opt,name=sighash,proto3" json:"sighash,omitempty"`
	ValueBalance int64             `protobuf:"varint,3,opt,name=valueBalance,proto3" json:"valueBalance,omitempty"`
	TxId         string            `protobuf:"bytes,4,opt,name=txId,proto3" json:"txId,omitempty"`
	// contains filtered or unexported fields
}

func (*ZksnarkRequest) Descriptor deprecated

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

Deprecated: Use ZksnarkRequest.ProtoReflect.Descriptor instead.

func (*ZksnarkRequest) GetSighash

func (x *ZksnarkRequest) GetSighash() []byte

func (*ZksnarkRequest) GetTransaction

func (x *ZksnarkRequest) GetTransaction() *core.Transaction

func (*ZksnarkRequest) GetTxId

func (x *ZksnarkRequest) GetTxId() string

func (*ZksnarkRequest) GetValueBalance

func (x *ZksnarkRequest) GetValueBalance() int64

func (*ZksnarkRequest) ProtoMessage

func (*ZksnarkRequest) ProtoMessage()

func (*ZksnarkRequest) ProtoReflect

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

func (*ZksnarkRequest) Reset

func (x *ZksnarkRequest) Reset()

func (*ZksnarkRequest) String

func (x *ZksnarkRequest) String() string

type ZksnarkResponse

type ZksnarkResponse struct {
	Code ZksnarkResponse_Code `protobuf:"varint,1,opt,name=code,proto3,enum=protocol.ZksnarkResponse_Code" json:"code,omitempty"`
	// contains filtered or unexported fields
}

func (*ZksnarkResponse) Descriptor deprecated

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

Deprecated: Use ZksnarkResponse.ProtoReflect.Descriptor instead.

func (*ZksnarkResponse) GetCode

func (*ZksnarkResponse) ProtoMessage

func (*ZksnarkResponse) ProtoMessage()

func (*ZksnarkResponse) ProtoReflect

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

func (*ZksnarkResponse) Reset

func (x *ZksnarkResponse) Reset()

func (*ZksnarkResponse) String

func (x *ZksnarkResponse) String() string

type ZksnarkResponse_Code

type ZksnarkResponse_Code int32
const (
	ZksnarkResponse_SUCCESS ZksnarkResponse_Code = 0
	ZksnarkResponse_FAILED  ZksnarkResponse_Code = 1
)

func (ZksnarkResponse_Code) Descriptor

func (ZksnarkResponse_Code) Enum

func (ZksnarkResponse_Code) EnumDescriptor deprecated

func (ZksnarkResponse_Code) EnumDescriptor() ([]byte, []int)

Deprecated: Use ZksnarkResponse_Code.Descriptor instead.

func (ZksnarkResponse_Code) Number

func (ZksnarkResponse_Code) String

func (x ZksnarkResponse_Code) String() string

func (ZksnarkResponse_Code) Type

Jump to

Keyboard shortcuts

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