@snapshot-labs/snapshot.js 0.2.2 → 0.2.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 (287) hide show
  1. package/LICENSE +0 -0
  2. package/README.md +0 -0
  3. package/dist/index.d.ts +2 -0
  4. package/dist/plugins/charts/index.d.ts +5 -0
  5. package/dist/plugins/commentBox/index.d.ts +5 -0
  6. package/dist/plugins/index.d.ts +4 -0
  7. package/dist/rollup.cjs.config.dev.js +43 -0
  8. package/dist/rollup.config.dev.js +75 -0
  9. package/dist/sign/eip1271.d.ts +1 -1
  10. package/dist/sign/index.d.ts +2 -2
  11. package/dist/snapshot.cjs.js +73 -34
  12. package/dist/snapshot.esm.js +73 -34
  13. package/dist/snapshot.min.js +1 -1
  14. package/dist/strategies/aave-governance-power/index.d.ts +3 -0
  15. package/dist/strategies/aavegotchi/index.d.ts +6 -0
  16. package/dist/strategies/aavegotchi-agip/index.d.ts +3 -0
  17. package/dist/strategies/apescape/index.d.ts +6 -0
  18. package/dist/strategies/api/index.d.ts +6 -0
  19. package/dist/strategies/avn-balance-of-staked/index.d.ts +3 -0
  20. package/dist/strategies/badgeth/index.d.ts +3 -0
  21. package/dist/strategies/balance-of-with-min/index.d.ts +3 -0
  22. package/dist/strategies/balance-of-with-thresholds/index.d.ts +25 -0
  23. package/dist/strategies/balancer/index.d.ts +3 -0
  24. package/dist/strategies/balancer-delegation/index.d.ts +6 -0
  25. package/dist/strategies/balancer-smart-pool/index.d.ts +6 -0
  26. package/dist/strategies/balancer-unipool/index.d.ts +6 -0
  27. package/dist/strategies/brightid/index.d.ts +6 -0
  28. package/dist/strategies/cake/index.d.ts +3 -0
  29. package/dist/strategies/celer-sgn-delegation/index.d.ts +3 -0
  30. package/dist/strategies/comp-like-votes/index.d.ts +6 -0
  31. package/dist/strategies/contract-call/index.d.ts +6 -0
  32. package/dist/strategies/cream/index.d.ts +3 -0
  33. package/dist/strategies/ctoken/index.d.ts +3 -0
  34. package/dist/strategies/curio-cards-erc20-weighted/index.d.ts +3 -0
  35. package/dist/strategies/decentraland-estate-size/index.d.ts +3 -0
  36. package/dist/strategies/defidollar/index.d.ts +3 -0
  37. package/dist/strategies/delegation/index.d.ts +6 -0
  38. package/dist/strategies/dittomoney/index.d.ts +3 -0
  39. package/dist/strategies/ens-domains-owned/index.d.ts +3 -0
  40. package/dist/strategies/ens-reverse-record/index.d.ts +6 -0
  41. package/dist/strategies/erc1155-all-balances-of/index.d.ts +6 -0
  42. package/dist/strategies/erc1155-balance-of/index.d.ts +6 -0
  43. package/dist/strategies/erc1155-balance-of-cv/index.d.ts +6 -0
  44. package/dist/strategies/erc20-balance-of/index.d.ts +3 -0
  45. package/dist/strategies/erc20-balance-of-coeff/index.d.ts +3 -0
  46. package/dist/strategies/erc20-balance-of-cv/index.d.ts +6 -0
  47. package/dist/strategies/erc20-balance-of-delegation/index.d.ts +6 -0
  48. package/dist/strategies/erc20-balance-of-fixed-total/index.d.ts +6 -0
  49. package/dist/strategies/erc20-balance-of-quadratic-delegation/index.d.ts +6 -0
  50. package/dist/strategies/erc20-price/index.d.ts +3 -0
  51. package/dist/strategies/erc20-received/index.d.ts +10 -0
  52. package/dist/strategies/erc20-with-balance/index.d.ts +3 -0
  53. package/dist/strategies/erc721/index.d.ts +6 -0
  54. package/dist/strategies/erc721-enumerable/index.d.ts +3 -0
  55. package/dist/strategies/erc721-with-multiplier/index.d.ts +6 -0
  56. package/dist/strategies/erc721-with-tokenid/index.d.ts +21 -0
  57. package/dist/strategies/esd/index.d.ts +3 -0
  58. package/dist/strategies/esd-delegation/index.d.ts +6 -0
  59. package/dist/strategies/eth-balance/index.d.ts +6 -0
  60. package/dist/strategies/eth-philanthropy/index.d.ts +6 -0
  61. package/dist/strategies/eth-received/ElasticSearchTxResult.d.ts +71 -0
  62. package/dist/strategies/eth-received/index.d.ts +7 -0
  63. package/dist/strategies/eth-wallet-age/index.d.ts +3 -0
  64. package/dist/strategies/eth-with-balance/index.d.ts +3 -0
  65. package/dist/strategies/flashstake/index.d.ts +3 -0
  66. package/dist/strategies/frax-finance/index.d.ts +3 -0
  67. package/dist/strategies/governor-alpha/index.d.ts +6 -0
  68. package/dist/strategies/hopr-uni-lp-farm/index.d.ts +3 -0
  69. package/dist/strategies/ilv/index.d.ts +6 -0
  70. package/dist/strategies/impossible-finance/index.d.ts +6 -0
  71. package/dist/strategies/index.d.ts +243 -0
  72. package/dist/strategies/infinityprotocol-liquidity-pools/index.d.ts +3 -0
  73. package/dist/strategies/inverse-xinv/index.d.ts +6 -0
  74. package/dist/strategies/iotex-balance/index.d.ts +3 -0
  75. package/dist/strategies/iotex-staked-balance/index.d.ts +3 -0
  76. package/dist/strategies/liftkitchen/index.d.ts +3 -0
  77. package/dist/strategies/maker-ds-chief/index.d.ts +6 -0
  78. package/dist/strategies/masterchef/index.d.ts +3 -0
  79. package/dist/strategies/masterchef-pool-balance/index.d.ts +3 -0
  80. package/dist/strategies/masterchef-pool-balance-price/index.d.ts +6 -0
  81. package/dist/strategies/mithcash/index.d.ts +3 -0
  82. package/dist/strategies/modefi/index.d.ts +6 -0
  83. package/dist/strategies/modefi-staking/index.d.ts +6 -0
  84. package/dist/strategies/moloch/index.d.ts +6 -0
  85. package/dist/strategies/moloch-all/index.d.ts +6 -0
  86. package/dist/strategies/moloch-loot/index.d.ts +6 -0
  87. package/dist/strategies/multichain/index.d.ts +3 -0
  88. package/dist/strategies/multisig-owners/index.d.ts +6 -0
  89. package/dist/strategies/mushrooms/index.d.ts +6 -0
  90. package/dist/strategies/niu-staked/index.d.ts +6 -0
  91. package/dist/strategies/ocean-marketplace/index.d.ts +8 -0
  92. package/dist/strategies/ocean-marketplace/oceanUtils.d.ts +2 -0
  93. package/dist/strategies/ogn/index.d.ts +3 -0
  94. package/dist/strategies/opium/index.d.ts +3 -0
  95. package/dist/strategies/pagination/index.d.ts +3 -0
  96. package/dist/strategies/pancake/index.d.ts +6 -0
  97. package/dist/strategies/pepemon/index.d.ts +6 -0
  98. package/dist/strategies/piedao/index.d.ts +3 -0
  99. package/dist/strategies/planet-finance/index.d.ts +4 -0
  100. package/dist/strategies/pob-hash/index.d.ts +9 -0
  101. package/dist/strategies/rebased/index.d.ts +3 -0
  102. package/dist/strategies/ren-nodes/index.d.ts +3 -0
  103. package/dist/strategies/rnbw-balance/index.d.ts +3 -0
  104. package/dist/strategies/ruler-staked-lp/index.d.ts +6 -0
  105. package/dist/strategies/ruler-staked-token/index.d.ts +6 -0
  106. package/dist/strategies/saffron-finance/index.d.ts +6 -0
  107. package/dist/strategies/spookyswap/index.d.ts +6 -0
  108. package/dist/strategies/stablexswap/index.d.ts +6 -0
  109. package/dist/strategies/staked-keep/index.d.ts +3 -0
  110. package/dist/strategies/staked-uniswap/index.d.ts +6 -0
  111. package/dist/strategies/strategiesFull.d.ts +245 -0
  112. package/dist/strategies/sushiswap/index.d.ts +3 -0
  113. package/dist/strategies/synthetix/index.d.ts +3 -0
  114. package/dist/strategies/the-graph/baseStrategy.d.ts +4 -0
  115. package/dist/strategies/the-graph/graphUtils.d.ts +12 -0
  116. package/dist/strategies/the-graph/tokenLockWallets.d.ts +9 -0
  117. package/dist/strategies/the-graph-balance/balances.d.ts +2 -0
  118. package/dist/strategies/the-graph-balance/index.d.ts +6 -0
  119. package/dist/strategies/the-graph-delegation/delegators.d.ts +2 -0
  120. package/dist/strategies/the-graph-delegation/index.d.ts +6 -0
  121. package/dist/strategies/the-graph-indexing/index.d.ts +6 -0
  122. package/dist/strategies/the-graph-indexing/indexers.d.ts +2 -0
  123. package/dist/strategies/ticket/index.d.ts +6 -0
  124. package/dist/strategies/ticket-validity/index.d.ts +3 -0
  125. package/dist/strategies/tokenlon/index.d.ts +3 -0
  126. package/dist/strategies/tomb-finance/index.d.ts +6 -0
  127. package/dist/strategies/total-axion-shares/index.d.ts +3 -0
  128. package/dist/strategies/tranche-staking/index.d.ts +6 -0
  129. package/dist/strategies/tranche-staking-lp/index.d.ts +6 -0
  130. package/dist/strategies/tranche-staking-slice/index.d.ts +3 -0
  131. package/dist/strategies/typhoon/index.d.ts +3 -0
  132. package/dist/strategies/uni/index.d.ts +6 -0
  133. package/dist/strategies/unipool-same-token/index.d.ts +6 -0
  134. package/dist/strategies/unipool-univ2-lp/index.d.ts +6 -0
  135. package/dist/strategies/uniswap/index.d.ts +3 -0
  136. package/dist/strategies/whitelist/index.d.ts +6 -0
  137. package/dist/strategies/work/index.d.ts +6 -0
  138. package/dist/strategies/xcover/index.d.ts +6 -0
  139. package/dist/strategies/xdai-easy-staking/index.d.ts +3 -0
  140. package/dist/strategies/xdai-easy-staking/utils.d.ts +3 -0
  141. package/dist/strategies/xdai-posdao-staking/index.d.ts +3 -0
  142. package/dist/strategies/xdai-stake-delegation/index.d.ts +6 -0
  143. package/dist/strategies/xdai-stake-holders/index.d.ts +3 -0
  144. package/dist/strategies/xdai-stakers-and-holders/index.d.ts +3 -0
  145. package/dist/strategies/xrc20-balance-of/index.d.ts +3 -0
  146. package/dist/strategies/xseen/index.d.ts +6 -0
  147. package/dist/strategies/yearn-vault/index.d.ts +3 -0
  148. package/dist/strategies/zrx-voting-power/index.d.ts +3 -0
  149. package/dist/utils/contentHash.d.ts +28 -0
  150. package/package.json +2 -2
  151. package/src/client.ts +0 -0
  152. package/src/dist/index.js +14 -0
  153. package/src/dist/utils.js +291 -0
  154. package/src/networks/{fuse.png → 122.png} +0 -0
  155. package/src/networks/43114.png +0 -0
  156. package/src/networks.json +2 -2
  157. package/src/plugins/charts/index.ts +5 -0
  158. package/src/plugins/charts/logo.png +0 -0
  159. package/src/plugins/commentBox/index.ts +5 -0
  160. package/src/plugins/commentBox/logo.png +0 -0
  161. package/src/plugins/index.ts +5 -1
  162. package/src/plugins/safeSnap/dist/index.js +585 -0
  163. package/src/plugins/safeSnap/index.ts +22 -7
  164. package/src/sign/eip1271.ts +2 -2
  165. package/src/sign/index.ts +9 -5
  166. package/src/strategies/aave-governance-power/dist/index.js +110 -0
  167. package/src/strategies/aavegotchi/dist/index.js +156 -0
  168. package/src/strategies/aavegotchi-agip/dist/index.js +168 -0
  169. package/src/strategies/apescape/dist/index.js +164 -0
  170. package/src/strategies/api/dist/index.js +76 -0
  171. package/src/strategies/avn-balance-of-staked/dist/index.js +173 -0
  172. package/src/strategies/badgeth/dist/index.js +86 -0
  173. package/src/strategies/balance-of-with-min/dist/index.js +64 -0
  174. package/src/strategies/balance-of-with-thresholds/dist/index.js +73 -0
  175. package/src/strategies/balancer/dist/index.js +121 -0
  176. package/src/strategies/balancer-delegation/dist/index.js +62 -0
  177. package/src/strategies/balancer-smart-pool/dist/index.js +85 -0
  178. package/src/strategies/balancer-unipool/dist/index.js +141 -0
  179. package/src/strategies/brightid/dist/index.js +69 -0
  180. package/src/strategies/cake/dist/index.js +146 -0
  181. package/src/strategies/celer-sgn-delegation/dist/index.js +199 -0
  182. package/src/strategies/comp-like-votes/dist/index.js +91 -0
  183. package/src/strategies/contract-call/dist/index.js +76 -0
  184. package/src/strategies/cream/dist/index.js +310 -0
  185. package/src/strategies/ctoken/dist/index.js +145 -0
  186. package/src/strategies/curio-cards-erc20-weighted/dist/index.js +188 -0
  187. package/src/strategies/decentraland-estate-size/dist/index.js +101 -0
  188. package/src/strategies/defidollar/dist/index.js +106 -0
  189. package/src/strategies/delegation/dist/index.js +71 -0
  190. package/src/strategies/dist/index.js +248 -0
  191. package/src/strategies/dist/strategiesFull.js +246 -0
  192. package/src/strategies/dittomoney/dist/index.js +167 -0
  193. package/src/strategies/ens-domains-owned/dist/index.js +105 -0
  194. package/src/strategies/ens-reverse-record/dist/index.js +98 -0
  195. package/src/strategies/erc1155-all-balances-of/dist/index.js +99 -0
  196. package/src/strategies/erc1155-balance-of/dist/index.js +94 -0
  197. package/src/strategies/erc1155-balance-of-cv/dist/index.js +58 -0
  198. package/src/strategies/erc20-balance-of/dist/index.js +76 -0
  199. package/src/strategies/erc20-balance-of-delegation/dist/index.js +73 -0
  200. package/src/strategies/erc20-balance-of-quadratic-delegation/dist/index.js +75 -0
  201. package/src/strategies/erc20-price/dist/index.js +107 -0
  202. package/src/strategies/erc20-received/dist/index.js +166 -0
  203. package/src/strategies/erc20-with-balance/dist/index.js +61 -0
  204. package/src/strategies/erc721/dist/index.js +69 -0
  205. package/src/strategies/erc721-enumerable/dist/index.js +57 -0
  206. package/src/strategies/erc721-with-multiplier/dist/index.js +70 -0
  207. package/src/strategies/erc721-with-tokenid/dist/index.js +68 -0
  208. package/src/strategies/esd/dist/index.js +125 -0
  209. package/src/strategies/esd-delegation/dist/index.js +73 -0
  210. package/src/strategies/eth-balance/dist/index.js +72 -0
  211. package/src/strategies/eth-philanthropy/dist/index.js +81 -0
  212. package/src/strategies/eth-received/dist/index.js +127 -0
  213. package/src/strategies/eth-wallet-age/dist/index.js +126 -0
  214. package/src/strategies/eth-with-balance/dist/index.js +63 -0
  215. package/src/strategies/flashstake/dist/index.js +138 -0
  216. package/src/strategies/frax-finance/dist/index.js +236 -0
  217. package/src/strategies/governor-alpha/dist/index.js +71 -0
  218. package/src/strategies/hopr-uni-lp-farm/dist/index.js +232 -0
  219. package/src/strategies/ilv/dist/index.js +58 -0
  220. package/src/strategies/impossible-finance/dist/index.js +126 -0
  221. package/src/strategies/infinityprotocol-liquidity-pools/dist/index.js +120 -0
  222. package/src/strategies/inverse-xinv/dist/index.js +76 -0
  223. package/src/strategies/iotex-balance/dist/index.js +82 -0
  224. package/src/strategies/iotex-staked-balance/dist/index.js +79 -0
  225. package/src/strategies/liftkitchen/dist/index.js +167 -0
  226. package/src/strategies/masterchef/dist/index.js +183 -0
  227. package/src/strategies/masterchef-pool-balance/dist/index.js +190 -0
  228. package/src/strategies/masterchef-pool-balance-price/dist/index.js +442 -0
  229. package/src/strategies/mithcash/dist/index.js +133 -0
  230. package/src/strategies/modefi/dist/index.js +120 -0
  231. package/src/strategies/modefi-staking/dist/index.js +115 -0
  232. package/src/strategies/moloch-all/dist/index.js +154 -0
  233. package/src/strategies/moloch-loot/dist/index.js +153 -0
  234. package/src/strategies/multichain/dist/index.js +149 -0
  235. package/src/strategies/multisig-owners/dist/index.js +85 -0
  236. package/src/strategies/mushrooms/dist/index.js +202 -0
  237. package/src/strategies/niu-staked/dist/index.js +83 -0
  238. package/src/strategies/ocean-marketplace/dist/index.js +155 -0
  239. package/src/strategies/ogn/dist/index.js +105 -0
  240. package/src/strategies/opium/dist/index.js +153 -0
  241. package/src/strategies/pagination/dist/index.js +78 -0
  242. package/src/strategies/pancake/dist/index.js +140 -0
  243. package/src/strategies/pepemon/dist/index.js +177 -0
  244. package/src/strategies/piedao/dist/index.js +156 -0
  245. package/src/strategies/planet-finance/dist/index.js +190 -0
  246. package/src/strategies/pob-hash/dist/index.js +95 -0
  247. package/src/strategies/rebased/dist/index.js +134 -0
  248. package/src/strategies/ren-nodes/dist/index.js +148 -0
  249. package/src/strategies/rnbw-balance/dist/index.js +107 -0
  250. package/src/strategies/ruler-staked-lp/dist/index.js +156 -0
  251. package/src/strategies/ruler-staked-token/dist/index.js +100 -0
  252. package/src/strategies/saffron-finance/dist/index.js +293 -0
  253. package/src/strategies/spookyswap/dist/index.js +161 -0
  254. package/src/strategies/stablexswap/dist/index.js +153 -0
  255. package/src/strategies/staked-keep/dist/index.js +90 -0
  256. package/src/strategies/staked-uniswap/dist/index.js +112 -0
  257. package/src/strategies/sushiswap/dist/index.js +120 -0
  258. package/src/strategies/synthetix/dist/index.js +233 -0
  259. package/src/strategies/the-graph-balance/dist/index.js +55 -0
  260. package/src/strategies/the-graph-delegation/dist/index.js +55 -0
  261. package/src/strategies/the-graph-indexing/dist/index.js +55 -0
  262. package/src/strategies/ticket/dist/index.js +51 -0
  263. package/src/strategies/ticket-validity/dist/index.js +63 -0
  264. package/src/strategies/tokenlon/dist/index.js +211 -0
  265. package/src/strategies/tomb-finance/dist/index.js +130 -0
  266. package/src/strategies/total-axion-shares/dist/index.js +93 -0
  267. package/src/strategies/tranche-staking/dist/index.js +96 -0
  268. package/src/strategies/tranche-staking-lp/dist/index.js +133 -0
  269. package/src/strategies/tranche-staking-slice/dist/index.js +164 -0
  270. package/src/strategies/typhoon/dist/index.js +124 -0
  271. package/src/strategies/uni/dist/index.js +93 -0
  272. package/src/strategies/unipool-same-token/dist/index.js +98 -0
  273. package/src/strategies/unipool-univ2-lp/dist/index.js +105 -0
  274. package/src/strategies/uniswap/dist/index.js +120 -0
  275. package/src/strategies/whitelist/dist/index.js +56 -0
  276. package/src/strategies/work/dist/index.js +90 -0
  277. package/src/strategies/xcover/dist/index.js +95 -0
  278. package/src/strategies/xdai-easy-staking/dist/index.js +193 -0
  279. package/src/strategies/xdai-posdao-staking/dist/index.js +63 -0
  280. package/src/strategies/xdai-stake-delegation/dist/index.js +93 -0
  281. package/src/strategies/xdai-stake-holders/dist/index.js +63 -0
  282. package/src/strategies/xdai-stakers-and-holders/dist/index.js +137 -0
  283. package/src/strategies/xrc20-balance-of/dist/index.js +83 -0
  284. package/src/strategies/xseen/dist/index.js +121 -0
  285. package/src/strategies/zrx-voting-power/dist/index.js +104 -0
  286. package/src/utils/dist/provider.js +12 -0
  287. package/src/utils/dist/web3.js +73 -0
@@ -0,0 +1,3 @@
1
+ export declare const author = "alirun";
2
+ export declare const version = "0.0.1";
3
+ export declare function strategy(space: any, network: any, provider: any, addresses: any, options: any, snapshot: any): Promise<any>;
@@ -0,0 +1,3 @@
1
+ export declare const author = "bonustrack";
2
+ export declare const version = "0.1.0";
3
+ export declare function strategy(space: any, network: any, provider: any, addresses: any, options: any, snapshot: any): Promise<unknown>;
@@ -0,0 +1,6 @@
1
+ export declare const author = "pancake-swap";
2
+ export declare const version = "0.0.1";
3
+ export declare function strategy(space: any, network: any, provider: any, addresses: any, options: any, snapshot: any): Promise<{
4
+ [x: string]: number;
5
+ [x: number]: number;
6
+ }>;
@@ -0,0 +1,6 @@
1
+ export declare const author = "pepemon";
2
+ export declare const version = "0.1.0";
3
+ export declare function strategy(_space: any, network: any, provider: any, addresses: any, options: any, snapshot: any): Promise<{
4
+ [x: string]: any;
5
+ [x: number]: any;
6
+ }>;
@@ -0,0 +1,3 @@
1
+ export declare const author = "alexintosh";
2
+ export declare const version = "0.0.1";
3
+ export declare function strategy(space: any, network: any, provider: any, addresses: any, options: any, snapshot: any): Promise<any>;
@@ -0,0 +1,4 @@
1
+ export declare const author = "planet-finance";
2
+ export declare const version = "0.0.1";
3
+ export declare const bep20Abi: any;
4
+ export declare function strategy(space: any, network: any, provider: any, addresses: any, options: any, snapshot: any): Promise<any>;
@@ -0,0 +1,9 @@
1
+ export declare const author = "dave4506";
2
+ export declare const version = "0.1.1";
3
+ export declare const SUBGRAPH_URL: {
4
+ 1: string;
5
+ };
6
+ export declare function strategy(_space: any, network: any, provider: any, addresses: any, options: any, snapshot: any): Promise<{
7
+ [x: string]: number;
8
+ [x: number]: number;
9
+ }>;
@@ -0,0 +1,3 @@
1
+ export declare const author = "codingsh";
2
+ export declare const version = "0.1.0";
3
+ export declare function strategy(space: any, network: any, provider: any, addresses: any, options: any, snapshot: any): Promise<any>;
@@ -0,0 +1,3 @@
1
+ export declare const author = "noiach";
2
+ export declare const version = "0.1.0";
3
+ export declare function strategy(space: any, network: any, provider: any, addresses: any, options: any, snapshot: any): Promise<any>;
@@ -0,0 +1,3 @@
1
+ export declare const author = "mystbrent";
2
+ export declare const version = "0.1.0";
3
+ export declare function strategy(space: any, network: any, provider: any, addresses: any, options: any, snapshot: any): Promise<any>;
@@ -0,0 +1,6 @@
1
+ export declare const author = "vfatouros";
2
+ export declare const version = "0.1.0";
3
+ export declare function strategy(_space: any, network: any, provider: any, addresses: any, options: any, snapshot: any): Promise<{
4
+ [x: string]: any;
5
+ [x: number]: any;
6
+ }>;
@@ -0,0 +1,6 @@
1
+ export declare const author = "drop-out-dev";
2
+ export declare const version = "0.1.0";
3
+ export declare function strategy(space: any, network: any, provider: any, addresses: any, options: any, snapshot: any): Promise<{
4
+ [x: string]: any;
5
+ [x: number]: any;
6
+ }>;
@@ -0,0 +1,6 @@
1
+ export declare const author = "saffron.finance";
2
+ export declare const version = "0.1.0";
3
+ export declare function strategy(space: any, network: any, provider: any, addresses: any, options: any, snapshot: any): Promise<{
4
+ [x: string]: any;
5
+ [x: number]: any;
6
+ }>;
@@ -0,0 +1,6 @@
1
+ export declare const author = "ooGwei";
2
+ export declare const version = "0.1.0";
3
+ export declare function strategy(space: any, network: any, provider: any, addresses: any, options: any, snapshot: any): Promise<{
4
+ [x: string]: any;
5
+ [x: number]: any;
6
+ }>;
@@ -0,0 +1,6 @@
1
+ export declare const author = "stablexswap";
2
+ export declare const version = "0.0.1";
3
+ export declare function strategy(space: any, network: any, provider: any, addresses: any, options: any, snapshot: any): Promise<{
4
+ [x: string]: any;
5
+ [x: number]: any;
6
+ }>;
@@ -0,0 +1,3 @@
1
+ export declare const author = "corollari";
2
+ export declare const version = "0.1.0";
3
+ export declare function strategy(_space: any, network: any, _provider: any, addresses: any, _options: any, snapshot: any): Promise<{}>;
@@ -0,0 +1,6 @@
1
+ export declare const author = "vfatouros";
2
+ export declare const version = "0.1.0";
3
+ export declare function strategy(_space: any, network: any, provider: any, addresses: any, options: any, snapshot: any): Promise<{
4
+ [x: string]: any;
5
+ [x: number]: any;
6
+ }>;
@@ -0,0 +1,245 @@
1
+ import * as balancer from './balancer';
2
+ import * as balancerSmartPool from './balancer-smart-pool';
3
+ import * as contractCall from './contract-call';
4
+ import * as ensDomainsOwned from './ens-domains-owned';
5
+ import * as ensReverseRecord from './ens-reverse-record';
6
+ import * as erc20BalanceOf from './erc20-balance-of';
7
+ import * as erc20BalanceOfCoeff from './erc20-balance-of-coeff';
8
+ import * as erc20BalanceOfFixedTotal from './erc20-balance-of-fixed-total';
9
+ import * as erc20BalanceOfCv from './erc20-balance-of-cv';
10
+ import * as erc20WithBalance from './erc20-with-balance';
11
+ import * as erc20BalanceOfDelegation from './erc20-balance-of-delegation';
12
+ import * as erc20BalanceOfQuadraticDelegation from './erc20-balance-of-quadratic-delegation';
13
+ import * as erc20Price from './erc20-price';
14
+ import * as balanceOfWithMin from './balance-of-with-min';
15
+ import * as balanceOfWithThresholds from './balance-of-with-thresholds';
16
+ import * as ethBalance from './eth-balance';
17
+ import * as ethWithBalance from './eth-with-balance';
18
+ import * as ethWalletAge from './eth-wallet-age';
19
+ import * as multichain from './multichain';
20
+ import * as makerDsChief from './maker-ds-chief';
21
+ import * as uni from './uni';
22
+ import * as yearnVault from './yearn-vault';
23
+ import * as fraxFinance from './frax-finance';
24
+ import * as moloch from './moloch';
25
+ import * as uniswap from './uniswap';
26
+ import * as flashstake from './flashstake';
27
+ import * as pancake from './pancake';
28
+ import * as synthetix from './synthetix';
29
+ import * as ctoken from './ctoken';
30
+ import * as cream from './cream';
31
+ import * as esd from './esd';
32
+ import * as esdDelegation from './esd-delegation';
33
+ import * as stakedUniswap from './staked-uniswap';
34
+ import * as piedao from './piedao';
35
+ import * as ethReceived from './eth-received';
36
+ import * as erc20Received from './erc20-received';
37
+ import * as ethPhilanthropy from './eth-philanthropy';
38
+ import * as xDaiEasyStaking from './xdai-easy-staking';
39
+ import * as xDaiPOSDAOStaking from './xdai-posdao-staking';
40
+ import * as xDaiStakeHolders from './xdai-stake-holders';
41
+ import * as xDaiStakeDelegation from './xdai-stake-delegation';
42
+ import * as defidollar from './defidollar';
43
+ import * as aavegotchi from './aavegotchi';
44
+ import * as aavegotchiAgip from './aavegotchi-agip';
45
+ import * as mithcash from './mithcash';
46
+ import * as dittomoney from './dittomoney';
47
+ import * as balancerUnipool from './balancer-unipool';
48
+ import * as sushiswap from './sushiswap';
49
+ import * as masterchef from './masterchef';
50
+ import * as stablexswap from './stablexswap';
51
+ import * as stakedKeep from './staked-keep';
52
+ import * as typhoon from './typhoon';
53
+ import * as delegation from './delegation';
54
+ import * as ticket from './ticket';
55
+ import * as work from './work';
56
+ import * as ticketValidity from './ticket-validity';
57
+ import * as opium from './opium';
58
+ import * as ocean from './ocean-marketplace';
59
+ import * as theGraphBalance from './the-graph-balance';
60
+ import * as theGraphDelegation from './the-graph-delegation';
61
+ import * as theGraphIndexing from './the-graph-indexing';
62
+ import * as whitelist from './whitelist';
63
+ import * as tokenlon from './tokenlon';
64
+ import * as rebased from './rebased';
65
+ import * as pobHash from './pob-hash';
66
+ import * as totalAxionShares from './total-axion-shares';
67
+ import * as erc1155BalanceOf from './erc1155-balance-of';
68
+ import * as erc1155BalanceOfCv from './erc1155-balance-of-cv';
69
+ import * as compLikeVotes from './comp-like-votes';
70
+ import * as governorAlpha from './governor-alpha';
71
+ import * as pagination from './pagination';
72
+ import * as rulerStakedToken from './ruler-staked-token';
73
+ import * as rulerStakedLP from './ruler-staked-lp';
74
+ import * as xcover from './xcover';
75
+ import * as niuStaked from './niu-staked';
76
+ import * as mushrooms from './mushrooms';
77
+ import * as curioCardsErc20Weighted from './curio-cards-erc20-weighted';
78
+ import * as saffronFinance from './saffron-finance';
79
+ import * as renNodes from './ren-nodes';
80
+ import * as multisigOwners from './multisig-owners';
81
+ import * as trancheStaking from './tranche-staking';
82
+ import * as pepemon from './pepemon';
83
+ import * as erc1155AllBalancesOf from './erc1155-all-balances-of';
84
+ import * as trancheStakingLP from './tranche-staking-lp';
85
+ import * as masterchefPoolBalance from './masterchef-pool-balance';
86
+ import * as masterchefPoolBalancePrice from './masterchef-pool-balance-price';
87
+ import * as avnBalanceOfStaked from './avn-balance-of-staked';
88
+ import * as badgeth from './badgeth';
89
+ import * as api from './api';
90
+ import * as xseen from './xseen';
91
+ import * as molochAll from './moloch-all';
92
+ import * as molochLoot from './moloch-loot';
93
+ import * as erc721Enumerable from './erc721-enumerable';
94
+ import * as erc721WithMultiplier from './erc721-with-multiplier';
95
+ import * as hoprUniLpFarm from './hopr-uni-lp-farm';
96
+ import * as erc721 from './erc721';
97
+ import * as apescape from './apescape';
98
+ import * as liftkitchen from './liftkitchen';
99
+ import * as decentralandEstateSize from './decentraland-estate-size';
100
+ import * as iotexBalance from './iotex-balance';
101
+ import * as iotexStakedBalance from './iotex-staked-balance';
102
+ import * as xrc20BalanceOf from './xrc20-balance-of';
103
+ import * as brightid from './brightid';
104
+ import * as inverseXINV from './inverse-xinv';
105
+ import * as modefi from './modefi';
106
+ import * as modefiStaking from './modefi-staking';
107
+ import * as spookyswap from './spookyswap';
108
+ import * as rnbwBalance from './rnbw-balance';
109
+ import * as celerSgnDelegation from './celer-sgn-delegation';
110
+ import * as balancerDelegation from './balancer-delegation';
111
+ import * as infinityProtocolPools from './infinityprotocol-liquidity-pools';
112
+ import * as aaveGovernancePower from './aave-governance-power';
113
+ import * as cake from './cake';
114
+ import * as planetFinance from './planet-finance';
115
+ import * as impossibleFinance from './impossible-finance';
116
+ import * as ogn from './ogn';
117
+ import * as zrxVotingPower from './zrx-voting-power';
118
+ import * as tombFinance from './tomb-finance';
119
+ import * as trancheStakingSLICE from './tranche-staking-slice';
120
+ import * as unipoolSameToken from './unipool-same-token';
121
+ import * as unipoolUniv2Lp from './unipool-univ2-lp';
122
+ declare const _default: {
123
+ balancer: typeof balancer;
124
+ 'balancer-smart-pool': typeof balancerSmartPool;
125
+ 'erc20-received': typeof erc20Received;
126
+ 'contract-call': typeof contractCall;
127
+ 'eth-received': typeof ethReceived;
128
+ 'eth-philanthropy': typeof ethPhilanthropy;
129
+ 'ens-domains-owned': typeof ensDomainsOwned;
130
+ 'ens-reverse-record': typeof ensReverseRecord;
131
+ 'erc20-balance-of': typeof erc20BalanceOf;
132
+ 'erc20-balance-of-fixed-total': typeof erc20BalanceOfFixedTotal;
133
+ 'erc20-balance-of-cv': typeof erc20BalanceOfCv;
134
+ 'erc20-balance-of-coeff': typeof erc20BalanceOfCoeff;
135
+ 'erc20-with-balance': typeof erc20WithBalance;
136
+ 'erc20-balance-of-delegation': typeof erc20BalanceOfDelegation;
137
+ 'erc20-balance-of-quadratic-delegation': typeof erc20BalanceOfQuadraticDelegation;
138
+ 'erc20-price': typeof erc20Price;
139
+ 'balance-of-with-min': typeof balanceOfWithMin;
140
+ 'balance-of-with-thresholds': typeof balanceOfWithThresholds;
141
+ 'eth-balance': typeof ethBalance;
142
+ 'eth-with-balance': typeof ethWithBalance;
143
+ 'eth-wallet-age': typeof ethWalletAge;
144
+ 'maker-ds-chief': typeof makerDsChief;
145
+ erc721: typeof erc721;
146
+ 'erc721-enumerable': typeof erc721Enumerable;
147
+ 'erc721-with-multiplier': typeof erc721WithMultiplier;
148
+ 'erc1155-balance-of': typeof erc1155BalanceOf;
149
+ 'erc1155-balance-of-cv': typeof erc1155BalanceOfCv;
150
+ multichain: typeof multichain;
151
+ uni: typeof uni;
152
+ 'frax-finance': typeof fraxFinance;
153
+ 'yearn-vault': typeof yearnVault;
154
+ moloch: typeof moloch;
155
+ masterchef: typeof masterchef;
156
+ sushiswap: typeof sushiswap;
157
+ uniswap: typeof uniswap;
158
+ flashstake: typeof flashstake;
159
+ pancake: typeof pancake;
160
+ synthetix: typeof synthetix;
161
+ ctoken: typeof ctoken;
162
+ cream: typeof cream;
163
+ 'staked-uniswap': typeof stakedUniswap;
164
+ esd: typeof esd;
165
+ 'esd-delegation': typeof esdDelegation;
166
+ piedao: typeof piedao;
167
+ 'xdai-easy-staking': typeof xDaiEasyStaking;
168
+ 'xdai-posdao-staking': typeof xDaiPOSDAOStaking;
169
+ 'xdai-stake-holders': typeof xDaiStakeHolders;
170
+ 'xdai-stake-delegation': typeof xDaiStakeDelegation;
171
+ defidollar: typeof defidollar;
172
+ aavegotchi: typeof aavegotchi;
173
+ 'aavegotchi-agip': typeof aavegotchiAgip;
174
+ mithcash: typeof mithcash;
175
+ stablexswap: typeof stablexswap;
176
+ dittomoney: typeof dittomoney;
177
+ 'staked-keep': typeof stakedKeep;
178
+ 'balancer-unipool': typeof balancerUnipool;
179
+ typhoon: typeof typhoon;
180
+ delegation: typeof delegation;
181
+ ticket: typeof ticket;
182
+ work: typeof work;
183
+ 'ticket-validity': typeof ticketValidity;
184
+ opium: typeof opium;
185
+ 'ocean-marketplace': typeof ocean;
186
+ 'the-graph-balance': typeof theGraphBalance;
187
+ 'the-graph-delegation': typeof theGraphDelegation;
188
+ 'the-graph-indexing': typeof theGraphIndexing;
189
+ whitelist: typeof whitelist;
190
+ tokenlon: typeof tokenlon;
191
+ rebased: typeof rebased;
192
+ 'pob-hash': typeof pobHash;
193
+ 'total-axion-shares': typeof totalAxionShares;
194
+ 'comp-like-votes': typeof compLikeVotes;
195
+ 'governor-alpha': typeof governorAlpha;
196
+ pagination: typeof pagination;
197
+ 'ruler-staked-token': typeof rulerStakedToken;
198
+ 'ruler-staked-lp': typeof rulerStakedLP;
199
+ xcover: typeof xcover;
200
+ 'niu-staked': typeof niuStaked;
201
+ mushrooms: typeof mushrooms;
202
+ 'curio-cards-erc20-weighted': typeof curioCardsErc20Weighted;
203
+ 'ren-nodes': typeof renNodes;
204
+ 'multisig-owners': typeof multisigOwners;
205
+ 'tranche-staking': typeof trancheStaking;
206
+ pepemon: typeof pepemon;
207
+ 'erc1155-all-balances-of': typeof erc1155AllBalancesOf;
208
+ 'saffron-finance': typeof saffronFinance;
209
+ 'tranche-staking-lp': typeof trancheStakingLP;
210
+ 'masterchef-pool-balance': typeof masterchefPoolBalance;
211
+ 'masterchef-pool-balance-price': typeof masterchefPoolBalancePrice;
212
+ 'avn-balance-of-staked': typeof avnBalanceOfStaked;
213
+ api: typeof api;
214
+ xseen: typeof xseen;
215
+ 'moloch-all': typeof molochAll;
216
+ 'moloch-loot': typeof molochLoot;
217
+ 'hopr-uni-lp-farm': typeof hoprUniLpFarm;
218
+ apescape: typeof apescape;
219
+ liftkitchen: typeof liftkitchen;
220
+ 'decentraland-estate-size': typeof decentralandEstateSize;
221
+ brightid: typeof brightid;
222
+ 'inverse-xinv': typeof inverseXINV;
223
+ modefi: typeof modefi;
224
+ 'modefi-staking': typeof modefiStaking;
225
+ 'iotex-balance': typeof iotexBalance;
226
+ 'iotex-staked-balance': typeof iotexStakedBalance;
227
+ 'xrc20-balance-of': typeof xrc20BalanceOf;
228
+ spookyswap: typeof spookyswap;
229
+ 'rnbw-balance': typeof rnbwBalance;
230
+ 'celer-sgn-delegation': typeof celerSgnDelegation;
231
+ 'balancer-delegation': typeof balancerDelegation;
232
+ 'infinityprotocol-liquidity-pools': typeof infinityProtocolPools;
233
+ 'aave-governance-power': typeof aaveGovernancePower;
234
+ cake: typeof cake;
235
+ 'planet-finance': typeof planetFinance;
236
+ ogn: typeof ogn;
237
+ 'impossible-finance': typeof impossibleFinance;
238
+ badgeth: typeof badgeth;
239
+ 'zrx-voting-power': typeof zrxVotingPower;
240
+ 'tomb-finance': typeof tombFinance;
241
+ 'tranche-staking-slice': typeof trancheStakingSLICE;
242
+ 'unipool-same-token': typeof unipoolSameToken;
243
+ 'unipool-univ2-lp': typeof unipoolUniv2Lp;
244
+ };
245
+ export default _default;
@@ -0,0 +1,3 @@
1
+ export declare const author = "vfatouros";
2
+ export declare const version = "0.1.0";
3
+ export declare function strategy(_space: any, network: any, _provider: any, addresses: any, options: any, snapshot: any): Promise<{}>;
@@ -0,0 +1,3 @@
1
+ export declare const author = "andytcf";
2
+ export declare const version = "1.0.0";
3
+ export declare function strategy(_space: any, _network: any, _provider: any, _addresses: any, _: any, snapshot: any): Promise<{}>;
@@ -0,0 +1,4 @@
1
+ export declare function baseStrategy(_space: any, network: any, _provider: any, addresses: any, options: any, snapshot: any): Promise<{
2
+ [x: string]: number;
3
+ [x: number]: number;
4
+ }>;
@@ -0,0 +1,12 @@
1
+ import { BigNumber } from '@ethersproject/bignumber';
2
+ export declare const GRAPH_NETWORK_SUBGRAPH_URL: {
3
+ 1: string;
4
+ 4: string;
5
+ };
6
+ export declare const bnWEI: BigNumber;
7
+ export interface GraphAccountScores {
8
+ [key: string]: number;
9
+ }
10
+ export declare function bdMulBn(bd: string, bn: string): BigNumber;
11
+ export declare function calcNonStakedTokens(totalSupply: string, totalTokensStaked: string, totalDelegatedTokens: string): number;
12
+ export declare function verifyResults(result: string, expectedResults: string, type: string): void;
@@ -0,0 +1,9 @@
1
+ export declare const TOKEN_DISTRIBUTION_SUBGRAPH_URL: {
2
+ 1: string;
3
+ 4: string;
4
+ };
5
+ interface TokenLockWallets {
6
+ [key: string]: string[];
7
+ }
8
+ export declare function getTokenLockWallets(_space: any, network: any, _provider: any, addresses: any, options: any, snapshot: any): Promise<TokenLockWallets>;
9
+ export {};
@@ -0,0 +1,2 @@
1
+ import { GraphAccountScores } from '../the-graph/graphUtils';
2
+ export declare function balanceStrategy(_space: any, network: any, _provider: any, addresses: any, _options: any, snapshot: any): Promise<GraphAccountScores>;
@@ -0,0 +1,6 @@
1
+ export declare const author = "davekaj";
2
+ export declare const version = "0.1.0";
3
+ export declare function strategy(_space: any, network: any, _provider: any, addresses: any, _options: any, snapshot: any): Promise<{
4
+ [x: string]: number;
5
+ [x: number]: number;
6
+ }>;
@@ -0,0 +1,2 @@
1
+ import { GraphAccountScores } from '../the-graph/graphUtils';
2
+ export declare function delegatorsStrategy(_space: any, network: any, _provider: any, addresses: any, options: any, snapshot: any): Promise<GraphAccountScores>;
@@ -0,0 +1,6 @@
1
+ export declare const author = "davekaj";
2
+ export declare const version = "0.1.0";
3
+ export declare function strategy(_space: any, network: any, _provider: any, addresses: any, _options: any, snapshot: any): Promise<{
4
+ [x: string]: number;
5
+ [x: number]: number;
6
+ }>;
@@ -0,0 +1,6 @@
1
+ export declare const author = "davekaj";
2
+ export declare const version = "0.1.0";
3
+ export declare function strategy(_space: any, network: any, _provider: any, addresses: any, _options: any, snapshot: any): Promise<{
4
+ [x: string]: number;
5
+ [x: number]: number;
6
+ }>;
@@ -0,0 +1,2 @@
1
+ import { GraphAccountScores } from '../the-graph/graphUtils';
2
+ export declare function indexersStrategy(_space: any, network: any, _provider: any, addresses: any, options: any, snapshot: any): Promise<GraphAccountScores>;
@@ -0,0 +1,6 @@
1
+ export declare const author = "bonustrack";
2
+ export declare const version = "0.1.0";
3
+ export declare function strategy(space: any, network: any, provider: any, addresses: any, options: any): Promise<{
4
+ [x: string]: any;
5
+ [x: number]: any;
6
+ }>;