Skip to content
This repository has been archived by the owner on Jul 15, 2022. It is now read-only.

Commit

Permalink
Update snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
hakim-adamik authored and lambertkevin committed Apr 11, 2022
1 parent ffc47e5 commit bc5e632
Show file tree
Hide file tree
Showing 4 changed files with 135 additions and 91 deletions.
13 changes: 0 additions & 13 deletions src/currencies/__snapshots__/sortByMarketcap.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,6 @@ Array [
"ethereum/erc20/czr",
"ethereum/erc20/omix",
"ethereum/erc20/poker_chips",
"tron/trc10/1002000",
"ethereum/erc20/education",
"ethereum/erc20/iethereum",
"ethereum/erc20/plutus",
Expand Down Expand Up @@ -5763,18 +5762,6 @@ Array [
"polygon/erc20/xy_oracle",
"polygon/erc20/yop",
"polygon/erc20/zrx",
"tron/trc10/1002670",
"tron/trc10/1002413",
"tron/trc10/1001943",
"tron/trc10/1001351",
"tron/trc10/1001316",
"tron/trc10/1001313",
"tron/trc10/1001107",
"tron/trc10/1001092",
"tron/trc10/1001090",
"tron/trc10/1000322",
"tron/trc10/1000226",
"tron/trc10/1000001",
"tron/trc20/TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t",
"tron/trc20/TLa2f6VPqDgRE67v1736s7bJ8Ray5wYjU7",
"tron/trc20/TCFLL5dx5ZJdKnWuesXxi1VPwjLVmWZZy9",
Expand Down
95 changes: 24 additions & 71 deletions src/families/bitcoin/__snapshots__/bridge.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -11575,6 +11575,30 @@ Array [
"type": "OUT",
"value": "300452",
},
Object {
"accountId": "js:2:dash:drkvjRicQKXd21b4fiTjSfm4SMoVE5q6DhCopUQ4pBYU9WT1dTVSUHoF91sfFkfgR9MdXqiPGgpNV45VrGFrVfVGn8vH7jroquD34qyYuHbj6Dk:",
"blockHash": "000000000000002396cd2d3c9f9bef3d225eb9df4b64f8d75f66e70637348fa1",
"blockHeight": 1050455,
"contract": undefined,
"extra": Object {},
"fee": "1044",
"hasFailed": false,
"hash": "4fb5cf199589d4a653e1de02efde1a9439212c7363f42361ab8dad4bb5801e04",
"id": "js:2:dash:drkvjRicQKXd21b4fiTjSfm4SMoVE5q6DhCopUQ4pBYU9WT1dTVSUHoF91sfFkfgR9MdXqiPGgpNV45VrGFrVfVGn8vH7jroquD34qyYuHbj6Dk:-4fb5cf199589d4a653e1de02efde1a9439212c7363f42361ab8dad4bb5801e04-IN",
"operator": undefined,
"recipients": Array [
"XiEvPwG7j1qWHXeHSSMyMQ5hJpMDevAN3T",
],
"senders": Array [
"Xrr87pvdmSYscqiuqFM73p7JywTjweB3MB",
"XyJcCrduqaWPGAxGxWxfZcANAdo1Gbx9Pu",
"XpobffkBapxCR2VNYNGFjQPtZG9uLcQmft",
],
"standard": undefined,
"tokenId": undefined,
"type": "IN",
"value": "962542",
},
Object {
"accountId": "js:2:dash:drkvjRicQKXd21b4fiTjSfm4SMoVE5q6DhCopUQ4pBYU9WT1dTVSUHoF91sfFkfgR9MdXqiPGgpNV45VrGFrVfVGn8vH7jroquD34qyYuHbj6Dk:",
"blockHash": "000000000000002396cd2d3c9f9bef3d225eb9df4b64f8d75f66e70637348fa1",
Expand Down Expand Up @@ -22925,77 +22949,6 @@ Array [
"type": "IN",
"value": "1000000",
},
],
Array [],
]
`;

exports[`solana currency bridge scanAccounts solana seed 1 1`] = `
Array [
Object {
"balance": "83389840",
"currencyId": "solana",
"derivationMode": "solanaMain",
"freshAddress": "AQbkEagmPgmsdAfS4X8V8UyJnXXjVPMvjeD15etqQ3Jh",
"freshAddressPath": "44'/501'",
"freshAddresses": Array [
Object {
"address": "AQbkEagmPgmsdAfS4X8V8UyJnXXjVPMvjeD15etqQ3Jh",
"derivationPath": "44'/501'",
},
],
"id": "js:2:solana:AQbkEagmPgmsdAfS4X8V8UyJnXXjVPMvjeD15etqQ3Jh:solanaMain",
"index": 0,
"name": "Solana 1",
"nfts": undefined,
"operationsCount": 2,
"pendingOperations": Array [],
"seedIdentifier": "AQbkEagmPgmsdAfS4X8V8UyJnXXjVPMvjeD15etqQ3Jh",
"solanaResources": Object {
"stakes": "[]",
},
"spendableBalance": "83389840",
"starred": false,
"swapHistory": Array [],
"syncHash": undefined,
"unitMagnitude": 9,
"used": true,
},
Object {
"balance": "0",
"currencyId": "solana",
"derivationMode": "solanaSub",
"freshAddress": "6rEgdtB3sgjKJnRE172YEr9z6qUyr4nFW28vJokuD36A",
"freshAddressPath": "44'/501'/0'",
"freshAddresses": Array [
Object {
"address": "6rEgdtB3sgjKJnRE172YEr9z6qUyr4nFW28vJokuD36A",
"derivationPath": "44'/501'/0'",
},
],
"id": "js:2:solana:6rEgdtB3sgjKJnRE172YEr9z6qUyr4nFW28vJokuD36A:solanaSub",
"index": 0,
"name": "Solana 1",
"nfts": undefined,
"operationsCount": 0,
"pendingOperations": Array [],
"seedIdentifier": "AQbkEagmPgmsdAfS4X8V8UyJnXXjVPMvjeD15etqQ3Jh",
"solanaResources": Object {
"stakes": "[]",
},
"spendableBalance": "0",
"starred": false,
"swapHistory": Array [],
"syncHash": undefined,
"unitMagnitude": 9,
"used": false,
},
]
`;

exports[`solana currency bridge scanAccounts solana seed 1 2`] = `
Array [
Array [
Object {
"accountId": "js:2:qtum:xpub6D97ABLAcapXNWjS2pNwYpmUjYYt5f2Tyj4PDSp7pvY2gySb2iAvejKNPm18raeU8WxtXVCpQfZjMN7eEdgtor8T5141ZLH7o2WkL1nyNQb:segwit",
"blockHash": "eb38de048b4f1a0b52cafb7ee7a6708bd02ccf59c77cadd3b0d078652e785abd",
Expand Down
112 changes: 105 additions & 7 deletions src/families/cosmos/__snapshots__/bridge.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
exports[`cosmos currency bridge scanAccounts cosmos seed 1 1`] = `
Array [
Object {
"balance": "2578910",
"balance": "2467871",
"cosmosResources": Object {
"delegatedBalance": "2149064",
"delegatedBalance": "2139044",
"withdrawAddress": "cosmos1g84934jpu3v5de5yqukkkhxmcvsw3u2ajxvpdl",
},
"currencyId": "cosmos",
Expand All @@ -22,7 +22,7 @@ Array [
"index": 0,
"name": "Cosmos 1",
"nfts": undefined,
"operationsCount": 20,
"operationsCount": 22,
"pendingOperations": Array [],
"seedIdentifier": "0388459b2653519948b12492f1a0b464720110c147a8155d23d423a5cc3c21d89a",
"starred": false,
Expand Down Expand Up @@ -63,9 +63,9 @@ Array [
"xpub": "cosmos108uy5q9jt59gwugq5yrdhkzcd9jryslmpcstk5",
},
Object {
"balance": "327600",
"balance": "478443",
"cosmosResources": Object {
"delegatedBalance": "326000",
"delegatedBalance": "1000",
"withdrawAddress": "cosmos1cgc696ay2pg6d4gcejek2y8la66j7e5y3c7kyw",
},
"currencyId": "cosmos",
Expand All @@ -82,7 +82,7 @@ Array [
"index": 2,
"name": "Cosmos 3",
"nfts": undefined,
"operationsCount": 6,
"operationsCount": 8,
"pendingOperations": Array [],
"seedIdentifier": "0388459b2653519948b12492f1a0b464720110c147a8155d23d423a5cc3c21d89a",
"starred": false,
Expand Down Expand Up @@ -224,6 +224,30 @@ Array [
"type": "IN",
"value": "1000",
},
Object {
"accountId": "js:2:cosmos:cosmos1g84934jpu3v5de5yqukkkhxmcvsw3u2ajxvpdl:",
"blockHash": null,
"blockHeight": "9956697",
"contract": undefined,
"extra": Object {
"validators": Array [],
},
"fee": "3080",
"hash": "3A82D9A362C56863D589CD860AD0F8C12E90AD8C3BFAAC2236317220C4C282A6",
"id": "js:2:cosmos:cosmos1g84934jpu3v5de5yqukkkhxmcvsw3u2ajxvpdl:-3A82D9A362C56863D589CD860AD0F8C12E90AD8C3BFAAC2236317220C4C282A6-OUT",
"operator": undefined,
"recipients": Array [
"cosmos1cgc696ay2pg6d4gcejek2y8la66j7e5y3c7kyw",
],
"senders": Array [
"cosmos1g84934jpu3v5de5yqukkkhxmcvsw3u2ajxvpdl",
],
"standard": undefined,
"tokenId": undefined,
"transactionSequenceNumber": 78,
"type": "OUT",
"value": "103080",
},
Object {
"accountId": "js:2:cosmos:cosmos1g84934jpu3v5de5yqukkkhxmcvsw3u2ajxvpdl:",
"blockHash": null,
Expand Down Expand Up @@ -273,6 +297,31 @@ Array [
"type": "REWARD",
"value": "7392",
},
Object {
"accountId": "js:2:cosmos:cosmos1g84934jpu3v5de5yqukkkhxmcvsw3u2ajxvpdl:",
"blockHash": null,
"blockHeight": "9956265",
"contract": undefined,
"extra": Object {
"validators": Array [
Object {
"address": "cosmosvaloper1qwl879nx9t6kef4supyazayf7vjhennyh568ys",
"amount": "10000",
},
],
},
"fee": "8042",
"hash": "5EE1B4105F5550ADEC1EAD09B6BC7F766AB42ECA8FBC3FDAC7252ECE7C3F15B3",
"id": "js:2:cosmos:cosmos1g84934jpu3v5de5yqukkkhxmcvsw3u2ajxvpdl:-5EE1B4105F5550ADEC1EAD09B6BC7F766AB42ECA8FBC3FDAC7252ECE7C3F15B3-UNDELEGATE",
"operator": undefined,
"recipients": Array [],
"senders": Array [],
"standard": undefined,
"tokenId": undefined,
"transactionSequenceNumber": 77,
"type": "UNDELEGATE",
"value": "8042",
},
Object {
"accountId": "js:2:cosmos:cosmos1g84934jpu3v5de5yqukkkhxmcvsw3u2ajxvpdl:",
"blockHash": null,
Expand Down Expand Up @@ -951,6 +1000,30 @@ Array [
"type": "OUT",
"value": "6203",
},
Object {
"accountId": "js:2:cosmos:cosmos1cgc696ay2pg6d4gcejek2y8la66j7e5y3c7kyw:",
"blockHash": null,
"blockHeight": "9956697",
"contract": undefined,
"extra": Object {
"validators": Array [],
},
"fee": "3080",
"hash": "3A82D9A362C56863D589CD860AD0F8C12E90AD8C3BFAAC2236317220C4C282A6",
"id": "js:2:cosmos:cosmos1cgc696ay2pg6d4gcejek2y8la66j7e5y3c7kyw:-3A82D9A362C56863D589CD860AD0F8C12E90AD8C3BFAAC2236317220C4C282A6-IN",
"operator": undefined,
"recipients": Array [
"cosmos1cgc696ay2pg6d4gcejek2y8la66j7e5y3c7kyw",
],
"senders": Array [
"cosmos1g84934jpu3v5de5yqukkkhxmcvsw3u2ajxvpdl",
],
"standard": undefined,
"tokenId": undefined,
"transactionSequenceNumber": 78,
"type": "IN",
"value": "100000",
},
Object {
"accountId": "js:2:cosmos:cosmos1cgc696ay2pg6d4gcejek2y8la66j7e5y3c7kyw:",
"blockHash": null,
Expand All @@ -975,6 +1048,31 @@ Array [
"type": "OUT",
"value": "483961",
},
Object {
"accountId": "js:2:cosmos:cosmos1cgc696ay2pg6d4gcejek2y8la66j7e5y3c7kyw:",
"blockHash": null,
"blockHeight": "9956741",
"contract": undefined,
"extra": Object {
"validators": Array [
Object {
"address": "cosmosvaloper1sjllsnramtg3ewxqwwrwjxfgc4n4ef9u2lcnj0",
"amount": "325000",
},
],
},
"fee": "7695",
"hash": "71609DCD374EE66A52773F187300EA30188413D377A9AA02D0CB31C65B0A1B0C",
"id": "js:2:cosmos:cosmos1cgc696ay2pg6d4gcejek2y8la66j7e5y3c7kyw:-71609DCD374EE66A52773F187300EA30188413D377A9AA02D0CB31C65B0A1B0C-UNDELEGATE",
"operator": undefined,
"recipients": Array [],
"senders": Array [],
"standard": undefined,
"tokenId": undefined,
"transactionSequenceNumber": 26,
"type": "UNDELEGATE",
"value": "7695",
},
Object {
"accountId": "js:2:cosmos:cosmos1cgc696ay2pg6d4gcejek2y8la66j7e5y3c7kyw:",
"blockHash": null,
Expand Down Expand Up @@ -1032,7 +1130,7 @@ Array [
"validators": Array [
Object {
"address": "cosmosvaloper17zcpywlhgcpk7ff505vr8mnc4wwpv5fcta6enz",
"amount": "",
"amount": "0",
},
Object {
"address": "cosmosvaloper17zcpywlhgcpk7ff505vr8mnc4wwpv5fcta6enz",
Expand Down
6 changes: 6 additions & 0 deletions src/families/solana/__snapshots__/bridge.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ Array [
"operationsCount": 2,
"pendingOperations": Array [],
"seedIdentifier": "AQbkEagmPgmsdAfS4X8V8UyJnXXjVPMvjeD15etqQ3Jh",
"solanaResources": Object {
"stakes": "[]",
},
"spendableBalance": "83389840",
"starred": false,
"swapHistory": Array [],
Expand All @@ -47,6 +50,9 @@ Array [
"operationsCount": 0,
"pendingOperations": Array [],
"seedIdentifier": "AQbkEagmPgmsdAfS4X8V8UyJnXXjVPMvjeD15etqQ3Jh",
"solanaResources": Object {
"stakes": "[]",
},
"spendableBalance": "0",
"starred": false,
"swapHistory": Array [],
Expand Down

0 comments on commit bc5e632

Please sign in to comment.