@dripfi/drip-sdk 1.4.34 → 1.4.35-beta.2

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 (150) hide show
  1. package/package.json +11 -12
  2. package/dist/PerqApi.d.ts +0 -49
  3. package/dist/PerqApi.js +0 -475
  4. package/dist/PerqSdk.d.ts +0 -40
  5. package/dist/PerqSdk.js +0 -75
  6. package/dist/abi/ERC20.json +0 -222
  7. package/dist/abi/SlotBurnTokenAbi.json +0 -130
  8. package/dist/abi/WethTokenAbi.json +0 -25
  9. package/dist/abi/index.d.ts +0 -411
  10. package/dist/abi/index.js +0 -23
  11. package/dist/abi/perq/BridgeMainnetPerqToSonicAbi.json +0 -598
  12. package/dist/abi/perq/BridgeSonicPerqToMainnetAbi.json +0 -733
  13. package/dist/abi/perq/PerqSwapAndRecyclerAbi.json +0 -95
  14. package/dist/abi/perq/PerqTokenAbi.json +0 -48
  15. package/dist/abi/perq/PerqVestingAbi.json +0 -126
  16. package/dist/abi/perq/TokenRecyclerAbi.json +0 -41
  17. package/dist/constants.d.ts +0 -2
  18. package/dist/constants.js +0 -5
  19. package/dist/contracts/BaseContract.d.ts +0 -7
  20. package/dist/contracts/BaseContract.js +0 -16
  21. package/dist/contracts/BridgeMainnetPerqToSonicContract.d.ts +0 -9
  22. package/dist/contracts/BridgeMainnetPerqToSonicContract.js +0 -48
  23. package/dist/contracts/BridgeSonicPerqToMainnetContract.d.ts +0 -9
  24. package/dist/contracts/BridgeSonicPerqToMainnetContract.js +0 -47
  25. package/dist/contracts/ERC20TokenContract.d.ts +0 -10
  26. package/dist/contracts/ERC20TokenContract.js +0 -34
  27. package/dist/contracts/SlotBurnTokenContract.d.ts +0 -8
  28. package/dist/contracts/SlotBurnTokenContract.js +0 -26
  29. package/dist/contracts/index.d.ts +0 -9
  30. package/dist/contracts/index.js +0 -22
  31. package/dist/contracts/perq/PerqSwapAndRecyclerContract.d.ts +0 -8
  32. package/dist/contracts/perq/PerqSwapAndRecyclerContract.js +0 -28
  33. package/dist/contracts/perq/PerqTokenContract.d.ts +0 -7
  34. package/dist/contracts/perq/PerqTokenContract.js +0 -26
  35. package/dist/contracts/perq/PerqTokenRecyclerContract.d.ts +0 -7
  36. package/dist/contracts/perq/PerqTokenRecyclerContract.js +0 -20
  37. package/dist/contracts/perq/PerqVestingContract.d.ts +0 -13
  38. package/dist/contracts/perq/PerqVestingContract.js +0 -56
  39. package/dist/index.d.ts +0 -5
  40. package/dist/index.js +0 -28
  41. package/dist/subpackages/BridgePerqPackage.d.ts +0 -36
  42. package/dist/subpackages/BridgePerqPackage.js +0 -205
  43. package/dist/subpackages/LitePackage.d.ts +0 -19
  44. package/dist/subpackages/LitePackage.js +0 -106
  45. package/dist/subpackages/LoyaltyCardsPackage.d.ts +0 -21
  46. package/dist/subpackages/LoyaltyCardsPackage.js +0 -123
  47. package/dist/subpackages/PoolsPackage.d.ts +0 -21
  48. package/dist/subpackages/PoolsPackage.js +0 -58
  49. package/dist/subpackages/RecyclerPackage.d.ts +0 -13
  50. package/dist/subpackages/RecyclerPackage.js +0 -87
  51. package/dist/subpackages/SignHandlerPackage.d.ts +0 -8
  52. package/dist/subpackages/SignHandlerPackage.js +0 -33
  53. package/dist/subpackages/SiloPackage.d.ts +0 -18
  54. package/dist/subpackages/SiloPackage.js +0 -112
  55. package/dist/subpackages/SiloVaultOperations.d.ts +0 -31
  56. package/dist/subpackages/SiloVaultOperations.js +0 -119
  57. package/dist/subpackages/TokenUtilsPackage.d.ts +0 -27
  58. package/dist/subpackages/TokenUtilsPackage.js +0 -93
  59. package/dist/subpackages/UserPackage.d.ts +0 -11
  60. package/dist/subpackages/UserPackage.js +0 -43
  61. package/dist/subpackages/VaultHandlerPackage.d.ts +0 -54
  62. package/dist/subpackages/VaultHandlerPackage.js +0 -107
  63. package/dist/subpackages/VestingPackage.d.ts +0 -14
  64. package/dist/subpackages/VestingPackage.js +0 -112
  65. package/dist/subpackages/YelayVaultOperations.d.ts +0 -13
  66. package/dist/subpackages/YelayVaultOperations.js +0 -107
  67. package/dist/types/Asset.d.ts +0 -5
  68. package/dist/types/Asset.js +0 -2
  69. package/dist/types/BeanEntry.d.ts +0 -12
  70. package/dist/types/BeanEntry.js +0 -2
  71. package/dist/types/BeansBalance.d.ts +0 -5
  72. package/dist/types/BeansBalance.js +0 -2
  73. package/dist/types/BridgePerq.d.ts +0 -14
  74. package/dist/types/BridgePerq.js +0 -2
  75. package/dist/types/ChainId.d.ts +0 -7
  76. package/dist/types/ChainId.js +0 -9
  77. package/dist/types/ClaimSpecialEditionLoyaltyCardPayload.d.ts +0 -4
  78. package/dist/types/ClaimSpecialEditionLoyaltyCardPayload.js +0 -2
  79. package/dist/types/DeployedProject.d.ts +0 -55
  80. package/dist/types/DeployedProject.js +0 -2
  81. package/dist/types/DeployedVault.d.ts +0 -14
  82. package/dist/types/DeployedVault.js +0 -2
  83. package/dist/types/DepositToken.d.ts +0 -8
  84. package/dist/types/DepositToken.js +0 -2
  85. package/dist/types/DetailedProjectData.d.ts +0 -34
  86. package/dist/types/DetailedProjectData.js +0 -2
  87. package/dist/types/DistributionToken.d.ts +0 -6
  88. package/dist/types/DistributionToken.js +0 -2
  89. package/dist/types/ELoyaltyCardTier.d.ts +0 -10
  90. package/dist/types/ELoyaltyCardTier.js +0 -13
  91. package/dist/types/Earnings.d.ts +0 -11
  92. package/dist/types/Earnings.js +0 -2
  93. package/dist/types/LinkWalletPayload.d.ts +0 -9
  94. package/dist/types/LinkWalletPayload.js +0 -2
  95. package/dist/types/LinkedPodWallets.d.ts +0 -6
  96. package/dist/types/LinkedPodWallets.js +0 -2
  97. package/dist/types/LoyaltyCard.d.ts +0 -11
  98. package/dist/types/LoyaltyCard.js +0 -2
  99. package/dist/types/MigrationOption.d.ts +0 -6
  100. package/dist/types/MigrationOption.js +0 -2
  101. package/dist/types/MyPerqData.d.ts +0 -19
  102. package/dist/types/MyPerqData.js +0 -2
  103. package/dist/types/NFTBoost.d.ts +0 -10
  104. package/dist/types/NFTBoost.js +0 -2
  105. package/dist/types/OverallStats.d.ts +0 -7
  106. package/dist/types/OverallStats.js +0 -2
  107. package/dist/types/PerqConfig.d.ts +0 -18
  108. package/dist/types/PerqConfig.js +0 -37
  109. package/dist/types/PerqToBeansSwapInfo.d.ts +0 -8
  110. package/dist/types/PerqToBeansSwapInfo.js +0 -2
  111. package/dist/types/ProjectHistoricalTvl.d.ts +0 -4
  112. package/dist/types/ProjectHistoricalTvl.js +0 -2
  113. package/dist/types/QLFastRedeem.d.ts +0 -16
  114. package/dist/types/QLFastRedeem.js +0 -2
  115. package/dist/types/ReducedProjectData.d.ts +0 -21
  116. package/dist/types/ReducedProjectData.js +0 -2
  117. package/dist/types/SdkType.d.ts +0 -2
  118. package/dist/types/SdkType.js +0 -2
  119. package/dist/types/SignedPayload.d.ts +0 -12
  120. package/dist/types/SignedPayload.js +0 -2
  121. package/dist/types/SlotMachineSpinCost.d.ts +0 -7
  122. package/dist/types/SlotMachineSpinCost.js +0 -2
  123. package/dist/types/SpecialEditionLoyaltyCard.d.ts +0 -9
  124. package/dist/types/SpecialEditionLoyaltyCard.js +0 -2
  125. package/dist/types/Strategy.d.ts +0 -9
  126. package/dist/types/Strategy.js +0 -2
  127. package/dist/types/StretchGoal.d.ts +0 -5
  128. package/dist/types/StretchGoal.js +0 -2
  129. package/dist/types/SwapInfo.d.ts +0 -6
  130. package/dist/types/SwapInfo.js +0 -2
  131. package/dist/types/UpgradeLoyaltyCardPayload.d.ts +0 -4
  132. package/dist/types/UpgradeLoyaltyCardPayload.js +0 -2
  133. package/dist/types/UserRewards.d.ts +0 -6
  134. package/dist/types/UserRewards.js +0 -2
  135. package/dist/types/VaultData.d.ts +0 -32
  136. package/dist/types/VaultData.js +0 -2
  137. package/dist/types/VaultOperationParams.d.ts +0 -12
  138. package/dist/types/VaultOperationParams.js +0 -2
  139. package/dist/types/VaultReward.d.ts +0 -16
  140. package/dist/types/VaultReward.js +0 -4
  141. package/dist/types/VaultStats.d.ts +0 -6
  142. package/dist/types/VaultStats.js +0 -2
  143. package/dist/types/VaultType.d.ts +0 -3
  144. package/dist/types/VaultType.js +0 -4
  145. package/dist/types/VestingInfo.d.ts +0 -8
  146. package/dist/types/VestingInfo.js +0 -2
  147. package/dist/types/YelayVersion.d.ts +0 -2
  148. package/dist/types/YelayVersion.js +0 -2
  149. package/dist/types/index.d.ts +0 -34
  150. package/dist/types/index.js +0 -8
@@ -1,222 +0,0 @@
1
- [
2
- {
3
- "constant": true,
4
- "inputs": [],
5
- "name": "name",
6
- "outputs": [
7
- {
8
- "name": "",
9
- "type": "string"
10
- }
11
- ],
12
- "payable": false,
13
- "stateMutability": "view",
14
- "type": "function"
15
- },
16
- {
17
- "constant": false,
18
- "inputs": [
19
- {
20
- "name": "_spender",
21
- "type": "address"
22
- },
23
- {
24
- "name": "_value",
25
- "type": "uint256"
26
- }
27
- ],
28
- "name": "approve",
29
- "outputs": [
30
- {
31
- "name": "",
32
- "type": "bool"
33
- }
34
- ],
35
- "payable": false,
36
- "stateMutability": "nonpayable",
37
- "type": "function"
38
- },
39
- {
40
- "constant": true,
41
- "inputs": [],
42
- "name": "totalSupply",
43
- "outputs": [
44
- {
45
- "name": "",
46
- "type": "uint256"
47
- }
48
- ],
49
- "payable": false,
50
- "stateMutability": "view",
51
- "type": "function"
52
- },
53
- {
54
- "constant": false,
55
- "inputs": [
56
- {
57
- "name": "_from",
58
- "type": "address"
59
- },
60
- {
61
- "name": "_to",
62
- "type": "address"
63
- },
64
- {
65
- "name": "_value",
66
- "type": "uint256"
67
- }
68
- ],
69
- "name": "transferFrom",
70
- "outputs": [
71
- {
72
- "name": "",
73
- "type": "bool"
74
- }
75
- ],
76
- "payable": false,
77
- "stateMutability": "nonpayable",
78
- "type": "function"
79
- },
80
- {
81
- "constant": true,
82
- "inputs": [],
83
- "name": "decimals",
84
- "outputs": [
85
- {
86
- "name": "",
87
- "type": "uint8"
88
- }
89
- ],
90
- "payable": false,
91
- "stateMutability": "view",
92
- "type": "function"
93
- },
94
- {
95
- "constant": true,
96
- "inputs": [
97
- {
98
- "name": "_owner",
99
- "type": "address"
100
- }
101
- ],
102
- "name": "balanceOf",
103
- "outputs": [
104
- {
105
- "name": "balance",
106
- "type": "uint256"
107
- }
108
- ],
109
- "payable": false,
110
- "stateMutability": "view",
111
- "type": "function"
112
- },
113
- {
114
- "constant": true,
115
- "inputs": [],
116
- "name": "symbol",
117
- "outputs": [
118
- {
119
- "name": "",
120
- "type": "string"
121
- }
122
- ],
123
- "payable": false,
124
- "stateMutability": "view",
125
- "type": "function"
126
- },
127
- {
128
- "constant": false,
129
- "inputs": [
130
- {
131
- "name": "_to",
132
- "type": "address"
133
- },
134
- {
135
- "name": "_value",
136
- "type": "uint256"
137
- }
138
- ],
139
- "name": "transfer",
140
- "outputs": [
141
- {
142
- "name": "",
143
- "type": "bool"
144
- }
145
- ],
146
- "payable": false,
147
- "stateMutability": "nonpayable",
148
- "type": "function"
149
- },
150
- {
151
- "constant": true,
152
- "inputs": [
153
- {
154
- "name": "_owner",
155
- "type": "address"
156
- },
157
- {
158
- "name": "_spender",
159
- "type": "address"
160
- }
161
- ],
162
- "name": "allowance",
163
- "outputs": [
164
- {
165
- "name": "",
166
- "type": "uint256"
167
- }
168
- ],
169
- "payable": false,
170
- "stateMutability": "view",
171
- "type": "function"
172
- },
173
- {
174
- "payable": true,
175
- "stateMutability": "payable",
176
- "type": "fallback"
177
- },
178
- {
179
- "anonymous": false,
180
- "inputs": [
181
- {
182
- "indexed": true,
183
- "name": "owner",
184
- "type": "address"
185
- },
186
- {
187
- "indexed": true,
188
- "name": "spender",
189
- "type": "address"
190
- },
191
- {
192
- "indexed": false,
193
- "name": "value",
194
- "type": "uint256"
195
- }
196
- ],
197
- "name": "Approval",
198
- "type": "event"
199
- },
200
- {
201
- "anonymous": false,
202
- "inputs": [
203
- {
204
- "indexed": true,
205
- "name": "from",
206
- "type": "address"
207
- },
208
- {
209
- "indexed": true,
210
- "name": "to",
211
- "type": "address"
212
- },
213
- {
214
- "indexed": false,
215
- "name": "value",
216
- "type": "uint256"
217
- }
218
- ],
219
- "name": "Transfer",
220
- "type": "event"
221
- }
222
- ]
@@ -1,130 +0,0 @@
1
- [
2
- {
3
- "inputs": [
4
- { "internalType": "address", "name": "admin", "type": "address" },
5
- { "internalType": "contract IERC20[]", "name": "whitelistedTokens", "type": "address[]" }
6
- ],
7
- "stateMutability": "nonpayable",
8
- "type": "constructor"
9
- },
10
- {
11
- "inputs": [{ "internalType": "address", "name": "owner", "type": "address" }],
12
- "name": "OwnableInvalidOwner",
13
- "type": "error"
14
- },
15
- {
16
- "inputs": [{ "internalType": "address", "name": "account", "type": "address" }],
17
- "name": "OwnableUnauthorizedAccount",
18
- "type": "error"
19
- },
20
- {
21
- "inputs": [{ "internalType": "address", "name": "token", "type": "address" }],
22
- "name": "SafeERC20FailedOperation",
23
- "type": "error"
24
- },
25
- {
26
- "anonymous": false,
27
- "inputs": [{ "indexed": false, "internalType": "contract IERC20[]", "name": "tokens", "type": "address[]" }],
28
- "name": "AddedTokens",
29
- "type": "event"
30
- },
31
- {
32
- "anonymous": false,
33
- "inputs": [
34
- { "indexed": true, "internalType": "contract IERC20", "name": "token", "type": "address" },
35
- { "indexed": true, "internalType": "address", "name": "depositor", "type": "address" },
36
- { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" }
37
- ],
38
- "name": "Deposit",
39
- "type": "event"
40
- },
41
- {
42
- "anonymous": false,
43
- "inputs": [
44
- { "indexed": true, "internalType": "address", "name": "previousOwner", "type": "address" },
45
- { "indexed": true, "internalType": "address", "name": "newOwner", "type": "address" }
46
- ],
47
- "name": "OwnershipTransferred",
48
- "type": "event"
49
- },
50
- {
51
- "anonymous": false,
52
- "inputs": [{ "indexed": false, "internalType": "contract IERC20[]", "name": "tokens", "type": "address[]" }],
53
- "name": "RemovedTokens",
54
- "type": "event"
55
- },
56
- {
57
- "anonymous": false,
58
- "inputs": [
59
- { "indexed": true, "internalType": "contract IERC20", "name": "token", "type": "address" },
60
- { "indexed": true, "internalType": "address", "name": "to", "type": "address" },
61
- { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" }
62
- ],
63
- "name": "Withdraw",
64
- "type": "event"
65
- },
66
- {
67
- "inputs": [],
68
- "name": "WRAPPED_SONIC",
69
- "outputs": [{ "internalType": "contract IERC20", "name": "", "type": "address" }],
70
- "stateMutability": "view",
71
- "type": "function"
72
- },
73
- {
74
- "inputs": [{ "internalType": "contract IERC20[]", "name": "tokens", "type": "address[]" }],
75
- "name": "addTokens",
76
- "outputs": [],
77
- "stateMutability": "nonpayable",
78
- "type": "function"
79
- },
80
- {
81
- "inputs": [
82
- { "internalType": "contract IERC20", "name": "token", "type": "address" },
83
- { "internalType": "uint256", "name": "amount", "type": "uint256" }
84
- ],
85
- "name": "deposit",
86
- "outputs": [],
87
- "stateMutability": "nonpayable",
88
- "type": "function"
89
- },
90
- { "inputs": [], "name": "depositNative", "outputs": [], "stateMutability": "payable", "type": "function" },
91
- {
92
- "inputs": [{ "internalType": "contract IERC20", "name": "", "type": "address" }],
93
- "name": "isTokenWhitelisted",
94
- "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
95
- "stateMutability": "view",
96
- "type": "function"
97
- },
98
- {
99
- "inputs": [],
100
- "name": "owner",
101
- "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
102
- "stateMutability": "view",
103
- "type": "function"
104
- },
105
- {
106
- "inputs": [{ "internalType": "contract IERC20[]", "name": "tokens", "type": "address[]" }],
107
- "name": "removeTokens",
108
- "outputs": [],
109
- "stateMutability": "nonpayable",
110
- "type": "function"
111
- },
112
- { "inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" },
113
- {
114
- "inputs": [{ "internalType": "address", "name": "newOwner", "type": "address" }],
115
- "name": "transferOwnership",
116
- "outputs": [],
117
- "stateMutability": "nonpayable",
118
- "type": "function"
119
- },
120
- {
121
- "inputs": [
122
- { "internalType": "contract IERC20", "name": "token", "type": "address" },
123
- { "internalType": "uint256", "name": "amount", "type": "uint256" }
124
- ],
125
- "name": "withdraw",
126
- "outputs": [],
127
- "stateMutability": "nonpayable",
128
- "type": "function"
129
- }
130
- ]
@@ -1,25 +0,0 @@
1
- [
2
- {
3
- "constant": true,
4
- "inputs": [],
5
- "name": "decimals",
6
- "outputs": [
7
- {
8
- "name": "",
9
- "type": "uint8"
10
- }
11
- ],
12
- "payable": false,
13
- "stateMutability": "view",
14
- "type": "function"
15
- },
16
- {
17
- "constant": false,
18
- "inputs": [],
19
- "name": "deposit",
20
- "outputs": [],
21
- "payable": true,
22
- "stateMutability": "payable",
23
- "type": "function"
24
- }
25
- ]