@andrewkimjoseph/celina-sdk 0.15.0 → 0.15.1

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 (359) hide show
  1. package/README.md +7 -5
  2. package/build/config/celina-tag.d.ts +7 -3
  3. package/build/config/celina-tag.js +7 -3
  4. package/build/config/celina-tag.js.map +1 -1
  5. package/package.json +3 -2
  6. package/build/src/a2a/agent-card.d.ts +0 -37
  7. package/build/src/a2a/agent-card.js +0 -46
  8. package/build/src/a2a/agent-card.js.map +0 -1
  9. package/build/src/a2a/index.d.ts +0 -2
  10. package/build/src/a2a/index.js +0 -3
  11. package/build/src/a2a/index.js.map +0 -1
  12. package/build/src/a2a/skills.d.ts +0 -18
  13. package/build/src/a2a/skills.js +0 -106
  14. package/build/src/a2a/skills.js.map +0 -1
  15. package/build/src/aa/create-aa-client.d.ts +0 -44
  16. package/build/src/aa/create-aa-client.js +0 -115
  17. package/build/src/aa/create-aa-client.js.map +0 -1
  18. package/build/src/aa/gas-sponsorship.d.ts +0 -27
  19. package/build/src/aa/gas-sponsorship.js +0 -65
  20. package/build/src/aa/gas-sponsorship.js.map +0 -1
  21. package/build/src/aa/index.d.ts +0 -4
  22. package/build/src/aa/index.js +0 -4
  23. package/build/src/aa/index.js.map +0 -1
  24. package/build/src/aa/prepared-calls.d.ts +0 -8
  25. package/build/src/aa/prepared-calls.js +0 -27
  26. package/build/src/aa/prepared-calls.js.map +0 -1
  27. package/build/src/aa/types.d.ts +0 -61
  28. package/build/src/aa/types.js +0 -2
  29. package/build/src/aa/types.js.map +0 -1
  30. package/build/src/abis/aave-pool.d.ts +0 -37
  31. package/build/src/abis/aave-pool.js +0 -26
  32. package/build/src/abis/aave-pool.js.map +0 -1
  33. package/build/src/abis/accounts.d.ts +0 -13
  34. package/build/src/abis/accounts.js +0 -10
  35. package/build/src/abis/accounts.js.map +0 -1
  36. package/build/src/abis/election.d.ts +0 -124
  37. package/build/src/abis/election.js +0 -88
  38. package/build/src/abis/election.js.map +0 -1
  39. package/build/src/abis/gooddollar-broker.d.ts +0 -77
  40. package/build/src/abis/gooddollar-broker.js +0 -44
  41. package/build/src/abis/gooddollar-broker.js.map +0 -1
  42. package/build/src/abis/gooddollar-identity.d.ts +0 -85
  43. package/build/src/abis/gooddollar-identity.js +0 -52
  44. package/build/src/abis/gooddollar-identity.js.map +0 -1
  45. package/build/src/abis/governance.d.ts +0 -86
  46. package/build/src/abis/governance.js +0 -68
  47. package/build/src/abis/governance.js.map +0 -1
  48. package/build/src/abis/locked-gold.d.ts +0 -10
  49. package/build/src/abis/locked-gold.js +0 -10
  50. package/build/src/abis/locked-gold.js.map +0 -1
  51. package/build/src/abis/nft.d.ts +0 -107
  52. package/build/src/abis/nft.js +0 -75
  53. package/build/src/abis/nft.js.map +0 -1
  54. package/build/src/abis/permit2.d.ts +0 -43
  55. package/build/src/abis/permit2.js +0 -30
  56. package/build/src/abis/permit2.js.map +0 -1
  57. package/build/src/abis/self-registry.d.ts +0 -194
  58. package/build/src/abis/self-registry.js +0 -120
  59. package/build/src/abis/self-registry.js.map +0 -1
  60. package/build/src/abis/ubi-scheme.d.ts +0 -91
  61. package/build/src/abis/ubi-scheme.js +0 -66
  62. package/build/src/abis/ubi-scheme.js.map +0 -1
  63. package/build/src/abis/uniswap-state-view.d.ts +0 -34
  64. package/build/src/abis/uniswap-state-view.js +0 -22
  65. package/build/src/abis/uniswap-state-view.js.map +0 -1
  66. package/build/src/abis/uniswap-v4-quoter.d.ts +0 -86
  67. package/build/src/abis/uniswap-v4-quoter.js +0 -64
  68. package/build/src/abis/uniswap-v4-quoter.js.map +0 -1
  69. package/build/src/abis/universal-router.d.ts +0 -16
  70. package/build/src/abis/universal-router.js +0 -14
  71. package/build/src/abis/universal-router.js.map +0 -1
  72. package/build/src/abis/validators-minimal.d.ts +0 -65
  73. package/build/src/abis/validators-minimal.js +0 -39
  74. package/build/src/abis/validators-minimal.js.map +0 -1
  75. package/build/src/analytics/amplitude.d.ts +0 -11
  76. package/build/src/analytics/amplitude.js +0 -76
  77. package/build/src/analytics/amplitude.js.map +0 -1
  78. package/build/src/analytics/config.d.ts +0 -7
  79. package/build/src/analytics/config.js +0 -25
  80. package/build/src/analytics/config.js.map +0 -1
  81. package/build/src/analytics/consumer-package.d.ts +0 -9
  82. package/build/src/analytics/consumer-package.js +0 -143
  83. package/build/src/analytics/consumer-package.js.map +0 -1
  84. package/build/src/analytics/mcp-tool-events.d.ts +0 -5
  85. package/build/src/analytics/mcp-tool-events.js +0 -53
  86. package/build/src/analytics/mcp-tool-events.js.map +0 -1
  87. package/build/src/analytics/wallet-context.d.ts +0 -11
  88. package/build/src/analytics/wallet-context.js +0 -81
  89. package/build/src/analytics/wallet-context.js.map +0 -1
  90. package/build/src/analytics/wallet-extract.d.ts +0 -9
  91. package/build/src/analytics/wallet-extract.js +0 -21
  92. package/build/src/analytics/wallet-extract.js.map +0 -1
  93. package/build/src/analytics/wrap-service.d.ts +0 -5
  94. package/build/src/analytics/wrap-service.js +0 -38
  95. package/build/src/analytics/wrap-service.js.map +0 -1
  96. package/build/src/clients/celo-client.d.ts +0 -19
  97. package/build/src/clients/celo-client.js +0 -32
  98. package/build/src/clients/celo-client.js.map +0 -1
  99. package/build/src/clients/ens-client.d.ts +0 -17
  100. package/build/src/clients/ens-client.js +0 -30
  101. package/build/src/clients/ens-client.js.map +0 -1
  102. package/build/src/clients/mento-sdk.d.ts +0 -2
  103. package/build/src/clients/mento-sdk.js +0 -9
  104. package/build/src/clients/mento-sdk.js.map +0 -1
  105. package/build/src/clients/self-api.d.ts +0 -82
  106. package/build/src/clients/self-api.js +0 -242
  107. package/build/src/clients/self-api.js.map +0 -1
  108. package/build/src/clients/uniswap-sdk.d.ts +0 -4
  109. package/build/src/clients/uniswap-sdk.js +0 -13
  110. package/build/src/clients/uniswap-sdk.js.map +0 -1
  111. package/build/src/config/aave.d.ts +0 -17
  112. package/build/src/config/aave.js +0 -77
  113. package/build/src/config/aave.js.map +0 -1
  114. package/build/src/config/celina-tag.d.ts +0 -46
  115. package/build/src/config/celina-tag.js +0 -166
  116. package/build/src/config/celina-tag.js.map +0 -1
  117. package/build/src/config/celo-core-contracts.d.ts +0 -8
  118. package/build/src/config/celo-core-contracts.js +0 -9
  119. package/build/src/config/celo-core-contracts.js.map +0 -1
  120. package/build/src/config/chains.d.ts +0 -937
  121. package/build/src/config/chains.js +0 -319
  122. package/build/src/config/chains.js.map +0 -1
  123. package/build/src/config/gooddollar.d.ts +0 -16
  124. package/build/src/config/gooddollar.js +0 -24
  125. package/build/src/config/gooddollar.js.map +0 -1
  126. package/build/src/config/sdk-config.d.ts +0 -44
  127. package/build/src/config/sdk-config.js +0 -28
  128. package/build/src/config/sdk-config.js.map +0 -1
  129. package/build/src/config/self.d.ts +0 -22
  130. package/build/src/config/self.js +0 -27
  131. package/build/src/config/self.js.map +0 -1
  132. package/build/src/config/uniswap.d.ts +0 -42
  133. package/build/src/config/uniswap.js +0 -76
  134. package/build/src/config/uniswap.js.map +0 -1
  135. package/build/src/index.d.ts +0 -127
  136. package/build/src/index.js +0 -72
  137. package/build/src/index.js.map +0 -1
  138. package/build/src/oasf/index.d.ts +0 -2
  139. package/build/src/oasf/index.js +0 -3
  140. package/build/src/oasf/index.js.map +0 -1
  141. package/build/src/oasf/record.d.ts +0 -39
  142. package/build/src/oasf/record.js +0 -35
  143. package/build/src/oasf/record.js.map +0 -1
  144. package/build/src/oasf/taxonomy.d.ts +0 -19
  145. package/build/src/oasf/taxonomy.js +0 -46
  146. package/build/src/oasf/taxonomy.js.map +0 -1
  147. package/build/src/services/aave.service.d.ts +0 -59
  148. package/build/src/services/aave.service.js +0 -210
  149. package/build/src/services/aave.service.js.map +0 -1
  150. package/build/src/services/account.service.d.ts +0 -22
  151. package/build/src/services/account.service.js +0 -29
  152. package/build/src/services/account.service.js.map +0 -1
  153. package/build/src/services/agentkarma.service.d.ts +0 -89
  154. package/build/src/services/agentkarma.service.js +0 -102
  155. package/build/src/services/agentkarma.service.js.map +0 -1
  156. package/build/src/services/blockchain.service.d.ts +0 -126
  157. package/build/src/services/blockchain.service.js +0 -188
  158. package/build/src/services/blockchain.service.js.map +0 -1
  159. package/build/src/services/contract.service.d.ts +0 -78
  160. package/build/src/services/contract.service.js +0 -117
  161. package/build/src/services/contract.service.js.map +0 -1
  162. package/build/src/services/ens.service.d.ts +0 -44
  163. package/build/src/services/ens.service.js +0 -92
  164. package/build/src/services/ens.service.js.map +0 -1
  165. package/build/src/services/gooddollar.service.d.ts +0 -184
  166. package/build/src/services/gooddollar.service.js +0 -675
  167. package/build/src/services/gooddollar.service.js.map +0 -1
  168. package/build/src/services/governance.service.d.ts +0 -96
  169. package/build/src/services/governance.service.js +0 -255
  170. package/build/src/services/governance.service.js.map +0 -1
  171. package/build/src/services/mento-fx.service.d.ts +0 -81
  172. package/build/src/services/mento-fx.service.js +0 -318
  173. package/build/src/services/mento-fx.service.js.map +0 -1
  174. package/build/src/services/nft.service.d.ts +0 -58
  175. package/build/src/services/nft.service.js +0 -222
  176. package/build/src/services/nft.service.js.map +0 -1
  177. package/build/src/services/self-session-store.d.ts +0 -19
  178. package/build/src/services/self-session-store.js +0 -28
  179. package/build/src/services/self-session-store.js.map +0 -1
  180. package/build/src/services/self.service.d.ts +0 -241
  181. package/build/src/services/self.service.js +0 -699
  182. package/build/src/services/self.service.js.map +0 -1
  183. package/build/src/services/staking.service.d.ts +0 -140
  184. package/build/src/services/staking.service.js +0 -444
  185. package/build/src/services/staking.service.js.map +0 -1
  186. package/build/src/services/token.service.d.ts +0 -110
  187. package/build/src/services/token.service.js +0 -189
  188. package/build/src/services/token.service.js.map +0 -1
  189. package/build/src/services/transaction.service.d.ts +0 -69
  190. package/build/src/services/transaction.service.js +0 -197
  191. package/build/src/services/transaction.service.js.map +0 -1
  192. package/build/src/services/uniswap-path-router.d.ts +0 -40
  193. package/build/src/services/uniswap-path-router.js +0 -168
  194. package/build/src/services/uniswap-path-router.js.map +0 -1
  195. package/build/src/services/uniswap-pool-discovery.d.ts +0 -55
  196. package/build/src/services/uniswap-pool-discovery.js +0 -198
  197. package/build/src/services/uniswap-pool-discovery.js.map +0 -1
  198. package/build/src/services/uniswap.service.d.ts +0 -83
  199. package/build/src/services/uniswap.service.js +0 -352
  200. package/build/src/services/uniswap.service.js.map +0 -1
  201. package/build/src/simulation/index.d.ts +0 -5
  202. package/build/src/simulation/index.js +0 -2
  203. package/build/src/simulation/index.js.map +0 -1
  204. package/build/src/simulation/simulate-prepared-step.d.ts +0 -17
  205. package/build/src/simulation/simulate-prepared-step.js +0 -42
  206. package/build/src/simulation/simulate-prepared-step.js.map +0 -1
  207. package/build/src/tools/catalog.d.ts +0 -11
  208. package/build/src/tools/catalog.js +0 -43
  209. package/build/src/tools/catalog.js.map +0 -1
  210. package/build/src/tools/domains/aave.d.ts +0 -2
  211. package/build/src/tools/domains/aave.js +0 -115
  212. package/build/src/tools/domains/aave.js.map +0 -1
  213. package/build/src/tools/domains/agentkarma.d.ts +0 -2
  214. package/build/src/tools/domains/agentkarma.js +0 -92
  215. package/build/src/tools/domains/agentkarma.js.map +0 -1
  216. package/build/src/tools/domains/blockchain.d.ts +0 -2
  217. package/build/src/tools/domains/blockchain.js +0 -122
  218. package/build/src/tools/domains/blockchain.js.map +0 -1
  219. package/build/src/tools/domains/browser.d.ts +0 -2
  220. package/build/src/tools/domains/browser.js +0 -45
  221. package/build/src/tools/domains/browser.js.map +0 -1
  222. package/build/src/tools/domains/contract.d.ts +0 -2
  223. package/build/src/tools/domains/contract.js +0 -67
  224. package/build/src/tools/domains/contract.js.map +0 -1
  225. package/build/src/tools/domains/ens.d.ts +0 -2
  226. package/build/src/tools/domains/ens.js +0 -16
  227. package/build/src/tools/domains/ens.js.map +0 -1
  228. package/build/src/tools/domains/gooddollar.d.ts +0 -2
  229. package/build/src/tools/domains/gooddollar.js +0 -171
  230. package/build/src/tools/domains/gooddollar.js.map +0 -1
  231. package/build/src/tools/domains/governance.d.ts +0 -2
  232. package/build/src/tools/domains/governance.js +0 -41
  233. package/build/src/tools/domains/governance.js.map +0 -1
  234. package/build/src/tools/domains/index.d.ts +0 -1
  235. package/build/src/tools/domains/index.js +0 -33
  236. package/build/src/tools/domains/index.js.map +0 -1
  237. package/build/src/tools/domains/mento-fx.d.ts +0 -2
  238. package/build/src/tools/domains/mento-fx.js +0 -67
  239. package/build/src/tools/domains/mento-fx.js.map +0 -1
  240. package/build/src/tools/domains/nft.d.ts +0 -2
  241. package/build/src/tools/domains/nft.js +0 -38
  242. package/build/src/tools/domains/nft.js.map +0 -1
  243. package/build/src/tools/domains/self.d.ts +0 -2
  244. package/build/src/tools/domains/self.js +0 -187
  245. package/build/src/tools/domains/self.js.map +0 -1
  246. package/build/src/tools/domains/staking.d.ts +0 -2
  247. package/build/src/tools/domains/staking.js +0 -74
  248. package/build/src/tools/domains/staking.js.map +0 -1
  249. package/build/src/tools/domains/token.d.ts +0 -2
  250. package/build/src/tools/domains/token.js +0 -74
  251. package/build/src/tools/domains/token.js.map +0 -1
  252. package/build/src/tools/domains/transaction.d.ts +0 -2
  253. package/build/src/tools/domains/transaction.js +0 -120
  254. package/build/src/tools/domains/transaction.js.map +0 -1
  255. package/build/src/tools/domains/uniswap.d.ts +0 -2
  256. package/build/src/tools/domains/uniswap.js +0 -67
  257. package/build/src/tools/domains/uniswap.js.map +0 -1
  258. package/build/src/tools/filter.d.ts +0 -2
  259. package/build/src/tools/filter.js +0 -50
  260. package/build/src/tools/filter.js.map +0 -1
  261. package/build/src/tools/index.d.ts +0 -7
  262. package/build/src/tools/index.js +0 -7
  263. package/build/src/tools/index.js.map +0 -1
  264. package/build/src/tools/schemas/common.d.ts +0 -165
  265. package/build/src/tools/schemas/common.js +0 -207
  266. package/build/src/tools/schemas/common.js.map +0 -1
  267. package/build/src/tools/schemas/wallet-params.d.ts +0 -9
  268. package/build/src/tools/schemas/wallet-params.js +0 -52
  269. package/build/src/tools/schemas/wallet-params.js.map +0 -1
  270. package/build/src/tools/swap-routing.d.ts +0 -25
  271. package/build/src/tools/swap-routing.js +0 -174
  272. package/build/src/tools/swap-routing.js.map +0 -1
  273. package/build/src/tools/types.d.ts +0 -124
  274. package/build/src/tools/types.js +0 -2
  275. package/build/src/tools/types.js.map +0 -1
  276. package/build/src/tools/utils/normalize-token.d.ts +0 -2
  277. package/build/src/tools/utils/normalize-token.js +0 -12
  278. package/build/src/tools/utils/normalize-token.js.map +0 -1
  279. package/build/src/tools/utils/wallet.d.ts +0 -4
  280. package/build/src/tools/utils/wallet.js +0 -8
  281. package/build/src/tools/utils/wallet.js.map +0 -1
  282. package/build/src/tools/website-sync.d.ts +0 -28
  283. package/build/src/tools/website-sync.js +0 -198
  284. package/build/src/tools/website-sync.js.map +0 -1
  285. package/build/src/types/prepared.d.ts +0 -43
  286. package/build/src/types/prepared.js +0 -15
  287. package/build/src/types/prepared.js.map +0 -1
  288. package/build/src/utils/celo-format.d.ts +0 -6
  289. package/build/src/utils/celo-format.js +0 -17
  290. package/build/src/utils/celo-format.js.map +0 -1
  291. package/build/src/utils/erc20-allowance-storage.d.ts +0 -20
  292. package/build/src/utils/erc20-allowance-storage.js +0 -64
  293. package/build/src/utils/erc20-allowance-storage.js.map +0 -1
  294. package/build/src/utils/format-date.d.ts +0 -2
  295. package/build/src/utils/format-date.js +0 -13
  296. package/build/src/utils/format-date.js.map +0 -1
  297. package/build/src/utils/format-duration.d.ts +0 -2
  298. package/build/src/utils/format-duration.js +0 -17
  299. package/build/src/utils/format-duration.js.map +0 -1
  300. package/build/src/utils/format-unix-datetime.d.ts +0 -4
  301. package/build/src/utils/format-unix-datetime.js +0 -18
  302. package/build/src/utils/format-unix-datetime.js.map +0 -1
  303. package/build/src/utils/gooddollar-ubi-period.d.ts +0 -23
  304. package/build/src/utils/gooddollar-ubi-period.js +0 -23
  305. package/build/src/utils/gooddollar-ubi-period.js.map +0 -1
  306. package/build/src/utils/normalize-address.d.ts +0 -7
  307. package/build/src/utils/normalize-address.js +0 -16
  308. package/build/src/utils/normalize-address.js.map +0 -1
  309. package/build/src/utils/self-format.d.ts +0 -28
  310. package/build/src/utils/self-format.js +0 -79
  311. package/build/src/utils/self-format.js.map +0 -1
  312. package/build/src/utils/self-signing.d.ts +0 -4
  313. package/build/src/utils/self-signing.js +0 -38
  314. package/build/src/utils/self-signing.js.map +0 -1
  315. package/build/src/utils/transaction-errors.d.ts +0 -3
  316. package/build/src/utils/transaction-errors.js +0 -17
  317. package/build/src/utils/transaction-errors.js.map +0 -1
  318. package/build/tests/catalog/domains/blockchain.d.ts +0 -2
  319. package/build/tests/catalog/domains/blockchain.js +0 -127
  320. package/build/tests/catalog/domains/blockchain.js.map +0 -1
  321. package/build/tests/catalog/domains/chain-ext.d.ts +0 -5
  322. package/build/tests/catalog/domains/chain-ext.js +0 -207
  323. package/build/tests/catalog/domains/chain-ext.js.map +0 -1
  324. package/build/tests/catalog/domains/defi.d.ts +0 -6
  325. package/build/tests/catalog/domains/defi.js +0 -581
  326. package/build/tests/catalog/domains/defi.js.map +0 -1
  327. package/build/tests/catalog/domains/self.d.ts +0 -2
  328. package/build/tests/catalog/domains/self.js +0 -208
  329. package/build/tests/catalog/domains/self.js.map +0 -1
  330. package/build/tests/catalog/domains/token.d.ts +0 -2
  331. package/build/tests/catalog/domains/token.js +0 -70
  332. package/build/tests/catalog/domains/token.js.map +0 -1
  333. package/build/tests/catalog/domains/transaction.d.ts +0 -2
  334. package/build/tests/catalog/domains/transaction.js +0 -96
  335. package/build/tests/catalog/domains/transaction.js.map +0 -1
  336. package/build/tests/catalog/index.d.ts +0 -2
  337. package/build/tests/catalog/index.js +0 -2
  338. package/build/tests/catalog/index.js.map +0 -1
  339. package/build/tests/catalog/operations.d.ts +0 -12
  340. package/build/tests/catalog/operations.js +0 -29
  341. package/build/tests/catalog/operations.js.map +0 -1
  342. package/build/tests/catalog/types.d.ts +0 -24
  343. package/build/tests/catalog/types.js +0 -2
  344. package/build/tests/catalog/types.js.map +0 -1
  345. package/build/tests/fixtures/mainnet.d.ts +0 -54
  346. package/build/tests/fixtures/mainnet.js +0 -53
  347. package/build/tests/fixtures/mainnet.js.map +0 -1
  348. package/build/tests/helpers/assert.d.ts +0 -4
  349. package/build/tests/helpers/assert.js +0 -24
  350. package/build/tests/helpers/assert.js.map +0 -1
  351. package/build/tests/helpers/env.d.ts +0 -12
  352. package/build/tests/helpers/env.js +0 -29
  353. package/build/tests/helpers/env.js.map +0 -1
  354. package/build/tests/helpers/gating.d.ts +0 -3
  355. package/build/tests/helpers/gating.js +0 -23
  356. package/build/tests/helpers/gating.js.map +0 -1
  357. package/build/tests/testing-entry.d.ts +0 -6
  358. package/build/tests/testing-entry.js +0 -6
  359. package/build/tests/testing-entry.js.map +0 -1
@@ -1,194 +0,0 @@
1
- export declare const selfRegistryAbi: readonly [{
2
- readonly name: "isVerifiedAgent";
3
- readonly type: "function";
4
- readonly stateMutability: "view";
5
- readonly inputs: readonly [{
6
- readonly name: "agentPubKey";
7
- readonly type: "bytes32";
8
- }];
9
- readonly outputs: readonly [{
10
- readonly name: "";
11
- readonly type: "bool";
12
- }];
13
- }, {
14
- readonly name: "getAgentId";
15
- readonly type: "function";
16
- readonly stateMutability: "view";
17
- readonly inputs: readonly [{
18
- readonly name: "agentPubKey";
19
- readonly type: "bytes32";
20
- }];
21
- readonly outputs: readonly [{
22
- readonly name: "";
23
- readonly type: "uint256";
24
- }];
25
- }, {
26
- readonly name: "hasHumanProof";
27
- readonly type: "function";
28
- readonly stateMutability: "view";
29
- readonly inputs: readonly [{
30
- readonly name: "agentId";
31
- readonly type: "uint256";
32
- }];
33
- readonly outputs: readonly [{
34
- readonly name: "";
35
- readonly type: "bool";
36
- }];
37
- }, {
38
- readonly name: "getHumanNullifier";
39
- readonly type: "function";
40
- readonly stateMutability: "view";
41
- readonly inputs: readonly [{
42
- readonly name: "agentId";
43
- readonly type: "uint256";
44
- }];
45
- readonly outputs: readonly [{
46
- readonly name: "";
47
- readonly type: "uint256";
48
- }];
49
- }, {
50
- readonly name: "getAgentCountForHuman";
51
- readonly type: "function";
52
- readonly stateMutability: "view";
53
- readonly inputs: readonly [{
54
- readonly name: "nullifier";
55
- readonly type: "uint256";
56
- }];
57
- readonly outputs: readonly [{
58
- readonly name: "";
59
- readonly type: "uint256";
60
- }];
61
- }, {
62
- readonly name: "getProofProvider";
63
- readonly type: "function";
64
- readonly stateMutability: "view";
65
- readonly inputs: readonly [{
66
- readonly name: "agentId";
67
- readonly type: "uint256";
68
- }];
69
- readonly outputs: readonly [{
70
- readonly name: "";
71
- readonly type: "address";
72
- }];
73
- }, {
74
- readonly name: "selfProofProvider";
75
- readonly type: "function";
76
- readonly stateMutability: "view";
77
- readonly inputs: readonly [];
78
- readonly outputs: readonly [{
79
- readonly name: "";
80
- readonly type: "address";
81
- }];
82
- }, {
83
- readonly name: "getAgentCredentials";
84
- readonly type: "function";
85
- readonly stateMutability: "view";
86
- readonly inputs: readonly [{
87
- readonly name: "agentId";
88
- readonly type: "uint256";
89
- }];
90
- readonly outputs: readonly [{
91
- readonly name: "";
92
- readonly type: "tuple";
93
- readonly components: readonly [{
94
- readonly name: "issuingState";
95
- readonly type: "string";
96
- }, {
97
- readonly name: "name";
98
- readonly type: "string[]";
99
- }, {
100
- readonly name: "idNumber";
101
- readonly type: "string";
102
- }, {
103
- readonly name: "nationality";
104
- readonly type: "string";
105
- }, {
106
- readonly name: "dateOfBirth";
107
- readonly type: "string";
108
- }, {
109
- readonly name: "gender";
110
- readonly type: "string";
111
- }, {
112
- readonly name: "expiryDate";
113
- readonly type: "string";
114
- }, {
115
- readonly name: "olderThan";
116
- readonly type: "uint256";
117
- }, {
118
- readonly name: "ofac";
119
- readonly type: "bool[3]";
120
- }];
121
- }];
122
- }, {
123
- readonly name: "agentRegisteredAt";
124
- readonly type: "function";
125
- readonly stateMutability: "view";
126
- readonly inputs: readonly [{
127
- readonly name: "agentId";
128
- readonly type: "uint256";
129
- }];
130
- readonly outputs: readonly [{
131
- readonly name: "";
132
- readonly type: "uint256";
133
- }];
134
- }, {
135
- readonly name: "proofExpiresAt";
136
- readonly type: "function";
137
- readonly stateMutability: "view";
138
- readonly inputs: readonly [{
139
- readonly name: "agentId";
140
- readonly type: "uint256";
141
- }];
142
- readonly outputs: readonly [{
143
- readonly name: "";
144
- readonly type: "uint256";
145
- }];
146
- }, {
147
- readonly name: "isProofFresh";
148
- readonly type: "function";
149
- readonly stateMutability: "view";
150
- readonly inputs: readonly [{
151
- readonly name: "agentId";
152
- readonly type: "uint256";
153
- }];
154
- readonly outputs: readonly [{
155
- readonly name: "";
156
- readonly type: "bool";
157
- }];
158
- }, {
159
- readonly name: "getAgentsForNullifier";
160
- readonly type: "function";
161
- readonly stateMutability: "view";
162
- readonly inputs: readonly [{
163
- readonly name: "nullifier";
164
- readonly type: "uint256";
165
- }];
166
- readonly outputs: readonly [{
167
- readonly name: "";
168
- readonly type: "uint256[]";
169
- }];
170
- }, {
171
- readonly name: "ownerOf";
172
- readonly type: "function";
173
- readonly stateMutability: "view";
174
- readonly inputs: readonly [{
175
- readonly name: "tokenId";
176
- readonly type: "uint256";
177
- }];
178
- readonly outputs: readonly [{
179
- readonly name: "";
180
- readonly type: "address";
181
- }];
182
- }, {
183
- readonly name: "updateAgentMetadata";
184
- readonly type: "function";
185
- readonly stateMutability: "nonpayable";
186
- readonly inputs: readonly [{
187
- readonly name: "agentId";
188
- readonly type: "uint256";
189
- }, {
190
- readonly name: "metadata";
191
- readonly type: "string";
192
- }];
193
- readonly outputs: readonly [];
194
- }];
@@ -1,120 +0,0 @@
1
- export const selfRegistryAbi = [
2
- {
3
- name: "isVerifiedAgent",
4
- type: "function",
5
- stateMutability: "view",
6
- inputs: [{ name: "agentPubKey", type: "bytes32" }],
7
- outputs: [{ name: "", type: "bool" }],
8
- },
9
- {
10
- name: "getAgentId",
11
- type: "function",
12
- stateMutability: "view",
13
- inputs: [{ name: "agentPubKey", type: "bytes32" }],
14
- outputs: [{ name: "", type: "uint256" }],
15
- },
16
- {
17
- name: "hasHumanProof",
18
- type: "function",
19
- stateMutability: "view",
20
- inputs: [{ name: "agentId", type: "uint256" }],
21
- outputs: [{ name: "", type: "bool" }],
22
- },
23
- {
24
- name: "getHumanNullifier",
25
- type: "function",
26
- stateMutability: "view",
27
- inputs: [{ name: "agentId", type: "uint256" }],
28
- outputs: [{ name: "", type: "uint256" }],
29
- },
30
- {
31
- name: "getAgentCountForHuman",
32
- type: "function",
33
- stateMutability: "view",
34
- inputs: [{ name: "nullifier", type: "uint256" }],
35
- outputs: [{ name: "", type: "uint256" }],
36
- },
37
- {
38
- name: "getProofProvider",
39
- type: "function",
40
- stateMutability: "view",
41
- inputs: [{ name: "agentId", type: "uint256" }],
42
- outputs: [{ name: "", type: "address" }],
43
- },
44
- {
45
- name: "selfProofProvider",
46
- type: "function",
47
- stateMutability: "view",
48
- inputs: [],
49
- outputs: [{ name: "", type: "address" }],
50
- },
51
- {
52
- name: "getAgentCredentials",
53
- type: "function",
54
- stateMutability: "view",
55
- inputs: [{ name: "agentId", type: "uint256" }],
56
- outputs: [
57
- {
58
- name: "",
59
- type: "tuple",
60
- components: [
61
- { name: "issuingState", type: "string" },
62
- { name: "name", type: "string[]" },
63
- { name: "idNumber", type: "string" },
64
- { name: "nationality", type: "string" },
65
- { name: "dateOfBirth", type: "string" },
66
- { name: "gender", type: "string" },
67
- { name: "expiryDate", type: "string" },
68
- { name: "olderThan", type: "uint256" },
69
- { name: "ofac", type: "bool[3]" },
70
- ],
71
- },
72
- ],
73
- },
74
- {
75
- name: "agentRegisteredAt",
76
- type: "function",
77
- stateMutability: "view",
78
- inputs: [{ name: "agentId", type: "uint256" }],
79
- outputs: [{ name: "", type: "uint256" }],
80
- },
81
- {
82
- name: "proofExpiresAt",
83
- type: "function",
84
- stateMutability: "view",
85
- inputs: [{ name: "agentId", type: "uint256" }],
86
- outputs: [{ name: "", type: "uint256" }],
87
- },
88
- {
89
- name: "isProofFresh",
90
- type: "function",
91
- stateMutability: "view",
92
- inputs: [{ name: "agentId", type: "uint256" }],
93
- outputs: [{ name: "", type: "bool" }],
94
- },
95
- {
96
- name: "getAgentsForNullifier",
97
- type: "function",
98
- stateMutability: "view",
99
- inputs: [{ name: "nullifier", type: "uint256" }],
100
- outputs: [{ name: "", type: "uint256[]" }],
101
- },
102
- {
103
- name: "ownerOf",
104
- type: "function",
105
- stateMutability: "view",
106
- inputs: [{ name: "tokenId", type: "uint256" }],
107
- outputs: [{ name: "", type: "address" }],
108
- },
109
- {
110
- name: "updateAgentMetadata",
111
- type: "function",
112
- stateMutability: "nonpayable",
113
- inputs: [
114
- { name: "agentId", type: "uint256" },
115
- { name: "metadata", type: "string" },
116
- ],
117
- outputs: [],
118
- },
119
- ];
120
- //# sourceMappingURL=self-registry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"self-registry.js","sourceRoot":"","sources":["../../../src/abis/self-registry.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,eAAe,GAAG;IAC7B;QACE,IAAI,EAAE,iBAAiB;QACvB,IAAI,EAAE,UAAU;QAChB,eAAe,EAAE,MAAM;QACvB,MAAM,EAAE,CAAC,EAAE,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;QAClD,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;KACtC;IACD;QACE,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE,UAAU;QAChB,eAAe,EAAE,MAAM;QACvB,MAAM,EAAE,CAAC,EAAE,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;QAClD,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;KACzC;IACD;QACE,IAAI,EAAE,eAAe;QACrB,IAAI,EAAE,UAAU;QAChB,eAAe,EAAE,MAAM;QACvB,MAAM,EAAE,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,SAAS,E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AE,MAAM;QACvB,MAAM,EAAE,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;QAC9C,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;KACtC;IACD;QACE,IAAI,EAAE,uBAAuB;QAC7B,IAAI,EAAE,UAAU;QAChB,eAAe,EAAE,MAAM;QACvB,MAAM,EAAE,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;QAChD,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC;KAC3C;IACD;QACE,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,UAAU;QAChB,eAAe,EAAE,MAAM;QACvB,MAAM,EAAE,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;QAC9C,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;KACzC;IACD;QACE,IAAI,EAAE,qBAAqB;QAC3B,IAAI,EAAE,UAAU;QAChB,eAAe,EAAE,YAAY;QAC7B,MAAM,EAAE;YACN,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,SAAS,EAAE;YACpC,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,QAAQ,EAAE;SACrC;QACD,OAAO,EAAE,EAAE;KACZ;CACqB,CAAC"}
@@ -1,91 +0,0 @@
1
- export declare const ubiSchemeAbi: readonly [{
2
- readonly name: "claim";
3
- readonly type: "function";
4
- readonly stateMutability: "nonpayable";
5
- readonly inputs: readonly [];
6
- readonly outputs: readonly [{
7
- readonly name: "";
8
- readonly type: "bool";
9
- }];
10
- }, {
11
- readonly name: "checkEntitlement";
12
- readonly type: "function";
13
- readonly stateMutability: "view";
14
- readonly inputs: readonly [{
15
- readonly name: "_member";
16
- readonly type: "address";
17
- }];
18
- readonly outputs: readonly [{
19
- readonly name: "";
20
- readonly type: "uint256";
21
- }];
22
- }, {
23
- readonly name: "hasClaimed";
24
- readonly type: "function";
25
- readonly stateMutability: "view";
26
- readonly inputs: readonly [{
27
- readonly name: "account";
28
- readonly type: "address";
29
- }];
30
- readonly outputs: readonly [{
31
- readonly name: "";
32
- readonly type: "bool";
33
- }];
34
- }, {
35
- readonly name: "lastClaimed";
36
- readonly type: "function";
37
- readonly stateMutability: "view";
38
- readonly inputs: readonly [{
39
- readonly name: "";
40
- readonly type: "address";
41
- }];
42
- readonly outputs: readonly [{
43
- readonly name: "";
44
- readonly type: "uint256";
45
- }];
46
- }, {
47
- readonly name: "paused";
48
- readonly type: "function";
49
- readonly stateMutability: "view";
50
- readonly inputs: readonly [];
51
- readonly outputs: readonly [{
52
- readonly name: "";
53
- readonly type: "bool";
54
- }];
55
- }, {
56
- readonly name: "periodStart";
57
- readonly type: "function";
58
- readonly stateMutability: "view";
59
- readonly inputs: readonly [];
60
- readonly outputs: readonly [{
61
- readonly name: "";
62
- readonly type: "uint256";
63
- }];
64
- }, {
65
- readonly name: "estimateNextDailyUBI";
66
- readonly type: "function";
67
- readonly stateMutability: "view";
68
- readonly inputs: readonly [];
69
- readonly outputs: readonly [{
70
- readonly name: "";
71
- readonly type: "uint256";
72
- }];
73
- }, {
74
- readonly name: "dailyUbi";
75
- readonly type: "function";
76
- readonly stateMutability: "view";
77
- readonly inputs: readonly [];
78
- readonly outputs: readonly [{
79
- readonly name: "";
80
- readonly type: "uint256";
81
- }];
82
- }, {
83
- readonly name: "currentDay";
84
- readonly type: "function";
85
- readonly stateMutability: "view";
86
- readonly inputs: readonly [];
87
- readonly outputs: readonly [{
88
- readonly name: "";
89
- readonly type: "uint256";
90
- }];
91
- }];
@@ -1,66 +0,0 @@
1
- export const ubiSchemeAbi = [
2
- {
3
- name: "claim",
4
- type: "function",
5
- stateMutability: "nonpayable",
6
- inputs: [],
7
- outputs: [{ name: "", type: "bool" }],
8
- },
9
- {
10
- name: "checkEntitlement",
11
- type: "function",
12
- stateMutability: "view",
13
- inputs: [{ name: "_member", type: "address" }],
14
- outputs: [{ name: "", type: "uint256" }],
15
- },
16
- {
17
- name: "hasClaimed",
18
- type: "function",
19
- stateMutability: "view",
20
- inputs: [{ name: "account", type: "address" }],
21
- outputs: [{ name: "", type: "bool" }],
22
- },
23
- {
24
- name: "lastClaimed",
25
- type: "function",
26
- stateMutability: "view",
27
- inputs: [{ name: "", type: "address" }],
28
- outputs: [{ name: "", type: "uint256" }],
29
- },
30
- {
31
- name: "paused",
32
- type: "function",
33
- stateMutability: "view",
34
- inputs: [],
35
- outputs: [{ name: "", type: "bool" }],
36
- },
37
- {
38
- name: "periodStart",
39
- type: "function",
40
- stateMutability: "view",
41
- inputs: [],
42
- outputs: [{ name: "", type: "uint256" }],
43
- },
44
- {
45
- name: "estimateNextDailyUBI",
46
- type: "function",
47
- stateMutability: "view",
48
- inputs: [],
49
- outputs: [{ name: "", type: "uint256" }],
50
- },
51
- {
52
- name: "dailyUbi",
53
- type: "function",
54
- stateMutability: "view",
55
- inputs: [],
56
- outputs: [{ name: "", type: "uint256" }],
57
- },
58
- {
59
- name: "currentDay",
60
- type: "function",
61
- stateMutability: "view",
62
- inputs: [],
63
- outputs: [{ name: "", type: "uint256" }],
64
- },
65
- ];
66
- //# sourceMappingURL=ubi-scheme.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ubi-scheme.js","sourceRoot":"","sources":["../../../src/abis/ubi-scheme.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B;QACE,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,UAAU;QAChB,eAAe,EAAE,YAAY;QAC7B,MAAM,EAAE,EAAE;QACV,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;KACtC;IACD;QACE,IAAI,EAAE,kBAAkB;Q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E,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;KACzC;IACD;QACE,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,UAAU;QAChB,eAAe,EAAE,MAAM;QACvB,MAAM,EAAE,EAAE;QACV,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;KACzC;IACD;QACE,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE,UAAU;QAChB,eAAe,EAAE,MAAM;QACvB,MAAM,EAAE,EAAE;QACV,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;KACzC;CACqB,CAAC"}
@@ -1,34 +0,0 @@
1
- export declare const stateViewAbi: readonly [{
2
- readonly name: "getSlot0";
3
- readonly type: "function";
4
- readonly stateMutability: "view";
5
- readonly inputs: readonly [{
6
- readonly name: "poolId";
7
- readonly type: "bytes32";
8
- }];
9
- readonly outputs: readonly [{
10
- readonly name: "sqrtPriceX96";
11
- readonly type: "uint160";
12
- }, {
13
- readonly name: "tick";
14
- readonly type: "int24";
15
- }, {
16
- readonly name: "protocolFee";
17
- readonly type: "uint24";
18
- }, {
19
- readonly name: "lpFee";
20
- readonly type: "uint24";
21
- }];
22
- }, {
23
- readonly name: "getLiquidity";
24
- readonly type: "function";
25
- readonly stateMutability: "view";
26
- readonly inputs: readonly [{
27
- readonly name: "poolId";
28
- readonly type: "bytes32";
29
- }];
30
- readonly outputs: readonly [{
31
- readonly name: "liquidity";
32
- readonly type: "uint128";
33
- }];
34
- }];
@@ -1,22 +0,0 @@
1
- export const stateViewAbi = [
2
- {
3
- name: "getSlot0",
4
- type: "function",
5
- stateMutability: "view",
6
- inputs: [{ name: "poolId", type: "bytes32" }],
7
- outputs: [
8
- { name: "sqrtPriceX96", type: "uint160" },
9
- { name: "tick", type: "int24" },
10
- { name: "protocolFee", type: "uint24" },
11
- { name: "lpFee", type: "uint24" },
12
- ],
13
- },
14
- {
15
- name: "getLiquidity",
16
- type: "function",
17
- stateMutability: "view",
18
- inputs: [{ name: "poolId", type: "bytes32" }],
19
- outputs: [{ name: "liquidity", type: "uint128" }],
20
- },
21
- ];
22
- //# sourceMappingURL=uniswap-state-view.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"uniswap-state-view.js","sourceRoot":"","sources":["../../../src/abis/uniswap-state-view.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B;QACE,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,UAAU;QAChB,eAAe,EAAE,MAAM;QACvB,MAAM,EAAE,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;QAC7C,OAAO,EAAE;YACP,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,SAAS,EAAE;YACzC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE;YAC/B,EAAE,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE,QAAQ,EAAE;YACvC,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE;SAClC;KACF;IACD;QACE,IAAI,EAAE,cAAc;QACpB,IAAI,EAAE,UAAU;QAChB,eAAe,EAAE,MAAM;QACvB,MAAM,EAAE,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;QAC7C,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;KAClD;CACO,CAAC"}
@@ -1,86 +0,0 @@
1
- export declare const v4QuoterAbi: readonly [{
2
- readonly name: "quoteExactInputSingle";
3
- readonly type: "function";
4
- readonly stateMutability: "nonpayable";
5
- readonly inputs: readonly [{
6
- readonly name: "params";
7
- readonly type: "tuple";
8
- readonly components: readonly [{
9
- readonly name: "poolKey";
10
- readonly type: "tuple";
11
- readonly components: readonly [{
12
- readonly name: "currency0";
13
- readonly type: "address";
14
- }, {
15
- readonly name: "currency1";
16
- readonly type: "address";
17
- }, {
18
- readonly name: "fee";
19
- readonly type: "uint24";
20
- }, {
21
- readonly name: "tickSpacing";
22
- readonly type: "int24";
23
- }, {
24
- readonly name: "hooks";
25
- readonly type: "address";
26
- }];
27
- }, {
28
- readonly name: "zeroForOne";
29
- readonly type: "bool";
30
- }, {
31
- readonly name: "exactAmount";
32
- readonly type: "uint128";
33
- }, {
34
- readonly name: "hookData";
35
- readonly type: "bytes";
36
- }];
37
- }];
38
- readonly outputs: readonly [{
39
- readonly name: "amountOut";
40
- readonly type: "uint256";
41
- }, {
42
- readonly name: "gasEstimate";
43
- readonly type: "uint256";
44
- }];
45
- }, {
46
- readonly name: "quoteExactInput";
47
- readonly type: "function";
48
- readonly stateMutability: "nonpayable";
49
- readonly inputs: readonly [{
50
- readonly name: "params";
51
- readonly type: "tuple";
52
- readonly components: readonly [{
53
- readonly name: "exactCurrency";
54
- readonly type: "address";
55
- }, {
56
- readonly name: "path";
57
- readonly type: "tuple[]";
58
- readonly components: readonly [{
59
- readonly name: "intermediateCurrency";
60
- readonly type: "address";
61
- }, {
62
- readonly name: "fee";
63
- readonly type: "uint24";
64
- }, {
65
- readonly name: "tickSpacing";
66
- readonly type: "int24";
67
- }, {
68
- readonly name: "hooks";
69
- readonly type: "address";
70
- }, {
71
- readonly name: "hookData";
72
- readonly type: "bytes";
73
- }];
74
- }, {
75
- readonly name: "exactAmount";
76
- readonly type: "uint128";
77
- }];
78
- }];
79
- readonly outputs: readonly [{
80
- readonly name: "amountOut";
81
- readonly type: "uint256";
82
- }, {
83
- readonly name: "gasEstimate";
84
- readonly type: "uint256";
85
- }];
86
- }];