forked from LedgerHQ/app-xrp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
40 changed files
with
239 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"TransactionType": "NFTokenMint", | ||
"Account": "OWN_ADDR", | ||
"Fee": "15", | ||
"Flags": 0, | ||
"URI": "697066733A2F2F6261736963", | ||
"Sequence": 3, | ||
"SigningPubKey": "OWN_PUBKEY", | ||
"NFTokenTaxon": 0 | ||
} |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Transaction Type; NFToken Mint | ||
Account; rTooLkitCks h5mQa67eaa2 JaWHDBnHkpy | ||
N F Token Taxon; 0 | ||
Fee; XRP 0.000015 | ||
URI; ipfs://basic |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"TransactionType": "NFTokenMint", | ||
"Account": "OWN_ADDR", | ||
"Fee": "15", | ||
"Flags": 1, | ||
"URI": "697066733A2F2F6261736963", | ||
"Sequence": 3, | ||
"SigningPubKey": "OWN_PUBKEY", | ||
"NFTokenTaxon": 0 | ||
} |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Transaction Type; NFToken Mint | ||
Account; rTooLkitCks h5mQa67eaa2 JaWHDBnHkpy | ||
N F Token Taxon; 0 | ||
Fee; XRP 0.000015 | ||
URI; ipfs://basic |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"TransactionType": "NFTokenMint", | ||
"Account": "OWN_ADDR", | ||
"Fee": "15", | ||
"Flags": 2, | ||
"URI": "697066733A2F2F6261736963", | ||
"Sequence": 3, | ||
"SigningPubKey": "OWN_PUBKEY", | ||
"NFTokenTaxon": 0 | ||
} |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Transaction Type; NFToken Mint | ||
Account; rTooLkitCks h5mQa67eaa2 JaWHDBnHkpy | ||
N F Token Taxon; 0 | ||
Fee; XRP 0.000015 | ||
URI; ipfs://basic |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"TransactionType": "NFTokenMint", | ||
"Account": "OWN_ADDR", | ||
"Fee": "15", | ||
"Flags": 8, | ||
"URI": "697066733A2F2F6261736963", | ||
"Sequence": 3, | ||
"SigningPubKey": "OWN_PUBKEY", | ||
"NFTokenTaxon": 0 | ||
} |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Transaction Type; NFToken Mint | ||
Account; rTooLkitCks h5mQa67eaa2 JaWHDBnHkpy | ||
N F Token Taxon; 0 | ||
Fee; XRP 0.000015 | ||
URI; ipfs://basic |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"TransactionType": "NFTokenBurn", | ||
"Account": "OWN_ADDR", | ||
"Fee": "15", | ||
"Flags": 0, | ||
"NFTokenID": "000000003C0E955DFA24367806070434D8BE16A12E410C3B559CFBED00000052", | ||
"Sequence": 3, | ||
"SigningPubKey": "OWN_PUBKEY" | ||
} |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Transaction Type; NFToken Burn | ||
Account; rTooLkitCks h5mQa67eaa2 JaWHDBnHkpy | ||
N F Token I D; 000000003C0E955DFA24367806070434D8BE16A12E410C3B559CFBED00000052 | ||
Fee; XRP 0.000015 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"TransactionType": "NFTokenCreateOffer", | ||
"Account": "OWN_ADDR", | ||
"NFTokenID": "000000003C0E955DFA24367806070434D8BE16A12E410C3B559CFBED00000052", | ||
"Amount": { | ||
"currency": "FOO", | ||
"issuer": "rsA2LpzuawewSBQXkiju3YQTMzW13pAAdW", | ||
"value": "314.159" | ||
}, | ||
"Fee": "15", | ||
"Flags": 1, | ||
"Sequence": 3, | ||
"SigningPubKey": "OWN_PUBKEY" | ||
} |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Transaction Type; NFToken Create Offer | ||
Account; rTooLkitCks h5mQa67eaa2 JaWHDBnHkpy | ||
N F Token I D; 000000003C0E955DFA24367806070434D8BE16A12E410C3B559CFBED00000052 | ||
Amount; FOO 314.159 | ||
Issuer; rsA2Lpzuawew SBQXkiju3YQ TMzW13pAAdW | ||
Fee; XRP 0.000015 |
15 changes: 15 additions & 0 deletions
15
tests/testcases/21-nftoken-create-offer/02-sell-destination.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"TransactionType": "NFTokenCreateOffer", | ||
"Account": "OWN_ADDR", | ||
"NFTokenID": "000000003C0E955DFA24367806070434D8BE16A12E410C3B559CFBED00000052", | ||
"Amount": { | ||
"currency": "FOO", | ||
"issuer": "rsA2LpzuawewSBQXkiju3YQTMzW13pAAdW", | ||
"value": "314.159" | ||
}, | ||
"Destination": "rsA2LpzuawewSBQXkiju3YQTMzW13pAAdW", | ||
"Fee": "15", | ||
"Flags": 1, | ||
"Sequence": 3, | ||
"SigningPubKey": "OWN_PUBKEY" | ||
} |
Binary file not shown.
7 changes: 7 additions & 0 deletions
7
tests/testcases/21-nftoken-create-offer/02-sell-destination.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Transaction Type; NFToken Create Offer | ||
Account; rTooLkitCks h5mQa67eaa2 JaWHDBnHkpy | ||
N F Token I D; 000000003C0E955DFA24367806070434D8BE16A12E410C3B559CFBED00000052 | ||
Amount; FOO 314.159 | ||
Issuer; rsA2Lpzuawew SBQXkiju3YQ TMzW13pAAdW | ||
Fee; XRP 0.000015 | ||
Destination; rsA2Lpzuawew SBQXkiju3YQ TMzW13pAAdW |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"TransactionType": "NFTokenCreateOffer", | ||
"Account": "OWN_ADDR", | ||
"NFTokenID": "000000003C0E955DFA24367806070434D8BE16A12E410C3B559CFBED00000052", | ||
"Owner": "ra7Zr8ddy9tB88RaXL8B87YkqhEJG2vkAJ", | ||
"Amount": { | ||
"currency": "FOO", | ||
"issuer": "rsA2LpzuawewSBQXkiju3YQTMzW13pAAdW", | ||
"value": "314.159" | ||
}, | ||
"Fee": "15", | ||
"Sequence": 3, | ||
"SigningPubKey": "OWN_PUBKEY" | ||
} |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Transaction Type; NFToken Create Offer | ||
Account; rTooLkitCks h5mQa67eaa2 JaWHDBnHkpy | ||
N F Token I D; 000000003C0E955DFA24367806070434D8BE16A12E410C3B559CFBED00000052 | ||
Amount; FOO 314.159 | ||
Issuer; rsA2Lpzuawew SBQXkiju3YQ TMzW13pAAdW | ||
Fee; XRP 0.000015 | ||
Owner; ra7Zr8ddy9tB 88RaXL8B87Y kqhEJG2vkAJ |
15 changes: 15 additions & 0 deletions
15
tests/testcases/21-nftoken-create-offer/04-buy-expiration.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"TransactionType": "NFTokenCreateOffer", | ||
"Account": "OWN_ADDR", | ||
"NFTokenID": "000000003C0E955DFA24367806070434D8BE16A12E410C3B559CFBED00000052", | ||
"Owner": "ra7Zr8ddy9tB88RaXL8B87YkqhEJG2vkAJ", | ||
"Amount": { | ||
"currency": "FOO", | ||
"issuer": "rsA2LpzuawewSBQXkiju3YQTMzW13pAAdW", | ||
"value": "314.159" | ||
}, | ||
"Fee": "15", | ||
"Sequence": 3, | ||
"Expiration": 570113521, | ||
"SigningPubKey": "OWN_PUBKEY" | ||
} |
Binary file not shown.
8 changes: 8 additions & 0 deletions
8
tests/testcases/21-nftoken-create-offer/04-buy-expiration.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Transaction Type; NFToken Create Offer | ||
Account; rTooLkitCks h5mQa67eaa2 JaWHDBnHkpy | ||
Expiration; 2018-01-24 12:52:01 UTC | ||
N F Token I D; 000000003C0E955DFA24367806070434D8BE16A12E410C3B559CFBED00000052 | ||
Amount; FOO 314.159 | ||
Issuer; rsA2Lpzuawew SBQXkiju3YQ TMzW13pAAdW | ||
Fee; XRP 0.000015 | ||
Owner; ra7Zr8ddy9tB 88RaXL8B87Y kqhEJG2vkAJ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"TransactionType": "NFTokenCancelOffer", | ||
"Account": "OWN_ADDR", | ||
"Fee": "15", | ||
"Flags": 0, | ||
"NFTokenOffers": [ | ||
"9C92E061381C1EF37A8CDE0E8FC35188BFC30B1883825042A64309AC09F4C36D", | ||
"000000003C0E955DFA24367806070434D8BE16A12E410C3B559CFBED00000052" | ||
], | ||
"Sequence": 3, | ||
"SigningPubKey": "OWN_PUBKEY" | ||
} |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Transaction Type; NFToken Cancel Offer | ||
Account; rTooLkitCks h5mQa67eaa2 JaWHDBnHkpy | ||
Fee; XRP 0.000015 | ||
N F Token Offers; 9C92E061381C1EF37A8CDE0E8FC35188BFC30B1883825042A64309AC09F4C36D,000000003C0E955DFA24367806070434D8BE16A12E410C3B559CFBED00000052 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"TransactionType": "NFTokenAcceptOffer", | ||
"Account": "OWN_ADDR", | ||
"Fee": "15", | ||
"Flags": 0, | ||
"NFTokenSellOffer": "000000003C0E955DFA24367806070434D8BE16A12E410C3B559CFBED00000052", | ||
"Sequence": 3, | ||
"SigningPubKey": "OWN_PUBKEY" | ||
} |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Transaction Type; NFToken Accept Offer | ||
Account; rTooLkitCks h5mQa67eaa2 JaWHDBnHkpy | ||
N F Token Sell Offer; 000000003C0E955DFA24367806070434D8BE16A12E410C3B559CFBED00000052 | ||
Fee; XRP 0.000015 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"TransactionType": "NFTokenAcceptOffer", | ||
"Account": "OWN_ADDR", | ||
"Fee": "15", | ||
"Flags": 0, | ||
"NFTokenSellOffer": "000000003C0E955DFA24367806070434D8BE16A12E410C3B559CFBED00000052", | ||
"NFTokenBuyOffer": "000000003C0E955DFA24367806070434D8BE16A12E410C3B559CFBED00000052", | ||
"NFTokenBrokerFee": { | ||
"currency": "FOO", | ||
"issuer": "rsA2LpzuawewSBQXkiju3YQTMzW13pAAdW", | ||
"value": "1" | ||
}, | ||
"Sequence": 3, | ||
"SigningPubKey": "OWN_PUBKEY" | ||
} |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Transaction Type; NFToken Accept Offer | ||
Account; rTooLkitCks h5mQa67eaa2 JaWHDBnHkpy | ||
N F Token Buy Offer; 000000003C0E955DFA24367806070434D8BE16A12E410C3B559CFBED00000052 | ||
N F Token Sell Offer; 000000003C0E955DFA24367806070434D8BE16A12E410C3B559CFBED00000052 | ||
Fee; XRP 0.000015 | ||
N F Token Broker Fee; [object Object] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"TransactionType": "Clawback", | ||
"Account": "OWN_ADDR", | ||
"Fee": "10", | ||
"Flags": 0, | ||
"Amount": { | ||
"currency": "FOO", | ||
"issuer": "rsA2LpzuawewSBQXkiju3YQTMzW13pAAdW", | ||
"value": "314.159" | ||
}, | ||
"SigningPubKey": "OWN_PUBKEY" | ||
} |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Transaction Type; Clawback | ||
Account; rTooLkitCks h5mQa67eaa2 JaWHDBnHkpy | ||
Amount; FOO 314.159 | ||
Issuer; rsA2Lpzuawew SBQXkiju3YQ TMzW13pAAdW | ||
Fee; XRP 0.00001 |