@gmx-io/sdk 0.0.4 → 0.0.5
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.
- package/build/src/abis/CustomErrors.json +3196 -3196
- package/build/src/abis/DataStore.json +1335 -1335
- package/build/src/abis/ERC721.json +399 -399
- package/build/src/abis/EventEmitter.json +1967 -1967
- package/build/src/abis/ExchangeRouter.json +1461 -1461
- package/build/src/abis/GMT.json +478 -478
- package/build/src/abis/GlpManager.json +590 -589
- package/build/src/abis/GlvReader.json +1338 -1337
- package/build/src/abis/GlvRouter.json +595 -594
- package/build/src/abis/GmxMigrator.json +601 -601
- package/build/src/abis/GovToken.json +1040 -1040
- package/build/src/abis/MintableBaseToken.json +645 -645
- package/build/src/abis/Multicall.json +310 -310
- package/build/src/abis/OrderBook.json +1995 -1995
- package/build/src/abis/OrderBookReader.json +103 -103
- package/build/src/abis/OrderExecutor.json +108 -108
- package/build/src/abis/PositionManager.json +1162 -1162
- package/build/src/abis/PositionRouter.json +2028 -2028
- package/build/src/abis/Reader.json +328 -328
- package/build/src/abis/ReaderV2.json +628 -628
- package/build/src/abis/ReferralStorage.json +460 -460
- package/build/src/abis/RewardReader.json +78 -78
- package/build/src/abis/RewardRouter.json +767 -767
- package/build/src/abis/RewardTracker.json +848 -848
- package/build/src/abis/Router-v2.json +602 -602
- package/build/src/abis/Router.json +602 -602
- package/build/src/abis/SubaccountRouter.json +572 -572
- package/build/src/abis/SyntheticsReader.json +4238 -4238
- package/build/src/abis/SyntheticsRouter.json +67 -67
- package/build/src/abis/Timelock.json +1735 -1735
- package/build/src/abis/Token.json +311 -311
- package/build/src/abis/Treasury.json +375 -375
- package/build/src/abis/UniPool.json +81 -81
- package/build/src/abis/UniswapV2.json +1 -1
- package/build/src/abis/Vault.json +3218 -3218
- package/build/src/abis/VaultReader.json +81 -81
- package/build/src/abis/VaultV2.json +3017 -3017
- package/build/src/abis/VaultV2b.json +3218 -3218
- package/build/src/abis/Vester.json +942 -942
- package/build/src/abis/WETH.json +289 -289
- package/build/src/abis/YieldFarm.json +556 -556
- package/build/src/abis/YieldToken.json +512 -512
- package/build/src/prebuilt/hashedMarketConfigKeys.json +3656 -3656
- package/build/src/prebuilt/hashedMarketValuesKeys.json +1101 -1101
- package/package.json +2 -2
- package/build/abis/CustomErrors.json +0 -3254
- package/build/abis/DataStore.json +0 -1440
- package/build/abis/ERC721.json +0 -442
- package/build/abis/EventEmitter.json +0 -2065
- package/build/abis/ExchangeRouter.json +0 -1598
- package/build/abis/GMT.json +0 -522
- package/build/abis/GlpManager.json +0 -592
- package/build/abis/GlvReader.json +0 -1425
- package/build/abis/GlvRouter.json +0 -613
- package/build/abis/GmxMigrator.json +0 -657
- package/build/abis/GovToken.json +0 -1121
- package/build/abis/MintableBaseToken.json +0 -696
- package/build/abis/Multicall.json +0 -333
- package/build/abis/OrderBook.json +0 -1997
- package/build/abis/OrderBookReader.json +0 -111
- package/build/abis/OrderExecutor.json +0 -122
- package/build/abis/PositionManager.json +0 -1165
- package/build/abis/PositionRouter.json +0 -2030
- package/build/abis/Reader.json +0 -355
- package/build/abis/ReaderV2.json +0 -630
- package/build/abis/ReferralStorage.json +0 -507
- package/build/abis/RewardReader.json +0 -86
- package/build/abis/RewardRouter.json +0 -769
- package/build/abis/RewardTracker.json +0 -918
- package/build/abis/Router-v2.json +0 -605
- package/build/abis/Router.json +0 -605
- package/build/abis/SubaccountRouter.json +0 -648
- package/build/abis/SyntheticsReader.json +0 -4577
- package/build/abis/SyntheticsRouter.json +0 -77
- package/build/abis/Timelock.json +0 -1737
- package/build/abis/Token.json +0 -345
- package/build/abis/Treasury.json +0 -411
- package/build/abis/UniPool.json +0 -89
- package/build/abis/UniswapV2.json +0 -1
- package/build/abis/Vault.json +0 -3220
- package/build/abis/VaultReader.json +0 -87
- package/build/abis/VaultV2.json +0 -3019
- package/build/abis/VaultV2b.json +0 -3220
- package/build/abis/Vester.json +0 -1031
- package/build/abis/WETH.json +0 -320
- package/build/abis/YieldFarm.json +0 -599
- package/build/abis/YieldToken.json +0 -560
- package/build/prebuilt/hashedMarketConfigKeys.json +0 -3658
- package/build/prebuilt/hashedMarketValuesKeys.json +0 -1103
- /package/build/{prebuilt → src/prebuilt}/index.ts +0 -0
|
@@ -1,86 +1,86 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
"_format": "hh-sol-artifact-1",
|
|
3
|
+
"contractName": "RewardReader",
|
|
4
|
+
"sourceName": "contracts/peripherals/RewardReader.sol",
|
|
5
|
+
"abi": [
|
|
6
|
+
{
|
|
7
|
+
"inputs": [
|
|
6
8
|
{
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
"name": "_account",
|
|
11
|
-
"type": "address"
|
|
12
|
-
},
|
|
13
|
-
{
|
|
14
|
-
"internalType": "address[]",
|
|
15
|
-
"name": "_depositTokens",
|
|
16
|
-
"type": "address[]"
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
"internalType": "address[]",
|
|
20
|
-
"name": "_rewardTrackers",
|
|
21
|
-
"type": "address[]"
|
|
22
|
-
}
|
|
23
|
-
],
|
|
24
|
-
"name": "getDepositBalances",
|
|
25
|
-
"outputs": [
|
|
26
|
-
{
|
|
27
|
-
"internalType": "uint256[]",
|
|
28
|
-
"name": "",
|
|
29
|
-
"type": "uint256[]"
|
|
30
|
-
}
|
|
31
|
-
],
|
|
32
|
-
"stateMutability": "view",
|
|
33
|
-
"type": "function"
|
|
9
|
+
"internalType": "address",
|
|
10
|
+
"name": "_account",
|
|
11
|
+
"type": "address"
|
|
34
12
|
},
|
|
35
13
|
{
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
"name": "_account",
|
|
40
|
-
"type": "address"
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
"internalType": "address[]",
|
|
44
|
-
"name": "_rewardTrackers",
|
|
45
|
-
"type": "address[]"
|
|
46
|
-
}
|
|
47
|
-
],
|
|
48
|
-
"name": "getStakingInfo",
|
|
49
|
-
"outputs": [
|
|
50
|
-
{
|
|
51
|
-
"internalType": "uint256[]",
|
|
52
|
-
"name": "",
|
|
53
|
-
"type": "uint256[]"
|
|
54
|
-
}
|
|
55
|
-
],
|
|
56
|
-
"stateMutability": "view",
|
|
57
|
-
"type": "function"
|
|
14
|
+
"internalType": "address[]",
|
|
15
|
+
"name": "_depositTokens",
|
|
16
|
+
"type": "address[]"
|
|
58
17
|
},
|
|
59
18
|
{
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
"name": "_account",
|
|
64
|
-
"type": "address"
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
"internalType": "address[]",
|
|
68
|
-
"name": "_vesters",
|
|
69
|
-
"type": "address[]"
|
|
70
|
-
}
|
|
71
|
-
],
|
|
72
|
-
"name": "getVestingInfoV2",
|
|
73
|
-
"outputs": [
|
|
74
|
-
{
|
|
75
|
-
"internalType": "uint256[]",
|
|
76
|
-
"name": "",
|
|
77
|
-
"type": "uint256[]"
|
|
78
|
-
}
|
|
79
|
-
],
|
|
80
|
-
"stateMutability": "view",
|
|
81
|
-
"type": "function"
|
|
19
|
+
"internalType": "address[]",
|
|
20
|
+
"name": "_rewardTrackers",
|
|
21
|
+
"type": "address[]"
|
|
82
22
|
}
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
23
|
+
],
|
|
24
|
+
"name": "getDepositBalances",
|
|
25
|
+
"outputs": [
|
|
26
|
+
{
|
|
27
|
+
"internalType": "uint256[]",
|
|
28
|
+
"name": "",
|
|
29
|
+
"type": "uint256[]"
|
|
30
|
+
}
|
|
31
|
+
],
|
|
32
|
+
"stateMutability": "view",
|
|
33
|
+
"type": "function"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"inputs": [
|
|
37
|
+
{
|
|
38
|
+
"internalType": "address",
|
|
39
|
+
"name": "_account",
|
|
40
|
+
"type": "address"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"internalType": "address[]",
|
|
44
|
+
"name": "_rewardTrackers",
|
|
45
|
+
"type": "address[]"
|
|
46
|
+
}
|
|
47
|
+
],
|
|
48
|
+
"name": "getStakingInfo",
|
|
49
|
+
"outputs": [
|
|
50
|
+
{
|
|
51
|
+
"internalType": "uint256[]",
|
|
52
|
+
"name": "",
|
|
53
|
+
"type": "uint256[]"
|
|
54
|
+
}
|
|
55
|
+
],
|
|
56
|
+
"stateMutability": "view",
|
|
57
|
+
"type": "function"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"inputs": [
|
|
61
|
+
{
|
|
62
|
+
"internalType": "address",
|
|
63
|
+
"name": "_account",
|
|
64
|
+
"type": "address"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"internalType": "address[]",
|
|
68
|
+
"name": "_vesters",
|
|
69
|
+
"type": "address[]"
|
|
70
|
+
}
|
|
71
|
+
],
|
|
72
|
+
"name": "getVestingInfoV2",
|
|
73
|
+
"outputs": [
|
|
74
|
+
{
|
|
75
|
+
"internalType": "uint256[]",
|
|
76
|
+
"name": "",
|
|
77
|
+
"type": "uint256[]"
|
|
78
|
+
}
|
|
79
|
+
],
|
|
80
|
+
"stateMutability": "view",
|
|
81
|
+
"type": "function"
|
|
82
|
+
}
|
|
83
|
+
],
|
|
84
|
+
"linkReferences": {},
|
|
85
|
+
"deployedLinkReferences": {}
|
|
86
86
|
}
|