-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ABW-3809] Update to new receipt (#217)
* bump AsyncExtension on Package.resolved * [no ci] WIP * WIP * WIP * renames * revert async extension bump and rename iOS method * use Scrypto prefix * fix two tests * fix test * renamed parameter in executionSummary fun of Kotlin TransactionManifest * fix stake_to_three_validators * WIP * fix iOS test * bump to 1.1.16 * fixed unit test of TransactionManifestTest * add opt_ins to preview request --------- Co-authored-by: giannis.tsepas <[email protected]>
- Loading branch information
1 parent
51ff4ac
commit fe7889e
Showing
55 changed files
with
3,186 additions
and
3,127 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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
2,351 changes: 695 additions & 1,656 deletions
2,351
crates/sargon/fixtures/models/gateway/transaction/response_preview.json
Large diffs are not rendered by default.
Oops, something went wrong.
66 changes: 65 additions & 1 deletion
66
crates/sargon/fixtures/transaction/account_locker_claim_fungibles_and_non_fungibles.dat
Large diffs are not rendered by default.
Oops, something went wrong.
35 changes: 20 additions & 15 deletions
35
crates/sargon/fixtures/transaction/account_locker_claim_fungibles_and_non_fungibles.rtm
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 |
---|---|---|
@@ -1,34 +1,39 @@ | ||
CALL_METHOD | ||
Address("locker_tdx_2_1drgp40wpu5cj0zady4s0pec6rld8muge0j2xx9xuwwc474uzlgja6a") | ||
Address("account_tdx_2_12x2lmewv5lfen4x96aurw7a5z5ukdzyyc0fkytamqgml77lah44kkp") | ||
"lock_fee" | ||
Decimal("0.595383053951") | ||
; | ||
CALL_METHOD | ||
Address("locker_tdx_2_1dr6v4fwufgacxqwxsm44ysglhdv7yyxgvq6xazcwzvu35937wzsjnx") | ||
"claim" | ||
Address("account_tdx_2_12xlu6x99ssrwrs8cnafka8476ursxfyfde3kfyk7d4s9c5kdvcs77x") | ||
Address("resource_tdx_2_1nflxr7dvp29hxhjjp53strsdgv2kv9dxlx6ys52lafrgyljrhwkt27") | ||
Decimal("4") | ||
Address("account_tdx_2_12x2lmewv5lfen4x96aurw7a5z5ukdzyyc0fkytamqgml77lah44kkp") | ||
Address("resource_tdx_2_1n2z4k99wuqlph9lj64ckc64znm48axl37xctsa0xqmm2sqg7klrte3") | ||
Decimal("1") | ||
; | ||
TAKE_FROM_WORKTOP | ||
Address("resource_tdx_2_1nflxr7dvp29hxhjjp53strsdgv2kv9dxlx6ys52lafrgyljrhwkt27") | ||
Decimal("4") | ||
Address("resource_tdx_2_1n2z4k99wuqlph9lj64ckc64znm48axl37xctsa0xqmm2sqg7klrte3") | ||
Decimal("1") | ||
Bucket("bucket1") | ||
; | ||
CALL_METHOD | ||
Address("account_tdx_2_12xlu6x99ssrwrs8cnafka8476ursxfyfde3kfyk7d4s9c5kdvcs77x") | ||
Address("account_tdx_2_12x2lmewv5lfen4x96aurw7a5z5ukdzyyc0fkytamqgml77lah44kkp") | ||
"deposit" | ||
Bucket("bucket1") | ||
; | ||
CALL_METHOD | ||
Address("locker_tdx_2_1drgp40wpu5cj0zady4s0pec6rld8muge0j2xx9xuwwc474uzlgja6a") | ||
Address("locker_tdx_2_1dr6v4fwufgacxqwxsm44ysglhdv7yyxgvq6xazcwzvu35937wzsjnx") | ||
"claim" | ||
Address("account_tdx_2_12xlu6x99ssrwrs8cnafka8476ursxfyfde3kfyk7d4s9c5kdvcs77x") | ||
Address("resource_tdx_2_1tknxxxxxxxxxradxrdxxxxxxxxx009923554798xxxxxxxxxtfd2jc") | ||
Decimal("30") | ||
Address("account_tdx_2_12x2lmewv5lfen4x96aurw7a5z5ukdzyyc0fkytamqgml77lah44kkp") | ||
Address("resource_tdx_2_1th75jg2gx9l3v0r8duzrmknfarhd3ha0387lg9n78qc9849xsfyq32") | ||
Decimal("3") | ||
; | ||
TAKE_FROM_WORKTOP | ||
Address("resource_tdx_2_1tknxxxxxxxxxradxrdxxxxxxxxx009923554798xxxxxxxxxtfd2jc") | ||
Decimal("30") | ||
Address("resource_tdx_2_1th75jg2gx9l3v0r8duzrmknfarhd3ha0387lg9n78qc9849xsfyq32") | ||
Decimal("3") | ||
Bucket("bucket2") | ||
; | ||
CALL_METHOD | ||
Address("account_tdx_2_12xlu6x99ssrwrs8cnafka8476ursxfyfde3kfyk7d4s9c5kdvcs77x") | ||
Address("account_tdx_2_12x2lmewv5lfen4x96aurw7a5z5ukdzyyc0fkytamqgml77lah44kkp") | ||
"deposit" | ||
Bucket("bucket2") | ||
; | ||
; |
67 changes: 67 additions & 0 deletions
67
crates/sargon/fixtures/transaction/claim_two_stakes_from_one_validator.dat
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,67 @@ | ||
{ | ||
"kind": "CommitSuccess", | ||
"state_updates_summary": { | ||
"new_entities": [], | ||
"metadata_updates": {}, | ||
"non_fungible_data_updates": {}, | ||
"newly_minted_non_fungibles": [] | ||
}, | ||
"worktop_changes": { | ||
"0": [ | ||
{ | ||
"kind": "Put", | ||
"value": { | ||
"kind": "Ids", | ||
"resource_address": "resource_tdx_2_1ng3g2nj5pfpmdphgz0nrh8z0gtqcxx5z5dn48t85ar0z0zjhefufaw", | ||
"ids": [ | ||
"{1c1ce92c810094a7-65659db6a666c19c-6cea4367bb789b55-276b137712ceecce}", | ||
"{5aebd0270caf3f87-51031498741f57b5-d24fe0d62a976589-519c6a92423888cc}" | ||
] | ||
} | ||
} | ||
], | ||
"1": [ | ||
{ | ||
"kind": "Take", | ||
"value": { | ||
"kind": "Ids", | ||
"resource_address": "resource_tdx_2_1ng3g2nj5pfpmdphgz0nrh8z0gtqcxx5z5dn48t85ar0z0zjhefufaw", | ||
"ids": [ | ||
"{1c1ce92c810094a7-65659db6a666c19c-6cea4367bb789b55-276b137712ceecce}", | ||
"{5aebd0270caf3f87-51031498741f57b5-d24fe0d62a976589-519c6a92423888cc}" | ||
] | ||
} | ||
} | ||
], | ||
"2": [ | ||
{ | ||
"kind": "Put", | ||
"value": { | ||
"kind": "Amount", | ||
"resource_address": "resource_tdx_2_1tknxxxxxxxxxradxrdxxxxxxxxx009923554798xxxxxxxxxtfd2jc", | ||
"amount": "150" | ||
} | ||
} | ||
], | ||
"3": [ | ||
{ | ||
"kind": "Take", | ||
"value": { | ||
"kind": "Amount", | ||
"resource_address": "resource_tdx_2_1tknxxxxxxxxxradxrdxxxxxxxxx009923554798xxxxxxxxxtfd2jc", | ||
"amount": "150" | ||
} | ||
} | ||
] | ||
}, | ||
"fee_summary": { | ||
"execution_fees_in_xrd": "0.2383276", | ||
"finalization_fees_in_xrd": "0.041757", | ||
"storage_fees_in_xrd": "0.11224746511", | ||
"royalty_fees_in_xrd": "0" | ||
}, | ||
"locked_fees": { | ||
"contingent": "0", | ||
"non_contingent": "0" | ||
} | ||
} |
33 changes: 33 additions & 0 deletions
33
crates/sargon/fixtures/transaction/claim_two_stakes_from_one_validator.rtm
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,33 @@ | ||
CALL_METHOD | ||
Address("account_tdx_2_129uv9r46an4hwng8wc97qwpraspvnrc7v2farne4lr6ff7yaevaz2a") | ||
"lock_fee" | ||
Decimal("0.571994908619") | ||
; | ||
CALL_METHOD | ||
Address("account_tdx_2_129uv9r46an4hwng8wc97qwpraspvnrc7v2farne4lr6ff7yaevaz2a") | ||
"withdraw_non_fungibles" | ||
Address("resource_tdx_2_1ng3g2nj5pfpmdphgz0nrh8z0gtqcxx5z5dn48t85ar0z0zjhefufaw") | ||
Array<NonFungibleLocalId>( | ||
NonFungibleLocalId("{1c1ce92c810094a7-65659db6a666c19c-6cea4367bb789b55-276b137712ceecce}"), | ||
NonFungibleLocalId("{5aebd0270caf3f87-51031498741f57b5-d24fe0d62a976589-519c6a92423888cc}") | ||
) | ||
; | ||
TAKE_ALL_FROM_WORKTOP | ||
Address("resource_tdx_2_1ng3g2nj5pfpmdphgz0nrh8z0gtqcxx5z5dn48t85ar0z0zjhefufaw") | ||
Bucket("bucket1") | ||
; | ||
CALL_METHOD | ||
Address("validator_tdx_2_1sdtnujyn3720ymg8lakydkvc5tw4q3zecdj95akdwt9de362mvtd94") | ||
"claim_xrd" | ||
Bucket("bucket1") | ||
; | ||
TAKE_FROM_WORKTOP | ||
Address("resource_tdx_2_1tknxxxxxxxxxradxrdxxxxxxxxx009923554798xxxxxxxxxtfd2jc") | ||
Decimal("150") | ||
Bucket("bucket2") | ||
; | ||
CALL_METHOD | ||
Address("account_tdx_2_129uv9r46an4hwng8wc97qwpraspvnrc7v2farne4lr6ff7yaevaz2a") | ||
"deposit" | ||
Bucket("bucket2") | ||
; |
1 change: 0 additions & 1 deletion
1
crates/sargon/fixtures/transaction/claim_two_validator_stakes.dat
This file was deleted.
Oops, something went wrong.
53 changes: 0 additions & 53 deletions
53
crates/sargon/fixtures/transaction/claim_two_validator_stakes.rtm
This file was deleted.
Oops, something went wrong.
42 changes: 41 additions & 1 deletion
42
crates/sargon/fixtures/transaction/contribute_to_bi_pool.dat
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.