syscontract

package
v3.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2023 License: Apache-2.0 Imports: 6 Imported by: 61

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthAccountManager        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowAccountManager          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupAccountManager = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthArchive        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowArchive          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupArchive = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthChainQuery        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowChainQuery          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupChainQuery = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthContractManage        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowContractManage          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupContractManage = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthCrossTransaction        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowCrossTransaction          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupCrossTransaction = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthDposStake        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowDposStake          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupDposStake = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthEthereum        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowEthereum          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupEthereum = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthMultiSign        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMultiSign          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupMultiSign = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthPrivateCompute        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowPrivateCompute          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupPrivateCompute = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthRelayCross        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowRelayCross          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupRelayCross = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthStoreHotColdDataSeparate        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowStoreHotColdDataSeparate          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupStoreHotColdDataSeparate = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthStoreSnapshot        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowStoreSnapshot          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupStoreSnapshot = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthSubscribe        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowSubscribe          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupSubscribe = fmt.Errorf("proto: unexpected end of group")
)
View Source
var ArchiveBlock_Parameter_name = map[int32]string{
	0: "BLOCK_HEIGHT",
}
View Source
var ArchiveBlock_Parameter_value = map[string]int32{
	"BLOCK_HEIGHT": 0,
}
View Source
var ArchiveFunction_name = map[int32]string{
	0: "ARCHIVE_BLOCK",
	1: "RESTORE_BLOCK",
}
View Source
var ArchiveFunction_value = map[string]int32{
	"ARCHIVE_BLOCK": 0,
	"RESTORE_BLOCK": 1,
}
View Source
var BondStatus_name = map[int32]string{
	0: "BONDED",
	1: "UNBONDING",
	2: "UNBONDED",
}
View Source
var BondStatus_value = map[string]int32{
	"BONDED":    0,
	"UNBONDING": 1,
	"UNBONDED":  2,
}
View Source
var CallType_name = map[int32]string{
	0: "DIRECT",
	1: "CROSS",
}
View Source
var CallType_value = map[string]int32{
	"DIRECT": 0,
	"CROSS":  1,
}
View Source
var CertManageFunction_name = map[int32]string{
	0: "CERT_ADD",
	1: "CERTS_DELETE",
	2: "CERTS_QUERY",
	3: "CERTS_FREEZE",
	4: "CERTS_UNFREEZE",
	5: "CERTS_REVOKE",
	6: "CERT_ALIAS_ADD",
	7: "CERT_ALIAS_UPDATE",
	8: "CERTS_ALIAS_DELETE",
	9: "CERTS_ALIAS_QUERY",
}
View Source
var CertManageFunction_value = map[string]int32{
	"CERT_ADD":           0,
	"CERTS_DELETE":       1,
	"CERTS_QUERY":        2,
	"CERTS_FREEZE":       3,
	"CERTS_UNFREEZE":     4,
	"CERTS_REVOKE":       5,
	"CERT_ALIAS_ADD":     6,
	"CERT_ALIAS_UPDATE":  7,
	"CERTS_ALIAS_DELETE": 8,
	"CERTS_ALIAS_QUERY":  9,
}
View Source
var ChainConfigFunction_name = map[int32]string{
	0:  "GET_CHAIN_CONFIG",
	1:  "GET_CHAIN_CONFIG_AT",
	2:  "CORE_UPDATE",
	3:  "BLOCK_UPDATE",
	4:  "TRUST_ROOT_ADD",
	5:  "TRUST_ROOT_UPDATE",
	6:  "TRUST_ROOT_DELETE",
	7:  "NODE_ADDR_ADD",
	8:  "NODE_ADDR_UPDATE",
	9:  "NODE_ADDR_DELETE",
	10: "NODE_ORG_ADD",
	11: "NODE_ORG_UPDATE",
	12: "NODE_ORG_DELETE",
	13: "CONSENSUS_EXT_ADD",
	14: "CONSENSUS_EXT_UPDATE",
	15: "CONSENSUS_EXT_DELETE",
	16: "PERMISSION_ADD",
	17: "PERMISSION_UPDATE",
	18: "PERMISSION_DELETE",
	19: "NODE_ID_ADD",
	20: "NODE_ID_UPDATE",
	21: "NODE_ID_DELETE",
	22: "TRUST_MEMBER_ADD",
	23: "TRUST_MEMBER_UPDATE",
	24: "TRUST_MEMBER_DELETE",
	25: "ALTER_ADDR_TYPE",
	26: "ENABLE_OR_DISABLE_GAS",
	27: "SET_INVOKE_BASE_GAS",
	28: "SET_ACCOUNT_MANAGER_ADMIN",
	29: "PERMISSION_LIST",
	30: "UPDATE_VERSION",
	31: "MULTI_SIGN_ENABLE_MANUAL_RUN",
	32: "ENABLE_ONLY_CREATOR_UPGRADE",
	33: "DISABLE_ONLY_CREATOR_UPGRADE",
	34: "SET_INVOKE_GAS_PRICE",
	35: "SET_INSTALL_BASE_GAS",
	36: "SET_INSTALL_GAS_PRICE",
	37: "CONSENSUS_SWITCH",
	38: "DPOS_NODE_ID_UPDATE",
	39: "SET_ETH_CONFIG",
	40: "VM_SUPPORT_LIST_ADD",
}
View Source
var ChainConfigFunction_value = map[string]int32{
	"GET_CHAIN_CONFIG":             0,
	"GET_CHAIN_CONFIG_AT":          1,
	"CORE_UPDATE":                  2,
	"BLOCK_UPDATE":                 3,
	"TRUST_ROOT_ADD":               4,
	"TRUST_ROOT_UPDATE":            5,
	"TRUST_ROOT_DELETE":            6,
	"NODE_ADDR_ADD":                7,
	"NODE_ADDR_UPDATE":             8,
	"NODE_ADDR_DELETE":             9,
	"NODE_ORG_ADD":                 10,
	"NODE_ORG_UPDATE":              11,
	"NODE_ORG_DELETE":              12,
	"CONSENSUS_EXT_ADD":            13,
	"CONSENSUS_EXT_UPDATE":         14,
	"CONSENSUS_EXT_DELETE":         15,
	"PERMISSION_ADD":               16,
	"PERMISSION_UPDATE":            17,
	"PERMISSION_DELETE":            18,
	"NODE_ID_ADD":                  19,
	"NODE_ID_UPDATE":               20,
	"NODE_ID_DELETE":               21,
	"TRUST_MEMBER_ADD":             22,
	"TRUST_MEMBER_UPDATE":          23,
	"TRUST_MEMBER_DELETE":          24,
	"ALTER_ADDR_TYPE":              25,
	"ENABLE_OR_DISABLE_GAS":        26,
	"SET_INVOKE_BASE_GAS":          27,
	"SET_ACCOUNT_MANAGER_ADMIN":    28,
	"PERMISSION_LIST":              29,
	"UPDATE_VERSION":               30,
	"MULTI_SIGN_ENABLE_MANUAL_RUN": 31,
	"ENABLE_ONLY_CREATOR_UPGRADE":  32,
	"DISABLE_ONLY_CREATOR_UPGRADE": 33,
	"SET_INVOKE_GAS_PRICE":         34,
	"SET_INSTALL_BASE_GAS":         35,
	"SET_INSTALL_GAS_PRICE":        36,
	"CONSENSUS_SWITCH":             37,
	"DPOS_NODE_ID_UPDATE":          38,
	"SET_ETH_CONFIG":               39,
	"VM_SUPPORT_LIST_ADD":          40,
}
View Source
var ChainQueryFunction_name = map[int32]string{
	0:  "GET_BLOCK_BY_TX_ID",
	1:  "GET_TX_BY_TX_ID",
	2:  "GET_BLOCK_BY_HEIGHT",
	3:  "GET_CHAIN_INFO",
	4:  "GET_LAST_CONFIG_BLOCK",
	5:  "GET_BLOCK_BY_HASH",
	6:  "GET_NODE_CHAIN_LIST",
	7:  "GET_GOVERNANCE_CONTRACT",
	8:  "GET_BLOCK_WITH_TXRWSETS_BY_HEIGHT",
	9:  "GET_BLOCK_WITH_TXRWSETS_BY_HASH",
	10: "GET_LAST_BLOCK",
	11: "GET_FULL_BLOCK_BY_HEIGHT",
	12: "GET_BLOCK_HEIGHT_BY_TX_ID",
	13: "GET_BLOCK_HEIGHT_BY_HASH",
	14: "GET_BLOCK_HEADER_BY_HEIGHT",
	15: "GET_ARCHIVED_BLOCK_HEIGHT",
	16: "GET_ALL_CONTRACTS",
	17: "GET_MERKLE_PATH_BY_TX_ID",
	18: "GET_ARCHIVE_STATUS",
	19: "GET_ACCOUNT_TX_HISTORY",
	20: "GET_CONTRACT_TX_HISTORY",
}
View Source
var ChainQueryFunction_value = map[string]int32{
	"GET_BLOCK_BY_TX_ID":                0,
	"GET_TX_BY_TX_ID":                   1,
	"GET_BLOCK_BY_HEIGHT":               2,
	"GET_CHAIN_INFO":                    3,
	"GET_LAST_CONFIG_BLOCK":             4,
	"GET_BLOCK_BY_HASH":                 5,
	"GET_NODE_CHAIN_LIST":               6,
	"GET_GOVERNANCE_CONTRACT":           7,
	"GET_BLOCK_WITH_TXRWSETS_BY_HEIGHT": 8,
	"GET_BLOCK_WITH_TXRWSETS_BY_HASH":   9,
	"GET_LAST_BLOCK":                    10,
	"GET_FULL_BLOCK_BY_HEIGHT":          11,
	"GET_BLOCK_HEIGHT_BY_TX_ID":         12,
	"GET_BLOCK_HEIGHT_BY_HASH":          13,
	"GET_BLOCK_HEADER_BY_HEIGHT":        14,
	"GET_ARCHIVED_BLOCK_HEIGHT":         15,
	"GET_ALL_CONTRACTS":                 16,
	"GET_MERKLE_PATH_BY_TX_ID":          17,
	"GET_ARCHIVE_STATUS":                18,
	"GET_ACCOUNT_TX_HISTORY":            19,
	"GET_CONTRACT_TX_HISTORY":           20,
}
View Source
var Code_Parameter_name = map[int32]string{
	0: "GATEWAY_SUCCESS",
	1: "GATEWAY_TIMEOUT",
	2: "INVALID_PARAMETER",
	3: "TX_PROVE_ERROR",
	4: "CONTRACT_FAIL",
	5: "INTERNAL_ERROR",
	6: "RELAY_CHAIN_ERROR",
}
View Source
var Code_Parameter_value = map[string]int32{
	"GATEWAY_SUCCESS":   0,
	"GATEWAY_TIMEOUT":   1,
	"INVALID_PARAMETER": 2,
	"TX_PROVE_ERROR":    3,
	"CONTRACT_FAIL":     4,
	"INTERNAL_ERROR":    5,
	"RELAY_CHAIN_ERROR": 6,
}
View Source
var CoinbaseFunction_name = map[int32]string{
	0: "RUN_COINBASE",
}
View Source
var CoinbaseFunction_value = map[string]int32{
	"RUN_COINBASE": 0,
}
View Source
var ContentType_name = map[int32]string{
	0: "PB",
	1: "JSON",
	2: "STRING",
	3: "HEX",
	4: "RAW",
	5: "HEX0X",
}
View Source
var ContentType_value = map[string]int32{
	"PB":     0,
	"JSON":   1,
	"STRING": 2,
	"HEX":    3,
	"RAW":    4,
	"HEX0X":  5,
}
View Source
var ContractAccess_Parameter_name = map[int32]string{
	0: "NATIVE_CONTRACT_NAME",
}
View Source
var ContractAccess_Parameter_value = map[string]int32{
	"NATIVE_CONTRACT_NAME": 0,
}
View Source
var ContractManageFunction_name = map[int32]string{
	0: "INIT_CONTRACT",
	1: "UPGRADE_CONTRACT",
	2: "FREEZE_CONTRACT",
	3: "UNFREEZE_CONTRACT",
	4: "REVOKE_CONTRACT",
	5: "GRANT_CONTRACT_ACCESS",
	6: "REVOKE_CONTRACT_ACCESS",
	7: "VERIFY_CONTRACT_ACCESS",
	8: "INIT_NEW_NATIVE_CONTRACT",
}
View Source
var ContractManageFunction_value = map[string]int32{
	"INIT_CONTRACT":            0,
	"UPGRADE_CONTRACT":         1,
	"FREEZE_CONTRACT":          2,
	"UNFREEZE_CONTRACT":        3,
	"REVOKE_CONTRACT":          4,
	"GRANT_CONTRACT_ACCESS":    5,
	"REVOKE_CONTRACT_ACCESS":   6,
	"VERIFY_CONTRACT_ACCESS":   7,
	"INIT_NEW_NATIVE_CONTRACT": 8,
}
View Source
var ContractQueryFunction_name = map[int32]string{
	0: "GET_CONTRACT_INFO",
	1: "GET_CONTRACT_BYTECODE",
	2: "GET_CONTRACT_LIST",
	3: "GET_DISABLED_CONTRACT_LIST",
}
View Source
var ContractQueryFunction_value = map[string]int32{
	"GET_CONTRACT_INFO":          0,
	"GET_CONTRACT_BYTECODE":      1,
	"GET_CONTRACT_LIST":          2,
	"GET_DISABLED_CONTRACT_LIST": 3,
}
View Source
var ContractStatus_name = map[int32]string{
	0: "NORMAL",
	1: "FROZEN",
	2: "REVOKED",
}
View Source
var ContractStatus_value = map[string]int32{
	"NORMAL":  0,
	"FROZEN":  1,
	"REVOKED": 2,
}
View Source
var CrossArbitrateCmd_name = map[int32]string{
	0: "AUTO_CMD",
	1: "EXECUTE_CMD",
	2: "COMMIT_CMD",
	3: "ROLLBACK_CMD",
}
View Source
var CrossArbitrateCmd_value = map[string]int32{
	"AUTO_CMD":     0,
	"EXECUTE_CMD":  1,
	"COMMIT_CMD":   2,
	"ROLLBACK_CMD": 3,
}
View Source
var CrossChainStateValue_Parameter_name = map[int32]string{
	0: "NEW",
	1: "WAIT_EXECUTE",
	2: "WAIT_CONFIRM",
	3: "CONFIRM_END",
	4: "CANCEL_END",
}
View Source
var CrossChainStateValue_Parameter_value = map[string]int32{
	"NEW":          0,
	"WAIT_EXECUTE": 1,
	"WAIT_CONFIRM": 2,
	"CONFIRM_END":  3,
	"CANCEL_END":   4,
}
View Source
var CrossParams_name = map[int32]string{
	0: "CREATOR",
	1: "SENDER",
	2: "CALL_TYPE",
}
View Source
var CrossParams_value = map[string]int32{
	"CREATOR":   0,
	"SENDER":    1,
	"CALL_TYPE": 2,
}
View Source
var CrossTransactionFunction_name = map[int32]string{
	0: "EXECUTE",
	1: "COMMIT",
	2: "ROLLBACK",
	3: "READ_STATE",
	4: "SAVE_PROOF",
	5: "READ_PROOF",
	6: "ARBITRATE",
}
View Source
var CrossTransactionFunction_value = map[string]int32{
	"EXECUTE":    0,
	"COMMIT":     1,
	"ROLLBACK":   2,
	"READ_STATE": 3,
	"SAVE_PROOF": 4,
	"READ_PROOF": 5,
	"ARBITRATE":  6,
}
View Source
var CrossTxState_name = map[int32]string{
	0: "NON_EXIST",
	1: "INIT",
	2: "EXECUTE_OK",
	3: "EXECUTE_FAIL",
	4: "COMMIT_OK",
	5: "COMMIT_FAIL",
	6: "ROLLBACK_OK",
	7: "ROLLBACK_FAIL",
}
View Source
var CrossTxState_value = map[string]int32{
	"NON_EXIST":     0,
	"INIT":          1,
	"EXECUTE_OK":    2,
	"EXECUTE_FAIL":  3,
	"COMMIT_OK":     4,
	"COMMIT_FAIL":   5,
	"ROLLBACK_OK":   6,
	"ROLLBACK_FAIL": 7,
}
View Source
var CrossType_Parameter_name = map[int32]string{
	0: "QUERY",
	1: "INVOKE",
}
View Source
var CrossType_Parameter_value = map[string]int32{
	"QUERY":  0,
	"INVOKE": 1,
}
View Source
var DPoSConfigFunction_name = map[int32]string{
	0: "GET_DPOS_CONFIG",
	1: "UPDATE_DPOS_CONFIG",
}
View Source
var DPoSConfigFunction_value = map[string]int32{
	"GET_DPOS_CONFIG":    0,
	"UPDATE_DPOS_CONFIG": 1,
}
View Source
var DPoSDistributionFunction_name = map[int32]string{
	0: "REWARD",
	1: "GET_DISTRIBUTION_DETAIL",
	2: "SET_DISTRIBUTION_PER_BLOCK",
	3: "GET_DISTRIBUTION_PER_BLOCK",
	4: "SET_DISTRIBUTION_FROM_SLASHING",
	5: "GET_DISTRIBUTION_FROM_SLASHING",
	6: "SET_GAS_EXCHANGE_RATE",
	7: "GET_GAS_EXCHANGE_RATE",
}
View Source
var DPoSDistributionFunction_value = map[string]int32{
	"REWARD":                         0,
	"GET_DISTRIBUTION_DETAIL":        1,
	"SET_DISTRIBUTION_PER_BLOCK":     2,
	"GET_DISTRIBUTION_PER_BLOCK":     3,
	"SET_DISTRIBUTION_FROM_SLASHING": 4,
	"GET_DISTRIBUTION_FROM_SLASHING": 5,
	"SET_GAS_EXCHANGE_RATE":          6,
	"GET_GAS_EXCHANGE_RATE":          7,
}
View Source
var DPoSERC20Function_name = map[int32]string{
	0:  "GET_OWNER",
	1:  "GET_DECIMALS",
	2:  "TRANSFER",
	3:  "TRANSFER_FROM",
	4:  "GET_BALANCEOF",
	5:  "APPROVE",
	6:  "GET_ALLOWANCE",
	7:  "BURN",
	8:  "MINT",
	9:  "TRANSFER_OWNERSHIP",
	10: "GET_TOTAL_SUPPLY",
}
View Source
var DPoSERC20Function_value = map[string]int32{
	"GET_OWNER":          0,
	"GET_DECIMALS":       1,
	"TRANSFER":           2,
	"TRANSFER_FROM":      3,
	"GET_BALANCEOF":      4,
	"APPROVE":            5,
	"GET_ALLOWANCE":      6,
	"BURN":               7,
	"MINT":               8,
	"TRANSFER_OWNERSHIP": 9,
	"GET_TOTAL_SUPPLY":   10,
}
View Source
var DPoSSlashingFunction_name = map[int32]string{
	0: "PUNISH",
	2: "SET_SLASHING_PER_BLOCK",
	3: "GET_SLASHING_PER_BLOCK",
	4: "GET_SLASHING_ADDRESS_BALANCE",
	5: "GET_SLASHING_DETAIL",
	6: "GET_SLASHING_ADDRESS",
}
View Source
var DPoSSlashingFunction_value = map[string]int32{
	"PUNISH":                       0,
	"SET_SLASHING_PER_BLOCK":       2,
	"GET_SLASHING_PER_BLOCK":       3,
	"GET_SLASHING_ADDRESS_BALANCE": 4,
	"GET_SLASHING_DETAIL":          5,
	"GET_SLASHING_ADDRESS":         6,
}
View Source
var DPoSStakeFunction_name = map[int32]string{
	0:  "GET_ALL_CANDIDATES",
	1:  "GET_VALIDATOR_BY_ADDRESS",
	2:  "DELEGATE",
	3:  "GET_DELEGATIONS_BY_ADDRESS",
	4:  "GET_USER_DELEGATION_BY_VALIDATOR",
	5:  "UNDELEGATE",
	6:  "READ_EPOCH_BY_ID",
	7:  "READ_LATEST_EPOCH",
	8:  "SET_NODE_ID",
	9:  "GET_NODE_ID",
	10: "UPDATE_MIN_SELF_DELEGATION",
	11: "READ_MIN_SELF_DELEGATION",
	12: "UPDATE_EPOCH_VALIDATOR_NUMBER",
	13: "READ_EPOCH_VALIDATOR_NUMBER",
	14: "UPDATE_EPOCH_BLOCK_NUMBER",
	15: "READ_EPOCH_BLOCK_NUMBER",
	16: "READ_COMPLETE_UNBOUNDING_EPOCH_NUMBER",
	18: "READ_SYSTEM_CONTRACT_ADDR",
	19: "UNBOUNDING",
	20: "CREATE_EPOCH",
	21: "UPDATE_EPOCH_VALIDATOR_NUMBER_AND_EPOCH_BLOCK_NUMBER",
}
View Source
var DPoSStakeFunction_value = map[string]int32{
	"GET_ALL_CANDIDATES":                    0,
	"GET_VALIDATOR_BY_ADDRESS":              1,
	"DELEGATE":                              2,
	"GET_DELEGATIONS_BY_ADDRESS":            3,
	"GET_USER_DELEGATION_BY_VALIDATOR":      4,
	"UNDELEGATE":                            5,
	"READ_EPOCH_BY_ID":                      6,
	"READ_LATEST_EPOCH":                     7,
	"SET_NODE_ID":                           8,
	"GET_NODE_ID":                           9,
	"UPDATE_MIN_SELF_DELEGATION":            10,
	"READ_MIN_SELF_DELEGATION":              11,
	"UPDATE_EPOCH_VALIDATOR_NUMBER":         12,
	"READ_EPOCH_VALIDATOR_NUMBER":           13,
	"UPDATE_EPOCH_BLOCK_NUMBER":             14,
	"READ_EPOCH_BLOCK_NUMBER":               15,
	"READ_COMPLETE_UNBOUNDING_EPOCH_NUMBER": 16,
	"READ_SYSTEM_CONTRACT_ADDR":             18,
	"UNBOUNDING":                            19,
	"CREATE_EPOCH":                          20,
	"UPDATE_EPOCH_VALIDATOR_NUMBER_AND_EPOCH_BLOCK_NUMBER": 21,
}
View Source
var DeleteErrorCrossChainTxList_Parameter_name = map[int32]string{
	0: "CROSS_CHAIN_ID",
}
View Source
var DeleteErrorCrossChainTxList_Parameter_value = map[string]int32{
	"CROSS_CHAIN_ID": 0,
}
View Source
var DoHotColdDataSeparateHeight_Parameter_name = map[int32]string{
	0: "START_HEIGHT",
	1: "END_HEIGHT",
}
View Source
var DoHotColdDataSeparateHeight_Parameter_value = map[string]int32{
	"START_HEIGHT": 0,
	"END_HEIGHT":   1,
}
View Source
var EthBalanceOf_Parameter_name = map[int32]string{
	0: "ACCOUNT",
}
View Source
var EthBalanceOf_Parameter_value = map[string]int32{
	"ACCOUNT": 0,
}
View Source
var EthCall_Parameter_name = map[int32]string{
	0: "FROM",
	1: "TO",
	2: "VALUE",
	3: "DATA",
	4: "GAS",
	5: "GAS_PRICE",
}
View Source
var EthCall_Parameter_value = map[string]int32{
	"FROM":      0,
	"TO":        1,
	"VALUE":     2,
	"DATA":      3,
	"GAS":       4,
	"GAS_PRICE": 5,
}
View Source
var EthEstimateGas_Parameter_name = map[int32]string{
	0: "FROM",
	1: "TO",
	2: "VALUE",
	3: "DATA",
	4: "GAS",
	5: "GAS_PRICE",
}
View Source
var EthEstimateGas_Parameter_value = map[string]int32{
	"FROM":      0,
	"TO":        1,
	"VALUE":     2,
	"DATA":      3,
	"GAS":       4,
	"GAS_PRICE": 5,
}
View Source
var EthGetAccount_Parameter_name = map[int32]string{
	0: "ACCOUNT",
}
View Source
var EthGetAccount_Parameter_value = map[string]int32{
	"ACCOUNT": 0,
}
View Source
var EthMint_Parameter_name = map[int32]string{
	0: "ACCOUNT",
	1: "AMOUNT",
}
View Source
var EthMint_Parameter_value = map[string]int32{
	"ACCOUNT": 0,
	"AMOUNT":  1,
}
View Source
var EthNonce_Parameter_name = map[int32]string{
	0: "ACCOUNT",
}
View Source
var EthNonce_Parameter_value = map[string]int32{
	"ACCOUNT": 0,
}
View Source
var EthRegister_Parameter_name = map[int32]string{
	0: "ACCOUNT",
	1: "NAME",
}
View Source
var EthRegister_Parameter_value = map[string]int32{
	"ACCOUNT": 0,
	"NAME":    1,
}
View Source
var EthTransfer_Parameter_name = map[int32]string{
	0: "TO",
	1: "AMOUNT",
}
View Source
var EthTransfer_Parameter_value = map[string]int32{
	"TO":     0,
	"AMOUNT": 1,
}
View Source
var EthUnregister_Parameter_name = map[int32]string{
	0: "ACCOUNT",
}
View Source
var EthUnregister_Parameter_value = map[string]int32{
	"ACCOUNT": 0,
}
View Source
var EthereumFunction_name = map[int32]string{
	0:  "Name",
	1:  "Symbol",
	2:  "Decimals",
	3:  "TotalSupply",
	4:  "BalanceOf",
	5:  "Nonce",
	6:  "Transfer",
	7:  "Mint",
	8:  "Unpack",
	9:  "Register",
	10: "Unregister",
	11: "GetAccount",
	12: "GetAccountList",
	13: "EstimateGas",
	14: "Call",
}
View Source
var EthereumFunction_value = map[string]int32{
	"Name":           0,
	"Symbol":         1,
	"Decimals":       2,
	"TotalSupply":    3,
	"BalanceOf":      4,
	"Nonce":          5,
	"Transfer":       6,
	"Mint":           7,
	"Unpack":         8,
	"Register":       9,
	"Unregister":     10,
	"GetAccount":     11,
	"GetAccountList": 12,
	"EstimateGas":    13,
	"Call":           14,
}
View Source
var EventDataType_Parameter_name = map[int32]string{
	0: "STRING",
	1: "MAP",
	2: "BYTE",
	3: "BOOL",
	4: "INT",
	5: "FLOAT",
	6: "ARRAY",
	7: "HASH",
	8: "ADDRESS",
}
View Source
var EventDataType_Parameter_value = map[string]int32{
	"STRING":  0,
	"MAP":     1,
	"BYTE":    2,
	"BOOL":    3,
	"INT":     4,
	"FLOAT":   5,
	"ARRAY":   6,
	"HASH":    7,
	"ADDRESS": 8,
}
View Source
var EventName_Parameter_name = map[int32]string{
	0: "NEW_CROSS_CHAIN",
	1: "CROSS_CHAIN_TRY_END",
	2: "UPADATE_RESULT_END",
	3: "GATEWAY_CONFIRM_END",
	4: "SRC_GATEWAY_CONFIRM_END",
}
View Source
var EventName_Parameter_value = map[string]int32{
	"NEW_CROSS_CHAIN":         0,
	"CROSS_CHAIN_TRY_END":     1,
	"UPADATE_RESULT_END":      2,
	"GATEWAY_CONFIRM_END":     3,
	"SRC_GATEWAY_CONFIRM_END": 4,
}
View Source
var FreezeContract_Parameter_name = map[int32]string{
	0: "CONTRACT_NAME",
}
View Source
var FreezeContract_Parameter_value = map[string]int32{
	"CONTRACT_NAME": 0,
}
View Source
var GasAccountFunction_name = map[int32]string{
	0:  "SET_ADMIN",
	1:  "GET_ADMIN",
	2:  "RECHARGE_GAS",
	3:  "GET_BALANCE",
	4:  "CHARGE_GAS",
	5:  "FROZEN_ACCOUNT",
	6:  "UNFROZEN_ACCOUNT",
	7:  "ACCOUNT_STATUS",
	8:  "REFUND_GAS",
	9:  "REFUND_GAS_VM",
	10: "CHARGE_GAS_FOR_MULTI_ACCOUNT",
}
View Source
var GasAccountFunction_value = map[string]int32{
	"SET_ADMIN":                    0,
	"GET_ADMIN":                    1,
	"RECHARGE_GAS":                 2,
	"GET_BALANCE":                  3,
	"CHARGE_GAS":                   4,
	"FROZEN_ACCOUNT":               5,
	"UNFROZEN_ACCOUNT":             6,
	"ACCOUNT_STATUS":               7,
	"REFUND_GAS":                   8,
	"REFUND_GAS_VM":                9,
	"CHARGE_GAS_FOR_MULTI_ACCOUNT": 10,
}
View Source
var GetAccountContractTxHistory_Parameter_name = map[int32]string{
	0: "ACCOUNT",
	1: "CONTRACT_NAME",
}
View Source
var GetAccountContractTxHistory_Parameter_value = map[string]int32{
	"ACCOUNT":       0,
	"CONTRACT_NAME": 1,
}
View Source
var GetContractInfo_Parameter_name = map[int32]string{
	0: "CONTRACT_NAME",
}
View Source
var GetContractInfo_Parameter_value = map[string]int32{
	"CONTRACT_NAME": 0,
}
View Source
var GetCrossChainInfoByRange_Parameter_name = map[int32]string{
	0: "START_CROSS_CHAIN_ID",
	1: "STOP_CROSS_CHAIN_ID",
}
View Source
var GetCrossChainInfoByRange_Parameter_value = map[string]int32{
	"START_CROSS_CHAIN_ID": 0,
	"STOP_CROSS_CHAIN_ID":  1,
}
View Source
var GetCrossChainInfo_Parameter_name = map[int32]string{
	0: "CROSS_CHAIN_ID",
}
View Source
var GetCrossChainInfo_Parameter_value = map[string]int32{
	"CROSS_CHAIN_ID": 0,
}
View Source
var GetGatewayByRange_Parameter_name = map[int32]string{
	0: "START_GATEWAY_ID",
	1: "STOP_GATEWAY_ID",
}
View Source
var GetGatewayByRange_Parameter_value = map[string]int32{
	"START_GATEWAY_ID": 0,
	"STOP_GATEWAY_ID":  1,
}
View Source
var GetGateway_Parameter_name = map[int32]string{
	0: "GATEWAY_ID",
}
View Source
var GetGateway_Parameter_value = map[string]int32{
	"GATEWAY_ID": 0,
}
View Source
var GetHotColdDataSeparateJob_Parameter_name = map[int32]string{
	0: "JOB_ID",
}
View Source
var GetHotColdDataSeparateJob_Parameter_value = map[string]int32{
	"JOB_ID": 0,
}
View Source
var HotColdDataSeparateFunction_name = map[int32]string{
	0: "DoHotColdDataSeparation",
	1: "GetHotColdDataSeparationJobByID",
	2: "GetHotColdDataSeparationMaxHeight",
}
View Source
var HotColdDataSeparateFunction_value = map[string]int32{
	"DoHotColdDataSeparation":           0,
	"GetHotColdDataSeparationJobByID":   1,
	"GetHotColdDataSeparationMaxHeight": 2,
}
View Source
var InitContract_Parameter_name = map[int32]string{
	0: "CONTRACT_NAME",
	1: "CONTRACT_RUNTIME_TYPE",
	2: "CONTRACT_VERSION",
	3: "CONTRACT_BYTECODE",
}
View Source
var InitContract_Parameter_value = map[string]int32{
	"CONTRACT_NAME":         0,
	"CONTRACT_RUNTIME_TYPE": 1,
	"CONTRACT_VERSION":      2,
	"CONTRACT_BYTECODE":     3,
}
View Source
var MultiQuery_Parameter_name = map[int32]string{
	0: "TX_ID",
}
View Source
var MultiQuery_Parameter_value = map[string]int32{
	"TX_ID": 0,
}
View Source
var MultiReq_Parameter_name = map[int32]string{
	0: "SYS_CONTRACT_NAME",
	1: "SYS_METHOD",
}
View Source
var MultiReq_Parameter_value = map[string]int32{
	"SYS_CONTRACT_NAME": 0,
	"SYS_METHOD":        1,
}
View Source
var MultiSignFunction_name = map[int32]string{
	0: "REQ",
	1: "VOTE",
	2: "QUERY",
	3: "TRIG",
}
View Source
var MultiSignFunction_value = map[string]int32{
	"REQ":   0,
	"VOTE":  1,
	"QUERY": 2,
	"TRIG":  3,
}
View Source
var MultiSignStatus_name = map[int32]string{
	0: "PROCESSING",
	1: "ADOPTED",
	2: "REFUSED",
	3: "FAILED",
	4: "PASSED",
}
View Source
var MultiSignStatus_value = map[string]int32{
	"PROCESSING": 0,
	"ADOPTED":    1,
	"REFUSED":    2,
	"FAILED":     3,
	"PASSED":     4,
}
View Source
var MultiVote_Parameter_name = map[int32]string{
	0: "VOTE_INFO",
	1: "TX_ID",
}
View Source
var MultiVote_Parameter_value = map[string]int32{
	"VOTE_INFO": 0,
	"TX_ID":     1,
}
View Source
var ParameterKey_name = map[int32]string{
	0: "CONTENT_TYPE",
	1: "PAGE_SIZE",
	2: "PAGE_INDEX",
}
View Source
var ParameterKey_value = map[string]int32{
	"CONTENT_TYPE": 0,
	"PAGE_SIZE":    1,
	"PAGE_INDEX":   2,
}
View Source
var PrivateComputeFunction_name = map[int32]string{
	0:  "GET_CONTRACT",
	1:  "GET_DATA",
	2:  "SAVE_CA_CERT",
	3:  "SAVE_DIR",
	4:  "SAVE_DATA",
	5:  "SAVE_ENCLAVE_REPORT",
	6:  "GET_ENCLAVE_PROOF",
	7:  "GET_CA_CERT",
	8:  "GET_DIR",
	9:  "CHECK_CALLER_CERT_AUTH",
	10: "GET_ENCLAVE_ENCRYPT_PUB_KEY",
	11: "GET_ENCLAVE_VERIFICATION_PUB_KEY",
	12: "GET_ENCLAVE_REPORT",
	13: "GET_ENCLAVE_CHALLENGE",
	14: "GET_ENCLAVE_SIGNATURE",
	15: "SAVE_REMOTE_ATTESTATION",
}
View Source
var PrivateComputeFunction_value = map[string]int32{
	"GET_CONTRACT":                     0,
	"GET_DATA":                         1,
	"SAVE_CA_CERT":                     2,
	"SAVE_DIR":                         3,
	"SAVE_DATA":                        4,
	"SAVE_ENCLAVE_REPORT":              5,
	"GET_ENCLAVE_PROOF":                6,
	"GET_CA_CERT":                      7,
	"GET_DIR":                          8,
	"CHECK_CALLER_CERT_AUTH":           9,
	"GET_ENCLAVE_ENCRYPT_PUB_KEY":      10,
	"GET_ENCLAVE_VERIFICATION_PUB_KEY": 11,
	"GET_ENCLAVE_REPORT":               12,
	"GET_ENCLAVE_CHALLENGE":            13,
	"GET_ENCLAVE_SIGNATURE":            14,
	"SAVE_REMOTE_ATTESTATION":          15,
}
View Source
var PubkeyManageFunction_name = map[int32]string{
	0: "PUBKEY_ADD",
	1: "PUBKEY_DELETE",
	2: "PUBKEY_QUERY",
}
View Source
var PubkeyManageFunction_value = map[string]int32{
	"PUBKEY_ADD":    0,
	"PUBKEY_DELETE": 1,
	"PUBKEY_QUERY":  2,
}
View Source
var RelayCrossFunction_name = map[int32]string{
	0:  "SAVE_GATEWAY",
	1:  "UPDATE_GATEWAY",
	2:  "SAVE_CROSS_CHAIN_INFO",
	3:  "GET_ERROR_CROSS_CHAIN_TX_LIST",
	4:  "DELETE_ERROR_CROSS_CHAIN_TX_LIST",
	5:  "UPDATE_CROSS_CHAIN_TRY",
	6:  "UPDATE_CROSS_CHAIN_RESULT",
	7:  "UPDATE_CROSS_CHAIN_CONFIRM",
	8:  "UPDATE_SRC_GATEWAY_CONFIRM",
	9:  "GET_GATEWAY_NUM",
	10: "GET_GATEWAY",
	11: "GET_GATEWAY_BY_RANGE",
	12: "GET_CROSS_CHAIN_NUM",
	13: "GET_CROSS_CHAIN_INFO",
	14: "GET_CROSS_CHAIN_INFO_BY_RANGE",
	15: "GET_NOT_END_CROSS_CHIAN_ID_LIST",
}
View Source
var RelayCrossFunction_value = map[string]int32{
	"SAVE_GATEWAY":                     0,
	"UPDATE_GATEWAY":                   1,
	"SAVE_CROSS_CHAIN_INFO":            2,
	"GET_ERROR_CROSS_CHAIN_TX_LIST":    3,
	"DELETE_ERROR_CROSS_CHAIN_TX_LIST": 4,
	"UPDATE_CROSS_CHAIN_TRY":           5,
	"UPDATE_CROSS_CHAIN_RESULT":        6,
	"UPDATE_CROSS_CHAIN_CONFIRM":       7,
	"UPDATE_SRC_GATEWAY_CONFIRM":       8,
	"GET_GATEWAY_NUM":                  9,
	"GET_GATEWAY":                      10,
	"GET_GATEWAY_BY_RANGE":             11,
	"GET_CROSS_CHAIN_NUM":              12,
	"GET_CROSS_CHAIN_INFO":             13,
	"GET_CROSS_CHAIN_INFO_BY_RANGE":    14,
	"GET_NOT_END_CROSS_CHIAN_ID_LIST":  15,
}
View Source
var RestoreBlock_Parameter_name = map[int32]string{
	0: "FULL_BLOCK",
}
View Source
var RestoreBlock_Parameter_value = map[string]int32{
	"FULL_BLOCK": 0,
}
View Source
var RevokeContract_Parameter_name = map[int32]string{
	0: "CONTRACT_NAME",
}
View Source
var RevokeContract_Parameter_value = map[string]int32{
	"CONTRACT_NAME": 0,
}
View Source
var SaveCrossChainInfo_Parameter_name = map[int32]string{
	0: "CROSS_CHAIN_INFO_BYTE",
}
View Source
var SaveCrossChainInfo_Parameter_value = map[string]int32{
	"CROSS_CHAIN_INFO_BYTE": 0,
}
View Source
var SaveGateway_Parameter_name = map[int32]string{
	0: "GATEWAY_INFO_BYTE",
}
View Source
var SaveGateway_Parameter_value = map[string]int32{
	"GATEWAY_INFO_BYTE": 0,
}
View Source
var SnapshotFunction_name = map[int32]string{
	0: "SNAPSHOT_MAKE",
	1: "SNAPSHOT_GET_STATUS",
}
View Source
var SnapshotFunction_value = map[string]int32{
	"SNAPSHOT_MAKE":       0,
	"SNAPSHOT_GET_STATUS": 1,
}
View Source
var SnapshotHeight_Parameter_name = map[int32]string{
	0: "SNAPSHOT_HEIGHT",
}
View Source
var SnapshotHeight_Parameter_value = map[string]int32{
	"SNAPSHOT_HEIGHT": 0,
}
View Source
var StateQueryFunction_name = map[int32]string{
	0: "GET_STATE_BY_KEY",
	1: "GET_STATE_BY_PREFIX",
	2: "GET_KEY_HISTORY",
}
View Source
var StateQueryFunction_value = map[string]int32{
	"GET_STATE_BY_KEY":    0,
	"GET_STATE_BY_PREFIX": 1,
	"GET_KEY_HISTORY":     2,
}
View Source
var StateQuery_Parameter_name = map[int32]string{
	0: "CONTRACT_NAME",
	1: "KEY",
	2: "PREFIX",
}
View Source
var StateQuery_Parameter_value = map[string]int32{
	"CONTRACT_NAME": 0,
	"KEY":           1,
	"PREFIX":        2,
}
View Source
var SubscribeBlock_Parameter_name = map[int32]string{
	0: "START_BLOCK",
	1: "END_BLOCK",
	2: "WITH_RWSET",
	3: "ONLY_HEADER",
}
View Source
var SubscribeBlock_Parameter_value = map[string]int32{
	"START_BLOCK": 0,
	"END_BLOCK":   1,
	"WITH_RWSET":  2,
	"ONLY_HEADER": 3,
}
View Source
var SubscribeContractEvent_Parameter_name = map[int32]string{
	0: "TOPIC",
	1: "CONTRACT_NAME",
	2: "START_BLOCK",
	3: "END_BLOCK",
}
View Source
var SubscribeContractEvent_Parameter_value = map[string]int32{
	"TOPIC":         0,
	"CONTRACT_NAME": 1,
	"START_BLOCK":   2,
	"END_BLOCK":     3,
}
View Source
var SubscribeFunction_name = map[int32]string{
	0: "SUBSCRIBE_BLOCK",
	1: "SUBSCRIBE_TX",
	2: "SUBSCRIBE_CONTRACT_EVENT",
}
View Source
var SubscribeFunction_value = map[string]int32{
	"SUBSCRIBE_BLOCK":          0,
	"SUBSCRIBE_TX":             1,
	"SUBSCRIBE_CONTRACT_EVENT": 2,
}
View Source
var SubscribeTx_Parameter_name = map[int32]string{
	0: "START_BLOCK",
	1: "END_BLOCK",
	2: "CONTRACT_NAME",
	3: "TX_IDS",
}
View Source
var SubscribeTx_Parameter_value = map[string]int32{
	"START_BLOCK":   0,
	"END_BLOCK":     1,
	"CONTRACT_NAME": 2,
	"TX_IDS":        3,
}
View Source
var SystemContract_name = map[int32]string{
	0:  "CHAIN_CONFIG",
	1:  "CHAIN_QUERY",
	2:  "CERT_MANAGE",
	3:  "GOVERNANCE",
	4:  "MULTI_SIGN",
	5:  "CONTRACT_MANAGE",
	6:  "PRIVATE_COMPUTE",
	7:  "DPOS_ERC20",
	8:  "DPOS_STAKE",
	9:  "SUBSCRIBE_MANAGE",
	10: "ARCHIVE_MANAGE",
	11: "CROSS_TRANSACTION",
	12: "PUBKEY_MANAGE",
	13: "ACCOUNT_MANAGER",
	14: "DPOS_DISTRIBUTION",
	15: "DPOS_SLASHING",
	16: "COINBASE",
	17: "RELAY_CROSS",
	18: "TRANSACTION_MANAGER",
	19: "SNAPSHOT_MANAGE",
	20: "HOT_COLD_DATA_SEPARATE_MANAGE",
	21: "ETHEREUM",
	99: "T",
}
View Source
var SystemContract_value = map[string]int32{
	"CHAIN_CONFIG":                  0,
	"CHAIN_QUERY":                   1,
	"CERT_MANAGE":                   2,
	"GOVERNANCE":                    3,
	"MULTI_SIGN":                    4,
	"CONTRACT_MANAGE":               5,
	"PRIVATE_COMPUTE":               6,
	"DPOS_ERC20":                    7,
	"DPOS_STAKE":                    8,
	"SUBSCRIBE_MANAGE":              9,
	"ARCHIVE_MANAGE":                10,
	"CROSS_TRANSACTION":             11,
	"PUBKEY_MANAGE":                 12,
	"ACCOUNT_MANAGER":               13,
	"DPOS_DISTRIBUTION":             14,
	"DPOS_SLASHING":                 15,
	"COINBASE":                      16,
	"RELAY_CROSS":                   17,
	"TRANSACTION_MANAGER":           18,
	"SNAPSHOT_MANAGE":               19,
	"HOT_COLD_DATA_SEPARATE_MANAGE": 20,
	"ETHEREUM":                      21,
	"T":                             99,
}
View Source
var TestContractFunction_name = map[int32]string{
	0: "P",
	1: "G",
	2: "N",
	3: "D",
}
View Source
var TestContractFunction_value = map[string]int32{
	"P": 0,
	"G": 1,
	"N": 2,
	"D": 3,
}
View Source
var TransactionManagerFunction_name = map[int32]string{
	0: "ADD_BLACKLIST_TX_IDS",
	1: "DELETE_BLACKLIST_TX_IDS",
	2: "GET_BLACKLIST_TX_IDS",
}
View Source
var TransactionManagerFunction_value = map[string]int32{
	"ADD_BLACKLIST_TX_IDS":    0,
	"DELETE_BLACKLIST_TX_IDS": 1,
	"GET_BLACKLIST_TX_IDS":    2,
}
View Source
var TxResultValue_Parameter_name = map[int32]string{
	0: "TX_SUCCESS",
	1: "TX_TIMEOUT",
	2: "TX_FAIL",
	3: "TX_NOT_EXIST",
	4: "TX_NO_PERMISSIONS",
	5: "GATEWAY_NOT_FOUND",
	6: "GATEWAY_PINGPONG_ERROR",
	7: "CHAIN_PING_ERROR",
	8: "SRC_GATEWAY_GET_ERROR",
}
View Source
var TxResultValue_Parameter_value = map[string]int32{
	"TX_SUCCESS":             0,
	"TX_TIMEOUT":             1,
	"TX_FAIL":                2,
	"TX_NOT_EXIST":           3,
	"TX_NO_PERMISSIONS":      4,
	"GATEWAY_NOT_FOUND":      5,
	"GATEWAY_PINGPONG_ERROR": 6,
	"CHAIN_PING_ERROR":       7,
	"SRC_GATEWAY_GET_ERROR":  8,
}
View Source
var TxVerifyRsult_Parameter_name = map[int32]string{
	0: "VERIFY_SUCCESS",
	1: "VERIFY_INVALID",
	2: "VERIFY_NOT_NEED",
}
View Source
var TxVerifyRsult_Parameter_value = map[string]int32{
	"VERIFY_SUCCESS":  0,
	"VERIFY_INVALID":  1,
	"VERIFY_NOT_NEED": 2,
}
View Source
var UnfreezeContract_Parameter_name = map[int32]string{
	0: "CONTRACT_NAME",
}
View Source
var UnfreezeContract_Parameter_value = map[string]int32{
	"CONTRACT_NAME": 0,
}
View Source
var UpdateCrossChainConfirm_Parameter_name = map[int32]string{
	0: "CROSS_CHAIN_ID",
	1: "CROSS_CHAIN_CONFIRM_BYTE",
}
View Source
var UpdateCrossChainConfirm_Parameter_value = map[string]int32{
	"CROSS_CHAIN_ID":           0,
	"CROSS_CHAIN_CONFIRM_BYTE": 1,
}
View Source
var UpdateCrossChainResult_Parameter_name = map[int32]string{
	0: "CROSS_CHAIN_ID",
	1: "CROSS_CHAIN_RESULT",
}
View Source
var UpdateCrossChainResult_Parameter_value = map[string]int32{
	"CROSS_CHAIN_ID":     0,
	"CROSS_CHAIN_RESULT": 1,
}
View Source
var UpdateCrossChainTry_Parameter_name = map[int32]string{
	0: "CROSS_CHAIN_ID",
	1: "CROSS_CHAIN_TX_BYTE",
}
View Source
var UpdateCrossChainTry_Parameter_value = map[string]int32{
	"CROSS_CHAIN_ID":      0,
	"CROSS_CHAIN_TX_BYTE": 1,
}
View Source
var UpdateGateway_Parameter_name = map[int32]string{
	0: "GATEWAY_ID",
	1: "GATEWAY_INFO_BYTE",
}
View Source
var UpdateGateway_Parameter_value = map[string]int32{
	"GATEWAY_ID":        0,
	"GATEWAY_INFO_BYTE": 1,
}
View Source
var UpdateSrcGatewayConfirm_Parameter_name = map[int32]string{
	0: "CROSS_CHAIN_ID",
	1: "CONFIRM_RESULT",
}
View Source
var UpdateSrcGatewayConfirm_Parameter_value = map[string]int32{
	"CROSS_CHAIN_ID": 0,
	"CONFIRM_RESULT": 1,
}
View Source
var UpgradeContract_Parameter_name = map[int32]string{
	0: "CONTRACT_NAME",
	1: "CONTRACT_RUNTIME_TYPE",
	2: "CONTRACT_VERSION",
	3: "CONTRACT_BYTECODE",
}
View Source
var UpgradeContract_Parameter_value = map[string]int32{
	"CONTRACT_NAME":         0,
	"CONTRACT_RUNTIME_TYPE": 1,
	"CONTRACT_VERSION":      2,
	"CONTRACT_BYTECODE":     3,
}
View Source
var VoteStatus_name = map[int32]string{
	0: "AGREE",
	1: "REJECT",
}
View Source
var VoteStatus_value = map[string]int32{
	"AGREE":  0,
	"REJECT": 1,
}

Functions

This section is empty.

Types

type AccountMultiSign

type AccountMultiSign struct {
	Payloads      []byte `protobuf:"bytes,1,opt,name=payloads,proto3" json:"payloads,omitempty"`
	ClientSign    []byte `protobuf:"bytes,2,opt,name=client_sign,json=clientSign,proto3" json:"client_sign,omitempty"`
	PublicKeyInfo []byte `protobuf:"bytes,3,opt,name=public_key_info,json=publicKeyInfo,proto3" json:"public_key_info,omitempty"`
}

func (*AccountMultiSign) Descriptor

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

func (*AccountMultiSign) GetClientSign

func (m *AccountMultiSign) GetClientSign() []byte

func (*AccountMultiSign) GetPayloads

func (m *AccountMultiSign) GetPayloads() []byte

func (*AccountMultiSign) GetPublicKeyInfo

func (m *AccountMultiSign) GetPublicKeyInfo() []byte

func (*AccountMultiSign) Marshal

func (m *AccountMultiSign) Marshal() (dAtA []byte, err error)

func (*AccountMultiSign) MarshalTo

func (m *AccountMultiSign) MarshalTo(dAtA []byte) (int, error)

func (*AccountMultiSign) MarshalToSizedBuffer

func (m *AccountMultiSign) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AccountMultiSign) ProtoMessage

func (*AccountMultiSign) ProtoMessage()

func (*AccountMultiSign) Reset

func (m *AccountMultiSign) Reset()

func (*AccountMultiSign) Size

func (m *AccountMultiSign) Size() (n int)

func (*AccountMultiSign) String

func (m *AccountMultiSign) String() string

func (*AccountMultiSign) Unmarshal

func (m *AccountMultiSign) Unmarshal(dAtA []byte) error

func (*AccountMultiSign) XXX_DiscardUnknown

func (m *AccountMultiSign) XXX_DiscardUnknown()

func (*AccountMultiSign) XXX_Marshal

func (m *AccountMultiSign) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AccountMultiSign) XXX_Merge

func (m *AccountMultiSign) XXX_Merge(src proto.Message)

func (*AccountMultiSign) XXX_Size

func (m *AccountMultiSign) XXX_Size() int

func (*AccountMultiSign) XXX_Unmarshal

func (m *AccountMultiSign) XXX_Unmarshal(b []byte) error

type AccountMultiSignsReq

type AccountMultiSignsReq struct {
	GasMultiSigns []*AccountMultiSign `protobuf:"bytes,1,rep,name=gas_multi_signs,json=gasMultiSigns,proto3" json:"gas_multi_signs,omitempty"`
}

account multi sign req

func (*AccountMultiSignsReq) Descriptor

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

func (*AccountMultiSignsReq) GetGasMultiSigns

func (m *AccountMultiSignsReq) GetGasMultiSigns() []*AccountMultiSign

func (*AccountMultiSignsReq) Marshal

func (m *AccountMultiSignsReq) Marshal() (dAtA []byte, err error)

func (*AccountMultiSignsReq) MarshalTo

func (m *AccountMultiSignsReq) MarshalTo(dAtA []byte) (int, error)

func (*AccountMultiSignsReq) MarshalToSizedBuffer

func (m *AccountMultiSignsReq) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AccountMultiSignsReq) ProtoMessage

func (*AccountMultiSignsReq) ProtoMessage()

func (*AccountMultiSignsReq) Reset

func (m *AccountMultiSignsReq) Reset()

func (*AccountMultiSignsReq) Size

func (m *AccountMultiSignsReq) Size() (n int)

func (*AccountMultiSignsReq) String

func (m *AccountMultiSignsReq) String() string

func (*AccountMultiSignsReq) Unmarshal

func (m *AccountMultiSignsReq) Unmarshal(dAtA []byte) error

func (*AccountMultiSignsReq) XXX_DiscardUnknown

func (m *AccountMultiSignsReq) XXX_DiscardUnknown()

func (*AccountMultiSignsReq) XXX_Marshal

func (m *AccountMultiSignsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AccountMultiSignsReq) XXX_Merge

func (m *AccountMultiSignsReq) XXX_Merge(src proto.Message)

func (*AccountMultiSignsReq) XXX_Size

func (m *AccountMultiSignsReq) XXX_Size() int

func (*AccountMultiSignsReq) XXX_Unmarshal

func (m *AccountMultiSignsReq) XXX_Unmarshal(b []byte) error

type ArchiveBlock

type ArchiveBlock struct {
}

archive block payload parameters

func (*ArchiveBlock) Descriptor

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

func (*ArchiveBlock) Marshal

func (m *ArchiveBlock) Marshal() (dAtA []byte, err error)

func (*ArchiveBlock) MarshalTo

func (m *ArchiveBlock) MarshalTo(dAtA []byte) (int, error)

func (*ArchiveBlock) MarshalToSizedBuffer

func (m *ArchiveBlock) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ArchiveBlock) ProtoMessage

func (*ArchiveBlock) ProtoMessage()

func (*ArchiveBlock) Reset

func (m *ArchiveBlock) Reset()

func (*ArchiveBlock) Size

func (m *ArchiveBlock) Size() (n int)

func (*ArchiveBlock) String

func (m *ArchiveBlock) String() string

func (*ArchiveBlock) Unmarshal

func (m *ArchiveBlock) Unmarshal(dAtA []byte) error

func (*ArchiveBlock) XXX_DiscardUnknown

func (m *ArchiveBlock) XXX_DiscardUnknown()

func (*ArchiveBlock) XXX_Marshal

func (m *ArchiveBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ArchiveBlock) XXX_Merge

func (m *ArchiveBlock) XXX_Merge(src proto.Message)

func (*ArchiveBlock) XXX_Size

func (m *ArchiveBlock) XXX_Size() int

func (*ArchiveBlock) XXX_Unmarshal

func (m *ArchiveBlock) XXX_Unmarshal(b []byte) error

type ArchiveBlock_Parameter

type ArchiveBlock_Parameter int32
const (
	ArchiveBlock_BLOCK_HEIGHT ArchiveBlock_Parameter = 0
)

func (ArchiveBlock_Parameter) EnumDescriptor

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

func (ArchiveBlock_Parameter) String

func (x ArchiveBlock_Parameter) String() string

type ArchiveFunction

type ArchiveFunction int32

methods of archive block

const (
	ArchiveFunction_ARCHIVE_BLOCK ArchiveFunction = 0
	ArchiveFunction_RESTORE_BLOCK ArchiveFunction = 1
)

func (ArchiveFunction) EnumDescriptor

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

func (ArchiveFunction) String

func (x ArchiveFunction) String() string

type BondStatus

type BondStatus int32
const (
	BondStatus_BONDED    BondStatus = 0
	BondStatus_UNBONDING BondStatus = 1
	BondStatus_UNBONDED  BondStatus = 2
)

func (BondStatus) EnumDescriptor

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

func (BondStatus) String

func (x BondStatus) String() string

type CallType

type CallType int32
const (
	CallType_DIRECT CallType = 0
	CallType_CROSS  CallType = 1
)

func (CallType) EnumDescriptor

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

func (CallType) String

func (x CallType) String() string

type CancelInfo

type CancelInfo struct {
	// chain resource id
	ChainRid string `protobuf:"bytes,2,opt,name=chain_rid,json=chainRid,proto3" json:"chain_rid,omitempty"`
	// contract name
	ContractName string `protobuf:"bytes,3,opt,name=contract_name,json=contractName,proto3" json:"contract_name,omitempty"`
	// method
	Method string `protobuf:"bytes,4,opt,name=method,proto3" json:"method,omitempty"`
	// parameter
	Parameter string `protobuf:"bytes,5,opt,name=parameter,proto3" json:"parameter,omitempty"`
	// param_data
	ParamData []int32 `protobuf:"varint,6,rep,packed,name=param_data,json=paramData,proto3" json:"param_data,omitempty"`
	// bcos param data type
	ParamDataType []EventDataType_Parameter `` /* 151-byte string literal not displayed */
	// extra data
	ExtraData string `protobuf:"bytes,8,opt,name=extra_data,json=extraData,proto3" json:"extra_data,omitempty"`
	// bcos abi
	Abi string `protobuf:"bytes,9,opt,name=abi,proto3" json:"abi,omitempty"`
}

func (*CancelInfo) Descriptor

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

func (*CancelInfo) GetAbi

func (m *CancelInfo) GetAbi() string

func (*CancelInfo) GetChainRid

func (m *CancelInfo) GetChainRid() string

func (*CancelInfo) GetContractName

func (m *CancelInfo) GetContractName() string

func (*CancelInfo) GetExtraData

func (m *CancelInfo) GetExtraData() string

func (*CancelInfo) GetMethod

func (m *CancelInfo) GetMethod() string

func (*CancelInfo) GetParamData

func (m *CancelInfo) GetParamData() []int32

func (*CancelInfo) GetParamDataType

func (m *CancelInfo) GetParamDataType() []EventDataType_Parameter

func (*CancelInfo) GetParameter

func (m *CancelInfo) GetParameter() string

func (*CancelInfo) Marshal

func (m *CancelInfo) Marshal() (dAtA []byte, err error)

func (*CancelInfo) MarshalTo

func (m *CancelInfo) MarshalTo(dAtA []byte) (int, error)

func (*CancelInfo) MarshalToSizedBuffer

func (m *CancelInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CancelInfo) ProtoMessage

func (*CancelInfo) ProtoMessage()

func (*CancelInfo) Reset

func (m *CancelInfo) Reset()

func (*CancelInfo) Size

func (m *CancelInfo) Size() (n int)

func (*CancelInfo) String

func (m *CancelInfo) String() string

func (*CancelInfo) Unmarshal

func (m *CancelInfo) Unmarshal(dAtA []byte) error

func (*CancelInfo) XXX_DiscardUnknown

func (m *CancelInfo) XXX_DiscardUnknown()

func (*CancelInfo) XXX_Marshal

func (m *CancelInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CancelInfo) XXX_Merge

func (m *CancelInfo) XXX_Merge(src proto.Message)

func (*CancelInfo) XXX_Size

func (m *CancelInfo) XXX_Size() int

func (*CancelInfo) XXX_Unmarshal

func (m *CancelInfo) XXX_Unmarshal(b []byte) error

type CertManageFunction

type CertManageFunction int32

methods of certificate management

const (
	// add one certificate
	CertManageFunction_CERT_ADD CertManageFunction = 0
	// delete certificates
	CertManageFunction_CERTS_DELETE CertManageFunction = 1
	// query certificates
	CertManageFunction_CERTS_QUERY CertManageFunction = 2
	// freeze certificates
	CertManageFunction_CERTS_FREEZE CertManageFunction = 3
	// unfreeze certificates
	CertManageFunction_CERTS_UNFREEZE CertManageFunction = 4
	// revoke certificates
	CertManageFunction_CERTS_REVOKE CertManageFunction = 5
	// add one certificate alias, any
	CertManageFunction_CERT_ALIAS_ADD CertManageFunction = 6
	// update one certificate alias, self
	CertManageFunction_CERT_ALIAS_UPDATE CertManageFunction = 7
	// delete certificate alias, admin
	CertManageFunction_CERTS_ALIAS_DELETE CertManageFunction = 8
	// query certificate alias, admin
	CertManageFunction_CERTS_ALIAS_QUERY CertManageFunction = 9
)

func (CertManageFunction) EnumDescriptor

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

func (CertManageFunction) String

func (x CertManageFunction) String() string

type ChainConfigFunction

type ChainConfigFunction int32

methods of chain config contract

const (
	// get chain configuration
	ChainConfigFunction_GET_CHAIN_CONFIG ChainConfigFunction = 0
	// get the latest configuration block
	// the incoming block height must exist in the database
	ChainConfigFunction_GET_CHAIN_CONFIG_AT ChainConfigFunction = 1
	// update core
	ChainConfigFunction_CORE_UPDATE ChainConfigFunction = 2
	// update block
	ChainConfigFunction_BLOCK_UPDATE ChainConfigFunction = 3
	// add trusted certificate (org_id and root)
	ChainConfigFunction_TRUST_ROOT_ADD ChainConfigFunction = 4
	// [self] modify an individual's own trusted root certificate [org_id must
	// exist in the original trust_roots,
	// and the new root certificate must be different from other certificates]
	ChainConfigFunction_TRUST_ROOT_UPDATE ChainConfigFunction = 5
	// delete trusted root certificate [org_ ID should be in trust_ The nodes in
	// nodes need to be deleted]
	ChainConfigFunction_TRUST_ROOT_DELETE ChainConfigFunction = 6
	// organization add node address
	// org_id must already exist in nodes,you can add addresses in batches
	// the parameter is addresses. Single addresses are separated by ","
	// ip+port and peerid cannot be repeated
	// Deprecated , replace by NODE_ID_ADD
	ChainConfigFunction_NODE_ADDR_ADD ChainConfigFunction = 7
	// [self]the organization updates an address
	//[org_id and address must already exist in nodes, new_address is the new
	// address. ip+port and peerId cannot be duplicated]
	// Deprecated , replace by NODE_ID_UPDATE
	ChainConfigFunction_NODE_ADDR_UPDATE ChainConfigFunction = 8
	// organization delete node address [org_id and address must already exist in
	// nodes]
	// Deprecated , replace by NODE_ID_DELETE
	ChainConfigFunction_NODE_ADDR_DELETE ChainConfigFunction = 9
	// organization add node address in batches
	// [org_id在nodes不存在,批量添加地址,参数为node_ids,单地址用逗号","隔开。nodeId不能重复]
	ChainConfigFunction_NODE_ORG_ADD ChainConfigFunction = 10
	// organization update
	// org_id must already exist in nodes,the parameter is addresses,Single
	// addresses are separated by ","
	// ip+port and peerid cannot be repeated
	ChainConfigFunction_NODE_ORG_UPDATE ChainConfigFunction = 11
	// organization delete, org_id must already exist in nodes
	ChainConfigFunction_NODE_ORG_DELETE ChainConfigFunction = 12
	// add consensus parameters, key is not exit in ext_config
	ChainConfigFunction_CONSENSUS_EXT_ADD ChainConfigFunction = 13
	// update onsensus parameters, key exit in ext_config
	ChainConfigFunction_CONSENSUS_EXT_UPDATE ChainConfigFunction = 14
	// delete onsensus parameters, key exit in ext_config
	ChainConfigFunction_CONSENSUS_EXT_DELETE ChainConfigFunction = 15
	// add permission
	ChainConfigFunction_PERMISSION_ADD ChainConfigFunction = 16
	// update permission
	ChainConfigFunction_PERMISSION_UPDATE ChainConfigFunction = 17
	// delete permission
	ChainConfigFunction_PERMISSION_DELETE ChainConfigFunction = 18
	// organization add node_id
	// org_id must already exist in nodes,you can add node_id in batches
	// the parameter is node_ids. Single node_ids are separated by ","
	// node_id cannot be repeated
	ChainConfigFunction_NODE_ID_ADD ChainConfigFunction = 19
	// [self]the organization updates a node_ids
	//[org_id and node_ids must already exist in nodes, new_node_id is the new
	// node_id. node_id cannot be duplicated]
	ChainConfigFunction_NODE_ID_UPDATE ChainConfigFunction = 20
	// organization delete node_id [org_id and node_id must already exist in
	// nodes]
	ChainConfigFunction_NODE_ID_DELETE ChainConfigFunction = 21
	// add trusted member (org_id signcert role  node_id)
	ChainConfigFunction_TRUST_MEMBER_ADD ChainConfigFunction = 22
	// [self] modify an individual's own trusted member [node_id must exist in the original trust_members,
	// and the new trust member must be different from other trust members]
	ChainConfigFunction_TRUST_MEMBER_UPDATE ChainConfigFunction = 23
	// delete trusted member certificate [node_ ID should be in trust_ The nodes in nodes need to be deleted]
	ChainConfigFunction_TRUST_MEMBER_DELETE ChainConfigFunction = 24
	// alter address type
	ChainConfigFunction_ALTER_ADDR_TYPE ChainConfigFunction = 25
	// able or enable gas calc
	ChainConfigFunction_ENABLE_OR_DISABLE_GAS ChainConfigFunction = 26
	// set invoke base gas
	ChainConfigFunction_SET_INVOKE_BASE_GAS ChainConfigFunction = 27
	// set account manager admin
	ChainConfigFunction_SET_ACCOUNT_MANAGER_ADMIN ChainConfigFunction = 28
	// list permissions
	ChainConfigFunction_PERMISSION_LIST ChainConfigFunction = 29
	// update version
	ChainConfigFunction_UPDATE_VERSION ChainConfigFunction = 30
	// update `enable_manual_run` flag of multi sign
	ChainConfigFunction_MULTI_SIGN_ENABLE_MANUAL_RUN ChainConfigFunction = 31
	// enable only_creator_can_upgrade
	ChainConfigFunction_ENABLE_ONLY_CREATOR_UPGRADE ChainConfigFunction = 32
	// disable only_creator_can_upgrade
	ChainConfigFunction_DISABLE_ONLY_CREATOR_UPGRADE ChainConfigFunction = 33
	// set invoke gas price, continued with NO. `27`
	ChainConfigFunction_SET_INVOKE_GAS_PRICE ChainConfigFunction = 34
	// set install base price
	ChainConfigFunction_SET_INSTALL_BASE_GAS ChainConfigFunction = 35
	// set install gas price
	ChainConfigFunction_SET_INSTALL_GAS_PRICE ChainConfigFunction = 36
	// switch consensus algorithm
	ChainConfigFunction_CONSENSUS_SWITCH ChainConfigFunction = 37
	// update node ids in dpos
	ChainConfigFunction_DPOS_NODE_ID_UPDATE ChainConfigFunction = 38
	//set EthConfig value
	ChainConfigFunction_SET_ETH_CONFIG ChainConfigFunction = 39
	// add new vm type to support list
	ChainConfigFunction_VM_SUPPORT_LIST_ADD ChainConfigFunction = 40
)

func (ChainConfigFunction) EnumDescriptor

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

func (ChainConfigFunction) String

func (x ChainConfigFunction) String() string

type ChainQueryFunction

type ChainQueryFunction int32

methods of chain query contract

const (
	// get block by transactionId
	ChainQueryFunction_GET_BLOCK_BY_TX_ID ChainQueryFunction = 0
	// get transaction by transactionId
	ChainQueryFunction_GET_TX_BY_TX_ID ChainQueryFunction = 1
	// get block by block height
	ChainQueryFunction_GET_BLOCK_BY_HEIGHT ChainQueryFunction = 2
	// get chain information, include current height and consensus node list
	ChainQueryFunction_GET_CHAIN_INFO ChainQueryFunction = 3
	// get the last configuration block
	ChainQueryFunction_GET_LAST_CONFIG_BLOCK ChainQueryFunction = 4
	// get block by block hash
	ChainQueryFunction_GET_BLOCK_BY_HASH ChainQueryFunction = 5
	// get the list of chains the node knows
	ChainQueryFunction_GET_NODE_CHAIN_LIST ChainQueryFunction = 6
	// get governance information
	ChainQueryFunction_GET_GOVERNANCE_CONTRACT ChainQueryFunction = 7
	// get read/write set information by eight
	ChainQueryFunction_GET_BLOCK_WITH_TXRWSETS_BY_HEIGHT ChainQueryFunction = 8
	// get read/write set information by hash
	ChainQueryFunction_GET_BLOCK_WITH_TXRWSETS_BY_HASH ChainQueryFunction = 9
	// get the last block
	ChainQueryFunction_GET_LAST_BLOCK ChainQueryFunction = 10
	// get full block by height
	ChainQueryFunction_GET_FULL_BLOCK_BY_HEIGHT ChainQueryFunction = 11
	// get block height by tx id
	ChainQueryFunction_GET_BLOCK_HEIGHT_BY_TX_ID ChainQueryFunction = 12
	// get block height by hash
	ChainQueryFunction_GET_BLOCK_HEIGHT_BY_HASH ChainQueryFunction = 13
	//get block header by height
	ChainQueryFunction_GET_BLOCK_HEADER_BY_HEIGHT ChainQueryFunction = 14
	// get archived block height
	ChainQueryFunction_GET_ARCHIVED_BLOCK_HEIGHT ChainQueryFunction = 15
	//get all contract info list
	ChainQueryFunction_GET_ALL_CONTRACTS ChainQueryFunction = 16
	// get merkle path by tx id
	ChainQueryFunction_GET_MERKLE_PATH_BY_TX_ID ChainQueryFunction = 17
	// get archive status
	ChainQueryFunction_GET_ARCHIVE_STATUS ChainQueryFunction = 18
	// get account signed tx history list
	ChainQueryFunction_GET_ACCOUNT_TX_HISTORY ChainQueryFunction = 19
	// get contract call history list
	ChainQueryFunction_GET_CONTRACT_TX_HISTORY ChainQueryFunction = 20
)

func (ChainQueryFunction) EnumDescriptor

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

func (ChainQueryFunction) String

func (x ChainQueryFunction) String() string

type Code

type Code struct {
}

func (*Code) Descriptor

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

func (*Code) Marshal

func (m *Code) Marshal() (dAtA []byte, err error)

func (*Code) MarshalTo

func (m *Code) MarshalTo(dAtA []byte) (int, error)

func (*Code) MarshalToSizedBuffer

func (m *Code) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Code) ProtoMessage

func (*Code) ProtoMessage()

func (*Code) Reset

func (m *Code) Reset()

func (*Code) Size

func (m *Code) Size() (n int)

func (*Code) String

func (m *Code) String() string

func (*Code) Unmarshal

func (m *Code) Unmarshal(dAtA []byte) error

func (*Code) XXX_DiscardUnknown

func (m *Code) XXX_DiscardUnknown()

func (*Code) XXX_Marshal

func (m *Code) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Code) XXX_Merge

func (m *Code) XXX_Merge(src proto.Message)

func (*Code) XXX_Size

func (m *Code) XXX_Size() int

func (*Code) XXX_Unmarshal

func (m *Code) XXX_Unmarshal(b []byte) error

type Code_Parameter

type Code_Parameter int32
const (
	// sucess
	Code_GATEWAY_SUCCESS Code_Parameter = 0
	// timeout
	Code_GATEWAY_TIMEOUT Code_Parameter = 1
	// parameter invalid
	Code_INVALID_PARAMETER Code_Parameter = 2
	// tx prove error
	Code_TX_PROVE_ERROR Code_Parameter = 3
	// contract fail
	Code_CONTRACT_FAIL Code_Parameter = 4
	// internal error
	Code_INTERNAL_ERROR Code_Parameter = 5
	// relay chain error
	Code_RELAY_CHAIN_ERROR Code_Parameter = 6
)

func (Code_Parameter) EnumDescriptor

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

func (Code_Parameter) String

func (x Code_Parameter) String() string

type CoinbaseFunction

type CoinbaseFunction int32

Methods of Coinbase contract

const (
	// run coinbase tx
	CoinbaseFunction_RUN_COINBASE CoinbaseFunction = 0
)

func (CoinbaseFunction) EnumDescriptor

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

func (CoinbaseFunction) String

func (x CoinbaseFunction) String() string

type ConfirmInfo

type ConfirmInfo struct {
	// chain resource id
	ChainRid string `protobuf:"bytes,2,opt,name=chain_rid,json=chainRid,proto3" json:"chain_rid,omitempty"`
	// contract name
	ContractName string `protobuf:"bytes,3,opt,name=contract_name,json=contractName,proto3" json:"contract_name,omitempty"`
	// method
	Method string `protobuf:"bytes,4,opt,name=method,proto3" json:"method,omitempty"`
	// parameter
	Parameter string `protobuf:"bytes,5,opt,name=parameter,proto3" json:"parameter,omitempty"`
	// parameter data
	ParamData []int32 `protobuf:"varint,6,rep,packed,name=param_data,json=paramData,proto3" json:"param_data,omitempty"`
	// bcos, parameter data type
	ParamDataType []EventDataType_Parameter `` /* 151-byte string literal not displayed */
	// extra data
	ExtraData string `protobuf:"bytes,8,opt,name=extra_data,json=extraData,proto3" json:"extra_data,omitempty"`
	// bcos abi
	Abi string `protobuf:"bytes,9,opt,name=abi,proto3" json:"abi,omitempty"`
}

func (*ConfirmInfo) Descriptor

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

func (*ConfirmInfo) GetAbi

func (m *ConfirmInfo) GetAbi() string

func (*ConfirmInfo) GetChainRid

func (m *ConfirmInfo) GetChainRid() string

func (*ConfirmInfo) GetContractName

func (m *ConfirmInfo) GetContractName() string

func (*ConfirmInfo) GetExtraData

func (m *ConfirmInfo) GetExtraData() string

func (*ConfirmInfo) GetMethod

func (m *ConfirmInfo) GetMethod() string

func (*ConfirmInfo) GetParamData

func (m *ConfirmInfo) GetParamData() []int32

func (*ConfirmInfo) GetParamDataType

func (m *ConfirmInfo) GetParamDataType() []EventDataType_Parameter

func (*ConfirmInfo) GetParameter

func (m *ConfirmInfo) GetParameter() string

func (*ConfirmInfo) Marshal

func (m *ConfirmInfo) Marshal() (dAtA []byte, err error)

func (*ConfirmInfo) MarshalTo

func (m *ConfirmInfo) MarshalTo(dAtA []byte) (int, error)

func (*ConfirmInfo) MarshalToSizedBuffer

func (m *ConfirmInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ConfirmInfo) ProtoMessage

func (*ConfirmInfo) ProtoMessage()

func (*ConfirmInfo) Reset

func (m *ConfirmInfo) Reset()

func (*ConfirmInfo) Size

func (m *ConfirmInfo) Size() (n int)

func (*ConfirmInfo) String

func (m *ConfirmInfo) String() string

func (*ConfirmInfo) Unmarshal

func (m *ConfirmInfo) Unmarshal(dAtA []byte) error

func (*ConfirmInfo) XXX_DiscardUnknown

func (m *ConfirmInfo) XXX_DiscardUnknown()

func (*ConfirmInfo) XXX_Marshal

func (m *ConfirmInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConfirmInfo) XXX_Merge

func (m *ConfirmInfo) XXX_Merge(src proto.Message)

func (*ConfirmInfo) XXX_Size

func (m *ConfirmInfo) XXX_Size() int

func (*ConfirmInfo) XXX_Unmarshal

func (m *ConfirmInfo) XXX_Unmarshal(b []byte) error

type ContentType

type ContentType int32

内容类型

const (
	//ProtoBuff
	ContentType_PB ContentType = 0
	//Json format
	ContentType_JSON ContentType = 1
	//direct string
	ContentType_STRING ContentType = 2
	//hex format
	ContentType_HEX ContentType = 3
	//origin format
	ContentType_RAW ContentType = 4
	//hex format, but start with 0x
	ContentType_HEX0X ContentType = 5
)

func (ContentType) EnumDescriptor

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

func (ContentType) String

func (x ContentType) String() string

type ContractAccess

type ContractAccess struct {
}

func (*ContractAccess) Descriptor

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

func (*ContractAccess) Marshal

func (m *ContractAccess) Marshal() (dAtA []byte, err error)

func (*ContractAccess) MarshalTo

func (m *ContractAccess) MarshalTo(dAtA []byte) (int, error)

func (*ContractAccess) MarshalToSizedBuffer

func (m *ContractAccess) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ContractAccess) ProtoMessage

func (*ContractAccess) ProtoMessage()

func (*ContractAccess) Reset

func (m *ContractAccess) Reset()

func (*ContractAccess) Size

func (m *ContractAccess) Size() (n int)

func (*ContractAccess) String

func (m *ContractAccess) String() string

func (*ContractAccess) Unmarshal

func (m *ContractAccess) Unmarshal(dAtA []byte) error

func (*ContractAccess) XXX_DiscardUnknown

func (m *ContractAccess) XXX_DiscardUnknown()

func (*ContractAccess) XXX_Marshal

func (m *ContractAccess) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContractAccess) XXX_Merge

func (m *ContractAccess) XXX_Merge(src proto.Message)

func (*ContractAccess) XXX_Size

func (m *ContractAccess) XXX_Size() int

func (*ContractAccess) XXX_Unmarshal

func (m *ContractAccess) XXX_Unmarshal(b []byte) error

type ContractAccess_Parameter

type ContractAccess_Parameter int32
const (
	ContractAccess_NATIVE_CONTRACT_NAME ContractAccess_Parameter = 0
)

func (ContractAccess_Parameter) EnumDescriptor

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

func (ContractAccess_Parameter) String

func (x ContractAccess_Parameter) String() string

type ContractInfo

type ContractInfo struct {
	ContractTransaction []*ContractTransaction `protobuf:"bytes,1,rep,name=contract_transaction,json=contractTransaction,proto3" json:"contract_transaction,omitempty"`
}

func (*ContractInfo) Descriptor

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

func (*ContractInfo) GetContractTransaction

func (m *ContractInfo) GetContractTransaction() []*ContractTransaction

func (*ContractInfo) Marshal

func (m *ContractInfo) Marshal() (dAtA []byte, err error)

func (*ContractInfo) MarshalTo

func (m *ContractInfo) MarshalTo(dAtA []byte) (int, error)

func (*ContractInfo) MarshalToSizedBuffer

func (m *ContractInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ContractInfo) ProtoMessage

func (*ContractInfo) ProtoMessage()

func (*ContractInfo) Reset

func (m *ContractInfo) Reset()

func (*ContractInfo) Size

func (m *ContractInfo) Size() (n int)

func (*ContractInfo) String

func (m *ContractInfo) String() string

func (*ContractInfo) Unmarshal

func (m *ContractInfo) Unmarshal(dAtA []byte) error

func (*ContractInfo) XXX_DiscardUnknown

func (m *ContractInfo) XXX_DiscardUnknown()

func (*ContractInfo) XXX_Marshal

func (m *ContractInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContractInfo) XXX_Merge

func (m *ContractInfo) XXX_Merge(src proto.Message)

func (*ContractInfo) XXX_Size

func (m *ContractInfo) XXX_Size() int

func (*ContractInfo) XXX_Unmarshal

func (m *ContractInfo) XXX_Unmarshal(b []byte) error

type ContractManageFunction

type ContractManageFunction int32

methods of user management contract

const (
	// init contract
	ContractManageFunction_INIT_CONTRACT ContractManageFunction = 0
	// upgrade contract version
	ContractManageFunction_UPGRADE_CONTRACT ContractManageFunction = 1
	// freeze contract, cannot be invoked temporarily
	ContractManageFunction_FREEZE_CONTRACT ContractManageFunction = 2
	// unfreeze contract to normal status
	ContractManageFunction_UNFREEZE_CONTRACT ContractManageFunction = 3
	// revoke contract, cannot be invoked permanently
	ContractManageFunction_REVOKE_CONTRACT ContractManageFunction = 4
	// grant access to a native contract
	ContractManageFunction_GRANT_CONTRACT_ACCESS ContractManageFunction = 5
	// revoke access to a native contract
	ContractManageFunction_REVOKE_CONTRACT_ACCESS ContractManageFunction = 6
	// verify if has access to a certain native contract
	ContractManageFunction_VERIFY_CONTRACT_ACCESS ContractManageFunction = 7
	//initial new chain maker version native contract list
	ContractManageFunction_INIT_NEW_NATIVE_CONTRACT ContractManageFunction = 8
)

func (ContractManageFunction) EnumDescriptor

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

func (ContractManageFunction) String

func (x ContractManageFunction) String() string

type ContractQueryFunction

type ContractQueryFunction int32

methods of contract query

const (
	// get contract information
	ContractQueryFunction_GET_CONTRACT_INFO ContractQueryFunction = 0
	// get contract bytecode
	ContractQueryFunction_GET_CONTRACT_BYTECODE ContractQueryFunction = 1
	// get all installed contract
	ContractQueryFunction_GET_CONTRACT_LIST ContractQueryFunction = 2
	// get native contract list has access to
	ContractQueryFunction_GET_DISABLED_CONTRACT_LIST ContractQueryFunction = 3
)

func (ContractQueryFunction) EnumDescriptor

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

func (ContractQueryFunction) String

func (x ContractQueryFunction) String() string

type ContractStatus

type ContractStatus int32

current contract status

const (
	// normal, can be invoked
	ContractStatus_NORMAL ContractStatus = 0
	// frozen, cannot be invoked temporarily
	ContractStatus_FROZEN ContractStatus = 1
	// revoked, cannot be invoked permanently
	ContractStatus_REVOKED ContractStatus = 2
)

func (ContractStatus) EnumDescriptor

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

func (ContractStatus) String

func (x ContractStatus) String() string

type ContractTransaction

type ContractTransaction struct {
	Contract *common.Contract `protobuf:"bytes,1,opt,name=contract,proto3" json:"contract,omitempty"`
	TxId     string           `protobuf:"bytes,2,opt,name=tx_id,json=txId,proto3" json:"tx_id,omitempty"`
}

func (*ContractTransaction) Descriptor

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

func (*ContractTransaction) GetContract

func (m *ContractTransaction) GetContract() *common.Contract

func (*ContractTransaction) GetTxId

func (m *ContractTransaction) GetTxId() string

func (*ContractTransaction) Marshal

func (m *ContractTransaction) Marshal() (dAtA []byte, err error)

func (*ContractTransaction) MarshalTo

func (m *ContractTransaction) MarshalTo(dAtA []byte) (int, error)

func (*ContractTransaction) MarshalToSizedBuffer

func (m *ContractTransaction) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ContractTransaction) ProtoMessage

func (*ContractTransaction) ProtoMessage()

func (*ContractTransaction) Reset

func (m *ContractTransaction) Reset()

func (*ContractTransaction) Size

func (m *ContractTransaction) Size() (n int)

func (*ContractTransaction) String

func (m *ContractTransaction) String() string

func (*ContractTransaction) Unmarshal

func (m *ContractTransaction) Unmarshal(dAtA []byte) error

func (*ContractTransaction) XXX_DiscardUnknown

func (m *ContractTransaction) XXX_DiscardUnknown()

func (*ContractTransaction) XXX_Marshal

func (m *ContractTransaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContractTransaction) XXX_Merge

func (m *ContractTransaction) XXX_Merge(src proto.Message)

func (*ContractTransaction) XXX_Size

func (m *ContractTransaction) XXX_Size() int

func (*ContractTransaction) XXX_Unmarshal

func (m *ContractTransaction) XXX_Unmarshal(b []byte) error

type CrossArbitrateCmd

type CrossArbitrateCmd int32
const (
	//AUTO_CMD automatic processing according to the process
	CrossArbitrateCmd_AUTO_CMD CrossArbitrateCmd = 0
	//EXECUTE_CMD execute the execution flow
	CrossArbitrateCmd_EXECUTE_CMD CrossArbitrateCmd = 1
	//COMMIT_CMD execute the commit flow
	CrossArbitrateCmd_COMMIT_CMD CrossArbitrateCmd = 2
	//COMMIT_CMD execute the rollback flow
	CrossArbitrateCmd_ROLLBACK_CMD CrossArbitrateCmd = 3
)

func (CrossArbitrateCmd) EnumDescriptor

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

func (CrossArbitrateCmd) String

func (x CrossArbitrateCmd) String() string

type CrossChainConfirm

type CrossChainConfirm struct {
	// result code
	Code Code_Parameter `protobuf:"varint,1,opt,name=code,proto3,enum=syscontract.Code_Parameter" json:"code,omitempty"`
	// message
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
}

func (*CrossChainConfirm) Descriptor

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

func (*CrossChainConfirm) GetCode

func (m *CrossChainConfirm) GetCode() Code_Parameter

func (*CrossChainConfirm) GetMessage

func (m *CrossChainConfirm) GetMessage() string

func (*CrossChainConfirm) Marshal

func (m *CrossChainConfirm) Marshal() (dAtA []byte, err error)

func (*CrossChainConfirm) MarshalTo

func (m *CrossChainConfirm) MarshalTo(dAtA []byte) (int, error)

func (*CrossChainConfirm) MarshalToSizedBuffer

func (m *CrossChainConfirm) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CrossChainConfirm) ProtoMessage

func (*CrossChainConfirm) ProtoMessage()

func (*CrossChainConfirm) Reset

func (m *CrossChainConfirm) Reset()

func (*CrossChainConfirm) Size

func (m *CrossChainConfirm) Size() (n int)

func (*CrossChainConfirm) String

func (m *CrossChainConfirm) String() string

func (*CrossChainConfirm) Unmarshal

func (m *CrossChainConfirm) Unmarshal(dAtA []byte) error

func (*CrossChainConfirm) XXX_DiscardUnknown

func (m *CrossChainConfirm) XXX_DiscardUnknown()

func (*CrossChainConfirm) XXX_Marshal

func (m *CrossChainConfirm) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CrossChainConfirm) XXX_Merge

func (m *CrossChainConfirm) XXX_Merge(src proto.Message)

func (*CrossChainConfirm) XXX_Size

func (m *CrossChainConfirm) XXX_Size() int

func (*CrossChainConfirm) XXX_Unmarshal

func (m *CrossChainConfirm) XXX_Unmarshal(b []byte) error

type CrossChainConfirmUpChain

type CrossChainConfirmUpChain struct {
	// confirm index
	Index int32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"`
	// confirm result
	CrossChainConfirm *CrossChainConfirm `protobuf:"bytes,2,opt,name=cross_chain_confirm,json=crossChainConfirm,proto3" json:"cross_chain_confirm,omitempty"`
}

func (*CrossChainConfirmUpChain) Descriptor

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

func (*CrossChainConfirmUpChain) GetCrossChainConfirm

func (m *CrossChainConfirmUpChain) GetCrossChainConfirm() *CrossChainConfirm

func (*CrossChainConfirmUpChain) GetIndex

func (m *CrossChainConfirmUpChain) GetIndex() int32

func (*CrossChainConfirmUpChain) Marshal

func (m *CrossChainConfirmUpChain) Marshal() (dAtA []byte, err error)

func (*CrossChainConfirmUpChain) MarshalTo

func (m *CrossChainConfirmUpChain) MarshalTo(dAtA []byte) (int, error)

func (*CrossChainConfirmUpChain) MarshalToSizedBuffer

func (m *CrossChainConfirmUpChain) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CrossChainConfirmUpChain) ProtoMessage

func (*CrossChainConfirmUpChain) ProtoMessage()

func (*CrossChainConfirmUpChain) Reset

func (m *CrossChainConfirmUpChain) Reset()

func (*CrossChainConfirmUpChain) Size

func (m *CrossChainConfirmUpChain) Size() (n int)

func (*CrossChainConfirmUpChain) String

func (m *CrossChainConfirmUpChain) String() string

func (*CrossChainConfirmUpChain) Unmarshal

func (m *CrossChainConfirmUpChain) Unmarshal(dAtA []byte) error

func (*CrossChainConfirmUpChain) XXX_DiscardUnknown

func (m *CrossChainConfirmUpChain) XXX_DiscardUnknown()

func (*CrossChainConfirmUpChain) XXX_Marshal

func (m *CrossChainConfirmUpChain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CrossChainConfirmUpChain) XXX_Merge

func (m *CrossChainConfirmUpChain) XXX_Merge(src proto.Message)

func (*CrossChainConfirmUpChain) XXX_Size

func (m *CrossChainConfirmUpChain) XXX_Size() int

func (*CrossChainConfirmUpChain) XXX_Unmarshal

func (m *CrossChainConfirmUpChain) XXX_Unmarshal(b []byte) error

type CrossChainInfo

type CrossChainInfo struct {
	// cross chain id
	CrossChainId string `protobuf:"bytes,1,opt,name=cross_chain_id,json=crossChainId,proto3" json:"cross_chain_id,omitempty"`
	// cross chain name
	CrossChainName string `protobuf:"bytes,2,opt,name=cross_chain_name,json=crossChainName,proto3" json:"cross_chain_name,omitempty"`
	// cross chain flag
	CrossChainFlag string `protobuf:"bytes,3,opt,name=cross_chain_flag,json=crossChainFlag,proto3" json:"cross_chain_flag,omitempty"`
	// src gateway id
	From string `protobuf:"bytes,4,opt,name=from,proto3" json:"from,omitempty"`
	// cross chain message
	CrossChainMsg []*CrossChainMsg `protobuf:"bytes,5,rep,name=cross_chain_msg,json=crossChainMsg,proto3" json:"cross_chain_msg,omitempty"`
	// first tx
	FirstTxContent *TxContentWithVerify `protobuf:"bytes,6,opt,name=first_tx_content,json=firstTxContent,proto3" json:"first_tx_content,omitempty"`
	// tx content adn verify result
	CrossChainTxContent []*TxContentWithVerify `protobuf:"bytes,7,rep,name=cross_chain_tx_content,json=crossChainTxContent,proto3" json:"cross_chain_tx_content,omitempty"`
	// cross chain result
	CrossChainResult bool `protobuf:"varint,8,opt,name=cross_chain_result,json=crossChainResult,proto3" json:"cross_chain_result,omitempty"`
	// cross chain confirm result
	GatewayConfirmResult []*CrossChainConfirm `protobuf:"bytes,9,rep,name=gateway_confirm_result,json=gatewayConfirmResult,proto3" json:"gateway_confirm_result,omitempty"`
	// cross chain state
	State CrossChainStateValue_Parameter `protobuf:"varint,10,opt,name=state,proto3,enum=syscontract.CrossChainStateValue_Parameter" json:"state,omitempty"`
	// confirm information
	ConfirmInfo *ConfirmInfo `protobuf:"bytes,11,opt,name=confirm_info,json=confirmInfo,proto3" json:"confirm_info,omitempty"`
	// cancel information
	CancelInfo *CancelInfo `protobuf:"bytes,12,opt,name=cancel_info,json=cancelInfo,proto3" json:"cancel_info,omitempty"`
	// confirm result
	ConfirmResult *CrossChainConfirm `protobuf:"bytes,13,opt,name=confirm_result,json=confirmResult,proto3" json:"confirm_result,omitempty"`
	// timeout
	Timeout int64 `protobuf:"varint,14,opt,name=timeout,proto3" json:"timeout,omitempty"`
	// cross type
	CrossType CrossType_Parameter `` /* 127-byte string literal not displayed */
}

func (*CrossChainInfo) Descriptor

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

func (*CrossChainInfo) GetCancelInfo

func (m *CrossChainInfo) GetCancelInfo() *CancelInfo

func (*CrossChainInfo) GetConfirmInfo

func (m *CrossChainInfo) GetConfirmInfo() *ConfirmInfo

func (*CrossChainInfo) GetConfirmResult

func (m *CrossChainInfo) GetConfirmResult() *CrossChainConfirm

func (*CrossChainInfo) GetCrossChainFlag

func (m *CrossChainInfo) GetCrossChainFlag() string

func (*CrossChainInfo) GetCrossChainId

func (m *CrossChainInfo) GetCrossChainId() string

func (*CrossChainInfo) GetCrossChainMsg

func (m *CrossChainInfo) GetCrossChainMsg() []*CrossChainMsg

func (*CrossChainInfo) GetCrossChainName

func (m *CrossChainInfo) GetCrossChainName() string

func (*CrossChainInfo) GetCrossChainResult

func (m *CrossChainInfo) GetCrossChainResult() bool

func (*CrossChainInfo) GetCrossChainTxContent

func (m *CrossChainInfo) GetCrossChainTxContent() []*TxContentWithVerify

func (*CrossChainInfo) GetCrossType

func (m *CrossChainInfo) GetCrossType() CrossType_Parameter

func (*CrossChainInfo) GetFirstTxContent

func (m *CrossChainInfo) GetFirstTxContent() *TxContentWithVerify

func (*CrossChainInfo) GetFrom

func (m *CrossChainInfo) GetFrom() string

func (*CrossChainInfo) GetGatewayConfirmResult

func (m *CrossChainInfo) GetGatewayConfirmResult() []*CrossChainConfirm

func (*CrossChainInfo) GetState

func (*CrossChainInfo) GetTimeout

func (m *CrossChainInfo) GetTimeout() int64

func (*CrossChainInfo) Marshal

func (m *CrossChainInfo) Marshal() (dAtA []byte, err error)

func (*CrossChainInfo) MarshalTo

func (m *CrossChainInfo) MarshalTo(dAtA []byte) (int, error)

func (*CrossChainInfo) MarshalToSizedBuffer

func (m *CrossChainInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CrossChainInfo) ProtoMessage

func (*CrossChainInfo) ProtoMessage()

func (*CrossChainInfo) Reset

func (m *CrossChainInfo) Reset()

func (*CrossChainInfo) Size

func (m *CrossChainInfo) Size() (n int)

func (*CrossChainInfo) String

func (m *CrossChainInfo) String() string

func (*CrossChainInfo) Unmarshal

func (m *CrossChainInfo) Unmarshal(dAtA []byte) error

func (*CrossChainInfo) XXX_DiscardUnknown

func (m *CrossChainInfo) XXX_DiscardUnknown()

func (*CrossChainInfo) XXX_Marshal

func (m *CrossChainInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CrossChainInfo) XXX_Merge

func (m *CrossChainInfo) XXX_Merge(src proto.Message)

func (*CrossChainInfo) XXX_Size

func (m *CrossChainInfo) XXX_Size() int

func (*CrossChainInfo) XXX_Unmarshal

func (m *CrossChainInfo) XXX_Unmarshal(b []byte) error

type CrossChainMsg

type CrossChainMsg struct {
	// target gateway id
	GatewayId string `protobuf:"bytes,1,opt,name=gateway_id,json=gatewayId,proto3" json:"gateway_id,omitempty"`
	// target chain resource id
	ChainRid string `protobuf:"bytes,2,opt,name=chain_rid,json=chainRid,proto3" json:"chain_rid,omitempty"`
	// target contract name
	ContractName string `protobuf:"bytes,3,opt,name=contract_name,json=contractName,proto3" json:"contract_name,omitempty"`
	// target method
	Method string `protobuf:"bytes,4,opt,name=method,proto3" json:"method,omitempty"`
	// sign identity
	Identity []string `protobuf:"bytes,5,rep,name=identity,proto3" json:"identity,omitempty"`
	// target contract parameter
	Parameter string `protobuf:"bytes,6,opt,name=parameter,proto3" json:"parameter,omitempty"`
	// contract parameter data
	ParamData []int32 `protobuf:"varint,7,rep,packed,name=param_data,json=paramData,proto3" json:"param_data,omitempty"`
	// bcos, parameter data type
	ParamDataType []EventDataType_Parameter `` /* 151-byte string literal not displayed */
	// extra data
	ExtraData string `protobuf:"bytes,9,opt,name=extra_data,json=extraData,proto3" json:"extra_data,omitempty"`
	// confirm information
	ConfirmInfo *ConfirmInfo `protobuf:"bytes,10,opt,name=confirm_info,json=confirmInfo,proto3" json:"confirm_info,omitempty"`
	// cancel information
	CancelInfo *CancelInfo `protobuf:"bytes,11,opt,name=cancel_info,json=cancelInfo,proto3" json:"cancel_info,omitempty"`
	// bcos abi
	Abi string `protobuf:"bytes,12,opt,name=abi,proto3" json:"abi,omitempty"`
}

func (*CrossChainMsg) Descriptor

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

func (*CrossChainMsg) GetAbi

func (m *CrossChainMsg) GetAbi() string

func (*CrossChainMsg) GetCancelInfo

func (m *CrossChainMsg) GetCancelInfo() *CancelInfo

func (*CrossChainMsg) GetChainRid

func (m *CrossChainMsg) GetChainRid() string

func (*CrossChainMsg) GetConfirmInfo

func (m *CrossChainMsg) GetConfirmInfo() *ConfirmInfo

func (*CrossChainMsg) GetContractName

func (m *CrossChainMsg) GetContractName() string

func (*CrossChainMsg) GetExtraData

func (m *CrossChainMsg) GetExtraData() string

func (*CrossChainMsg) GetGatewayId

func (m *CrossChainMsg) GetGatewayId() string

func (*CrossChainMsg) GetIdentity

func (m *CrossChainMsg) GetIdentity() []string

func (*CrossChainMsg) GetMethod

func (m *CrossChainMsg) GetMethod() string

func (*CrossChainMsg) GetParamData

func (m *CrossChainMsg) GetParamData() []int32

func (*CrossChainMsg) GetParamDataType

func (m *CrossChainMsg) GetParamDataType() []EventDataType_Parameter

func (*CrossChainMsg) GetParameter

func (m *CrossChainMsg) GetParameter() string

func (*CrossChainMsg) Marshal

func (m *CrossChainMsg) Marshal() (dAtA []byte, err error)

func (*CrossChainMsg) MarshalTo

func (m *CrossChainMsg) MarshalTo(dAtA []byte) (int, error)

func (*CrossChainMsg) MarshalToSizedBuffer

func (m *CrossChainMsg) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CrossChainMsg) ProtoMessage

func (*CrossChainMsg) ProtoMessage()

func (*CrossChainMsg) Reset

func (m *CrossChainMsg) Reset()

func (*CrossChainMsg) Size

func (m *CrossChainMsg) Size() (n int)

func (*CrossChainMsg) String

func (m *CrossChainMsg) String() string

func (*CrossChainMsg) Unmarshal

func (m *CrossChainMsg) Unmarshal(dAtA []byte) error

func (*CrossChainMsg) XXX_DiscardUnknown

func (m *CrossChainMsg) XXX_DiscardUnknown()

func (*CrossChainMsg) XXX_Marshal

func (m *CrossChainMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CrossChainMsg) XXX_Merge

func (m *CrossChainMsg) XXX_Merge(src proto.Message)

func (*CrossChainMsg) XXX_Size

func (m *CrossChainMsg) XXX_Size() int

func (*CrossChainMsg) XXX_Unmarshal

func (m *CrossChainMsg) XXX_Unmarshal(b []byte) error

type CrossChainStateValue

type CrossChainStateValue struct {
}

func (*CrossChainStateValue) Descriptor

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

func (*CrossChainStateValue) Marshal

func (m *CrossChainStateValue) Marshal() (dAtA []byte, err error)

func (*CrossChainStateValue) MarshalTo

func (m *CrossChainStateValue) MarshalTo(dAtA []byte) (int, error)

func (*CrossChainStateValue) MarshalToSizedBuffer

func (m *CrossChainStateValue) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CrossChainStateValue) ProtoMessage

func (*CrossChainStateValue) ProtoMessage()

func (*CrossChainStateValue) Reset

func (m *CrossChainStateValue) Reset()

func (*CrossChainStateValue) Size

func (m *CrossChainStateValue) Size() (n int)

func (*CrossChainStateValue) String

func (m *CrossChainStateValue) String() string

func (*CrossChainStateValue) Unmarshal

func (m *CrossChainStateValue) Unmarshal(dAtA []byte) error

func (*CrossChainStateValue) XXX_DiscardUnknown

func (m *CrossChainStateValue) XXX_DiscardUnknown()

func (*CrossChainStateValue) XXX_Marshal

func (m *CrossChainStateValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CrossChainStateValue) XXX_Merge

func (m *CrossChainStateValue) XXX_Merge(src proto.Message)

func (*CrossChainStateValue) XXX_Size

func (m *CrossChainStateValue) XXX_Size() int

func (*CrossChainStateValue) XXX_Unmarshal

func (m *CrossChainStateValue) XXX_Unmarshal(b []byte) error

type CrossChainStateValue_Parameter

type CrossChainStateValue_Parameter int32
const (
	// new
	CrossChainStateValue_NEW CrossChainStateValue_Parameter = 0
	// wait execute
	CrossChainStateValue_WAIT_EXECUTE CrossChainStateValue_Parameter = 1
	// wait confirm
	CrossChainStateValue_WAIT_CONFIRM CrossChainStateValue_Parameter = 2
	// confirm end
	CrossChainStateValue_CONFIRM_END CrossChainStateValue_Parameter = 3
	// cancel end
	CrossChainStateValue_CANCEL_END CrossChainStateValue_Parameter = 4
)

func (CrossChainStateValue_Parameter) EnumDescriptor

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

func (CrossChainStateValue_Parameter) String

type CrossChainTxUpChain

type CrossChainTxUpChain struct {
	// confirm index
	Index int32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"`
	// tx content and verify result
	TxContentWithVerify *TxContentWithVerify `protobuf:"bytes,2,opt,name=tx_content_with_verify,json=txContentWithVerify,proto3" json:"tx_content_with_verify,omitempty"`
}

func (*CrossChainTxUpChain) Descriptor

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

func (*CrossChainTxUpChain) GetIndex

func (m *CrossChainTxUpChain) GetIndex() int32

func (*CrossChainTxUpChain) GetTxContentWithVerify

func (m *CrossChainTxUpChain) GetTxContentWithVerify() *TxContentWithVerify

func (*CrossChainTxUpChain) Marshal

func (m *CrossChainTxUpChain) Marshal() (dAtA []byte, err error)

func (*CrossChainTxUpChain) MarshalTo

func (m *CrossChainTxUpChain) MarshalTo(dAtA []byte) (int, error)

func (*CrossChainTxUpChain) MarshalToSizedBuffer

func (m *CrossChainTxUpChain) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CrossChainTxUpChain) ProtoMessage

func (*CrossChainTxUpChain) ProtoMessage()

func (*CrossChainTxUpChain) Reset

func (m *CrossChainTxUpChain) Reset()

func (*CrossChainTxUpChain) Size

func (m *CrossChainTxUpChain) Size() (n int)

func (*CrossChainTxUpChain) String

func (m *CrossChainTxUpChain) String() string

func (*CrossChainTxUpChain) Unmarshal

func (m *CrossChainTxUpChain) Unmarshal(dAtA []byte) error

func (*CrossChainTxUpChain) XXX_DiscardUnknown

func (m *CrossChainTxUpChain) XXX_DiscardUnknown()

func (*CrossChainTxUpChain) XXX_Marshal

func (m *CrossChainTxUpChain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CrossChainTxUpChain) XXX_Merge

func (m *CrossChainTxUpChain) XXX_Merge(src proto.Message)

func (*CrossChainTxUpChain) XXX_Size

func (m *CrossChainTxUpChain) XXX_Size() int

func (*CrossChainTxUpChain) XXX_Unmarshal

func (m *CrossChainTxUpChain) XXX_Unmarshal(b []byte) error

type CrossParams

type CrossParams int32
const (
	CrossParams_CREATOR   CrossParams = 0
	CrossParams_SENDER    CrossParams = 1
	CrossParams_CALL_TYPE CrossParams = 2
)

func (CrossParams) EnumDescriptor

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

func (CrossParams) String

func (x CrossParams) String() string

type CrossState

type CrossState struct {
	State CrossTxState `protobuf:"varint,1,opt,name=state,proto3,enum=syscontract.CrossTxState" json:"state,omitempty"`
}

func (*CrossState) Descriptor

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

func (*CrossState) GetState

func (m *CrossState) GetState() CrossTxState

func (*CrossState) Marshal

func (m *CrossState) Marshal() (dAtA []byte, err error)

func (*CrossState) MarshalTo

func (m *CrossState) MarshalTo(dAtA []byte) (int, error)

func (*CrossState) MarshalToSizedBuffer

func (m *CrossState) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CrossState) ProtoMessage

func (*CrossState) ProtoMessage()

func (*CrossState) Reset

func (m *CrossState) Reset()

func (*CrossState) Size

func (m *CrossState) Size() (n int)

func (*CrossState) String

func (m *CrossState) String() string

func (*CrossState) Unmarshal

func (m *CrossState) Unmarshal(dAtA []byte) error

func (*CrossState) XXX_DiscardUnknown

func (m *CrossState) XXX_DiscardUnknown()

func (*CrossState) XXX_Marshal

func (m *CrossState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CrossState) XXX_Merge

func (m *CrossState) XXX_Merge(src proto.Message)

func (*CrossState) XXX_Size

func (m *CrossState) XXX_Size() int

func (*CrossState) XXX_Unmarshal

func (m *CrossState) XXX_Unmarshal(b []byte) error

type CrossTransactionFunction

type CrossTransactionFunction int32
const (
	// transaction execute
	CrossTransactionFunction_EXECUTE CrossTransactionFunction = 0
	// transaction commit
	CrossTransactionFunction_COMMIT CrossTransactionFunction = 1
	// transaction rollback
	CrossTransactionFunction_ROLLBACK CrossTransactionFunction = 2
	// read cross id state
	CrossTransactionFunction_READ_STATE CrossTransactionFunction = 3
	// save cross other transaction proof
	CrossTransactionFunction_SAVE_PROOF CrossTransactionFunction = 4
	// read cross other transaction proof
	CrossTransactionFunction_READ_PROOF CrossTransactionFunction = 5
	// arbitrate the cross transaction
	CrossTransactionFunction_ARBITRATE CrossTransactionFunction = 6
)

func (CrossTransactionFunction) EnumDescriptor

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

func (CrossTransactionFunction) String

func (x CrossTransactionFunction) String() string

type CrossTxState

type CrossTxState int32
const (
	//NON_EXIST cross id is not exist
	CrossTxState_NON_EXIST CrossTxState = 0
	//INIT just mark this cross is has been processed
	CrossTxState_INIT CrossTxState = 1
	//EXECUTE_OK cross tx execute successfully
	CrossTxState_EXECUTE_OK CrossTxState = 2
	//EXECUTE_FAIL cross tx execute fail
	CrossTxState_EXECUTE_FAIL CrossTxState = 3
	//COMMIT_OK cross tx commit successfully
	CrossTxState_COMMIT_OK CrossTxState = 4
	//COMMIT_FAIL cross tx commit fail
	CrossTxState_COMMIT_FAIL CrossTxState = 5
	//ROLLBACK_OK cross tx rollback successfully
	CrossTxState_ROLLBACK_OK CrossTxState = 6
	//ROLLBACK_FAIL cross tx rollback fail
	CrossTxState_ROLLBACK_FAIL CrossTxState = 7
)

func (CrossTxState) EnumDescriptor

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

func (CrossTxState) String

func (x CrossTxState) String() string

type CrossType

type CrossType struct {
}

func (*CrossType) Descriptor

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

func (*CrossType) Marshal

func (m *CrossType) Marshal() (dAtA []byte, err error)

func (*CrossType) MarshalTo

func (m *CrossType) MarshalTo(dAtA []byte) (int, error)

func (*CrossType) MarshalToSizedBuffer

func (m *CrossType) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CrossType) ProtoMessage

func (*CrossType) ProtoMessage()

func (*CrossType) Reset

func (m *CrossType) Reset()

func (*CrossType) Size

func (m *CrossType) Size() (n int)

func (*CrossType) String

func (m *CrossType) String() string

func (*CrossType) Unmarshal

func (m *CrossType) Unmarshal(dAtA []byte) error

func (*CrossType) XXX_DiscardUnknown

func (m *CrossType) XXX_DiscardUnknown()

func (*CrossType) XXX_Marshal

func (m *CrossType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CrossType) XXX_Merge

func (m *CrossType) XXX_Merge(src proto.Message)

func (*CrossType) XXX_Size

func (m *CrossType) XXX_Size() int

func (*CrossType) XXX_Unmarshal

func (m *CrossType) XXX_Unmarshal(b []byte) error

type CrossType_Parameter

type CrossType_Parameter int32
const (
	// cross chain query
	CrossType_QUERY CrossType_Parameter = 0
	// cross chain invoke
	CrossType_INVOKE CrossType_Parameter = 1
)

func (CrossType_Parameter) EnumDescriptor

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

func (CrossType_Parameter) String

func (x CrossType_Parameter) String() string

type DPoSConfigFunction

type DPoSConfigFunction int32

methods of DPoS stake contract

const (
	// get dpos config
	DPoSConfigFunction_GET_DPOS_CONFIG DPoSConfigFunction = 0
	// update dpos config
	DPoSConfigFunction_UPDATE_DPOS_CONFIG DPoSConfigFunction = 1
)

func (DPoSConfigFunction) EnumDescriptor

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

func (DPoSConfigFunction) String

func (x DPoSConfigFunction) String() string

type DPoSDistributionFunction

type DPoSDistributionFunction int32

Methods of DPoS Distribution contract

const (
	// Reward for Distribution
	DPoSDistributionFunction_REWARD DPoSDistributionFunction = 0
	// Get Distribution Detail for Every Delegator
	DPoSDistributionFunction_GET_DISTRIBUTION_DETAIL DPoSDistributionFunction = 1
	// Set Distribution per block
	DPoSDistributionFunction_SET_DISTRIBUTION_PER_BLOCK DPoSDistributionFunction = 2
	// Get Distribution per Block
	DPoSDistributionFunction_GET_DISTRIBUTION_PER_BLOCK DPoSDistributionFunction = 3
	// Set Distribution from Slashing
	DPoSDistributionFunction_SET_DISTRIBUTION_FROM_SLASHING DPoSDistributionFunction = 4
	// Get Distribution from Slashing
	DPoSDistributionFunction_GET_DISTRIBUTION_FROM_SLASHING DPoSDistributionFunction = 5
	// Set Gas Exchange Rate
	DPoSDistributionFunction_SET_GAS_EXCHANGE_RATE DPoSDistributionFunction = 6
	// Get Gas Exchange Rate
	DPoSDistributionFunction_GET_GAS_EXCHANGE_RATE DPoSDistributionFunction = 7
)

func (DPoSDistributionFunction) EnumDescriptor

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

func (DPoSDistributionFunction) String

func (x DPoSDistributionFunction) String() string

type DPoSERC20Function

type DPoSERC20Function int32

methods of DPoS ERC20 contract

const (
	// get owner of DPoS
	DPoSERC20Function_GET_OWNER DPoSERC20Function = 0
	// get decimals of DPoS
	DPoSERC20Function_GET_DECIMALS DPoSERC20Function = 1
	// transfer token at DPoS
	DPoSERC20Function_TRANSFER DPoSERC20Function = 2
	// transfer token from user at DPoS
	DPoSERC20Function_TRANSFER_FROM DPoSERC20Function = 3
	// get balance of user at DPoS
	DPoSERC20Function_GET_BALANCEOF DPoSERC20Function = 4
	// approve token for user to other user at DPoS
	DPoSERC20Function_APPROVE DPoSERC20Function = 5
	// get allowance at DPoS
	DPoSERC20Function_GET_ALLOWANCE DPoSERC20Function = 6
	// burn token at DPoS
	DPoSERC20Function_BURN DPoSERC20Function = 7
	// mint token at DPoS
	DPoSERC20Function_MINT DPoSERC20Function = 8
	// transfer owner ship at DPoS
	DPoSERC20Function_TRANSFER_OWNERSHIP DPoSERC20Function = 9
	// get total supply of tokens
	DPoSERC20Function_GET_TOTAL_SUPPLY DPoSERC20Function = 10
)

func (DPoSERC20Function) EnumDescriptor

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

func (DPoSERC20Function) String

func (x DPoSERC20Function) String() string

type DPoSSlashingFunction

type DPoSSlashingFunction int32

Methods of DPoS Slashing contract

const (
	// Punish for Slashing
	DPoSSlashingFunction_PUNISH DPoSSlashingFunction = 0
	// Set Slashing per block
	DPoSSlashingFunction_SET_SLASHING_PER_BLOCK DPoSSlashingFunction = 2
	// Get Slashing per Block
	DPoSSlashingFunction_GET_SLASHING_PER_BLOCK DPoSSlashingFunction = 3
	// Get Slashing address balance
	DPoSSlashingFunction_GET_SLASHING_ADDRESS_BALANCE DPoSSlashingFunction = 4
	// Get Slashing Detail
	DPoSSlashingFunction_GET_SLASHING_DETAIL DPoSSlashingFunction = 5
	// Get Slashing address
	DPoSSlashingFunction_GET_SLASHING_ADDRESS DPoSSlashingFunction = 6
)

func (DPoSSlashingFunction) EnumDescriptor

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

func (DPoSSlashingFunction) String

func (x DPoSSlashingFunction) String() string

type DPoSStakeFunction

type DPoSStakeFunction int32

methods of DPoS stake contract

const (
	// get all validator candidates
	DPoSStakeFunction_GET_ALL_CANDIDATES DPoSStakeFunction = 0
	// get validator by address
	DPoSStakeFunction_GET_VALIDATOR_BY_ADDRESS DPoSStakeFunction = 1
	// delegate
	DPoSStakeFunction_DELEGATE DPoSStakeFunction = 2
	// get delegate by address
	DPoSStakeFunction_GET_DELEGATIONS_BY_ADDRESS DPoSStakeFunction = 3
	// get user delegation by validator
	DPoSStakeFunction_GET_USER_DELEGATION_BY_VALIDATOR DPoSStakeFunction = 4
	// undelegate
	DPoSStakeFunction_UNDELEGATE DPoSStakeFunction = 5
	// read epoch by id
	DPoSStakeFunction_READ_EPOCH_BY_ID DPoSStakeFunction = 6
	// read latest epoch
	DPoSStakeFunction_READ_LATEST_EPOCH DPoSStakeFunction = 7
	// set node id before join network
	DPoSStakeFunction_SET_NODE_ID DPoSStakeFunction = 8
	// get node id after join network
	DPoSStakeFunction_GET_NODE_ID DPoSStakeFunction = 9
	// update min self delegation
	DPoSStakeFunction_UPDATE_MIN_SELF_DELEGATION DPoSStakeFunction = 10
	// read min self delegation
	DPoSStakeFunction_READ_MIN_SELF_DELEGATION DPoSStakeFunction = 11
	// update epoch validator number
	DPoSStakeFunction_UPDATE_EPOCH_VALIDATOR_NUMBER DPoSStakeFunction = 12
	// read epoch validator number
	DPoSStakeFunction_READ_EPOCH_VALIDATOR_NUMBER DPoSStakeFunction = 13
	// update epoch block number
	DPoSStakeFunction_UPDATE_EPOCH_BLOCK_NUMBER DPoSStakeFunction = 14
	// read epoch block number
	DPoSStakeFunction_READ_EPOCH_BLOCK_NUMBER DPoSStakeFunction = 15
	// read complete unbounding epoch number
	DPoSStakeFunction_READ_COMPLETE_UNBOUNDING_EPOCH_NUMBER DPoSStakeFunction = 16
	// read system contract address
	DPoSStakeFunction_READ_SYSTEM_CONTRACT_ADDR DPoSStakeFunction = 18
	// unbounding
	DPoSStakeFunction_UNBOUNDING DPoSStakeFunction = 19
	// create epoch
	DPoSStakeFunction_CREATE_EPOCH DPoSStakeFunction = 20
	// update epoch validator num and block num
	DPoSStakeFunction_UPDATE_EPOCH_VALIDATOR_NUMBER_AND_EPOCH_BLOCK_NUMBER DPoSStakeFunction = 21
)

func (DPoSStakeFunction) EnumDescriptor

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

func (DPoSStakeFunction) String

func (x DPoSStakeFunction) String() string

type Delegation

type Delegation struct {
	// delegator cert hash
	DelegatorAddress string `protobuf:"bytes,1,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty"`
	// validator cert hash
	ValidatorAddress string `protobuf:"bytes,2,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
	// share amount
	Shares string `protobuf:"bytes,3,opt,name=shares,proto3" json:"shares,omitempty"`
}

func (*Delegation) Descriptor

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

func (*Delegation) GetDelegatorAddress

func (m *Delegation) GetDelegatorAddress() string

func (*Delegation) GetShares

func (m *Delegation) GetShares() string

func (*Delegation) GetValidatorAddress

func (m *Delegation) GetValidatorAddress() string

func (*Delegation) Marshal

func (m *Delegation) Marshal() (dAtA []byte, err error)

func (*Delegation) MarshalTo

func (m *Delegation) MarshalTo(dAtA []byte) (int, error)

func (*Delegation) MarshalToSizedBuffer

func (m *Delegation) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Delegation) ProtoMessage

func (*Delegation) ProtoMessage()

func (*Delegation) Reset

func (m *Delegation) Reset()

func (*Delegation) Size

func (m *Delegation) Size() (n int)

func (*Delegation) String

func (m *Delegation) String() string

func (*Delegation) Unmarshal

func (m *Delegation) Unmarshal(dAtA []byte) error

func (*Delegation) XXX_DiscardUnknown

func (m *Delegation) XXX_DiscardUnknown()

func (*Delegation) XXX_Marshal

func (m *Delegation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Delegation) XXX_Merge

func (m *Delegation) XXX_Merge(src proto.Message)

func (*Delegation) XXX_Size

func (m *Delegation) XXX_Size() int

func (*Delegation) XXX_Unmarshal

func (m *Delegation) XXX_Unmarshal(b []byte) error

type DelegationInfo

type DelegationInfo struct {
	// delegate slice
	Infos []*Delegation `protobuf:"bytes,1,rep,name=infos,proto3" json:"infos,omitempty"`
}

func (*DelegationInfo) Descriptor

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

func (*DelegationInfo) GetInfos

func (m *DelegationInfo) GetInfos() []*Delegation

func (*DelegationInfo) Marshal

func (m *DelegationInfo) Marshal() (dAtA []byte, err error)

func (*DelegationInfo) MarshalTo

func (m *DelegationInfo) MarshalTo(dAtA []byte) (int, error)

func (*DelegationInfo) MarshalToSizedBuffer

func (m *DelegationInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DelegationInfo) ProtoMessage

func (*DelegationInfo) ProtoMessage()

func (*DelegationInfo) Reset

func (m *DelegationInfo) Reset()

func (*DelegationInfo) Size

func (m *DelegationInfo) Size() (n int)

func (*DelegationInfo) String

func (m *DelegationInfo) String() string

func (*DelegationInfo) Unmarshal

func (m *DelegationInfo) Unmarshal(dAtA []byte) error

func (*DelegationInfo) XXX_DiscardUnknown

func (m *DelegationInfo) XXX_DiscardUnknown()

func (*DelegationInfo) XXX_Marshal

func (m *DelegationInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DelegationInfo) XXX_Merge

func (m *DelegationInfo) XXX_Merge(src proto.Message)

func (*DelegationInfo) XXX_Size

func (m *DelegationInfo) XXX_Size() int

func (*DelegationInfo) XXX_Unmarshal

func (m *DelegationInfo) XXX_Unmarshal(b []byte) error

type DeleteErrorCrossChainTxList

type DeleteErrorCrossChainTxList struct {
}

func (*DeleteErrorCrossChainTxList) Descriptor

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

func (*DeleteErrorCrossChainTxList) Marshal

func (m *DeleteErrorCrossChainTxList) Marshal() (dAtA []byte, err error)

func (*DeleteErrorCrossChainTxList) MarshalTo

func (m *DeleteErrorCrossChainTxList) MarshalTo(dAtA []byte) (int, error)

func (*DeleteErrorCrossChainTxList) MarshalToSizedBuffer

func (m *DeleteErrorCrossChainTxList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DeleteErrorCrossChainTxList) ProtoMessage

func (*DeleteErrorCrossChainTxList) ProtoMessage()

func (*DeleteErrorCrossChainTxList) Reset

func (m *DeleteErrorCrossChainTxList) Reset()

func (*DeleteErrorCrossChainTxList) Size

func (m *DeleteErrorCrossChainTxList) Size() (n int)

func (*DeleteErrorCrossChainTxList) String

func (m *DeleteErrorCrossChainTxList) String() string

func (*DeleteErrorCrossChainTxList) Unmarshal

func (m *DeleteErrorCrossChainTxList) Unmarshal(dAtA []byte) error

func (*DeleteErrorCrossChainTxList) XXX_DiscardUnknown

func (m *DeleteErrorCrossChainTxList) XXX_DiscardUnknown()

func (*DeleteErrorCrossChainTxList) XXX_Marshal

func (m *DeleteErrorCrossChainTxList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteErrorCrossChainTxList) XXX_Merge

func (m *DeleteErrorCrossChainTxList) XXX_Merge(src proto.Message)

func (*DeleteErrorCrossChainTxList) XXX_Size

func (m *DeleteErrorCrossChainTxList) XXX_Size() int

func (*DeleteErrorCrossChainTxList) XXX_Unmarshal

func (m *DeleteErrorCrossChainTxList) XXX_Unmarshal(b []byte) error

type DeleteErrorCrossChainTxList_Parameter

type DeleteErrorCrossChainTxList_Parameter int32
const (
	// cross chain id
	DeleteErrorCrossChainTxList_CROSS_CHAIN_ID DeleteErrorCrossChainTxList_Parameter = 0
)

func (DeleteErrorCrossChainTxList_Parameter) EnumDescriptor

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

func (DeleteErrorCrossChainTxList_Parameter) String

type DoHotColdDataSeparateHeight

type DoHotColdDataSeparateHeight struct {
}

do hot cold data separate payload parameters

func (*DoHotColdDataSeparateHeight) Descriptor

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

func (*DoHotColdDataSeparateHeight) Marshal

func (m *DoHotColdDataSeparateHeight) Marshal() (dAtA []byte, err error)

func (*DoHotColdDataSeparateHeight) MarshalTo

func (m *DoHotColdDataSeparateHeight) MarshalTo(dAtA []byte) (int, error)

func (*DoHotColdDataSeparateHeight) MarshalToSizedBuffer

func (m *DoHotColdDataSeparateHeight) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DoHotColdDataSeparateHeight) ProtoMessage

func (*DoHotColdDataSeparateHeight) ProtoMessage()

func (*DoHotColdDataSeparateHeight) Reset

func (m *DoHotColdDataSeparateHeight) Reset()

func (*DoHotColdDataSeparateHeight) Size

func (m *DoHotColdDataSeparateHeight) Size() (n int)

func (*DoHotColdDataSeparateHeight) String

func (m *DoHotColdDataSeparateHeight) String() string

func (*DoHotColdDataSeparateHeight) Unmarshal

func (m *DoHotColdDataSeparateHeight) Unmarshal(dAtA []byte) error

func (*DoHotColdDataSeparateHeight) XXX_DiscardUnknown

func (m *DoHotColdDataSeparateHeight) XXX_DiscardUnknown()

func (*DoHotColdDataSeparateHeight) XXX_Marshal

func (m *DoHotColdDataSeparateHeight) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DoHotColdDataSeparateHeight) XXX_Merge

func (m *DoHotColdDataSeparateHeight) XXX_Merge(src proto.Message)

func (*DoHotColdDataSeparateHeight) XXX_Size

func (m *DoHotColdDataSeparateHeight) XXX_Size() int

func (*DoHotColdDataSeparateHeight) XXX_Unmarshal

func (m *DoHotColdDataSeparateHeight) XXX_Unmarshal(b []byte) error

type DoHotColdDataSeparateHeight_Parameter

type DoHotColdDataSeparateHeight_Parameter int32
const (
	DoHotColdDataSeparateHeight_START_HEIGHT DoHotColdDataSeparateHeight_Parameter = 0
	DoHotColdDataSeparateHeight_END_HEIGHT   DoHotColdDataSeparateHeight_Parameter = 1
)

func (DoHotColdDataSeparateHeight_Parameter) EnumDescriptor

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

func (DoHotColdDataSeparateHeight_Parameter) String

type Epoch

type Epoch struct {
	// ID with auto-increment
	EpochId uint64 `protobuf:"varint,1,opt,name=epoch_id,json=epochId,proto3" json:"epoch_id,omitempty"`
	// A collection of validators for the current generation
	ProposerVector []string `protobuf:"bytes,2,rep,name=proposer_vector,json=proposerVector,proto3" json:"proposer_vector,omitempty"`
	// Next epoch switch height
	NextEpochCreateHeight uint64 `` /* 129-byte string literal not displayed */
	// Current epoch create height
	CurrentEpochCreateHeight uint64 `` /* 138-byte string literal not displayed */
}

func (*Epoch) Descriptor

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

func (*Epoch) GetCurrentEpochCreateHeight added in v3.0.1

func (m *Epoch) GetCurrentEpochCreateHeight() uint64

func (*Epoch) GetEpochId

func (m *Epoch) GetEpochId() uint64

func (*Epoch) GetNextEpochCreateHeight

func (m *Epoch) GetNextEpochCreateHeight() uint64

func (*Epoch) GetProposerVector

func (m *Epoch) GetProposerVector() []string

func (*Epoch) Marshal

func (m *Epoch) Marshal() (dAtA []byte, err error)

func (*Epoch) MarshalTo

func (m *Epoch) MarshalTo(dAtA []byte) (int, error)

func (*Epoch) MarshalToSizedBuffer

func (m *Epoch) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Epoch) ProtoMessage

func (*Epoch) ProtoMessage()

func (*Epoch) Reset

func (m *Epoch) Reset()

func (*Epoch) Size

func (m *Epoch) Size() (n int)

func (*Epoch) String

func (m *Epoch) String() string

func (*Epoch) Unmarshal

func (m *Epoch) Unmarshal(dAtA []byte) error

func (*Epoch) XXX_DiscardUnknown

func (m *Epoch) XXX_DiscardUnknown()

func (*Epoch) XXX_Marshal

func (m *Epoch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Epoch) XXX_Merge

func (m *Epoch) XXX_Merge(src proto.Message)

func (*Epoch) XXX_Size

func (m *Epoch) XXX_Size() int

func (*Epoch) XXX_Unmarshal

func (m *Epoch) XXX_Unmarshal(b []byte) error

type EpochValidatorNumAndBlockNum

type EpochValidatorNumAndBlockNum struct {
	// epoch validator num
	EpochValidatorNum string `protobuf:"bytes,2,opt,name=epoch_validator_num,json=epochValidatorNum,proto3" json:"epoch_validator_num,omitempty"`
	// epoch block num
	EpochBlockNum string `protobuf:"bytes,3,opt,name=epoch_block_num,json=epochBlockNum,proto3" json:"epoch_block_num,omitempty"`
}

EpochValidatorNumAndBlockNum for param update response

func (*EpochValidatorNumAndBlockNum) Descriptor

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

func (*EpochValidatorNumAndBlockNum) GetEpochBlockNum

func (m *EpochValidatorNumAndBlockNum) GetEpochBlockNum() string

func (*EpochValidatorNumAndBlockNum) GetEpochValidatorNum

func (m *EpochValidatorNumAndBlockNum) GetEpochValidatorNum() string

func (*EpochValidatorNumAndBlockNum) Marshal

func (m *EpochValidatorNumAndBlockNum) Marshal() (dAtA []byte, err error)

func (*EpochValidatorNumAndBlockNum) MarshalTo

func (m *EpochValidatorNumAndBlockNum) MarshalTo(dAtA []byte) (int, error)

func (*EpochValidatorNumAndBlockNum) MarshalToSizedBuffer

func (m *EpochValidatorNumAndBlockNum) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EpochValidatorNumAndBlockNum) ProtoMessage

func (*EpochValidatorNumAndBlockNum) ProtoMessage()

func (*EpochValidatorNumAndBlockNum) Reset

func (m *EpochValidatorNumAndBlockNum) Reset()

func (*EpochValidatorNumAndBlockNum) Size

func (m *EpochValidatorNumAndBlockNum) Size() (n int)

func (*EpochValidatorNumAndBlockNum) String

func (*EpochValidatorNumAndBlockNum) Unmarshal

func (m *EpochValidatorNumAndBlockNum) Unmarshal(dAtA []byte) error

func (*EpochValidatorNumAndBlockNum) XXX_DiscardUnknown

func (m *EpochValidatorNumAndBlockNum) XXX_DiscardUnknown()

func (*EpochValidatorNumAndBlockNum) XXX_Marshal

func (m *EpochValidatorNumAndBlockNum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EpochValidatorNumAndBlockNum) XXX_Merge

func (m *EpochValidatorNumAndBlockNum) XXX_Merge(src proto.Message)

func (*EpochValidatorNumAndBlockNum) XXX_Size

func (m *EpochValidatorNumAndBlockNum) XXX_Size() int

func (*EpochValidatorNumAndBlockNum) XXX_Unmarshal

func (m *EpochValidatorNumAndBlockNum) XXX_Unmarshal(b []byte) error

type EthBalanceOf added in v3.0.1

type EthBalanceOf struct {
}

BalanceOf parameters

func (*EthBalanceOf) Descriptor added in v3.0.1

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

func (*EthBalanceOf) Marshal added in v3.0.1

func (m *EthBalanceOf) Marshal() (dAtA []byte, err error)

func (*EthBalanceOf) MarshalTo added in v3.0.1

func (m *EthBalanceOf) MarshalTo(dAtA []byte) (int, error)

func (*EthBalanceOf) MarshalToSizedBuffer added in v3.0.1

func (m *EthBalanceOf) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EthBalanceOf) ProtoMessage added in v3.0.1

func (*EthBalanceOf) ProtoMessage()

func (*EthBalanceOf) Reset added in v3.0.1

func (m *EthBalanceOf) Reset()

func (*EthBalanceOf) Size added in v3.0.1

func (m *EthBalanceOf) Size() (n int)

func (*EthBalanceOf) String added in v3.0.1

func (m *EthBalanceOf) String() string

func (*EthBalanceOf) Unmarshal added in v3.0.1

func (m *EthBalanceOf) Unmarshal(dAtA []byte) error

func (*EthBalanceOf) XXX_DiscardUnknown added in v3.0.1

func (m *EthBalanceOf) XXX_DiscardUnknown()

func (*EthBalanceOf) XXX_Marshal added in v3.0.1

func (m *EthBalanceOf) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EthBalanceOf) XXX_Merge added in v3.0.1

func (m *EthBalanceOf) XXX_Merge(src proto.Message)

func (*EthBalanceOf) XXX_Size added in v3.0.1

func (m *EthBalanceOf) XXX_Size() int

func (*EthBalanceOf) XXX_Unmarshal added in v3.0.1

func (m *EthBalanceOf) XXX_Unmarshal(b []byte) error

type EthBalanceOf_Parameter added in v3.0.1

type EthBalanceOf_Parameter int32
const (
	EthBalanceOf_ACCOUNT EthBalanceOf_Parameter = 0
)

func (EthBalanceOf_Parameter) EnumDescriptor added in v3.0.1

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

func (EthBalanceOf_Parameter) String added in v3.0.1

func (x EthBalanceOf_Parameter) String() string

type EthCall added in v3.0.1

type EthCall struct {
}

Call parameters

func (*EthCall) Descriptor added in v3.0.1

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

func (*EthCall) Marshal added in v3.0.1

func (m *EthCall) Marshal() (dAtA []byte, err error)

func (*EthCall) MarshalTo added in v3.0.1

func (m *EthCall) MarshalTo(dAtA []byte) (int, error)

func (*EthCall) MarshalToSizedBuffer added in v3.0.1

func (m *EthCall) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EthCall) ProtoMessage added in v3.0.1

func (*EthCall) ProtoMessage()

func (*EthCall) Reset added in v3.0.1

func (m *EthCall) Reset()

func (*EthCall) Size added in v3.0.1

func (m *EthCall) Size() (n int)

func (*EthCall) String added in v3.0.1

func (m *EthCall) String() string

func (*EthCall) Unmarshal added in v3.0.1

func (m *EthCall) Unmarshal(dAtA []byte) error

func (*EthCall) XXX_DiscardUnknown added in v3.0.1

func (m *EthCall) XXX_DiscardUnknown()

func (*EthCall) XXX_Marshal added in v3.0.1

func (m *EthCall) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EthCall) XXX_Merge added in v3.0.1

func (m *EthCall) XXX_Merge(src proto.Message)

func (*EthCall) XXX_Size added in v3.0.1

func (m *EthCall) XXX_Size() int

func (*EthCall) XXX_Unmarshal added in v3.0.1

func (m *EthCall) XXX_Unmarshal(b []byte) error

type EthCall_Parameter added in v3.0.1

type EthCall_Parameter int32
const (
	EthCall_FROM      EthCall_Parameter = 0
	EthCall_TO        EthCall_Parameter = 1
	EthCall_VALUE     EthCall_Parameter = 2
	EthCall_DATA      EthCall_Parameter = 3
	EthCall_GAS       EthCall_Parameter = 4
	EthCall_GAS_PRICE EthCall_Parameter = 5
)

func (EthCall_Parameter) EnumDescriptor added in v3.0.1

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

func (EthCall_Parameter) String added in v3.0.1

func (x EthCall_Parameter) String() string

type EthEstimateGas added in v3.0.1

type EthEstimateGas struct {
}

EstimateGas parameters

func (*EthEstimateGas) Descriptor added in v3.0.1

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

func (*EthEstimateGas) Marshal added in v3.0.1

func (m *EthEstimateGas) Marshal() (dAtA []byte, err error)

func (*EthEstimateGas) MarshalTo added in v3.0.1

func (m *EthEstimateGas) MarshalTo(dAtA []byte) (int, error)

func (*EthEstimateGas) MarshalToSizedBuffer added in v3.0.1

func (m *EthEstimateGas) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EthEstimateGas) ProtoMessage added in v3.0.1

func (*EthEstimateGas) ProtoMessage()

func (*EthEstimateGas) Reset added in v3.0.1

func (m *EthEstimateGas) Reset()

func (*EthEstimateGas) Size added in v3.0.1

func (m *EthEstimateGas) Size() (n int)

func (*EthEstimateGas) String added in v3.0.1

func (m *EthEstimateGas) String() string

func (*EthEstimateGas) Unmarshal added in v3.0.1

func (m *EthEstimateGas) Unmarshal(dAtA []byte) error

func (*EthEstimateGas) XXX_DiscardUnknown added in v3.0.1

func (m *EthEstimateGas) XXX_DiscardUnknown()

func (*EthEstimateGas) XXX_Marshal added in v3.0.1

func (m *EthEstimateGas) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EthEstimateGas) XXX_Merge added in v3.0.1

func (m *EthEstimateGas) XXX_Merge(src proto.Message)

func (*EthEstimateGas) XXX_Size added in v3.0.1

func (m *EthEstimateGas) XXX_Size() int

func (*EthEstimateGas) XXX_Unmarshal added in v3.0.1

func (m *EthEstimateGas) XXX_Unmarshal(b []byte) error

type EthEstimateGas_Parameter added in v3.0.1

type EthEstimateGas_Parameter int32
const (
	EthEstimateGas_FROM      EthEstimateGas_Parameter = 0
	EthEstimateGas_TO        EthEstimateGas_Parameter = 1
	EthEstimateGas_VALUE     EthEstimateGas_Parameter = 2
	EthEstimateGas_DATA      EthEstimateGas_Parameter = 3
	EthEstimateGas_GAS       EthEstimateGas_Parameter = 4
	EthEstimateGas_GAS_PRICE EthEstimateGas_Parameter = 5
)

func (EthEstimateGas_Parameter) EnumDescriptor added in v3.0.1

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

func (EthEstimateGas_Parameter) String added in v3.0.1

func (x EthEstimateGas_Parameter) String() string

type EthGetAccount added in v3.0.1

type EthGetAccount struct {
}

GetAccount parameters

func (*EthGetAccount) Descriptor added in v3.0.1

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

func (*EthGetAccount) Marshal added in v3.0.1

func (m *EthGetAccount) Marshal() (dAtA []byte, err error)

func (*EthGetAccount) MarshalTo added in v3.0.1

func (m *EthGetAccount) MarshalTo(dAtA []byte) (int, error)

func (*EthGetAccount) MarshalToSizedBuffer added in v3.0.1

func (m *EthGetAccount) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EthGetAccount) ProtoMessage added in v3.0.1

func (*EthGetAccount) ProtoMessage()

func (*EthGetAccount) Reset added in v3.0.1

func (m *EthGetAccount) Reset()

func (*EthGetAccount) Size added in v3.0.1

func (m *EthGetAccount) Size() (n int)

func (*EthGetAccount) String added in v3.0.1

func (m *EthGetAccount) String() string

func (*EthGetAccount) Unmarshal added in v3.0.1

func (m *EthGetAccount) Unmarshal(dAtA []byte) error

func (*EthGetAccount) XXX_DiscardUnknown added in v3.0.1

func (m *EthGetAccount) XXX_DiscardUnknown()

func (*EthGetAccount) XXX_Marshal added in v3.0.1

func (m *EthGetAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EthGetAccount) XXX_Merge added in v3.0.1

func (m *EthGetAccount) XXX_Merge(src proto.Message)

func (*EthGetAccount) XXX_Size added in v3.0.1

func (m *EthGetAccount) XXX_Size() int

func (*EthGetAccount) XXX_Unmarshal added in v3.0.1

func (m *EthGetAccount) XXX_Unmarshal(b []byte) error

type EthGetAccount_Parameter added in v3.0.1

type EthGetAccount_Parameter int32
const (
	EthGetAccount_ACCOUNT EthGetAccount_Parameter = 0
)

func (EthGetAccount_Parameter) EnumDescriptor added in v3.0.1

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

func (EthGetAccount_Parameter) String added in v3.0.1

func (x EthGetAccount_Parameter) String() string

type EthMint added in v3.0.1

type EthMint struct {
}

Mint parameters

func (*EthMint) Descriptor added in v3.0.1

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

func (*EthMint) Marshal added in v3.0.1

func (m *EthMint) Marshal() (dAtA []byte, err error)

func (*EthMint) MarshalTo added in v3.0.1

func (m *EthMint) MarshalTo(dAtA []byte) (int, error)

func (*EthMint) MarshalToSizedBuffer added in v3.0.1

func (m *EthMint) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EthMint) ProtoMessage added in v3.0.1

func (*EthMint) ProtoMessage()

func (*EthMint) Reset added in v3.0.1

func (m *EthMint) Reset()

func (*EthMint) Size added in v3.0.1

func (m *EthMint) Size() (n int)

func (*EthMint) String added in v3.0.1

func (m *EthMint) String() string

func (*EthMint) Unmarshal added in v3.0.1

func (m *EthMint) Unmarshal(dAtA []byte) error

func (*EthMint) XXX_DiscardUnknown added in v3.0.1

func (m *EthMint) XXX_DiscardUnknown()

func (*EthMint) XXX_Marshal added in v3.0.1

func (m *EthMint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EthMint) XXX_Merge added in v3.0.1

func (m *EthMint) XXX_Merge(src proto.Message)

func (*EthMint) XXX_Size added in v3.0.1

func (m *EthMint) XXX_Size() int

func (*EthMint) XXX_Unmarshal added in v3.0.1

func (m *EthMint) XXX_Unmarshal(b []byte) error

type EthMint_Parameter added in v3.0.1

type EthMint_Parameter int32
const (
	EthMint_ACCOUNT EthMint_Parameter = 0
	EthMint_AMOUNT  EthMint_Parameter = 1
)

func (EthMint_Parameter) EnumDescriptor added in v3.0.1

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

func (EthMint_Parameter) String added in v3.0.1

func (x EthMint_Parameter) String() string

type EthNonce added in v3.0.1

type EthNonce struct {
}

Nonce parameters

func (*EthNonce) Descriptor added in v3.0.1

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

func (*EthNonce) Marshal added in v3.0.1

func (m *EthNonce) Marshal() (dAtA []byte, err error)

func (*EthNonce) MarshalTo added in v3.0.1

func (m *EthNonce) MarshalTo(dAtA []byte) (int, error)

func (*EthNonce) MarshalToSizedBuffer added in v3.0.1

func (m *EthNonce) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EthNonce) ProtoMessage added in v3.0.1

func (*EthNonce) ProtoMessage()

func (*EthNonce) Reset added in v3.0.1

func (m *EthNonce) Reset()

func (*EthNonce) Size added in v3.0.1

func (m *EthNonce) Size() (n int)

func (*EthNonce) String added in v3.0.1

func (m *EthNonce) String() string

func (*EthNonce) Unmarshal added in v3.0.1

func (m *EthNonce) Unmarshal(dAtA []byte) error

func (*EthNonce) XXX_DiscardUnknown added in v3.0.1

func (m *EthNonce) XXX_DiscardUnknown()

func (*EthNonce) XXX_Marshal added in v3.0.1

func (m *EthNonce) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EthNonce) XXX_Merge added in v3.0.1

func (m *EthNonce) XXX_Merge(src proto.Message)

func (*EthNonce) XXX_Size added in v3.0.1

func (m *EthNonce) XXX_Size() int

func (*EthNonce) XXX_Unmarshal added in v3.0.1

func (m *EthNonce) XXX_Unmarshal(b []byte) error

type EthNonce_Parameter added in v3.0.1

type EthNonce_Parameter int32
const (
	EthNonce_ACCOUNT EthNonce_Parameter = 0
)

func (EthNonce_Parameter) EnumDescriptor added in v3.0.1

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

func (EthNonce_Parameter) String added in v3.0.1

func (x EthNonce_Parameter) String() string

type EthRegister added in v3.0.1

type EthRegister struct {
}

Register parameters

func (*EthRegister) Descriptor added in v3.0.1

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

func (*EthRegister) Marshal added in v3.0.1

func (m *EthRegister) Marshal() (dAtA []byte, err error)

func (*EthRegister) MarshalTo added in v3.0.1

func (m *EthRegister) MarshalTo(dAtA []byte) (int, error)

func (*EthRegister) MarshalToSizedBuffer added in v3.0.1

func (m *EthRegister) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EthRegister) ProtoMessage added in v3.0.1

func (*EthRegister) ProtoMessage()

func (*EthRegister) Reset added in v3.0.1

func (m *EthRegister) Reset()

func (*EthRegister) Size added in v3.0.1

func (m *EthRegister) Size() (n int)

func (*EthRegister) String added in v3.0.1

func (m *EthRegister) String() string

func (*EthRegister) Unmarshal added in v3.0.1

func (m *EthRegister) Unmarshal(dAtA []byte) error

func (*EthRegister) XXX_DiscardUnknown added in v3.0.1

func (m *EthRegister) XXX_DiscardUnknown()

func (*EthRegister) XXX_Marshal added in v3.0.1

func (m *EthRegister) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EthRegister) XXX_Merge added in v3.0.1

func (m *EthRegister) XXX_Merge(src proto.Message)

func (*EthRegister) XXX_Size added in v3.0.1

func (m *EthRegister) XXX_Size() int

func (*EthRegister) XXX_Unmarshal added in v3.0.1

func (m *EthRegister) XXX_Unmarshal(b []byte) error

type EthRegister_Parameter added in v3.0.1

type EthRegister_Parameter int32
const (
	EthRegister_ACCOUNT EthRegister_Parameter = 0
	EthRegister_NAME    EthRegister_Parameter = 1
)

func (EthRegister_Parameter) EnumDescriptor added in v3.0.1

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

func (EthRegister_Parameter) String added in v3.0.1

func (x EthRegister_Parameter) String() string

type EthTransfer added in v3.0.1

type EthTransfer struct {
}

Transfer parameters

func (*EthTransfer) Descriptor added in v3.0.1

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

func (*EthTransfer) Marshal added in v3.0.1

func (m *EthTransfer) Marshal() (dAtA []byte, err error)

func (*EthTransfer) MarshalTo added in v3.0.1

func (m *EthTransfer) MarshalTo(dAtA []byte) (int, error)

func (*EthTransfer) MarshalToSizedBuffer added in v3.0.1

func (m *EthTransfer) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EthTransfer) ProtoMessage added in v3.0.1

func (*EthTransfer) ProtoMessage()

func (*EthTransfer) Reset added in v3.0.1

func (m *EthTransfer) Reset()

func (*EthTransfer) Size added in v3.0.1

func (m *EthTransfer) Size() (n int)

func (*EthTransfer) String added in v3.0.1

func (m *EthTransfer) String() string

func (*EthTransfer) Unmarshal added in v3.0.1

func (m *EthTransfer) Unmarshal(dAtA []byte) error

func (*EthTransfer) XXX_DiscardUnknown added in v3.0.1

func (m *EthTransfer) XXX_DiscardUnknown()

func (*EthTransfer) XXX_Marshal added in v3.0.1

func (m *EthTransfer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EthTransfer) XXX_Merge added in v3.0.1

func (m *EthTransfer) XXX_Merge(src proto.Message)

func (*EthTransfer) XXX_Size added in v3.0.1

func (m *EthTransfer) XXX_Size() int

func (*EthTransfer) XXX_Unmarshal added in v3.0.1

func (m *EthTransfer) XXX_Unmarshal(b []byte) error

type EthTransfer_Parameter added in v3.0.1

type EthTransfer_Parameter int32
const (
	EthTransfer_TO     EthTransfer_Parameter = 0
	EthTransfer_AMOUNT EthTransfer_Parameter = 1
)

func (EthTransfer_Parameter) EnumDescriptor added in v3.0.1

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

func (EthTransfer_Parameter) String added in v3.0.1

func (x EthTransfer_Parameter) String() string

type EthUnregister added in v3.0.1

type EthUnregister struct {
}

Un parameters

func (*EthUnregister) Descriptor added in v3.0.1

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

func (*EthUnregister) Marshal added in v3.0.1

func (m *EthUnregister) Marshal() (dAtA []byte, err error)

func (*EthUnregister) MarshalTo added in v3.0.1

func (m *EthUnregister) MarshalTo(dAtA []byte) (int, error)

func (*EthUnregister) MarshalToSizedBuffer added in v3.0.1

func (m *EthUnregister) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EthUnregister) ProtoMessage added in v3.0.1

func (*EthUnregister) ProtoMessage()

func (*EthUnregister) Reset added in v3.0.1

func (m *EthUnregister) Reset()

func (*EthUnregister) Size added in v3.0.1

func (m *EthUnregister) Size() (n int)

func (*EthUnregister) String added in v3.0.1

func (m *EthUnregister) String() string

func (*EthUnregister) Unmarshal added in v3.0.1

func (m *EthUnregister) Unmarshal(dAtA []byte) error

func (*EthUnregister) XXX_DiscardUnknown added in v3.0.1

func (m *EthUnregister) XXX_DiscardUnknown()

func (*EthUnregister) XXX_Marshal added in v3.0.1

func (m *EthUnregister) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EthUnregister) XXX_Merge added in v3.0.1

func (m *EthUnregister) XXX_Merge(src proto.Message)

func (*EthUnregister) XXX_Size added in v3.0.1

func (m *EthUnregister) XXX_Size() int

func (*EthUnregister) XXX_Unmarshal added in v3.0.1

func (m *EthUnregister) XXX_Unmarshal(b []byte) error

type EthUnregister_Parameter added in v3.0.1

type EthUnregister_Parameter int32
const (
	EthUnregister_ACCOUNT EthUnregister_Parameter = 0
)

func (EthUnregister_Parameter) EnumDescriptor added in v3.0.1

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

func (EthUnregister_Parameter) String added in v3.0.1

func (x EthUnregister_Parameter) String() string

type EthereumFunction

type EthereumFunction int32

methods of Ethereum contract

const (
	// get token name
	EthereumFunction_Name EthereumFunction = 0
	// get token symbol
	EthereumFunction_Symbol EthereumFunction = 1
	// get token decimal
	EthereumFunction_Decimals EthereumFunction = 2
	// get total supply amount
	EthereumFunction_TotalSupply EthereumFunction = 3
	// get token balance of an account
	EthereumFunction_BalanceOf EthereumFunction = 4
	// get account nonce
	EthereumFunction_Nonce EthereumFunction = 5
	//transfer token
	EthereumFunction_Transfer EthereumFunction = 6
	//mint new token
	EthereumFunction_Mint EthereumFunction = 7
	//unpack ethereum transaction and process by tx content
	EthereumFunction_Unpack EthereumFunction = 8
	//Register address
	EthereumFunction_Register EthereumFunction = 9
	//Unregister address
	EthereumFunction_Unregister EthereumFunction = 10
	//GetAccount get account info by account address
	EthereumFunction_GetAccount EthereumFunction = 11
	//GetAccountList  get all register list
	EthereumFunction_GetAccountList EthereumFunction = 12
	//EstimateGas estimate gas
	EthereumFunction_EstimateGas EthereumFunction = 13
	//Call query contract
	EthereumFunction_Call EthereumFunction = 14
)

func (EthereumFunction) EnumDescriptor

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

func (EthereumFunction) String

func (x EthereumFunction) String() string

type EventDataType

type EventDataType struct {
}

func (*EventDataType) Descriptor

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

func (*EventDataType) Marshal

func (m *EventDataType) Marshal() (dAtA []byte, err error)

func (*EventDataType) MarshalTo

func (m *EventDataType) MarshalTo(dAtA []byte) (int, error)

func (*EventDataType) MarshalToSizedBuffer

func (m *EventDataType) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventDataType) ProtoMessage

func (*EventDataType) ProtoMessage()

func (*EventDataType) Reset

func (m *EventDataType) Reset()

func (*EventDataType) Size

func (m *EventDataType) Size() (n int)

func (*EventDataType) String

func (m *EventDataType) String() string

func (*EventDataType) Unmarshal

func (m *EventDataType) Unmarshal(dAtA []byte) error

func (*EventDataType) XXX_DiscardUnknown

func (m *EventDataType) XXX_DiscardUnknown()

func (*EventDataType) XXX_Marshal

func (m *EventDataType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventDataType) XXX_Merge

func (m *EventDataType) XXX_Merge(src proto.Message)

func (*EventDataType) XXX_Size

func (m *EventDataType) XXX_Size() int

func (*EventDataType) XXX_Unmarshal

func (m *EventDataType) XXX_Unmarshal(b []byte) error

type EventDataType_Parameter

type EventDataType_Parameter int32
const (
	// string
	EventDataType_STRING EventDataType_Parameter = 0
	// map
	EventDataType_MAP EventDataType_Parameter = 1
	// byte
	EventDataType_BYTE EventDataType_Parameter = 2
	// BOOL
	EventDataType_BOOL EventDataType_Parameter = 3
	// int
	EventDataType_INT EventDataType_Parameter = 4
	// float
	EventDataType_FLOAT EventDataType_Parameter = 5
	// array
	EventDataType_ARRAY EventDataType_Parameter = 6
	// hash, bcos
	EventDataType_HASH EventDataType_Parameter = 7
	// ADDRESS, bcos
	EventDataType_ADDRESS EventDataType_Parameter = 8
)

func (EventDataType_Parameter) EnumDescriptor

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

func (EventDataType_Parameter) String

func (x EventDataType_Parameter) String() string

type EventName

type EventName struct {
}

func (*EventName) Descriptor

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

func (*EventName) Marshal

func (m *EventName) Marshal() (dAtA []byte, err error)

func (*EventName) MarshalTo

func (m *EventName) MarshalTo(dAtA []byte) (int, error)

func (*EventName) MarshalToSizedBuffer

func (m *EventName) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventName) ProtoMessage

func (*EventName) ProtoMessage()

func (*EventName) Reset

func (m *EventName) Reset()

func (*EventName) Size

func (m *EventName) Size() (n int)

func (*EventName) String

func (m *EventName) String() string

func (*EventName) Unmarshal

func (m *EventName) Unmarshal(dAtA []byte) error

func (*EventName) XXX_DiscardUnknown

func (m *EventName) XXX_DiscardUnknown()

func (*EventName) XXX_Marshal

func (m *EventName) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventName) XXX_Merge

func (m *EventName) XXX_Merge(src proto.Message)

func (*EventName) XXX_Size

func (m *EventName) XXX_Size() int

func (*EventName) XXX_Unmarshal

func (m *EventName) XXX_Unmarshal(b []byte) error

type EventName_Parameter

type EventName_Parameter int32
const (
	// new
	EventName_NEW_CROSS_CHAIN EventName_Parameter = 0
	// try end
	EventName_CROSS_CHAIN_TRY_END EventName_Parameter = 1
	// update result end
	EventName_UPADATE_RESULT_END EventName_Parameter = 2
	// confirm end
	EventName_GATEWAY_CONFIRM_END EventName_Parameter = 3
	// src gateway confirm end
	EventName_SRC_GATEWAY_CONFIRM_END EventName_Parameter = 4
)

func (EventName_Parameter) EnumDescriptor

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

func (EventName_Parameter) String

func (x EventName_Parameter) String() string

type FreezeContract

type FreezeContract struct {
}

freeze contract parameters

func (*FreezeContract) Descriptor

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

func (*FreezeContract) Marshal

func (m *FreezeContract) Marshal() (dAtA []byte, err error)

func (*FreezeContract) MarshalTo

func (m *FreezeContract) MarshalTo(dAtA []byte) (int, error)

func (*FreezeContract) MarshalToSizedBuffer

func (m *FreezeContract) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*FreezeContract) ProtoMessage

func (*FreezeContract) ProtoMessage()

func (*FreezeContract) Reset

func (m *FreezeContract) Reset()

func (*FreezeContract) Size

func (m *FreezeContract) Size() (n int)

func (*FreezeContract) String

func (m *FreezeContract) String() string

func (*FreezeContract) Unmarshal

func (m *FreezeContract) Unmarshal(dAtA []byte) error

func (*FreezeContract) XXX_DiscardUnknown

func (m *FreezeContract) XXX_DiscardUnknown()

func (*FreezeContract) XXX_Marshal

func (m *FreezeContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FreezeContract) XXX_Merge

func (m *FreezeContract) XXX_Merge(src proto.Message)

func (*FreezeContract) XXX_Size

func (m *FreezeContract) XXX_Size() int

func (*FreezeContract) XXX_Unmarshal

func (m *FreezeContract) XXX_Unmarshal(b []byte) error

type FreezeContract_Parameter

type FreezeContract_Parameter int32
const (
	FreezeContract_CONTRACT_NAME FreezeContract_Parameter = 0
)

func (FreezeContract_Parameter) EnumDescriptor

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

func (FreezeContract_Parameter) String

func (x FreezeContract_Parameter) String() string

type GasAccountFunction

type GasAccountFunction int32

methods of private compute contract

const (
	// set admin
	GasAccountFunction_SET_ADMIN GasAccountFunction = 0
	// get admin
	GasAccountFunction_GET_ADMIN GasAccountFunction = 1
	// recharge gas
	GasAccountFunction_RECHARGE_GAS GasAccountFunction = 2
	// get balance
	GasAccountFunction_GET_BALANCE GasAccountFunction = 3
	// charge gas
	GasAccountFunction_CHARGE_GAS GasAccountFunction = 4
	// frozen account
	GasAccountFunction_FROZEN_ACCOUNT GasAccountFunction = 5
	// unfrozen account
	GasAccountFunction_UNFROZEN_ACCOUNT GasAccountFunction = 6
	// account status
	GasAccountFunction_ACCOUNT_STATUS GasAccountFunction = 7
	// refund gas
	GasAccountFunction_REFUND_GAS GasAccountFunction = 8
	// refund gas for vm
	GasAccountFunction_REFUND_GAS_VM GasAccountFunction = 9
	// charge gas for multi accounts
	GasAccountFunction_CHARGE_GAS_FOR_MULTI_ACCOUNT GasAccountFunction = 10
)

func (GasAccountFunction) EnumDescriptor

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

func (GasAccountFunction) String

func (x GasAccountFunction) String() string

type GetAccountContractTxHistory added in v3.0.1

type GetAccountContractTxHistory struct {
}

tx history query parameter

func (*GetAccountContractTxHistory) Descriptor added in v3.0.1

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

func (*GetAccountContractTxHistory) Marshal added in v3.0.1

func (m *GetAccountContractTxHistory) Marshal() (dAtA []byte, err error)

func (*GetAccountContractTxHistory) MarshalTo added in v3.0.1

func (m *GetAccountContractTxHistory) MarshalTo(dAtA []byte) (int, error)

func (*GetAccountContractTxHistory) MarshalToSizedBuffer added in v3.0.1

func (m *GetAccountContractTxHistory) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetAccountContractTxHistory) ProtoMessage added in v3.0.1

func (*GetAccountContractTxHistory) ProtoMessage()

func (*GetAccountContractTxHistory) Reset added in v3.0.1

func (m *GetAccountContractTxHistory) Reset()

func (*GetAccountContractTxHistory) Size added in v3.0.1

func (m *GetAccountContractTxHistory) Size() (n int)

func (*GetAccountContractTxHistory) String added in v3.0.1

func (m *GetAccountContractTxHistory) String() string

func (*GetAccountContractTxHistory) Unmarshal added in v3.0.1

func (m *GetAccountContractTxHistory) Unmarshal(dAtA []byte) error

func (*GetAccountContractTxHistory) XXX_DiscardUnknown added in v3.0.1

func (m *GetAccountContractTxHistory) XXX_DiscardUnknown()

func (*GetAccountContractTxHistory) XXX_Marshal added in v3.0.1

func (m *GetAccountContractTxHistory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetAccountContractTxHistory) XXX_Merge added in v3.0.1

func (m *GetAccountContractTxHistory) XXX_Merge(src proto.Message)

func (*GetAccountContractTxHistory) XXX_Size added in v3.0.1

func (m *GetAccountContractTxHistory) XXX_Size() int

func (*GetAccountContractTxHistory) XXX_Unmarshal added in v3.0.1

func (m *GetAccountContractTxHistory) XXX_Unmarshal(b []byte) error

type GetAccountContractTxHistory_Parameter added in v3.0.1

type GetAccountContractTxHistory_Parameter int32
const (
	//account string
	GetAccountContractTxHistory_ACCOUNT GetAccountContractTxHistory_Parameter = 0
	//contract name
	GetAccountContractTxHistory_CONTRACT_NAME GetAccountContractTxHistory_Parameter = 1
)

func (GetAccountContractTxHistory_Parameter) EnumDescriptor added in v3.0.1

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

func (GetAccountContractTxHistory_Parameter) String added in v3.0.1

type GetContractInfo

type GetContractInfo struct {
}

query contract parameters

func (*GetContractInfo) Descriptor

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

func (*GetContractInfo) Marshal

func (m *GetContractInfo) Marshal() (dAtA []byte, err error)

func (*GetContractInfo) MarshalTo

func (m *GetContractInfo) MarshalTo(dAtA []byte) (int, error)

func (*GetContractInfo) MarshalToSizedBuffer

func (m *GetContractInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetContractInfo) ProtoMessage

func (*GetContractInfo) ProtoMessage()

func (*GetContractInfo) Reset

func (m *GetContractInfo) Reset()

func (*GetContractInfo) Size

func (m *GetContractInfo) Size() (n int)

func (*GetContractInfo) String

func (m *GetContractInfo) String() string

func (*GetContractInfo) Unmarshal

func (m *GetContractInfo) Unmarshal(dAtA []byte) error

func (*GetContractInfo) XXX_DiscardUnknown

func (m *GetContractInfo) XXX_DiscardUnknown()

func (*GetContractInfo) XXX_Marshal

func (m *GetContractInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetContractInfo) XXX_Merge

func (m *GetContractInfo) XXX_Merge(src proto.Message)

func (*GetContractInfo) XXX_Size

func (m *GetContractInfo) XXX_Size() int

func (*GetContractInfo) XXX_Unmarshal

func (m *GetContractInfo) XXX_Unmarshal(b []byte) error

type GetContractInfo_Parameter

type GetContractInfo_Parameter int32
const (
	GetContractInfo_CONTRACT_NAME GetContractInfo_Parameter = 0
)

func (GetContractInfo_Parameter) EnumDescriptor

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

func (GetContractInfo_Parameter) String

func (x GetContractInfo_Parameter) String() string

type GetCrossChainInfo

type GetCrossChainInfo struct {
}

func (*GetCrossChainInfo) Descriptor

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

func (*GetCrossChainInfo) Marshal

func (m *GetCrossChainInfo) Marshal() (dAtA []byte, err error)

func (*GetCrossChainInfo) MarshalTo

func (m *GetCrossChainInfo) MarshalTo(dAtA []byte) (int, error)

func (*GetCrossChainInfo) MarshalToSizedBuffer

func (m *GetCrossChainInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetCrossChainInfo) ProtoMessage

func (*GetCrossChainInfo) ProtoMessage()

func (*GetCrossChainInfo) Reset

func (m *GetCrossChainInfo) Reset()

func (*GetCrossChainInfo) Size

func (m *GetCrossChainInfo) Size() (n int)

func (*GetCrossChainInfo) String

func (m *GetCrossChainInfo) String() string

func (*GetCrossChainInfo) Unmarshal

func (m *GetCrossChainInfo) Unmarshal(dAtA []byte) error

func (*GetCrossChainInfo) XXX_DiscardUnknown

func (m *GetCrossChainInfo) XXX_DiscardUnknown()

func (*GetCrossChainInfo) XXX_Marshal

func (m *GetCrossChainInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetCrossChainInfo) XXX_Merge

func (m *GetCrossChainInfo) XXX_Merge(src proto.Message)

func (*GetCrossChainInfo) XXX_Size

func (m *GetCrossChainInfo) XXX_Size() int

func (*GetCrossChainInfo) XXX_Unmarshal

func (m *GetCrossChainInfo) XXX_Unmarshal(b []byte) error

type GetCrossChainInfoByRange

type GetCrossChainInfoByRange struct {
}

func (*GetCrossChainInfoByRange) Descriptor

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

func (*GetCrossChainInfoByRange) Marshal

func (m *GetCrossChainInfoByRange) Marshal() (dAtA []byte, err error)

func (*GetCrossChainInfoByRange) MarshalTo

func (m *GetCrossChainInfoByRange) MarshalTo(dAtA []byte) (int, error)

func (*GetCrossChainInfoByRange) MarshalToSizedBuffer

func (m *GetCrossChainInfoByRange) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetCrossChainInfoByRange) ProtoMessage

func (*GetCrossChainInfoByRange) ProtoMessage()

func (*GetCrossChainInfoByRange) Reset

func (m *GetCrossChainInfoByRange) Reset()

func (*GetCrossChainInfoByRange) Size

func (m *GetCrossChainInfoByRange) Size() (n int)

func (*GetCrossChainInfoByRange) String

func (m *GetCrossChainInfoByRange) String() string

func (*GetCrossChainInfoByRange) Unmarshal

func (m *GetCrossChainInfoByRange) Unmarshal(dAtA []byte) error

func (*GetCrossChainInfoByRange) XXX_DiscardUnknown

func (m *GetCrossChainInfoByRange) XXX_DiscardUnknown()

func (*GetCrossChainInfoByRange) XXX_Marshal

func (m *GetCrossChainInfoByRange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetCrossChainInfoByRange) XXX_Merge

func (m *GetCrossChainInfoByRange) XXX_Merge(src proto.Message)

func (*GetCrossChainInfoByRange) XXX_Size

func (m *GetCrossChainInfoByRange) XXX_Size() int

func (*GetCrossChainInfoByRange) XXX_Unmarshal

func (m *GetCrossChainInfoByRange) XXX_Unmarshal(b []byte) error

type GetCrossChainInfoByRange_Parameter

type GetCrossChainInfoByRange_Parameter int32
const (
	// start cross chain id
	GetCrossChainInfoByRange_START_CROSS_CHAIN_ID GetCrossChainInfoByRange_Parameter = 0
	// stop cross chain id
	GetCrossChainInfoByRange_STOP_CROSS_CHAIN_ID GetCrossChainInfoByRange_Parameter = 1
)

func (GetCrossChainInfoByRange_Parameter) EnumDescriptor

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

func (GetCrossChainInfoByRange_Parameter) String

type GetCrossChainInfo_Parameter

type GetCrossChainInfo_Parameter int32
const (
	// cross chain id
	GetCrossChainInfo_CROSS_CHAIN_ID GetCrossChainInfo_Parameter = 0
)

func (GetCrossChainInfo_Parameter) EnumDescriptor

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

func (GetCrossChainInfo_Parameter) String

type GetGateway

type GetGateway struct {
}

func (*GetGateway) Descriptor

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

func (*GetGateway) Marshal

func (m *GetGateway) Marshal() (dAtA []byte, err error)

func (*GetGateway) MarshalTo

func (m *GetGateway) MarshalTo(dAtA []byte) (int, error)

func (*GetGateway) MarshalToSizedBuffer

func (m *GetGateway) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetGateway) ProtoMessage

func (*GetGateway) ProtoMessage()

func (*GetGateway) Reset

func (m *GetGateway) Reset()

func (*GetGateway) Size

func (m *GetGateway) Size() (n int)

func (*GetGateway) String

func (m *GetGateway) String() string

func (*GetGateway) Unmarshal

func (m *GetGateway) Unmarshal(dAtA []byte) error

func (*GetGateway) XXX_DiscardUnknown

func (m *GetGateway) XXX_DiscardUnknown()

func (*GetGateway) XXX_Marshal

func (m *GetGateway) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetGateway) XXX_Merge

func (m *GetGateway) XXX_Merge(src proto.Message)

func (*GetGateway) XXX_Size

func (m *GetGateway) XXX_Size() int

func (*GetGateway) XXX_Unmarshal

func (m *GetGateway) XXX_Unmarshal(b []byte) error

type GetGatewayByRange

type GetGatewayByRange struct {
}

func (*GetGatewayByRange) Descriptor

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

func (*GetGatewayByRange) Marshal

func (m *GetGatewayByRange) Marshal() (dAtA []byte, err error)

func (*GetGatewayByRange) MarshalTo

func (m *GetGatewayByRange) MarshalTo(dAtA []byte) (int, error)

func (*GetGatewayByRange) MarshalToSizedBuffer

func (m *GetGatewayByRange) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetGatewayByRange) ProtoMessage

func (*GetGatewayByRange) ProtoMessage()

func (*GetGatewayByRange) Reset

func (m *GetGatewayByRange) Reset()

func (*GetGatewayByRange) Size

func (m *GetGatewayByRange) Size() (n int)

func (*GetGatewayByRange) String

func (m *GetGatewayByRange) String() string

func (*GetGatewayByRange) Unmarshal

func (m *GetGatewayByRange) Unmarshal(dAtA []byte) error

func (*GetGatewayByRange) XXX_DiscardUnknown

func (m *GetGatewayByRange) XXX_DiscardUnknown()

func (*GetGatewayByRange) XXX_Marshal

func (m *GetGatewayByRange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetGatewayByRange) XXX_Merge

func (m *GetGatewayByRange) XXX_Merge(src proto.Message)

func (*GetGatewayByRange) XXX_Size

func (m *GetGatewayByRange) XXX_Size() int

func (*GetGatewayByRange) XXX_Unmarshal

func (m *GetGatewayByRange) XXX_Unmarshal(b []byte) error

type GetGatewayByRange_Parameter

type GetGatewayByRange_Parameter int32
const (
	// start gateway id
	GetGatewayByRange_START_GATEWAY_ID GetGatewayByRange_Parameter = 0
	// stop gateway id
	GetGatewayByRange_STOP_GATEWAY_ID GetGatewayByRange_Parameter = 1
)

func (GetGatewayByRange_Parameter) EnumDescriptor

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

func (GetGatewayByRange_Parameter) String

type GetGateway_Parameter

type GetGateway_Parameter int32
const (
	// gateway id
	GetGateway_GATEWAY_ID GetGateway_Parameter = 0
)

func (GetGateway_Parameter) EnumDescriptor

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

func (GetGateway_Parameter) String

func (x GetGateway_Parameter) String() string

type GetHotColdDataSeparateJob

type GetHotColdDataSeparateJob struct {
}

get hot cold data separate job payload parameters

func (*GetHotColdDataSeparateJob) Descriptor

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

func (*GetHotColdDataSeparateJob) Marshal

func (m *GetHotColdDataSeparateJob) Marshal() (dAtA []byte, err error)

func (*GetHotColdDataSeparateJob) MarshalTo

func (m *GetHotColdDataSeparateJob) MarshalTo(dAtA []byte) (int, error)

func (*GetHotColdDataSeparateJob) MarshalToSizedBuffer

func (m *GetHotColdDataSeparateJob) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GetHotColdDataSeparateJob) ProtoMessage

func (*GetHotColdDataSeparateJob) ProtoMessage()

func (*GetHotColdDataSeparateJob) Reset

func (m *GetHotColdDataSeparateJob) Reset()

func (*GetHotColdDataSeparateJob) Size

func (m *GetHotColdDataSeparateJob) Size() (n int)

func (*GetHotColdDataSeparateJob) String

func (m *GetHotColdDataSeparateJob) String() string

func (*GetHotColdDataSeparateJob) Unmarshal

func (m *GetHotColdDataSeparateJob) Unmarshal(dAtA []byte) error

func (*GetHotColdDataSeparateJob) XXX_DiscardUnknown

func (m *GetHotColdDataSeparateJob) XXX_DiscardUnknown()

func (*GetHotColdDataSeparateJob) XXX_Marshal

func (m *GetHotColdDataSeparateJob) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetHotColdDataSeparateJob) XXX_Merge

func (m *GetHotColdDataSeparateJob) XXX_Merge(src proto.Message)

func (*GetHotColdDataSeparateJob) XXX_Size

func (m *GetHotColdDataSeparateJob) XXX_Size() int

func (*GetHotColdDataSeparateJob) XXX_Unmarshal

func (m *GetHotColdDataSeparateJob) XXX_Unmarshal(b []byte) error

type GetHotColdDataSeparateJob_Parameter

type GetHotColdDataSeparateJob_Parameter int32
const (
	GetHotColdDataSeparateJob_JOB_ID GetHotColdDataSeparateJob_Parameter = 0
)

func (GetHotColdDataSeparateJob_Parameter) EnumDescriptor

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

func (GetHotColdDataSeparateJob_Parameter) String

type HotColdDataSeparateFunction

type HotColdDataSeparateFunction int32

methods of snapshot management

const (
	// do a hot cold data separate job
	HotColdDataSeparateFunction_DoHotColdDataSeparation HotColdDataSeparateFunction = 0
	// get status of job
	HotColdDataSeparateFunction_GetHotColdDataSeparationJobByID HotColdDataSeparateFunction = 1
	// get max height of hot-cold-data-separate
	HotColdDataSeparateFunction_GetHotColdDataSeparationMaxHeight HotColdDataSeparateFunction = 2
)

func (HotColdDataSeparateFunction) EnumDescriptor

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

func (HotColdDataSeparateFunction) String

type InitContract

type InitContract struct {
}

init contract parameters

func (*InitContract) Descriptor

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

func (*InitContract) Marshal

func (m *InitContract) Marshal() (dAtA []byte, err error)

func (*InitContract) MarshalTo

func (m *InitContract) MarshalTo(dAtA []byte) (int, error)

func (*InitContract) MarshalToSizedBuffer

func (m *InitContract) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*InitContract) ProtoMessage

func (*InitContract) ProtoMessage()

func (*InitContract) Reset

func (m *InitContract) Reset()

func (*InitContract) Size

func (m *InitContract) Size() (n int)

func (*InitContract) String

func (m *InitContract) String() string

func (*InitContract) Unmarshal

func (m *InitContract) Unmarshal(dAtA []byte) error

func (*InitContract) XXX_DiscardUnknown

func (m *InitContract) XXX_DiscardUnknown()

func (*InitContract) XXX_Marshal

func (m *InitContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InitContract) XXX_Merge

func (m *InitContract) XXX_Merge(src proto.Message)

func (*InitContract) XXX_Size

func (m *InitContract) XXX_Size() int

func (*InitContract) XXX_Unmarshal

func (m *InitContract) XXX_Unmarshal(b []byte) error

type InitContract_Parameter

type InitContract_Parameter int32
const (
	InitContract_CONTRACT_NAME         InitContract_Parameter = 0
	InitContract_CONTRACT_RUNTIME_TYPE InitContract_Parameter = 1
	InitContract_CONTRACT_VERSION      InitContract_Parameter = 2
	InitContract_CONTRACT_BYTECODE     InitContract_Parameter = 3
)

func (InitContract_Parameter) EnumDescriptor

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

func (InitContract_Parameter) String

func (x InitContract_Parameter) String() string

type MultiQuery

type MultiQuery struct {
}

revoke contract parameters

func (*MultiQuery) Descriptor

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

func (*MultiQuery) Marshal

func (m *MultiQuery) Marshal() (dAtA []byte, err error)

func (*MultiQuery) MarshalTo

func (m *MultiQuery) MarshalTo(dAtA []byte) (int, error)

func (*MultiQuery) MarshalToSizedBuffer

func (m *MultiQuery) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MultiQuery) ProtoMessage

func (*MultiQuery) ProtoMessage()

func (*MultiQuery) Reset

func (m *MultiQuery) Reset()

func (*MultiQuery) Size

func (m *MultiQuery) Size() (n int)

func (*MultiQuery) String

func (m *MultiQuery) String() string

func (*MultiQuery) Unmarshal

func (m *MultiQuery) Unmarshal(dAtA []byte) error

func (*MultiQuery) XXX_DiscardUnknown

func (m *MultiQuery) XXX_DiscardUnknown()

func (*MultiQuery) XXX_Marshal

func (m *MultiQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MultiQuery) XXX_Merge

func (m *MultiQuery) XXX_Merge(src proto.Message)

func (*MultiQuery) XXX_Size

func (m *MultiQuery) XXX_Size() int

func (*MultiQuery) XXX_Unmarshal

func (m *MultiQuery) XXX_Unmarshal(b []byte) error

type MultiQuery_Parameter

type MultiQuery_Parameter int32
const (
	MultiQuery_TX_ID MultiQuery_Parameter = 0
)

func (MultiQuery_Parameter) EnumDescriptor

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

func (MultiQuery_Parameter) String

func (x MultiQuery_Parameter) String() string

type MultiReq

type MultiReq struct {
}

revoke contract parameters

func (*MultiReq) Descriptor

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

func (*MultiReq) Marshal

func (m *MultiReq) Marshal() (dAtA []byte, err error)

func (*MultiReq) MarshalTo

func (m *MultiReq) MarshalTo(dAtA []byte) (int, error)

func (*MultiReq) MarshalToSizedBuffer

func (m *MultiReq) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MultiReq) ProtoMessage

func (*MultiReq) ProtoMessage()

func (*MultiReq) Reset

func (m *MultiReq) Reset()

func (*MultiReq) Size

func (m *MultiReq) Size() (n int)

func (*MultiReq) String

func (m *MultiReq) String() string

func (*MultiReq) Unmarshal

func (m *MultiReq) Unmarshal(dAtA []byte) error

func (*MultiReq) XXX_DiscardUnknown

func (m *MultiReq) XXX_DiscardUnknown()

func (*MultiReq) XXX_Marshal

func (m *MultiReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MultiReq) XXX_Merge

func (m *MultiReq) XXX_Merge(src proto.Message)

func (*MultiReq) XXX_Size

func (m *MultiReq) XXX_Size() int

func (*MultiReq) XXX_Unmarshal

func (m *MultiReq) XXX_Unmarshal(b []byte) error

type MultiReq_Parameter

type MultiReq_Parameter int32
const (
	MultiReq_SYS_CONTRACT_NAME MultiReq_Parameter = 0
	MultiReq_SYS_METHOD        MultiReq_Parameter = 1
)

func (MultiReq_Parameter) EnumDescriptor

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

func (MultiReq_Parameter) String

func (x MultiReq_Parameter) String() string

type MultiSignFunction

type MultiSignFunction int32

methods of managing multi signature

const (
	// multi signature request
	MultiSignFunction_REQ MultiSignFunction = 0
	// multi signature voting
	MultiSignFunction_VOTE MultiSignFunction = 1
	// multi signature query
	MultiSignFunction_QUERY MultiSignFunction = 2
	// multi signature execute
	MultiSignFunction_TRIG MultiSignFunction = 3
)

func (MultiSignFunction) EnumDescriptor

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

func (MultiSignFunction) String

func (x MultiSignFunction) String() string

type MultiSignInfo

type MultiSignInfo struct {
	// current tx payload
	Payload *common.Payload `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
	// call system contract name
	ContractName string `protobuf:"bytes,2,opt,name=contract_name,json=contractName,proto3" json:"contract_name,omitempty"`
	// call system contract method
	Method string `protobuf:"bytes,3,opt,name=method,proto3" json:"method,omitempty"`
	// call system contract parameters
	//repeated common.KeyValuePair parameters = 4;
	// status
	Status MultiSignStatus `protobuf:"varint,4,opt,name=status,proto3,enum=syscontract.MultiSignStatus" json:"status,omitempty"`
	// vote list
	VoteInfos []*MultiSignVoteInfo `protobuf:"bytes,5,rep,name=vote_infos,json=voteInfos,proto3" json:"vote_infos,omitempty"`
	//call system contract message
	Message string `protobuf:"bytes,6,opt,name=message,proto3" json:"message,omitempty"`
	//call system contract result
	Result []byte `protobuf:"bytes,7,opt,name=result,proto3" json:"result,omitempty"`
}

func (*MultiSignInfo) Descriptor

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

func (*MultiSignInfo) GetContractName

func (m *MultiSignInfo) GetContractName() string

func (*MultiSignInfo) GetMessage

func (m *MultiSignInfo) GetMessage() string

func (*MultiSignInfo) GetMethod

func (m *MultiSignInfo) GetMethod() string

func (*MultiSignInfo) GetPayload

func (m *MultiSignInfo) GetPayload() *common.Payload

func (*MultiSignInfo) GetResult

func (m *MultiSignInfo) GetResult() []byte

func (*MultiSignInfo) GetStatus

func (m *MultiSignInfo) GetStatus() MultiSignStatus

func (*MultiSignInfo) GetVoteInfos

func (m *MultiSignInfo) GetVoteInfos() []*MultiSignVoteInfo

func (*MultiSignInfo) Marshal

func (m *MultiSignInfo) Marshal() (dAtA []byte, err error)

func (*MultiSignInfo) MarshalTo

func (m *MultiSignInfo) MarshalTo(dAtA []byte) (int, error)

func (*MultiSignInfo) MarshalToSizedBuffer

func (m *MultiSignInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MultiSignInfo) ProtoMessage

func (*MultiSignInfo) ProtoMessage()

func (*MultiSignInfo) Reset

func (m *MultiSignInfo) Reset()

func (*MultiSignInfo) Size

func (m *MultiSignInfo) Size() (n int)

func (*MultiSignInfo) String

func (m *MultiSignInfo) String() string

func (*MultiSignInfo) Unmarshal

func (m *MultiSignInfo) Unmarshal(dAtA []byte) error

func (*MultiSignInfo) XXX_DiscardUnknown

func (m *MultiSignInfo) XXX_DiscardUnknown()

func (*MultiSignInfo) XXX_Marshal

func (m *MultiSignInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MultiSignInfo) XXX_Merge

func (m *MultiSignInfo) XXX_Merge(src proto.Message)

func (*MultiSignInfo) XXX_Size

func (m *MultiSignInfo) XXX_Size() int

func (*MultiSignInfo) XXX_Unmarshal

func (m *MultiSignInfo) XXX_Unmarshal(b []byte) error

type MultiSignStatus

type MultiSignStatus int32

smart contract runtime, contains vm type and language type

const (
	MultiSignStatus_PROCESSING MultiSignStatus = 0
	MultiSignStatus_ADOPTED    MultiSignStatus = 1
	MultiSignStatus_REFUSED    MultiSignStatus = 2
	MultiSignStatus_FAILED     MultiSignStatus = 3
	MultiSignStatus_PASSED     MultiSignStatus = 4
)

func (MultiSignStatus) EnumDescriptor

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

func (MultiSignStatus) String

func (x MultiSignStatus) String() string

type MultiSignVoteInfo

type MultiSignVoteInfo struct {
	Vote        VoteStatus               `protobuf:"varint,1,opt,name=vote,proto3,enum=syscontract.VoteStatus" json:"vote,omitempty"`
	Endorsement *common.EndorsementEntry `protobuf:"bytes,2,opt,name=endorsement,proto3" json:"endorsement,omitempty"`
}

func (*MultiSignVoteInfo) Descriptor

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

func (*MultiSignVoteInfo) GetEndorsement

func (m *MultiSignVoteInfo) GetEndorsement() *common.EndorsementEntry

func (*MultiSignVoteInfo) GetVote

func (m *MultiSignVoteInfo) GetVote() VoteStatus

func (*MultiSignVoteInfo) Marshal

func (m *MultiSignVoteInfo) Marshal() (dAtA []byte, err error)

func (*MultiSignVoteInfo) MarshalTo

func (m *MultiSignVoteInfo) MarshalTo(dAtA []byte) (int, error)

func (*MultiSignVoteInfo) MarshalToSizedBuffer

func (m *MultiSignVoteInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MultiSignVoteInfo) ProtoMessage

func (*MultiSignVoteInfo) ProtoMessage()

func (*MultiSignVoteInfo) Reset

func (m *MultiSignVoteInfo) Reset()

func (*MultiSignVoteInfo) Size

func (m *MultiSignVoteInfo) Size() (n int)

func (*MultiSignVoteInfo) String

func (m *MultiSignVoteInfo) String() string

func (*MultiSignVoteInfo) Unmarshal

func (m *MultiSignVoteInfo) Unmarshal(dAtA []byte) error

func (*MultiSignVoteInfo) XXX_DiscardUnknown

func (m *MultiSignVoteInfo) XXX_DiscardUnknown()

func (*MultiSignVoteInfo) XXX_Marshal

func (m *MultiSignVoteInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MultiSignVoteInfo) XXX_Merge

func (m *MultiSignVoteInfo) XXX_Merge(src proto.Message)

func (*MultiSignVoteInfo) XXX_Size

func (m *MultiSignVoteInfo) XXX_Size() int

func (*MultiSignVoteInfo) XXX_Unmarshal

func (m *MultiSignVoteInfo) XXX_Unmarshal(b []byte) error

type MultiVote

type MultiVote struct {
}

revoke contract parameters

func (*MultiVote) Descriptor

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

func (*MultiVote) Marshal

func (m *MultiVote) Marshal() (dAtA []byte, err error)

func (*MultiVote) MarshalTo

func (m *MultiVote) MarshalTo(dAtA []byte) (int, error)

func (*MultiVote) MarshalToSizedBuffer

func (m *MultiVote) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MultiVote) ProtoMessage

func (*MultiVote) ProtoMessage()

func (*MultiVote) Reset

func (m *MultiVote) Reset()

func (*MultiVote) Size

func (m *MultiVote) Size() (n int)

func (*MultiVote) String

func (m *MultiVote) String() string

func (*MultiVote) Unmarshal

func (m *MultiVote) Unmarshal(dAtA []byte) error

func (*MultiVote) XXX_DiscardUnknown

func (m *MultiVote) XXX_DiscardUnknown()

func (*MultiVote) XXX_Marshal

func (m *MultiVote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MultiVote) XXX_Merge

func (m *MultiVote) XXX_Merge(src proto.Message)

func (*MultiVote) XXX_Size

func (m *MultiVote) XXX_Size() int

func (*MultiVote) XXX_Unmarshal

func (m *MultiVote) XXX_Unmarshal(b []byte) error

type MultiVote_Parameter

type MultiVote_Parameter int32
const (
	MultiVote_VOTE_INFO MultiVote_Parameter = 0
	MultiVote_TX_ID     MultiVote_Parameter = 1
)

func (MultiVote_Parameter) EnumDescriptor

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

func (MultiVote_Parameter) String

func (x MultiVote_Parameter) String() string

type ParameterKey

type ParameterKey int32

parameter of query

const (
	// 指定返回的类型是json 或者 pb
	ParameterKey_CONTENT_TYPE ParameterKey = 0
	//如果启用分页,传入的页大小
	ParameterKey_PAGE_SIZE ParameterKey = 1
	//如果启用分页,传入的页号
	ParameterKey_PAGE_INDEX ParameterKey = 2
)

func (ParameterKey) EnumDescriptor

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

func (ParameterKey) String

func (x ParameterKey) String() string

type PrivateComputeFunction

type PrivateComputeFunction int32

methods of private compute contract

const (
	// get contract code
	PrivateComputeFunction_GET_CONTRACT PrivateComputeFunction = 0
	// get private data
	PrivateComputeFunction_GET_DATA PrivateComputeFunction = 1
	// save cert of tee
	PrivateComputeFunction_SAVE_CA_CERT PrivateComputeFunction = 2
	// save private data dir
	PrivateComputeFunction_SAVE_DIR PrivateComputeFunction = 3
	// save data of private computation result
	PrivateComputeFunction_SAVE_DATA PrivateComputeFunction = 4
	//save enclave report
	PrivateComputeFunction_SAVE_ENCLAVE_REPORT PrivateComputeFunction = 5
	//get enclave proof
	PrivateComputeFunction_GET_ENCLAVE_PROOF PrivateComputeFunction = 6
	//get cert of tee
	PrivateComputeFunction_GET_CA_CERT PrivateComputeFunction = 7
	//get private data dir
	PrivateComputeFunction_GET_DIR PrivateComputeFunction = 8
	//check caller cert auth
	PrivateComputeFunction_CHECK_CALLER_CERT_AUTH           PrivateComputeFunction = 9
	PrivateComputeFunction_GET_ENCLAVE_ENCRYPT_PUB_KEY      PrivateComputeFunction = 10
	PrivateComputeFunction_GET_ENCLAVE_VERIFICATION_PUB_KEY PrivateComputeFunction = 11
	PrivateComputeFunction_GET_ENCLAVE_REPORT               PrivateComputeFunction = 12
	PrivateComputeFunction_GET_ENCLAVE_CHALLENGE            PrivateComputeFunction = 13
	PrivateComputeFunction_GET_ENCLAVE_SIGNATURE            PrivateComputeFunction = 14
	PrivateComputeFunction_SAVE_REMOTE_ATTESTATION          PrivateComputeFunction = 15
)

func (PrivateComputeFunction) EnumDescriptor

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

func (PrivateComputeFunction) String

func (x PrivateComputeFunction) String() string

type PrivateComputePayload

type PrivateComputePayload struct {
	PrivateRlpData string   `protobuf:"bytes,1,opt,name=private_rlp_data,json=privateRlpData,proto3" json:"private_rlp_data,omitempty"`
	Passwd         string   `protobuf:"bytes,2,opt,name=passwd,proto3" json:"passwd,omitempty"`
	SigAlgo        string   `protobuf:"bytes,3,opt,name=sig_algo,json=sigAlgo,proto3" json:"sig_algo,omitempty"`
	ContractName   string   `protobuf:"bytes,4,opt,name=contract_name,json=contractName,proto3" json:"contract_name,omitempty"`
	CodeHash       string   `protobuf:"bytes,5,opt,name=code_hash,json=codeHash,proto3" json:"code_hash,omitempty"`
	OrgId          []string `protobuf:"bytes,6,rep,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
	TimeStamp      string   `protobuf:"bytes,7,opt,name=time_stamp,json=timeStamp,proto3" json:"time_stamp,omitempty"`
}

func (*PrivateComputePayload) Descriptor

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

func (*PrivateComputePayload) GetCodeHash

func (m *PrivateComputePayload) GetCodeHash() string

func (*PrivateComputePayload) GetContractName

func (m *PrivateComputePayload) GetContractName() string

func (*PrivateComputePayload) GetOrgId

func (m *PrivateComputePayload) GetOrgId() []string

func (*PrivateComputePayload) GetPasswd

func (m *PrivateComputePayload) GetPasswd() string

func (*PrivateComputePayload) GetPrivateRlpData

func (m *PrivateComputePayload) GetPrivateRlpData() string

func (*PrivateComputePayload) GetSigAlgo

func (m *PrivateComputePayload) GetSigAlgo() string

func (*PrivateComputePayload) GetTimeStamp

func (m *PrivateComputePayload) GetTimeStamp() string

func (*PrivateComputePayload) Marshal

func (m *PrivateComputePayload) Marshal() (dAtA []byte, err error)

func (*PrivateComputePayload) MarshalTo

func (m *PrivateComputePayload) MarshalTo(dAtA []byte) (int, error)

func (*PrivateComputePayload) MarshalToSizedBuffer

func (m *PrivateComputePayload) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PrivateComputePayload) ProtoMessage

func (*PrivateComputePayload) ProtoMessage()

func (*PrivateComputePayload) Reset

func (m *PrivateComputePayload) Reset()

func (*PrivateComputePayload) Size

func (m *PrivateComputePayload) Size() (n int)

func (*PrivateComputePayload) String

func (m *PrivateComputePayload) String() string

func (*PrivateComputePayload) Unmarshal

func (m *PrivateComputePayload) Unmarshal(dAtA []byte) error

func (*PrivateComputePayload) XXX_DiscardUnknown

func (m *PrivateComputePayload) XXX_DiscardUnknown()

func (*PrivateComputePayload) XXX_Marshal

func (m *PrivateComputePayload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PrivateComputePayload) XXX_Merge

func (m *PrivateComputePayload) XXX_Merge(src proto.Message)

func (*PrivateComputePayload) XXX_Size

func (m *PrivateComputePayload) XXX_Size() int

func (*PrivateComputePayload) XXX_Unmarshal

func (m *PrivateComputePayload) XXX_Unmarshal(b []byte) error

type PrivateComputeRequest

type PrivateComputeRequest struct {
	SignPair []*SignInfo            `protobuf:"bytes,1,rep,name=sign_pair,json=signPair,proto3" json:"sign_pair,omitempty"`
	Payload  *PrivateComputePayload `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
}

func (*PrivateComputeRequest) Descriptor

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

func (*PrivateComputeRequest) GetPayload

func (*PrivateComputeRequest) GetSignPair

func (m *PrivateComputeRequest) GetSignPair() []*SignInfo

func (*PrivateComputeRequest) Marshal

func (m *PrivateComputeRequest) Marshal() (dAtA []byte, err error)

func (*PrivateComputeRequest) MarshalTo

func (m *PrivateComputeRequest) MarshalTo(dAtA []byte) (int, error)

func (*PrivateComputeRequest) MarshalToSizedBuffer

func (m *PrivateComputeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PrivateComputeRequest) ProtoMessage

func (*PrivateComputeRequest) ProtoMessage()

func (*PrivateComputeRequest) Reset

func (m *PrivateComputeRequest) Reset()

func (*PrivateComputeRequest) Size

func (m *PrivateComputeRequest) Size() (n int)

func (*PrivateComputeRequest) String

func (m *PrivateComputeRequest) String() string

func (*PrivateComputeRequest) Unmarshal

func (m *PrivateComputeRequest) Unmarshal(dAtA []byte) error

func (*PrivateComputeRequest) XXX_DiscardUnknown

func (m *PrivateComputeRequest) XXX_DiscardUnknown()

func (*PrivateComputeRequest) XXX_Marshal

func (m *PrivateComputeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PrivateComputeRequest) XXX_Merge

func (m *PrivateComputeRequest) XXX_Merge(src proto.Message)

func (*PrivateComputeRequest) XXX_Size

func (m *PrivateComputeRequest) XXX_Size() int

func (*PrivateComputeRequest) XXX_Unmarshal

func (m *PrivateComputeRequest) XXX_Unmarshal(b []byte) error

type PrivateDeployPayload

type PrivateDeployPayload struct {
	CodeBytes string `protobuf:"bytes,1,opt,name=code_bytes,json=codeBytes,proto3" json:"code_bytes,omitempty"`
	// deploy args which is packed by abi
	PrivateRlpData  string   `protobuf:"bytes,2,opt,name=private_rlp_data,json=privateRlpData,proto3" json:"private_rlp_data,omitempty"`
	Passwd          string   `protobuf:"bytes,3,opt,name=passwd,proto3" json:"passwd,omitempty"`
	SigAlgo         string   `protobuf:"bytes,4,opt,name=sig_algo,json=sigAlgo,proto3" json:"sig_algo,omitempty"`
	ContractName    string   `protobuf:"bytes,5,opt,name=contract_name,json=contractName,proto3" json:"contract_name,omitempty"`
	ContractVersion string   `protobuf:"bytes,6,opt,name=contract_version,json=contractVersion,proto3" json:"contract_version,omitempty"`
	CodeHash        string   `protobuf:"bytes,7,opt,name=code_hash,json=codeHash,proto3" json:"code_hash,omitempty"`
	OrgId           []string `protobuf:"bytes,8,rep,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
	TimeStamp       string   `protobuf:"bytes,9,opt,name=time_stamp,json=timeStamp,proto3" json:"time_stamp,omitempty"`
}

func (*PrivateDeployPayload) Descriptor

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

func (*PrivateDeployPayload) GetCodeBytes

func (m *PrivateDeployPayload) GetCodeBytes() string

func (*PrivateDeployPayload) GetCodeHash

func (m *PrivateDeployPayload) GetCodeHash() string

func (*PrivateDeployPayload) GetContractName

func (m *PrivateDeployPayload) GetContractName() string

func (*PrivateDeployPayload) GetContractVersion

func (m *PrivateDeployPayload) GetContractVersion() string

func (*PrivateDeployPayload) GetOrgId

func (m *PrivateDeployPayload) GetOrgId() []string

func (*PrivateDeployPayload) GetPasswd

func (m *PrivateDeployPayload) GetPasswd() string

func (*PrivateDeployPayload) GetPrivateRlpData

func (m *PrivateDeployPayload) GetPrivateRlpData() string

func (*PrivateDeployPayload) GetSigAlgo

func (m *PrivateDeployPayload) GetSigAlgo() string

func (*PrivateDeployPayload) GetTimeStamp

func (m *PrivateDeployPayload) GetTimeStamp() string

func (*PrivateDeployPayload) Marshal

func (m *PrivateDeployPayload) Marshal() (dAtA []byte, err error)

func (*PrivateDeployPayload) MarshalTo

func (m *PrivateDeployPayload) MarshalTo(dAtA []byte) (int, error)

func (*PrivateDeployPayload) MarshalToSizedBuffer

func (m *PrivateDeployPayload) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PrivateDeployPayload) ProtoMessage

func (*PrivateDeployPayload) ProtoMessage()

func (*PrivateDeployPayload) Reset

func (m *PrivateDeployPayload) Reset()

func (*PrivateDeployPayload) Size

func (m *PrivateDeployPayload) Size() (n int)

func (*PrivateDeployPayload) String

func (m *PrivateDeployPayload) String() string

func (*PrivateDeployPayload) Unmarshal

func (m *PrivateDeployPayload) Unmarshal(dAtA []byte) error

func (*PrivateDeployPayload) XXX_DiscardUnknown

func (m *PrivateDeployPayload) XXX_DiscardUnknown()

func (*PrivateDeployPayload) XXX_Marshal

func (m *PrivateDeployPayload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PrivateDeployPayload) XXX_Merge

func (m *PrivateDeployPayload) XXX_Merge(src proto.Message)

func (*PrivateDeployPayload) XXX_Size

func (m *PrivateDeployPayload) XXX_Size() int

func (*PrivateDeployPayload) XXX_Unmarshal

func (m *PrivateDeployPayload) XXX_Unmarshal(b []byte) error

type PrivateDeployRequest

type PrivateDeployRequest struct {
	SignPair []*SignInfo           `protobuf:"bytes,1,rep,name=sign_pair,json=signPair,proto3" json:"sign_pair,omitempty"`
	Payload  *PrivateDeployPayload `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
}

func (*PrivateDeployRequest) Descriptor

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

func (*PrivateDeployRequest) GetPayload

func (m *PrivateDeployRequest) GetPayload() *PrivateDeployPayload

func (*PrivateDeployRequest) GetSignPair

func (m *PrivateDeployRequest) GetSignPair() []*SignInfo

func (*PrivateDeployRequest) Marshal

func (m *PrivateDeployRequest) Marshal() (dAtA []byte, err error)

func (*PrivateDeployRequest) MarshalTo

func (m *PrivateDeployRequest) MarshalTo(dAtA []byte) (int, error)

func (*PrivateDeployRequest) MarshalToSizedBuffer

func (m *PrivateDeployRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PrivateDeployRequest) ProtoMessage

func (*PrivateDeployRequest) ProtoMessage()

func (*PrivateDeployRequest) Reset

func (m *PrivateDeployRequest) Reset()

func (*PrivateDeployRequest) Size

func (m *PrivateDeployRequest) Size() (n int)

func (*PrivateDeployRequest) String

func (m *PrivateDeployRequest) String() string

func (*PrivateDeployRequest) Unmarshal

func (m *PrivateDeployRequest) Unmarshal(dAtA []byte) error

func (*PrivateDeployRequest) XXX_DiscardUnknown

func (m *PrivateDeployRequest) XXX_DiscardUnknown()

func (*PrivateDeployRequest) XXX_Marshal

func (m *PrivateDeployRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PrivateDeployRequest) XXX_Merge

func (m *PrivateDeployRequest) XXX_Merge(src proto.Message)

func (*PrivateDeployRequest) XXX_Size

func (m *PrivateDeployRequest) XXX_Size() int

func (*PrivateDeployRequest) XXX_Unmarshal

func (m *PrivateDeployRequest) XXX_Unmarshal(b []byte) error

type PubkeyManageFunction

type PubkeyManageFunction int32

methods of pubkey management

const (
	// add one pubkey
	PubkeyManageFunction_PUBKEY_ADD PubkeyManageFunction = 0
	// delete pubkeys
	PubkeyManageFunction_PUBKEY_DELETE PubkeyManageFunction = 1
	// query pubkeys
	PubkeyManageFunction_PUBKEY_QUERY PubkeyManageFunction = 2
)

func (PubkeyManageFunction) EnumDescriptor

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

func (PubkeyManageFunction) String

func (x PubkeyManageFunction) String() string

type RechargeGas

type RechargeGas struct {
	Address   string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	GasAmount int64  `protobuf:"varint,2,opt,name=gas_amount,json=gasAmount,proto3" json:"gas_amount,omitempty"`
}

func (*RechargeGas) Descriptor

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

func (*RechargeGas) GetAddress

func (m *RechargeGas) GetAddress() string

func (*RechargeGas) GetGasAmount

func (m *RechargeGas) GetGasAmount() int64

func (*RechargeGas) Marshal

func (m *RechargeGas) Marshal() (dAtA []byte, err error)

func (*RechargeGas) MarshalTo

func (m *RechargeGas) MarshalTo(dAtA []byte) (int, error)

func (*RechargeGas) MarshalToSizedBuffer

func (m *RechargeGas) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RechargeGas) ProtoMessage

func (*RechargeGas) ProtoMessage()

func (*RechargeGas) Reset

func (m *RechargeGas) Reset()

func (*RechargeGas) Size

func (m *RechargeGas) Size() (n int)

func (*RechargeGas) String

func (m *RechargeGas) String() string

func (*RechargeGas) Unmarshal

func (m *RechargeGas) Unmarshal(dAtA []byte) error

func (*RechargeGas) XXX_DiscardUnknown

func (m *RechargeGas) XXX_DiscardUnknown()

func (*RechargeGas) XXX_Marshal

func (m *RechargeGas) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RechargeGas) XXX_Merge

func (m *RechargeGas) XXX_Merge(src proto.Message)

func (*RechargeGas) XXX_Size

func (m *RechargeGas) XXX_Size() int

func (*RechargeGas) XXX_Unmarshal

func (m *RechargeGas) XXX_Unmarshal(b []byte) error

type RechargeGasReq

type RechargeGasReq struct {
	BatchRechargeGas []*RechargeGas `protobuf:"bytes,1,rep,name=batch_recharge_gas,json=batchRechargeGas,proto3" json:"batch_recharge_gas,omitempty"`
}

func (*RechargeGasReq) Descriptor

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

func (*RechargeGasReq) GetBatchRechargeGas

func (m *RechargeGasReq) GetBatchRechargeGas() []*RechargeGas

func (*RechargeGasReq) Marshal

func (m *RechargeGasReq) Marshal() (dAtA []byte, err error)

func (*RechargeGasReq) MarshalTo

func (m *RechargeGasReq) MarshalTo(dAtA []byte) (int, error)

func (*RechargeGasReq) MarshalToSizedBuffer

func (m *RechargeGasReq) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RechargeGasReq) ProtoMessage

func (*RechargeGasReq) ProtoMessage()

func (*RechargeGasReq) Reset

func (m *RechargeGasReq) Reset()

func (*RechargeGasReq) Size

func (m *RechargeGasReq) Size() (n int)

func (*RechargeGasReq) String

func (m *RechargeGasReq) String() string

func (*RechargeGasReq) Unmarshal

func (m *RechargeGasReq) Unmarshal(dAtA []byte) error

func (*RechargeGasReq) XXX_DiscardUnknown

func (m *RechargeGasReq) XXX_DiscardUnknown()

func (*RechargeGasReq) XXX_Marshal

func (m *RechargeGasReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RechargeGasReq) XXX_Merge

func (m *RechargeGasReq) XXX_Merge(src proto.Message)

func (*RechargeGasReq) XXX_Size

func (m *RechargeGasReq) XXX_Size() int

func (*RechargeGasReq) XXX_Unmarshal

func (m *RechargeGasReq) XXX_Unmarshal(b []byte) error

type RelayCrossFunction

type RelayCrossFunction int32
const (
	// save gateway
	RelayCrossFunction_SAVE_GATEWAY RelayCrossFunction = 0
	// update gateway
	RelayCrossFunction_UPDATE_GATEWAY RelayCrossFunction = 1
	// save cross chain info
	RelayCrossFunction_SAVE_CROSS_CHAIN_INFO RelayCrossFunction = 2
	// get error cross chain transaction list
	RelayCrossFunction_GET_ERROR_CROSS_CHAIN_TX_LIST RelayCrossFunction = 3
	// delete error cross chain transaction list
	RelayCrossFunction_DELETE_ERROR_CROSS_CHAIN_TX_LIST RelayCrossFunction = 4
	// update cross chain try
	RelayCrossFunction_UPDATE_CROSS_CHAIN_TRY RelayCrossFunction = 5
	// update cross chain result
	RelayCrossFunction_UPDATE_CROSS_CHAIN_RESULT RelayCrossFunction = 6
	// update cross chain confirm
	RelayCrossFunction_UPDATE_CROSS_CHAIN_CONFIRM RelayCrossFunction = 7
	// update source gateway confirm
	RelayCrossFunction_UPDATE_SRC_GATEWAY_CONFIRM RelayCrossFunction = 8
	// get gateway number
	RelayCrossFunction_GET_GATEWAY_NUM RelayCrossFunction = 9
	// get gateway
	RelayCrossFunction_GET_GATEWAY RelayCrossFunction = 10
	// get gateway by range
	RelayCrossFunction_GET_GATEWAY_BY_RANGE RelayCrossFunction = 11
	// get cross chain number
	RelayCrossFunction_GET_CROSS_CHAIN_NUM RelayCrossFunction = 12
	// get cross chain information
	RelayCrossFunction_GET_CROSS_CHAIN_INFO RelayCrossFunction = 13
	// get cross chain information by range
	RelayCrossFunction_GET_CROSS_CHAIN_INFO_BY_RANGE RelayCrossFunction = 14
	// get not end cross chian id list
	RelayCrossFunction_GET_NOT_END_CROSS_CHIAN_ID_LIST RelayCrossFunction = 15
)

func (RelayCrossFunction) EnumDescriptor

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

func (RelayCrossFunction) String

func (x RelayCrossFunction) String() string

type RemoteAttestationPayload

type RemoteAttestationPayload struct {
	Challenge string   `protobuf:"bytes,1,opt,name=challenge,proto3" json:"challenge,omitempty"`
	OrgId     []string `protobuf:"bytes,2,rep,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
}

func (*RemoteAttestationPayload) Descriptor

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

func (*RemoteAttestationPayload) GetChallenge

func (m *RemoteAttestationPayload) GetChallenge() string

func (*RemoteAttestationPayload) GetOrgId

func (m *RemoteAttestationPayload) GetOrgId() []string

func (*RemoteAttestationPayload) Marshal

func (m *RemoteAttestationPayload) Marshal() (dAtA []byte, err error)

func (*RemoteAttestationPayload) MarshalTo

func (m *RemoteAttestationPayload) MarshalTo(dAtA []byte) (int, error)

func (*RemoteAttestationPayload) MarshalToSizedBuffer

func (m *RemoteAttestationPayload) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RemoteAttestationPayload) ProtoMessage

func (*RemoteAttestationPayload) ProtoMessage()

func (*RemoteAttestationPayload) Reset

func (m *RemoteAttestationPayload) Reset()

func (*RemoteAttestationPayload) Size

func (m *RemoteAttestationPayload) Size() (n int)

func (*RemoteAttestationPayload) String

func (m *RemoteAttestationPayload) String() string

func (*RemoteAttestationPayload) Unmarshal

func (m *RemoteAttestationPayload) Unmarshal(dAtA []byte) error

func (*RemoteAttestationPayload) XXX_DiscardUnknown

func (m *RemoteAttestationPayload) XXX_DiscardUnknown()

func (*RemoteAttestationPayload) XXX_Marshal

func (m *RemoteAttestationPayload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RemoteAttestationPayload) XXX_Merge

func (m *RemoteAttestationPayload) XXX_Merge(src proto.Message)

func (*RemoteAttestationPayload) XXX_Size

func (m *RemoteAttestationPayload) XXX_Size() int

func (*RemoteAttestationPayload) XXX_Unmarshal

func (m *RemoteAttestationPayload) XXX_Unmarshal(b []byte) error

type RemoteAttestationRequest

type RemoteAttestationRequest struct {
	SignPair []*SignInfo               `protobuf:"bytes,1,rep,name=sign_pair,json=signPair,proto3" json:"sign_pair,omitempty"`
	Payload  *RemoteAttestationPayload `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
}

func (*RemoteAttestationRequest) Descriptor

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

func (*RemoteAttestationRequest) GetPayload

func (*RemoteAttestationRequest) GetSignPair

func (m *RemoteAttestationRequest) GetSignPair() []*SignInfo

func (*RemoteAttestationRequest) Marshal

func (m *RemoteAttestationRequest) Marshal() (dAtA []byte, err error)

func (*RemoteAttestationRequest) MarshalTo

func (m *RemoteAttestationRequest) MarshalTo(dAtA []byte) (int, error)

func (*RemoteAttestationRequest) MarshalToSizedBuffer

func (m *RemoteAttestationRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RemoteAttestationRequest) ProtoMessage

func (*RemoteAttestationRequest) ProtoMessage()

func (*RemoteAttestationRequest) Reset

func (m *RemoteAttestationRequest) Reset()

func (*RemoteAttestationRequest) Size

func (m *RemoteAttestationRequest) Size() (n int)

func (*RemoteAttestationRequest) String

func (m *RemoteAttestationRequest) String() string

func (*RemoteAttestationRequest) Unmarshal

func (m *RemoteAttestationRequest) Unmarshal(dAtA []byte) error

func (*RemoteAttestationRequest) XXX_DiscardUnknown

func (m *RemoteAttestationRequest) XXX_DiscardUnknown()

func (*RemoteAttestationRequest) XXX_Marshal

func (m *RemoteAttestationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RemoteAttestationRequest) XXX_Merge

func (m *RemoteAttestationRequest) XXX_Merge(src proto.Message)

func (*RemoteAttestationRequest) XXX_Size

func (m *RemoteAttestationRequest) XXX_Size() int

func (*RemoteAttestationRequest) XXX_Unmarshal

func (m *RemoteAttestationRequest) XXX_Unmarshal(b []byte) error

type RestoreBlock

type RestoreBlock struct {
}

restore block payload parameters

func (*RestoreBlock) Descriptor

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

func (*RestoreBlock) Marshal

func (m *RestoreBlock) Marshal() (dAtA []byte, err error)

func (*RestoreBlock) MarshalTo

func (m *RestoreBlock) MarshalTo(dAtA []byte) (int, error)

func (*RestoreBlock) MarshalToSizedBuffer

func (m *RestoreBlock) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RestoreBlock) ProtoMessage

func (*RestoreBlock) ProtoMessage()

func (*RestoreBlock) Reset

func (m *RestoreBlock) Reset()

func (*RestoreBlock) Size

func (m *RestoreBlock) Size() (n int)

func (*RestoreBlock) String

func (m *RestoreBlock) String() string

func (*RestoreBlock) Unmarshal

func (m *RestoreBlock) Unmarshal(dAtA []byte) error

func (*RestoreBlock) XXX_DiscardUnknown

func (m *RestoreBlock) XXX_DiscardUnknown()

func (*RestoreBlock) XXX_Marshal

func (m *RestoreBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RestoreBlock) XXX_Merge

func (m *RestoreBlock) XXX_Merge(src proto.Message)

func (*RestoreBlock) XXX_Size

func (m *RestoreBlock) XXX_Size() int

func (*RestoreBlock) XXX_Unmarshal

func (m *RestoreBlock) XXX_Unmarshal(b []byte) error

type RestoreBlock_Parameter

type RestoreBlock_Parameter int32
const (
	RestoreBlock_FULL_BLOCK RestoreBlock_Parameter = 0
)

func (RestoreBlock_Parameter) EnumDescriptor

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

func (RestoreBlock_Parameter) String

func (x RestoreBlock_Parameter) String() string

type RevokeContract

type RevokeContract struct {
}

revoke contract parameters

func (*RevokeContract) Descriptor

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

func (*RevokeContract) Marshal

func (m *RevokeContract) Marshal() (dAtA []byte, err error)

func (*RevokeContract) MarshalTo

func (m *RevokeContract) MarshalTo(dAtA []byte) (int, error)

func (*RevokeContract) MarshalToSizedBuffer

func (m *RevokeContract) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RevokeContract) ProtoMessage

func (*RevokeContract) ProtoMessage()

func (*RevokeContract) Reset

func (m *RevokeContract) Reset()

func (*RevokeContract) Size

func (m *RevokeContract) Size() (n int)

func (*RevokeContract) String

func (m *RevokeContract) String() string

func (*RevokeContract) Unmarshal

func (m *RevokeContract) Unmarshal(dAtA []byte) error

func (*RevokeContract) XXX_DiscardUnknown

func (m *RevokeContract) XXX_DiscardUnknown()

func (*RevokeContract) XXX_Marshal

func (m *RevokeContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RevokeContract) XXX_Merge

func (m *RevokeContract) XXX_Merge(src proto.Message)

func (*RevokeContract) XXX_Size

func (m *RevokeContract) XXX_Size() int

func (*RevokeContract) XXX_Unmarshal

func (m *RevokeContract) XXX_Unmarshal(b []byte) error

type RevokeContract_Parameter

type RevokeContract_Parameter int32
const (
	RevokeContract_CONTRACT_NAME RevokeContract_Parameter = 0
)

func (RevokeContract_Parameter) EnumDescriptor

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

func (RevokeContract_Parameter) String

func (x RevokeContract_Parameter) String() string

type SaveCrossChainInfo

type SaveCrossChainInfo struct {
}

func (*SaveCrossChainInfo) Descriptor

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

func (*SaveCrossChainInfo) Marshal

func (m *SaveCrossChainInfo) Marshal() (dAtA []byte, err error)

func (*SaveCrossChainInfo) MarshalTo

func (m *SaveCrossChainInfo) MarshalTo(dAtA []byte) (int, error)

func (*SaveCrossChainInfo) MarshalToSizedBuffer

func (m *SaveCrossChainInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SaveCrossChainInfo) ProtoMessage

func (*SaveCrossChainInfo) ProtoMessage()

func (*SaveCrossChainInfo) Reset

func (m *SaveCrossChainInfo) Reset()

func (*SaveCrossChainInfo) Size

func (m *SaveCrossChainInfo) Size() (n int)

func (*SaveCrossChainInfo) String

func (m *SaveCrossChainInfo) String() string

func (*SaveCrossChainInfo) Unmarshal

func (m *SaveCrossChainInfo) Unmarshal(dAtA []byte) error

func (*SaveCrossChainInfo) XXX_DiscardUnknown

func (m *SaveCrossChainInfo) XXX_DiscardUnknown()

func (*SaveCrossChainInfo) XXX_Marshal

func (m *SaveCrossChainInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SaveCrossChainInfo) XXX_Merge

func (m *SaveCrossChainInfo) XXX_Merge(src proto.Message)

func (*SaveCrossChainInfo) XXX_Size

func (m *SaveCrossChainInfo) XXX_Size() int

func (*SaveCrossChainInfo) XXX_Unmarshal

func (m *SaveCrossChainInfo) XXX_Unmarshal(b []byte) error

type SaveCrossChainInfo_Parameter

type SaveCrossChainInfo_Parameter int32
const (
	// cross_chain_info_byte
	SaveCrossChainInfo_CROSS_CHAIN_INFO_BYTE SaveCrossChainInfo_Parameter = 0
)

func (SaveCrossChainInfo_Parameter) EnumDescriptor

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

func (SaveCrossChainInfo_Parameter) String

type SaveGateway

type SaveGateway struct {
}

func (*SaveGateway) Descriptor

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

func (*SaveGateway) Marshal

func (m *SaveGateway) Marshal() (dAtA []byte, err error)

func (*SaveGateway) MarshalTo

func (m *SaveGateway) MarshalTo(dAtA []byte) (int, error)

func (*SaveGateway) MarshalToSizedBuffer

func (m *SaveGateway) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SaveGateway) ProtoMessage

func (*SaveGateway) ProtoMessage()

func (*SaveGateway) Reset

func (m *SaveGateway) Reset()

func (*SaveGateway) Size

func (m *SaveGateway) Size() (n int)

func (*SaveGateway) String

func (m *SaveGateway) String() string

func (*SaveGateway) Unmarshal

func (m *SaveGateway) Unmarshal(dAtA []byte) error

func (*SaveGateway) XXX_DiscardUnknown

func (m *SaveGateway) XXX_DiscardUnknown()

func (*SaveGateway) XXX_Marshal

func (m *SaveGateway) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SaveGateway) XXX_Merge

func (m *SaveGateway) XXX_Merge(src proto.Message)

func (*SaveGateway) XXX_Size

func (m *SaveGateway) XXX_Size() int

func (*SaveGateway) XXX_Unmarshal

func (m *SaveGateway) XXX_Unmarshal(b []byte) error

type SaveGateway_Parameter

type SaveGateway_Parameter int32
const (
	// gateway information byte
	SaveGateway_GATEWAY_INFO_BYTE SaveGateway_Parameter = 0
)

func (SaveGateway_Parameter) EnumDescriptor

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

func (SaveGateway_Parameter) String

func (x SaveGateway_Parameter) String() string

type SignInfo

type SignInfo struct {
	ClientSign string `protobuf:"bytes,1,opt,name=client_sign,json=clientSign,proto3" json:"client_sign,omitempty"`
	Cert       string `protobuf:"bytes,2,opt,name=cert,proto3" json:"cert,omitempty"`
}

func (*SignInfo) Descriptor

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

func (*SignInfo) GetCert

func (m *SignInfo) GetCert() string

func (*SignInfo) GetClientSign

func (m *SignInfo) GetClientSign() string

func (*SignInfo) Marshal

func (m *SignInfo) Marshal() (dAtA []byte, err error)

func (*SignInfo) MarshalTo

func (m *SignInfo) MarshalTo(dAtA []byte) (int, error)

func (*SignInfo) MarshalToSizedBuffer

func (m *SignInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SignInfo) ProtoMessage

func (*SignInfo) ProtoMessage()

func (*SignInfo) Reset

func (m *SignInfo) Reset()

func (*SignInfo) Size

func (m *SignInfo) Size() (n int)

func (*SignInfo) String

func (m *SignInfo) String() string

func (*SignInfo) Unmarshal

func (m *SignInfo) Unmarshal(dAtA []byte) error

func (*SignInfo) XXX_DiscardUnknown

func (m *SignInfo) XXX_DiscardUnknown()

func (*SignInfo) XXX_Marshal

func (m *SignInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SignInfo) XXX_Merge

func (m *SignInfo) XXX_Merge(src proto.Message)

func (*SignInfo) XXX_Size

func (m *SignInfo) XXX_Size() int

func (*SignInfo) XXX_Unmarshal

func (m *SignInfo) XXX_Unmarshal(b []byte) error

type SnapshotFunction

type SnapshotFunction int32

methods of snapshot management

const (
	// make one snapshot
	SnapshotFunction_SNAPSHOT_MAKE SnapshotFunction = 0
	// get status of snapshot
	SnapshotFunction_SNAPSHOT_GET_STATUS SnapshotFunction = 1
)

func (SnapshotFunction) EnumDescriptor

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

func (SnapshotFunction) String

func (x SnapshotFunction) String() string

type SnapshotHeight

type SnapshotHeight struct {
}

make snapshot payload parameters

func (*SnapshotHeight) Descriptor

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

func (*SnapshotHeight) Marshal

func (m *SnapshotHeight) Marshal() (dAtA []byte, err error)

func (*SnapshotHeight) MarshalTo

func (m *SnapshotHeight) MarshalTo(dAtA []byte) (int, error)

func (*SnapshotHeight) MarshalToSizedBuffer

func (m *SnapshotHeight) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SnapshotHeight) ProtoMessage

func (*SnapshotHeight) ProtoMessage()

func (*SnapshotHeight) Reset

func (m *SnapshotHeight) Reset()

func (*SnapshotHeight) Size

func (m *SnapshotHeight) Size() (n int)

func (*SnapshotHeight) String

func (m *SnapshotHeight) String() string

func (*SnapshotHeight) Unmarshal

func (m *SnapshotHeight) Unmarshal(dAtA []byte) error

func (*SnapshotHeight) XXX_DiscardUnknown

func (m *SnapshotHeight) XXX_DiscardUnknown()

func (*SnapshotHeight) XXX_Marshal

func (m *SnapshotHeight) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SnapshotHeight) XXX_Merge

func (m *SnapshotHeight) XXX_Merge(src proto.Message)

func (*SnapshotHeight) XXX_Size

func (m *SnapshotHeight) XXX_Size() int

func (*SnapshotHeight) XXX_Unmarshal

func (m *SnapshotHeight) XXX_Unmarshal(b []byte) error

type SnapshotHeight_Parameter

type SnapshotHeight_Parameter int32
const (
	SnapshotHeight_SNAPSHOT_HEIGHT SnapshotHeight_Parameter = 0
)

func (SnapshotHeight_Parameter) EnumDescriptor

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

func (SnapshotHeight_Parameter) String

func (x SnapshotHeight_Parameter) String() string

type StateQuery added in v3.0.1

type StateQuery struct {
}

state query parameter

func (*StateQuery) Descriptor added in v3.0.1

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

func (*StateQuery) Marshal added in v3.0.1

func (m *StateQuery) Marshal() (dAtA []byte, err error)

func (*StateQuery) MarshalTo added in v3.0.1

func (m *StateQuery) MarshalTo(dAtA []byte) (int, error)

func (*StateQuery) MarshalToSizedBuffer added in v3.0.1

func (m *StateQuery) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*StateQuery) ProtoMessage added in v3.0.1

func (*StateQuery) ProtoMessage()

func (*StateQuery) Reset added in v3.0.1

func (m *StateQuery) Reset()

func (*StateQuery) Size added in v3.0.1

func (m *StateQuery) Size() (n int)

func (*StateQuery) String added in v3.0.1

func (m *StateQuery) String() string

func (*StateQuery) Unmarshal added in v3.0.1

func (m *StateQuery) Unmarshal(dAtA []byte) error

func (*StateQuery) XXX_DiscardUnknown added in v3.0.1

func (m *StateQuery) XXX_DiscardUnknown()

func (*StateQuery) XXX_Marshal added in v3.0.1

func (m *StateQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StateQuery) XXX_Merge added in v3.0.1

func (m *StateQuery) XXX_Merge(src proto.Message)

func (*StateQuery) XXX_Size added in v3.0.1

func (m *StateQuery) XXX_Size() int

func (*StateQuery) XXX_Unmarshal added in v3.0.1

func (m *StateQuery) XXX_Unmarshal(b []byte) error

type StateQueryFunction

type StateQueryFunction int32

methods of chain management contract

const (
	//get state by key
	StateQueryFunction_GET_STATE_BY_KEY StateQueryFunction = 0
	//query state range by key prefix
	StateQueryFunction_GET_STATE_BY_PREFIX StateQueryFunction = 1
	//query state key modify history
	StateQueryFunction_GET_KEY_HISTORY StateQueryFunction = 2
)

func (StateQueryFunction) EnumDescriptor

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

func (StateQueryFunction) String

func (x StateQueryFunction) String() string

type StateQuery_Parameter added in v3.0.1

type StateQuery_Parameter int32
const (
	// contract name
	StateQuery_CONTRACT_NAME StateQuery_Parameter = 0
	//state key
	StateQuery_KEY StateQuery_Parameter = 1
	//state key prefix
	StateQuery_PREFIX StateQuery_Parameter = 2
)

func (StateQuery_Parameter) EnumDescriptor added in v3.0.1

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

func (StateQuery_Parameter) String added in v3.0.1

func (x StateQuery_Parameter) String() string

type SubscribeBlock

type SubscribeBlock struct {
}

subscribe block payload parameters

func (*SubscribeBlock) Descriptor

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

func (*SubscribeBlock) Marshal

func (m *SubscribeBlock) Marshal() (dAtA []byte, err error)

func (*SubscribeBlock) MarshalTo

func (m *SubscribeBlock) MarshalTo(dAtA []byte) (int, error)

func (*SubscribeBlock) MarshalToSizedBuffer

func (m *SubscribeBlock) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SubscribeBlock) ProtoMessage

func (*SubscribeBlock) ProtoMessage()

func (*SubscribeBlock) Reset

func (m *SubscribeBlock) Reset()

func (*SubscribeBlock) Size

func (m *SubscribeBlock) Size() (n int)

func (*SubscribeBlock) String

func (m *SubscribeBlock) String() string

func (*SubscribeBlock) Unmarshal

func (m *SubscribeBlock) Unmarshal(dAtA []byte) error

func (*SubscribeBlock) XXX_DiscardUnknown

func (m *SubscribeBlock) XXX_DiscardUnknown()

func (*SubscribeBlock) XXX_Marshal

func (m *SubscribeBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SubscribeBlock) XXX_Merge

func (m *SubscribeBlock) XXX_Merge(src proto.Message)

func (*SubscribeBlock) XXX_Size

func (m *SubscribeBlock) XXX_Size() int

func (*SubscribeBlock) XXX_Unmarshal

func (m *SubscribeBlock) XXX_Unmarshal(b []byte) error

type SubscribeBlock_Parameter

type SubscribeBlock_Parameter int32
const (
	SubscribeBlock_START_BLOCK SubscribeBlock_Parameter = 0
	SubscribeBlock_END_BLOCK   SubscribeBlock_Parameter = 1
	SubscribeBlock_WITH_RWSET  SubscribeBlock_Parameter = 2
	SubscribeBlock_ONLY_HEADER SubscribeBlock_Parameter = 3
)

func (SubscribeBlock_Parameter) EnumDescriptor

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

func (SubscribeBlock_Parameter) String

func (x SubscribeBlock_Parameter) String() string

type SubscribeContractEvent

type SubscribeContractEvent struct {
}

subscribe contract event parameters

func (*SubscribeContractEvent) Descriptor

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

func (*SubscribeContractEvent) Marshal

func (m *SubscribeContractEvent) Marshal() (dAtA []byte, err error)

func (*SubscribeContractEvent) MarshalTo

func (m *SubscribeContractEvent) MarshalTo(dAtA []byte) (int, error)

func (*SubscribeContractEvent) MarshalToSizedBuffer

func (m *SubscribeContractEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SubscribeContractEvent) ProtoMessage

func (*SubscribeContractEvent) ProtoMessage()

func (*SubscribeContractEvent) Reset

func (m *SubscribeContractEvent) Reset()

func (*SubscribeContractEvent) Size

func (m *SubscribeContractEvent) Size() (n int)

func (*SubscribeContractEvent) String

func (m *SubscribeContractEvent) String() string

func (*SubscribeContractEvent) Unmarshal

func (m *SubscribeContractEvent) Unmarshal(dAtA []byte) error

func (*SubscribeContractEvent) XXX_DiscardUnknown

func (m *SubscribeContractEvent) XXX_DiscardUnknown()

func (*SubscribeContractEvent) XXX_Marshal

func (m *SubscribeContractEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SubscribeContractEvent) XXX_Merge

func (m *SubscribeContractEvent) XXX_Merge(src proto.Message)

func (*SubscribeContractEvent) XXX_Size

func (m *SubscribeContractEvent) XXX_Size() int

func (*SubscribeContractEvent) XXX_Unmarshal

func (m *SubscribeContractEvent) XXX_Unmarshal(b []byte) error

type SubscribeContractEvent_Parameter

type SubscribeContractEvent_Parameter int32
const (
	SubscribeContractEvent_TOPIC         SubscribeContractEvent_Parameter = 0
	SubscribeContractEvent_CONTRACT_NAME SubscribeContractEvent_Parameter = 1
	SubscribeContractEvent_START_BLOCK   SubscribeContractEvent_Parameter = 2
	SubscribeContractEvent_END_BLOCK     SubscribeContractEvent_Parameter = 3
)

func (SubscribeContractEvent_Parameter) EnumDescriptor

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

func (SubscribeContractEvent_Parameter) String

type SubscribeFunction

type SubscribeFunction int32

methods of subscribe

const (
	SubscribeFunction_SUBSCRIBE_BLOCK          SubscribeFunction = 0
	SubscribeFunction_SUBSCRIBE_TX             SubscribeFunction = 1
	SubscribeFunction_SUBSCRIBE_CONTRACT_EVENT SubscribeFunction = 2
)

func (SubscribeFunction) EnumDescriptor

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

func (SubscribeFunction) String

func (x SubscribeFunction) String() string

type SubscribeTx

type SubscribeTx struct {
}

subscribe transaction payload parameters

func (*SubscribeTx) Descriptor

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

func (*SubscribeTx) Marshal

func (m *SubscribeTx) Marshal() (dAtA []byte, err error)

func (*SubscribeTx) MarshalTo

func (m *SubscribeTx) MarshalTo(dAtA []byte) (int, error)

func (*SubscribeTx) MarshalToSizedBuffer

func (m *SubscribeTx) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SubscribeTx) ProtoMessage

func (*SubscribeTx) ProtoMessage()

func (*SubscribeTx) Reset

func (m *SubscribeTx) Reset()

func (*SubscribeTx) Size

func (m *SubscribeTx) Size() (n int)

func (*SubscribeTx) String

func (m *SubscribeTx) String() string

func (*SubscribeTx) Unmarshal

func (m *SubscribeTx) Unmarshal(dAtA []byte) error

func (*SubscribeTx) XXX_DiscardUnknown

func (m *SubscribeTx) XXX_DiscardUnknown()

func (*SubscribeTx) XXX_Marshal

func (m *SubscribeTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SubscribeTx) XXX_Merge

func (m *SubscribeTx) XXX_Merge(src proto.Message)

func (*SubscribeTx) XXX_Size

func (m *SubscribeTx) XXX_Size() int

func (*SubscribeTx) XXX_Unmarshal

func (m *SubscribeTx) XXX_Unmarshal(b []byte) error

type SubscribeTx_Parameter

type SubscribeTx_Parameter int32
const (
	SubscribeTx_START_BLOCK   SubscribeTx_Parameter = 0
	SubscribeTx_END_BLOCK     SubscribeTx_Parameter = 1
	SubscribeTx_CONTRACT_NAME SubscribeTx_Parameter = 2
	SubscribeTx_TX_IDS        SubscribeTx_Parameter = 3
)

func (SubscribeTx_Parameter) EnumDescriptor

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

func (SubscribeTx_Parameter) String

func (x SubscribeTx_Parameter) String() string

type SystemContract

type SystemContract int32
const (
	// system chain configuration contract
	// used to add, delete and change the chain configuration
	SystemContract_CHAIN_CONFIG SystemContract = 0
	// system chain query contract
	// used to query the configuration on the chain
	SystemContract_CHAIN_QUERY SystemContract = 1
	// system certificate storage contract
	// used to manage certificates
	SystemContract_CERT_MANAGE SystemContract = 2
	// governance contract
	SystemContract_GOVERNANCE SystemContract = 3
	// multi signature contract on chain
	SystemContract_MULTI_SIGN SystemContract = 4
	// manage user contract
	SystemContract_CONTRACT_MANAGE SystemContract = 5
	// private compute contract
	SystemContract_PRIVATE_COMPUTE SystemContract = 6
	// erc20 contract for DPoS
	SystemContract_DPOS_ERC20 SystemContract = 7
	// stake contract for dpos
	SystemContract_DPOS_STAKE SystemContract = 8
	//subscribe block info,tx info and contract info.
	SystemContract_SUBSCRIBE_MANAGE SystemContract = 9
	//archive/restore block
	SystemContract_ARCHIVE_MANAGE SystemContract = 10
	//cross chain transaction system contract
	SystemContract_CROSS_TRANSACTION SystemContract = 11
	// pubkey manage system contract
	SystemContract_PUBKEY_MANAGE SystemContract = 12
	// account manager system contract
	SystemContract_ACCOUNT_MANAGER SystemContract = 13
	// distribution for dpos
	SystemContract_DPOS_DISTRIBUTION SystemContract = 14
	// slashing for dpos
	SystemContract_DPOS_SLASHING SystemContract = 15
	// coinbase manager system contract
	SystemContract_COINBASE SystemContract = 16
	// relay cross system contract
	SystemContract_RELAY_CROSS SystemContract = 17
	// transaction manager system contract
	SystemContract_TRANSACTION_MANAGER SystemContract = 18
	//snapshot make/ import snapshot
	SystemContract_SNAPSHOT_MANAGE SystemContract = 19
	//cold hot data separate
	SystemContract_HOT_COLD_DATA_SEPARATE_MANAGE SystemContract = 20
	//Ethereum logic
	SystemContract_ETHEREUM SystemContract = 21
	// for test or debug contract code
	SystemContract_T SystemContract = 99
)

func (SystemContract) EnumDescriptor

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

func (SystemContract) String

func (x SystemContract) String() string

type TestContractFunction

type TestContractFunction int32

methods of chain query contract

const (
	// put data, parameters: k,v
	TestContractFunction_P TestContractFunction = 0
	// get data parameter: k
	TestContractFunction_G TestContractFunction = 1
	// nothing to do.
	TestContractFunction_N TestContractFunction = 2
	// delete data by key, parameter: k
	TestContractFunction_D TestContractFunction = 3
)

func (TestContractFunction) EnumDescriptor

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

func (TestContractFunction) String

func (x TestContractFunction) String() string

type TransactionManagerFunction added in v3.0.1

type TransactionManagerFunction int32

methods of Transaction Manager

const (
	// add
	TransactionManagerFunction_ADD_BLACKLIST_TX_IDS TransactionManagerFunction = 0
	// delete
	TransactionManagerFunction_DELETE_BLACKLIST_TX_IDS TransactionManagerFunction = 1
	// get
	TransactionManagerFunction_GET_BLACKLIST_TX_IDS TransactionManagerFunction = 2
)

func (TransactionManagerFunction) EnumDescriptor added in v3.0.1

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

func (TransactionManagerFunction) String added in v3.0.1

type TxContent

type TxContent struct {
	// tx id
	TxId string `protobuf:"bytes,1,opt,name=tx_id,json=txId,proto3" json:"tx_id,omitempty"`
	// tx content
	Tx []byte `protobuf:"bytes,2,opt,name=tx,proto3" json:"tx,omitempty"`
	// tx result
	TxResult TxResultValue_Parameter `` /* 127-byte string literal not displayed */
	// gateway id
	GatewayId string `protobuf:"bytes,4,opt,name=gateway_id,json=gatewayId,proto3" json:"gateway_id,omitempty"`
	// chain resource id
	ChainRid string `protobuf:"bytes,5,opt,name=chain_rid,json=chainRid,proto3" json:"chain_rid,omitempty"`
	// tx prove json string
	TxProve string `protobuf:"bytes,6,opt,name=tx_prove,json=txProve,proto3" json:"tx_prove,omitempty"`
	// block height
	BlockHeight int64 `protobuf:"varint,7,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"`
}

func (*TxContent) Descriptor

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

func (*TxContent) GetBlockHeight

func (m *TxContent) GetBlockHeight() int64

func (*TxContent) GetChainRid

func (m *TxContent) GetChainRid() string

func (*TxContent) GetGatewayId

func (m *TxContent) GetGatewayId() string

func (*TxContent) GetTx

func (m *TxContent) GetTx() []byte

func (*TxContent) GetTxId

func (m *TxContent) GetTxId() string

func (*TxContent) GetTxProve

func (m *TxContent) GetTxProve() string

func (*TxContent) GetTxResult

func (m *TxContent) GetTxResult() TxResultValue_Parameter

func (*TxContent) Marshal

func (m *TxContent) Marshal() (dAtA []byte, err error)

func (*TxContent) MarshalTo

func (m *TxContent) MarshalTo(dAtA []byte) (int, error)

func (*TxContent) MarshalToSizedBuffer

func (m *TxContent) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TxContent) ProtoMessage

func (*TxContent) ProtoMessage()

func (*TxContent) Reset

func (m *TxContent) Reset()

func (*TxContent) Size

func (m *TxContent) Size() (n int)

func (*TxContent) String

func (m *TxContent) String() string

func (*TxContent) Unmarshal

func (m *TxContent) Unmarshal(dAtA []byte) error

func (*TxContent) XXX_DiscardUnknown

func (m *TxContent) XXX_DiscardUnknown()

func (*TxContent) XXX_Marshal

func (m *TxContent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TxContent) XXX_Merge

func (m *TxContent) XXX_Merge(src proto.Message)

func (*TxContent) XXX_Size

func (m *TxContent) XXX_Size() int

func (*TxContent) XXX_Unmarshal

func (m *TxContent) XXX_Unmarshal(b []byte) error

type TxContentWithVerify

type TxContentWithVerify struct {
	// tx content
	TxContent *TxContent `protobuf:"bytes,1,opt,name=tx_content,json=txContent,proto3" json:"tx_content,omitempty"`
	// try result
	TryResult []string `protobuf:"bytes,2,rep,name=try_result,json=tryResult,proto3" json:"try_result,omitempty"`
	// tx verify result
	TxVerifyResult TxVerifyRsult_Parameter `` /* 147-byte string literal not displayed */
}

func (*TxContentWithVerify) Descriptor

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

func (*TxContentWithVerify) GetTryResult

func (m *TxContentWithVerify) GetTryResult() []string

func (*TxContentWithVerify) GetTxContent

func (m *TxContentWithVerify) GetTxContent() *TxContent

func (*TxContentWithVerify) GetTxVerifyResult

func (m *TxContentWithVerify) GetTxVerifyResult() TxVerifyRsult_Parameter

func (*TxContentWithVerify) Marshal

func (m *TxContentWithVerify) Marshal() (dAtA []byte, err error)

func (*TxContentWithVerify) MarshalTo

func (m *TxContentWithVerify) MarshalTo(dAtA []byte) (int, error)

func (*TxContentWithVerify) MarshalToSizedBuffer

func (m *TxContentWithVerify) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TxContentWithVerify) ProtoMessage

func (*TxContentWithVerify) ProtoMessage()

func (*TxContentWithVerify) Reset

func (m *TxContentWithVerify) Reset()

func (*TxContentWithVerify) Size

func (m *TxContentWithVerify) Size() (n int)

func (*TxContentWithVerify) String

func (m *TxContentWithVerify) String() string

func (*TxContentWithVerify) Unmarshal

func (m *TxContentWithVerify) Unmarshal(dAtA []byte) error

func (*TxContentWithVerify) XXX_DiscardUnknown

func (m *TxContentWithVerify) XXX_DiscardUnknown()

func (*TxContentWithVerify) XXX_Marshal

func (m *TxContentWithVerify) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TxContentWithVerify) XXX_Merge

func (m *TxContentWithVerify) XXX_Merge(src proto.Message)

func (*TxContentWithVerify) XXX_Size

func (m *TxContentWithVerify) XXX_Size() int

func (*TxContentWithVerify) XXX_Unmarshal

func (m *TxContentWithVerify) XXX_Unmarshal(b []byte) error

type TxResultValue

type TxResultValue struct {
}

func (*TxResultValue) Descriptor

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

func (*TxResultValue) Marshal

func (m *TxResultValue) Marshal() (dAtA []byte, err error)

func (*TxResultValue) MarshalTo

func (m *TxResultValue) MarshalTo(dAtA []byte) (int, error)

func (*TxResultValue) MarshalToSizedBuffer

func (m *TxResultValue) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TxResultValue) ProtoMessage

func (*TxResultValue) ProtoMessage()

func (*TxResultValue) Reset

func (m *TxResultValue) Reset()

func (*TxResultValue) Size

func (m *TxResultValue) Size() (n int)

func (*TxResultValue) String

func (m *TxResultValue) String() string

func (*TxResultValue) Unmarshal

func (m *TxResultValue) Unmarshal(dAtA []byte) error

func (*TxResultValue) XXX_DiscardUnknown

func (m *TxResultValue) XXX_DiscardUnknown()

func (*TxResultValue) XXX_Marshal

func (m *TxResultValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TxResultValue) XXX_Merge

func (m *TxResultValue) XXX_Merge(src proto.Message)

func (*TxResultValue) XXX_Size

func (m *TxResultValue) XXX_Size() int

func (*TxResultValue) XXX_Unmarshal

func (m *TxResultValue) XXX_Unmarshal(b []byte) error

type TxResultValue_Parameter

type TxResultValue_Parameter int32
const (
	// success
	TxResultValue_TX_SUCCESS TxResultValue_Parameter = 0
	// timeout
	TxResultValue_TX_TIMEOUT TxResultValue_Parameter = 1
	// fail
	TxResultValue_TX_FAIL TxResultValue_Parameter = 2
	// tx not exist
	TxResultValue_TX_NOT_EXIST TxResultValue_Parameter = 3
	// no permissions
	TxResultValue_TX_NO_PERMISSIONS TxResultValue_Parameter = 4
	// no gateway
	TxResultValue_GATEWAY_NOT_FOUND TxResultValue_Parameter = 5
	// gateway ping error
	TxResultValue_GATEWAY_PINGPONG_ERROR TxResultValue_Parameter = 6
	// chain ping error
	TxResultValue_CHAIN_PING_ERROR TxResultValue_Parameter = 7
	// src gateway get error
	TxResultValue_SRC_GATEWAY_GET_ERROR TxResultValue_Parameter = 8
)

func (TxResultValue_Parameter) EnumDescriptor

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

func (TxResultValue_Parameter) String

func (x TxResultValue_Parameter) String() string

type TxVerifyRsult

type TxVerifyRsult struct {
}

func (*TxVerifyRsult) Descriptor

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

func (*TxVerifyRsult) Marshal

func (m *TxVerifyRsult) Marshal() (dAtA []byte, err error)

func (*TxVerifyRsult) MarshalTo

func (m *TxVerifyRsult) MarshalTo(dAtA []byte) (int, error)

func (*TxVerifyRsult) MarshalToSizedBuffer

func (m *TxVerifyRsult) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TxVerifyRsult) ProtoMessage

func (*TxVerifyRsult) ProtoMessage()

func (*TxVerifyRsult) Reset

func (m *TxVerifyRsult) Reset()

func (*TxVerifyRsult) Size

func (m *TxVerifyRsult) Size() (n int)

func (*TxVerifyRsult) String

func (m *TxVerifyRsult) String() string

func (*TxVerifyRsult) Unmarshal

func (m *TxVerifyRsult) Unmarshal(dAtA []byte) error

func (*TxVerifyRsult) XXX_DiscardUnknown

func (m *TxVerifyRsult) XXX_DiscardUnknown()

func (*TxVerifyRsult) XXX_Marshal

func (m *TxVerifyRsult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TxVerifyRsult) XXX_Merge

func (m *TxVerifyRsult) XXX_Merge(src proto.Message)

func (*TxVerifyRsult) XXX_Size

func (m *TxVerifyRsult) XXX_Size() int

func (*TxVerifyRsult) XXX_Unmarshal

func (m *TxVerifyRsult) XXX_Unmarshal(b []byte) error

type TxVerifyRsult_Parameter

type TxVerifyRsult_Parameter int32
const (
	// success
	TxVerifyRsult_VERIFY_SUCCESS TxVerifyRsult_Parameter = 0
	// failed
	TxVerifyRsult_VERIFY_INVALID TxVerifyRsult_Parameter = 1
	// not need
	TxVerifyRsult_VERIFY_NOT_NEED TxVerifyRsult_Parameter = 2
)

func (TxVerifyRsult_Parameter) EnumDescriptor

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

func (TxVerifyRsult_Parameter) String

func (x TxVerifyRsult_Parameter) String() string

type UnbondingDelegation

type UnbondingDelegation struct {
	// epoch id
	EpochId string `protobuf:"bytes,1,opt,name=epoch_id,json=epochId,proto3" json:"epoch_id,omitempty"`
	// delegator cert hash
	DelegatorAddress string `protobuf:"bytes,2,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty"`
	// validator cert hash
	ValidatorAddress string `protobuf:"bytes,3,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
	// unbond entry records
	Entries []*UnbondingDelegationEntry `protobuf:"bytes,4,rep,name=entries,proto3" json:"entries,omitempty"`
}

func (*UnbondingDelegation) Descriptor

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

func (*UnbondingDelegation) GetDelegatorAddress

func (m *UnbondingDelegation) GetDelegatorAddress() string

func (*UnbondingDelegation) GetEntries

func (m *UnbondingDelegation) GetEntries() []*UnbondingDelegationEntry

func (*UnbondingDelegation) GetEpochId

func (m *UnbondingDelegation) GetEpochId() string

func (*UnbondingDelegation) GetValidatorAddress

func (m *UnbondingDelegation) GetValidatorAddress() string

func (*UnbondingDelegation) Marshal

func (m *UnbondingDelegation) Marshal() (dAtA []byte, err error)

func (*UnbondingDelegation) MarshalTo

func (m *UnbondingDelegation) MarshalTo(dAtA []byte) (int, error)

func (*UnbondingDelegation) MarshalToSizedBuffer

func (m *UnbondingDelegation) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UnbondingDelegation) ProtoMessage

func (*UnbondingDelegation) ProtoMessage()

func (*UnbondingDelegation) Reset

func (m *UnbondingDelegation) Reset()

func (*UnbondingDelegation) Size

func (m *UnbondingDelegation) Size() (n int)

func (*UnbondingDelegation) String

func (m *UnbondingDelegation) String() string

func (*UnbondingDelegation) Unmarshal

func (m *UnbondingDelegation) Unmarshal(dAtA []byte) error

func (*UnbondingDelegation) XXX_DiscardUnknown

func (m *UnbondingDelegation) XXX_DiscardUnknown()

func (*UnbondingDelegation) XXX_Marshal

func (m *UnbondingDelegation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UnbondingDelegation) XXX_Merge

func (m *UnbondingDelegation) XXX_Merge(src proto.Message)

func (*UnbondingDelegation) XXX_Size

func (m *UnbondingDelegation) XXX_Size() int

func (*UnbondingDelegation) XXX_Unmarshal

func (m *UnbondingDelegation) XXX_Unmarshal(b []byte) error

type UnbondingDelegationEntry

type UnbondingDelegationEntry struct {
	// create epoch id
	CreationEpochId uint64 `protobuf:"varint,1,opt,name=creation_epoch_id,json=creationEpochId,proto3" json:"creation_epoch_id,omitempty"`
	// complete epoch id
	CompletionEpochId uint64 `protobuf:"varint,2,opt,name=completion_epoch_id,json=completionEpochId,proto3" json:"completion_epoch_id,omitempty"`
	// undelegate amount
	Amount string `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"`
}

func (*UnbondingDelegationEntry) Descriptor

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

func (*UnbondingDelegationEntry) GetAmount

func (m *UnbondingDelegationEntry) GetAmount() string

func (*UnbondingDelegationEntry) GetCompletionEpochId

func (m *UnbondingDelegationEntry) GetCompletionEpochId() uint64

func (*UnbondingDelegationEntry) GetCreationEpochId

func (m *UnbondingDelegationEntry) GetCreationEpochId() uint64

func (*UnbondingDelegationEntry) Marshal

func (m *UnbondingDelegationEntry) Marshal() (dAtA []byte, err error)

func (*UnbondingDelegationEntry) MarshalTo

func (m *UnbondingDelegationEntry) MarshalTo(dAtA []byte) (int, error)

func (*UnbondingDelegationEntry) MarshalToSizedBuffer

func (m *UnbondingDelegationEntry) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UnbondingDelegationEntry) ProtoMessage

func (*UnbondingDelegationEntry) ProtoMessage()

func (*UnbondingDelegationEntry) Reset

func (m *UnbondingDelegationEntry) Reset()

func (*UnbondingDelegationEntry) Size

func (m *UnbondingDelegationEntry) Size() (n int)

func (*UnbondingDelegationEntry) String

func (m *UnbondingDelegationEntry) String() string

func (*UnbondingDelegationEntry) Unmarshal

func (m *UnbondingDelegationEntry) Unmarshal(dAtA []byte) error

func (*UnbondingDelegationEntry) XXX_DiscardUnknown

func (m *UnbondingDelegationEntry) XXX_DiscardUnknown()

func (*UnbondingDelegationEntry) XXX_Marshal

func (m *UnbondingDelegationEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UnbondingDelegationEntry) XXX_Merge

func (m *UnbondingDelegationEntry) XXX_Merge(src proto.Message)

func (*UnbondingDelegationEntry) XXX_Size

func (m *UnbondingDelegationEntry) XXX_Size() int

func (*UnbondingDelegationEntry) XXX_Unmarshal

func (m *UnbondingDelegationEntry) XXX_Unmarshal(b []byte) error

type UnfreezeContract

type UnfreezeContract struct {
}

unfreeze contract parameters

func (*UnfreezeContract) Descriptor

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

func (*UnfreezeContract) Marshal

func (m *UnfreezeContract) Marshal() (dAtA []byte, err error)

func (*UnfreezeContract) MarshalTo

func (m *UnfreezeContract) MarshalTo(dAtA []byte) (int, error)

func (*UnfreezeContract) MarshalToSizedBuffer

func (m *UnfreezeContract) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UnfreezeContract) ProtoMessage

func (*UnfreezeContract) ProtoMessage()

func (*UnfreezeContract) Reset

func (m *UnfreezeContract) Reset()

func (*UnfreezeContract) Size

func (m *UnfreezeContract) Size() (n int)

func (*UnfreezeContract) String

func (m *UnfreezeContract) String() string

func (*UnfreezeContract) Unmarshal

func (m *UnfreezeContract) Unmarshal(dAtA []byte) error

func (*UnfreezeContract) XXX_DiscardUnknown

func (m *UnfreezeContract) XXX_DiscardUnknown()

func (*UnfreezeContract) XXX_Marshal

func (m *UnfreezeContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UnfreezeContract) XXX_Merge

func (m *UnfreezeContract) XXX_Merge(src proto.Message)

func (*UnfreezeContract) XXX_Size

func (m *UnfreezeContract) XXX_Size() int

func (*UnfreezeContract) XXX_Unmarshal

func (m *UnfreezeContract) XXX_Unmarshal(b []byte) error

type UnfreezeContract_Parameter

type UnfreezeContract_Parameter int32
const (
	UnfreezeContract_CONTRACT_NAME UnfreezeContract_Parameter = 0
)

func (UnfreezeContract_Parameter) EnumDescriptor

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

func (UnfreezeContract_Parameter) String

type UpdateCrossChainConfirm

type UpdateCrossChainConfirm struct {
}

func (*UpdateCrossChainConfirm) Descriptor

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

func (*UpdateCrossChainConfirm) Marshal

func (m *UpdateCrossChainConfirm) Marshal() (dAtA []byte, err error)

func (*UpdateCrossChainConfirm) MarshalTo

func (m *UpdateCrossChainConfirm) MarshalTo(dAtA []byte) (int, error)

func (*UpdateCrossChainConfirm) MarshalToSizedBuffer

func (m *UpdateCrossChainConfirm) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UpdateCrossChainConfirm) ProtoMessage

func (*UpdateCrossChainConfirm) ProtoMessage()

func (*UpdateCrossChainConfirm) Reset

func (m *UpdateCrossChainConfirm) Reset()

func (*UpdateCrossChainConfirm) Size

func (m *UpdateCrossChainConfirm) Size() (n int)

func (*UpdateCrossChainConfirm) String

func (m *UpdateCrossChainConfirm) String() string

func (*UpdateCrossChainConfirm) Unmarshal

func (m *UpdateCrossChainConfirm) Unmarshal(dAtA []byte) error

func (*UpdateCrossChainConfirm) XXX_DiscardUnknown

func (m *UpdateCrossChainConfirm) XXX_DiscardUnknown()

func (*UpdateCrossChainConfirm) XXX_Marshal

func (m *UpdateCrossChainConfirm) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateCrossChainConfirm) XXX_Merge

func (m *UpdateCrossChainConfirm) XXX_Merge(src proto.Message)

func (*UpdateCrossChainConfirm) XXX_Size

func (m *UpdateCrossChainConfirm) XXX_Size() int

func (*UpdateCrossChainConfirm) XXX_Unmarshal

func (m *UpdateCrossChainConfirm) XXX_Unmarshal(b []byte) error

type UpdateCrossChainConfirm_Parameter

type UpdateCrossChainConfirm_Parameter int32
const (
	// cross chain id
	UpdateCrossChainConfirm_CROSS_CHAIN_ID UpdateCrossChainConfirm_Parameter = 0
	// cross chain confirm byte
	UpdateCrossChainConfirm_CROSS_CHAIN_CONFIRM_BYTE UpdateCrossChainConfirm_Parameter = 1
)

func (UpdateCrossChainConfirm_Parameter) EnumDescriptor

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

func (UpdateCrossChainConfirm_Parameter) String

type UpdateCrossChainResult

type UpdateCrossChainResult struct {
}

func (*UpdateCrossChainResult) Descriptor

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

func (*UpdateCrossChainResult) Marshal

func (m *UpdateCrossChainResult) Marshal() (dAtA []byte, err error)

func (*UpdateCrossChainResult) MarshalTo

func (m *UpdateCrossChainResult) MarshalTo(dAtA []byte) (int, error)

func (*UpdateCrossChainResult) MarshalToSizedBuffer

func (m *UpdateCrossChainResult) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UpdateCrossChainResult) ProtoMessage

func (*UpdateCrossChainResult) ProtoMessage()

func (*UpdateCrossChainResult) Reset

func (m *UpdateCrossChainResult) Reset()

func (*UpdateCrossChainResult) Size

func (m *UpdateCrossChainResult) Size() (n int)

func (*UpdateCrossChainResult) String

func (m *UpdateCrossChainResult) String() string

func (*UpdateCrossChainResult) Unmarshal

func (m *UpdateCrossChainResult) Unmarshal(dAtA []byte) error

func (*UpdateCrossChainResult) XXX_DiscardUnknown

func (m *UpdateCrossChainResult) XXX_DiscardUnknown()

func (*UpdateCrossChainResult) XXX_Marshal

func (m *UpdateCrossChainResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateCrossChainResult) XXX_Merge

func (m *UpdateCrossChainResult) XXX_Merge(src proto.Message)

func (*UpdateCrossChainResult) XXX_Size

func (m *UpdateCrossChainResult) XXX_Size() int

func (*UpdateCrossChainResult) XXX_Unmarshal

func (m *UpdateCrossChainResult) XXX_Unmarshal(b []byte) error

type UpdateCrossChainResult_Parameter

type UpdateCrossChainResult_Parameter int32
const (
	// cross chain id
	UpdateCrossChainResult_CROSS_CHAIN_ID UpdateCrossChainResult_Parameter = 0
	// cross chain result
	UpdateCrossChainResult_CROSS_CHAIN_RESULT UpdateCrossChainResult_Parameter = 1
)

func (UpdateCrossChainResult_Parameter) EnumDescriptor

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

func (UpdateCrossChainResult_Parameter) String

type UpdateCrossChainTry

type UpdateCrossChainTry struct {
}

func (*UpdateCrossChainTry) Descriptor

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

func (*UpdateCrossChainTry) Marshal

func (m *UpdateCrossChainTry) Marshal() (dAtA []byte, err error)

func (*UpdateCrossChainTry) MarshalTo

func (m *UpdateCrossChainTry) MarshalTo(dAtA []byte) (int, error)

func (*UpdateCrossChainTry) MarshalToSizedBuffer

func (m *UpdateCrossChainTry) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UpdateCrossChainTry) ProtoMessage

func (*UpdateCrossChainTry) ProtoMessage()

func (*UpdateCrossChainTry) Reset

func (m *UpdateCrossChainTry) Reset()

func (*UpdateCrossChainTry) Size

func (m *UpdateCrossChainTry) Size() (n int)

func (*UpdateCrossChainTry) String

func (m *UpdateCrossChainTry) String() string

func (*UpdateCrossChainTry) Unmarshal

func (m *UpdateCrossChainTry) Unmarshal(dAtA []byte) error

func (*UpdateCrossChainTry) XXX_DiscardUnknown

func (m *UpdateCrossChainTry) XXX_DiscardUnknown()

func (*UpdateCrossChainTry) XXX_Marshal

func (m *UpdateCrossChainTry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateCrossChainTry) XXX_Merge

func (m *UpdateCrossChainTry) XXX_Merge(src proto.Message)

func (*UpdateCrossChainTry) XXX_Size

func (m *UpdateCrossChainTry) XXX_Size() int

func (*UpdateCrossChainTry) XXX_Unmarshal

func (m *UpdateCrossChainTry) XXX_Unmarshal(b []byte) error

type UpdateCrossChainTry_Parameter

type UpdateCrossChainTry_Parameter int32
const (
	// cross chain id
	UpdateCrossChainTry_CROSS_CHAIN_ID UpdateCrossChainTry_Parameter = 0
	// cross chain transaction byte
	UpdateCrossChainTry_CROSS_CHAIN_TX_BYTE UpdateCrossChainTry_Parameter = 1
)

func (UpdateCrossChainTry_Parameter) EnumDescriptor

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

func (UpdateCrossChainTry_Parameter) String

type UpdateGateway

type UpdateGateway struct {
}

func (*UpdateGateway) Descriptor

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

func (*UpdateGateway) Marshal

func (m *UpdateGateway) Marshal() (dAtA []byte, err error)

func (*UpdateGateway) MarshalTo

func (m *UpdateGateway) MarshalTo(dAtA []byte) (int, error)

func (*UpdateGateway) MarshalToSizedBuffer

func (m *UpdateGateway) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UpdateGateway) ProtoMessage

func (*UpdateGateway) ProtoMessage()

func (*UpdateGateway) Reset

func (m *UpdateGateway) Reset()

func (*UpdateGateway) Size

func (m *UpdateGateway) Size() (n int)

func (*UpdateGateway) String

func (m *UpdateGateway) String() string

func (*UpdateGateway) Unmarshal

func (m *UpdateGateway) Unmarshal(dAtA []byte) error

func (*UpdateGateway) XXX_DiscardUnknown

func (m *UpdateGateway) XXX_DiscardUnknown()

func (*UpdateGateway) XXX_Marshal

func (m *UpdateGateway) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateGateway) XXX_Merge

func (m *UpdateGateway) XXX_Merge(src proto.Message)

func (*UpdateGateway) XXX_Size

func (m *UpdateGateway) XXX_Size() int

func (*UpdateGateway) XXX_Unmarshal

func (m *UpdateGateway) XXX_Unmarshal(b []byte) error

type UpdateGateway_Parameter

type UpdateGateway_Parameter int32
const (
	// gateway id
	UpdateGateway_GATEWAY_ID UpdateGateway_Parameter = 0
	// gateway information byte
	UpdateGateway_GATEWAY_INFO_BYTE UpdateGateway_Parameter = 1
)

func (UpdateGateway_Parameter) EnumDescriptor

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

func (UpdateGateway_Parameter) String

func (x UpdateGateway_Parameter) String() string

type UpdateSrcGatewayConfirm

type UpdateSrcGatewayConfirm struct {
}

func (*UpdateSrcGatewayConfirm) Descriptor

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

func (*UpdateSrcGatewayConfirm) Marshal

func (m *UpdateSrcGatewayConfirm) Marshal() (dAtA []byte, err error)

func (*UpdateSrcGatewayConfirm) MarshalTo

func (m *UpdateSrcGatewayConfirm) MarshalTo(dAtA []byte) (int, error)

func (*UpdateSrcGatewayConfirm) MarshalToSizedBuffer

func (m *UpdateSrcGatewayConfirm) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UpdateSrcGatewayConfirm) ProtoMessage

func (*UpdateSrcGatewayConfirm) ProtoMessage()

func (*UpdateSrcGatewayConfirm) Reset

func (m *UpdateSrcGatewayConfirm) Reset()

func (*UpdateSrcGatewayConfirm) Size

func (m *UpdateSrcGatewayConfirm) Size() (n int)

func (*UpdateSrcGatewayConfirm) String

func (m *UpdateSrcGatewayConfirm) String() string

func (*UpdateSrcGatewayConfirm) Unmarshal

func (m *UpdateSrcGatewayConfirm) Unmarshal(dAtA []byte) error

func (*UpdateSrcGatewayConfirm) XXX_DiscardUnknown

func (m *UpdateSrcGatewayConfirm) XXX_DiscardUnknown()

func (*UpdateSrcGatewayConfirm) XXX_Marshal

func (m *UpdateSrcGatewayConfirm) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateSrcGatewayConfirm) XXX_Merge

func (m *UpdateSrcGatewayConfirm) XXX_Merge(src proto.Message)

func (*UpdateSrcGatewayConfirm) XXX_Size

func (m *UpdateSrcGatewayConfirm) XXX_Size() int

func (*UpdateSrcGatewayConfirm) XXX_Unmarshal

func (m *UpdateSrcGatewayConfirm) XXX_Unmarshal(b []byte) error

type UpdateSrcGatewayConfirm_Parameter

type UpdateSrcGatewayConfirm_Parameter int32
const (
	// cross chain id
	UpdateSrcGatewayConfirm_CROSS_CHAIN_ID UpdateSrcGatewayConfirm_Parameter = 0
	// confirm result
	UpdateSrcGatewayConfirm_CONFIRM_RESULT UpdateSrcGatewayConfirm_Parameter = 1
)

func (UpdateSrcGatewayConfirm_Parameter) EnumDescriptor

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

func (UpdateSrcGatewayConfirm_Parameter) String

type UpgradeContract

type UpgradeContract struct {
}

upgrade contract parameters

func (*UpgradeContract) Descriptor

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

func (*UpgradeContract) Marshal

func (m *UpgradeContract) Marshal() (dAtA []byte, err error)

func (*UpgradeContract) MarshalTo

func (m *UpgradeContract) MarshalTo(dAtA []byte) (int, error)

func (*UpgradeContract) MarshalToSizedBuffer

func (m *UpgradeContract) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UpgradeContract) ProtoMessage

func (*UpgradeContract) ProtoMessage()

func (*UpgradeContract) Reset

func (m *UpgradeContract) Reset()

func (*UpgradeContract) Size

func (m *UpgradeContract) Size() (n int)

func (*UpgradeContract) String

func (m *UpgradeContract) String() string

func (*UpgradeContract) Unmarshal

func (m *UpgradeContract) Unmarshal(dAtA []byte) error

func (*UpgradeContract) XXX_DiscardUnknown

func (m *UpgradeContract) XXX_DiscardUnknown()

func (*UpgradeContract) XXX_Marshal

func (m *UpgradeContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpgradeContract) XXX_Merge

func (m *UpgradeContract) XXX_Merge(src proto.Message)

func (*UpgradeContract) XXX_Size

func (m *UpgradeContract) XXX_Size() int

func (*UpgradeContract) XXX_Unmarshal

func (m *UpgradeContract) XXX_Unmarshal(b []byte) error

type UpgradeContract_Parameter

type UpgradeContract_Parameter int32
const (
	UpgradeContract_CONTRACT_NAME         UpgradeContract_Parameter = 0
	UpgradeContract_CONTRACT_RUNTIME_TYPE UpgradeContract_Parameter = 1
	UpgradeContract_CONTRACT_VERSION      UpgradeContract_Parameter = 2
	UpgradeContract_CONTRACT_BYTECODE     UpgradeContract_Parameter = 3
)

func (UpgradeContract_Parameter) EnumDescriptor

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

func (UpgradeContract_Parameter) String

func (x UpgradeContract_Parameter) String() string

type Validator

type Validator struct {
	// The address of the verifier: base58.Encode(sha256(pubkey))
	ValidatorAddress string `protobuf:"bytes,1,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
	// active punishment tags whether validator is jailed or not
	Jailed bool `protobuf:"varint,2,opt,name=jailed,proto3" json:"jailed,omitempty"`
	// validator status: Bonded / Unbonding / Unbonded
	Status BondStatus `protobuf:"varint,3,opt,name=status,proto3,enum=syscontract.BondStatus" json:"status,omitempty"`
	// delegate token amount
	Tokens string `protobuf:"bytes,4,opt,name=tokens,proto3" json:"tokens,omitempty"`
	// delegate share amount
	DelegatorShares string `protobuf:"bytes,5,opt,name=delegator_shares,json=delegatorShares,proto3" json:"delegator_shares,omitempty"`
	// undelegate entry epoch id
	UnbondingEpochId int64 `protobuf:"varint,6,opt,name=unbonding_epoch_id,json=unbondingEpochId,proto3" json:"unbonding_epoch_id,omitempty"`
	// undelegate entry complete epoch id
	UnbondingCompletionEpochId int64 `` /* 144-byte string literal not displayed */
	// validator self delegate token amount
	SelfDelegation string `protobuf:"bytes,8,opt,name=self_delegation,json=selfDelegation,proto3" json:"self_delegation,omitempty"`
}

func (*Validator) Descriptor

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

func (*Validator) GetDelegatorShares

func (m *Validator) GetDelegatorShares() string

func (*Validator) GetJailed

func (m *Validator) GetJailed() bool

func (*Validator) GetSelfDelegation

func (m *Validator) GetSelfDelegation() string

func (*Validator) GetStatus

func (m *Validator) GetStatus() BondStatus

func (*Validator) GetTokens

func (m *Validator) GetTokens() string

func (*Validator) GetUnbondingCompletionEpochId

func (m *Validator) GetUnbondingCompletionEpochId() int64

func (*Validator) GetUnbondingEpochId

func (m *Validator) GetUnbondingEpochId() int64

func (*Validator) GetValidatorAddress

func (m *Validator) GetValidatorAddress() string

func (*Validator) Marshal

func (m *Validator) Marshal() (dAtA []byte, err error)

func (*Validator) MarshalTo

func (m *Validator) MarshalTo(dAtA []byte) (int, error)

func (*Validator) MarshalToSizedBuffer

func (m *Validator) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Validator) ProtoMessage

func (*Validator) ProtoMessage()

func (*Validator) Reset

func (m *Validator) Reset()

func (*Validator) Size

func (m *Validator) Size() (n int)

func (*Validator) String

func (m *Validator) String() string

func (*Validator) Unmarshal

func (m *Validator) Unmarshal(dAtA []byte) error

func (*Validator) XXX_DiscardUnknown

func (m *Validator) XXX_DiscardUnknown()

func (*Validator) XXX_Marshal

func (m *Validator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Validator) XXX_Merge

func (m *Validator) XXX_Merge(src proto.Message)

func (*Validator) XXX_Size

func (m *Validator) XXX_Size() int

func (*Validator) XXX_Unmarshal

func (m *Validator) XXX_Unmarshal(b []byte) error

type ValidatorVector

type ValidatorVector struct {
	// validator cert hash vector
	Vector []string `protobuf:"bytes,1,rep,name=vector,proto3" json:"vector,omitempty"`
}

func (*ValidatorVector) Descriptor

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

func (*ValidatorVector) GetVector

func (m *ValidatorVector) GetVector() []string

func (*ValidatorVector) Marshal

func (m *ValidatorVector) Marshal() (dAtA []byte, err error)

func (*ValidatorVector) MarshalTo

func (m *ValidatorVector) MarshalTo(dAtA []byte) (int, error)

func (*ValidatorVector) MarshalToSizedBuffer

func (m *ValidatorVector) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ValidatorVector) ProtoMessage

func (*ValidatorVector) ProtoMessage()

func (*ValidatorVector) Reset

func (m *ValidatorVector) Reset()

func (*ValidatorVector) Size

func (m *ValidatorVector) Size() (n int)

func (*ValidatorVector) String

func (m *ValidatorVector) String() string

func (*ValidatorVector) Unmarshal

func (m *ValidatorVector) Unmarshal(dAtA []byte) error

func (*ValidatorVector) XXX_DiscardUnknown

func (m *ValidatorVector) XXX_DiscardUnknown()

func (*ValidatorVector) XXX_Marshal

func (m *ValidatorVector) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ValidatorVector) XXX_Merge

func (m *ValidatorVector) XXX_Merge(src proto.Message)

func (*ValidatorVector) XXX_Size

func (m *ValidatorVector) XXX_Size() int

func (*ValidatorVector) XXX_Unmarshal

func (m *ValidatorVector) XXX_Unmarshal(b []byte) error

type VoteStatus

type VoteStatus int32
const (
	VoteStatus_AGREE  VoteStatus = 0
	VoteStatus_REJECT VoteStatus = 1
)

func (VoteStatus) EnumDescriptor

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

func (VoteStatus) String

func (x VoteStatus) String() string

Jump to

Keyboard shortcuts

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