mirror of
https://github.com/Xahau/xahaud.git
synced 2026-04-29 15:37:46 +00:00
Implement native support for W3C DIDs. Add a new ledger object: `DID`. Add two new transactions: 1. `DIDSet`: create or update the `DID` object. 2. `DIDDelete`: delete the `DID` object. This meets the requirements specified in the DID v1.0 specification currently recommended by the W3C Credentials Community Group. The DID format for the XRP Ledger conforms to W3C DID standards. The objects can be created and owned by any XRPL account holder. The transactions can be integrated by any service, wallet, or application.
66 lines
1.8 KiB
C
66 lines
1.8 KiB
C
// For documentation please see: https://xrpl-hooks.readme.io/reference/
|
|
// Generated using generate_tts.sh
|
|
#define ttPAYMENT 0
|
|
#define ttESCROW_CREATE 1
|
|
#define ttESCROW_FINISH 2
|
|
#define ttACCOUNT_SET 3
|
|
#define ttESCROW_CANCEL 4
|
|
#define ttREGULAR_KEY_SET 5
|
|
// #define ttNICKNAME_SET 6 // deprecated
|
|
#define ttOFFER_CREATE 7
|
|
#define ttOFFER_CANCEL 8
|
|
// #define ttCONTRACT 9 // deprecated
|
|
#define ttTICKET_CREATE 10
|
|
// #define ttSPINAL_TAP 11 // deprecated
|
|
#define ttSIGNER_LIST_SET 12
|
|
#define ttPAYCHAN_CREATE 13
|
|
#define ttPAYCHAN_FUND 14
|
|
#define ttPAYCHAN_CLAIM 15
|
|
#define ttCHECK_CREATE 16
|
|
#define ttCHECK_CASH 17
|
|
#define ttCHECK_CANCEL 18
|
|
#define ttDEPOSIT_PREAUTH 19
|
|
#define ttTRUST_SET 20
|
|
#define ttACCOUNT_DELETE 21
|
|
#define ttHOOK_SET 22
|
|
#define ttNFTOKEN_MINT 25
|
|
#define ttNFTOKEN_BURN 26
|
|
#define ttNFTOKEN_CREATE_OFFER 27
|
|
#define ttNFTOKEN_CANCEL_OFFER 28
|
|
#define ttNFTOKEN_ACCEPT_OFFER 29
|
|
#define ttCLAWBACK 30
|
|
#define ttAMM_CREATE 35
|
|
#define ttAMM_DEPOSIT 36
|
|
#define ttAMM_WITHDRAW 37
|
|
#define ttAMM_VOTE 38
|
|
#define ttAMM_BID 39
|
|
#define ttAMM_DELETE 40
|
|
#define ttURITOKEN_MINT 45
|
|
#define ttURITOKEN_BURN 46
|
|
#define ttURITOKEN_BUY 47
|
|
#define ttURITOKEN_CREATE_SELL_OFFER 48
|
|
#define ttURITOKEN_CANCEL_SELL_OFFER 49
|
|
#define ttXCHAIN_CREATE_CLAIM_ID 50
|
|
#define ttXCHAIN_COMMIT 51
|
|
#define ttXCHAIN_CLAIM 52
|
|
#define ttXCHAIN_ACCOUNT_CREATE_COMMIT 53
|
|
#define ttXCHAIN_ADD_CLAIM_ATTESTATION 54
|
|
#define ttXCHAIN_ADD_ACCOUNT_CREATE_ATTESTATION 55
|
|
#define ttXCHAIN_MODIFY_BRIDGE 56
|
|
#define ttXCHAIN_CREATE_BRIDGE 57
|
|
#define ttDID_SET 58
|
|
#define ttDID_DELETE 59
|
|
#define ttCRON 92
|
|
#define ttCRON_SET 93
|
|
#define ttREMARKS_SET 94
|
|
#define ttREMIT 95
|
|
#define ttGENESIS_MINT 96
|
|
#define ttIMPORT 97
|
|
#define ttCLAIM_REWARD 98
|
|
#define ttINVOKE 99
|
|
#define ttAMENDMENT 100
|
|
#define ttFEE 101
|
|
#define ttUNL_MODIFY 102
|
|
#define ttEMIT_FAILURE 103
|
|
#define ttUNL_REPORT 104
|