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