@gmx-io/sdk 0.0.4 → 0.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (90) hide show
  1. package/build/src/abis/CustomErrors.json +3196 -3196
  2. package/build/src/abis/DataStore.json +1335 -1335
  3. package/build/src/abis/ERC721.json +399 -399
  4. package/build/src/abis/EventEmitter.json +1967 -1967
  5. package/build/src/abis/ExchangeRouter.json +1461 -1461
  6. package/build/src/abis/GMT.json +478 -478
  7. package/build/src/abis/GlpManager.json +590 -589
  8. package/build/src/abis/GlvReader.json +1338 -1337
  9. package/build/src/abis/GlvRouter.json +595 -594
  10. package/build/src/abis/GmxMigrator.json +601 -601
  11. package/build/src/abis/GovToken.json +1040 -1040
  12. package/build/src/abis/MintableBaseToken.json +645 -645
  13. package/build/src/abis/Multicall.json +310 -310
  14. package/build/src/abis/OrderBook.json +1995 -1995
  15. package/build/src/abis/OrderBookReader.json +103 -103
  16. package/build/src/abis/OrderExecutor.json +108 -108
  17. package/build/src/abis/PositionManager.json +1162 -1162
  18. package/build/src/abis/PositionRouter.json +2028 -2028
  19. package/build/src/abis/Reader.json +328 -328
  20. package/build/src/abis/ReaderV2.json +628 -628
  21. package/build/src/abis/ReferralStorage.json +460 -460
  22. package/build/src/abis/RewardReader.json +78 -78
  23. package/build/src/abis/RewardRouter.json +767 -767
  24. package/build/src/abis/RewardTracker.json +848 -848
  25. package/build/src/abis/Router-v2.json +602 -602
  26. package/build/src/abis/Router.json +602 -602
  27. package/build/src/abis/SubaccountRouter.json +572 -572
  28. package/build/src/abis/SyntheticsReader.json +4238 -4238
  29. package/build/src/abis/SyntheticsRouter.json +67 -67
  30. package/build/src/abis/Timelock.json +1735 -1735
  31. package/build/src/abis/Token.json +311 -311
  32. package/build/src/abis/Treasury.json +375 -375
  33. package/build/src/abis/UniPool.json +81 -81
  34. package/build/src/abis/UniswapV2.json +1 -1
  35. package/build/src/abis/Vault.json +3218 -3218
  36. package/build/src/abis/VaultReader.json +81 -81
  37. package/build/src/abis/VaultV2.json +3017 -3017
  38. package/build/src/abis/VaultV2b.json +3218 -3218
  39. package/build/src/abis/Vester.json +942 -942
  40. package/build/src/abis/WETH.json +289 -289
  41. package/build/src/abis/YieldFarm.json +556 -556
  42. package/build/src/abis/YieldToken.json +512 -512
  43. package/build/src/prebuilt/hashedMarketConfigKeys.json +3656 -3656
  44. package/build/src/prebuilt/hashedMarketValuesKeys.json +1101 -1101
  45. package/package.json +2 -2
  46. package/build/abis/CustomErrors.json +0 -3254
  47. package/build/abis/DataStore.json +0 -1440
  48. package/build/abis/ERC721.json +0 -442
  49. package/build/abis/EventEmitter.json +0 -2065
  50. package/build/abis/ExchangeRouter.json +0 -1598
  51. package/build/abis/GMT.json +0 -522
  52. package/build/abis/GlpManager.json +0 -592
  53. package/build/abis/GlvReader.json +0 -1425
  54. package/build/abis/GlvRouter.json +0 -613
  55. package/build/abis/GmxMigrator.json +0 -657
  56. package/build/abis/GovToken.json +0 -1121
  57. package/build/abis/MintableBaseToken.json +0 -696
  58. package/build/abis/Multicall.json +0 -333
  59. package/build/abis/OrderBook.json +0 -1997
  60. package/build/abis/OrderBookReader.json +0 -111
  61. package/build/abis/OrderExecutor.json +0 -122
  62. package/build/abis/PositionManager.json +0 -1165
  63. package/build/abis/PositionRouter.json +0 -2030
  64. package/build/abis/Reader.json +0 -355
  65. package/build/abis/ReaderV2.json +0 -630
  66. package/build/abis/ReferralStorage.json +0 -507
  67. package/build/abis/RewardReader.json +0 -86
  68. package/build/abis/RewardRouter.json +0 -769
  69. package/build/abis/RewardTracker.json +0 -918
  70. package/build/abis/Router-v2.json +0 -605
  71. package/build/abis/Router.json +0 -605
  72. package/build/abis/SubaccountRouter.json +0 -648
  73. package/build/abis/SyntheticsReader.json +0 -4577
  74. package/build/abis/SyntheticsRouter.json +0 -77
  75. package/build/abis/Timelock.json +0 -1737
  76. package/build/abis/Token.json +0 -345
  77. package/build/abis/Treasury.json +0 -411
  78. package/build/abis/UniPool.json +0 -89
  79. package/build/abis/UniswapV2.json +0 -1
  80. package/build/abis/Vault.json +0 -3220
  81. package/build/abis/VaultReader.json +0 -87
  82. package/build/abis/VaultV2.json +0 -3019
  83. package/build/abis/VaultV2b.json +0 -3220
  84. package/build/abis/Vester.json +0 -1031
  85. package/build/abis/WETH.json +0 -320
  86. package/build/abis/YieldFarm.json +0 -599
  87. package/build/abis/YieldToken.json +0 -560
  88. package/build/prebuilt/hashedMarketConfigKeys.json +0 -3658
  89. package/build/prebuilt/hashedMarketValuesKeys.json +0 -1103
  90. /package/build/{prebuilt → src/prebuilt}/index.ts +0 -0
@@ -1,87 +1,87 @@
1
1
  {
2
- "_format": "hh-sol-artifact-1",
3
- "contractName": "VaultReader",
4
- "sourceName": "contracts/peripherals/VaultReader.sol",
5
- "abi": [
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "VaultReader",
4
+ "sourceName": "contracts/peripherals/VaultReader.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
6
8
  {
7
- "inputs": [
8
- {
9
- "internalType": "address",
10
- "name": "_vault",
11
- "type": "address"
12
- },
13
- {
14
- "internalType": "address",
15
- "name": "_positionManager",
16
- "type": "address"
17
- },
18
- {
19
- "internalType": "address",
20
- "name": "_weth",
21
- "type": "address"
22
- },
23
- {
24
- "internalType": "uint256",
25
- "name": "_usdgAmount",
26
- "type": "uint256"
27
- },
28
- {
29
- "internalType": "address[]",
30
- "name": "_tokens",
31
- "type": "address[]"
32
- }
33
- ],
34
- "name": "getVaultTokenInfoV3",
35
- "outputs": [
36
- {
37
- "internalType": "uint256[]",
38
- "name": "",
39
- "type": "uint256[]"
40
- }
41
- ],
42
- "stateMutability": "view",
43
- "type": "function"
9
+ "internalType": "address",
10
+ "name": "_vault",
11
+ "type": "address"
44
12
  },
45
13
  {
46
- "inputs": [
47
- {
48
- "internalType": "address",
49
- "name": "_vault",
50
- "type": "address"
51
- },
52
- {
53
- "internalType": "address",
54
- "name": "_positionManager",
55
- "type": "address"
56
- },
57
- {
58
- "internalType": "address",
59
- "name": "_weth",
60
- "type": "address"
61
- },
62
- {
63
- "internalType": "uint256",
64
- "name": "_usdgAmount",
65
- "type": "uint256"
66
- },
67
- {
68
- "internalType": "address[]",
69
- "name": "_tokens",
70
- "type": "address[]"
71
- }
72
- ],
73
- "name": "getVaultTokenInfoV4",
74
- "outputs": [
75
- {
76
- "internalType": "uint256[]",
77
- "name": "",
78
- "type": "uint256[]"
79
- }
80
- ],
81
- "stateMutability": "view",
82
- "type": "function"
14
+ "internalType": "address",
15
+ "name": "_positionManager",
16
+ "type": "address"
17
+ },
18
+ {
19
+ "internalType": "address",
20
+ "name": "_weth",
21
+ "type": "address"
22
+ },
23
+ {
24
+ "internalType": "uint256",
25
+ "name": "_usdgAmount",
26
+ "type": "uint256"
27
+ },
28
+ {
29
+ "internalType": "address[]",
30
+ "name": "_tokens",
31
+ "type": "address[]"
32
+ }
33
+ ],
34
+ "name": "getVaultTokenInfoV3",
35
+ "outputs": [
36
+ {
37
+ "internalType": "uint256[]",
38
+ "name": "",
39
+ "type": "uint256[]"
40
+ }
41
+ ],
42
+ "stateMutability": "view",
43
+ "type": "function"
44
+ },
45
+ {
46
+ "inputs": [
47
+ {
48
+ "internalType": "address",
49
+ "name": "_vault",
50
+ "type": "address"
51
+ },
52
+ {
53
+ "internalType": "address",
54
+ "name": "_positionManager",
55
+ "type": "address"
56
+ },
57
+ {
58
+ "internalType": "address",
59
+ "name": "_weth",
60
+ "type": "address"
61
+ },
62
+ {
63
+ "internalType": "uint256",
64
+ "name": "_usdgAmount",
65
+ "type": "uint256"
66
+ },
67
+ {
68
+ "internalType": "address[]",
69
+ "name": "_tokens",
70
+ "type": "address[]"
71
+ }
72
+ ],
73
+ "name": "getVaultTokenInfoV4",
74
+ "outputs": [
75
+ {
76
+ "internalType": "uint256[]",
77
+ "name": "",
78
+ "type": "uint256[]"
83
79
  }
84
- ],
85
- "linkReferences": {},
86
- "deployedLinkReferences": {}
80
+ ],
81
+ "stateMutability": "view",
82
+ "type": "function"
83
+ }
84
+ ],
85
+ "linkReferences": {},
86
+ "deployedLinkReferences": {}
87
87
  }