@whetstone-research/doppler-sdk 0.0.1-alpha.8 → 0.0.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.
- package/LICENSE +21 -0
- package/README.md +726 -25
- package/dist/DopplerSDK.d.mts +45 -7
- package/dist/DopplerSDK.d.ts +45 -7
- package/dist/DopplerSDK.js +35 -12
- package/dist/DopplerSDK.mjs +34 -11
- package/dist/abis/bytecodes.d.mts +3 -2
- package/dist/abis/bytecodes.d.ts +3 -2
- package/dist/abis/bytecodes.js +9 -6
- package/dist/abis/bytecodes.mjs +1 -2
- package/dist/abis/index.d.mts +1507 -129
- package/dist/abis/index.d.ts +1507 -129
- package/dist/abis/index.js +43 -20
- package/dist/abis/index.mjs +2 -3
- package/dist/addresses.d.mts +16 -3
- package/dist/addresses.d.ts +16 -3
- package/dist/addresses.js +13 -5
- package/dist/addresses.mjs +2 -2
- package/dist/builders/DynamicAuctionBuilder.d.mts +119 -0
- package/dist/builders/DynamicAuctionBuilder.d.ts +119 -0
- package/dist/builders/DynamicAuctionBuilder.js +29 -0
- package/dist/builders/DynamicAuctionBuilder.js.map +1 -0
- package/dist/builders/DynamicAuctionBuilder.mjs +20 -0
- package/dist/builders/DynamicAuctionBuilder.mjs.map +1 -0
- package/dist/builders/MulticurveBuilder.d.mts +132 -0
- package/dist/builders/MulticurveBuilder.d.ts +132 -0
- package/dist/builders/MulticurveBuilder.js +29 -0
- package/dist/builders/MulticurveBuilder.js.map +1 -0
- package/dist/builders/MulticurveBuilder.mjs +20 -0
- package/dist/builders/MulticurveBuilder.mjs.map +1 -0
- package/dist/builders/StaticAuctionBuilder.d.mts +124 -0
- package/dist/builders/StaticAuctionBuilder.d.ts +124 -0
- package/dist/builders/StaticAuctionBuilder.js +29 -0
- package/dist/builders/StaticAuctionBuilder.js.map +1 -0
- package/dist/builders/StaticAuctionBuilder.mjs +20 -0
- package/dist/builders/StaticAuctionBuilder.mjs.map +1 -0
- package/dist/builders/index.d.mts +8 -0
- package/dist/builders/index.d.ts +8 -0
- package/dist/builders/index.js +56 -0
- package/dist/builders/index.js.map +1 -0
- package/dist/builders/index.mjs +23 -0
- package/dist/builders/index.mjs.map +1 -0
- package/dist/builders/shared.d.mts +116 -0
- package/dist/builders/shared.d.ts +116 -0
- package/dist/builders/shared.js +39 -0
- package/dist/builders/shared.js.map +1 -0
- package/dist/builders/shared.mjs +18 -0
- package/dist/builders/shared.mjs.map +1 -0
- package/dist/builders.d.mts +8 -131
- package/dist/builders.d.ts +8 -131
- package/dist/builders.js +44 -5
- package/dist/builders.mjs +22 -3
- package/dist/chunk-3PNCB4W5.js +4 -0
- package/dist/{chunk-KRN3ROUE.js.map → chunk-3PNCB4W5.js.map} +1 -1
- package/dist/chunk-3RK7LRAA.js +282 -0
- package/dist/chunk-3RK7LRAA.js.map +1 -0
- package/dist/chunk-4HM3ERBU.js +13 -0
- package/dist/chunk-4HM3ERBU.js.map +1 -0
- package/dist/{chunk-7W72MFJO.mjs → chunk-4TROGENW.mjs} +5 -4
- package/dist/chunk-4TROGENW.mjs.map +1 -0
- package/dist/chunk-5TL5V6UX.mjs +3 -0
- package/dist/{chunk-AZLFJNTG.mjs.map → chunk-5TL5V6UX.mjs.map} +1 -1
- package/dist/chunk-64AWG57M.mjs +192 -0
- package/dist/chunk-64AWG57M.mjs.map +1 -0
- package/dist/chunk-6KWCHTK3.js +166 -0
- package/dist/chunk-6KWCHTK3.js.map +1 -0
- package/dist/chunk-6OOWOPCX.js +1708 -0
- package/dist/chunk-6OOWOPCX.js.map +1 -0
- package/dist/chunk-7BBRPWQJ.js +257 -0
- package/dist/chunk-7BBRPWQJ.js.map +1 -0
- package/dist/{chunk-FVTIDXYK.mjs → chunk-AKSEBAR7.mjs} +29 -19
- package/dist/chunk-AKSEBAR7.mjs.map +1 -0
- package/dist/chunk-AS64GWBX.js +204 -0
- package/dist/chunk-AS64GWBX.js.map +1 -0
- package/dist/chunk-AULFBXM5.mjs +331 -0
- package/dist/chunk-AULFBXM5.mjs.map +1 -0
- package/dist/chunk-AW3WR2D3.mjs +238 -0
- package/dist/chunk-AW3WR2D3.mjs.map +1 -0
- package/dist/chunk-BIQQ53O2.js +45 -0
- package/dist/chunk-BIQQ53O2.js.map +1 -0
- package/dist/chunk-C6MPV3CY.js +260 -0
- package/dist/chunk-C6MPV3CY.js.map +1 -0
- package/dist/{chunk-AYPP5JEQ.mjs → chunk-CLEQO6GU.mjs} +5 -5
- package/dist/chunk-CLEQO6GU.mjs.map +1 -0
- package/dist/chunk-CVHPLURA.js +147 -0
- package/dist/chunk-CVHPLURA.js.map +1 -0
- package/dist/chunk-D2RBCFNW.mjs +130 -0
- package/dist/chunk-D2RBCFNW.mjs.map +1 -0
- package/dist/chunk-ECD4FV3A.mjs +11 -0
- package/dist/chunk-ECD4FV3A.mjs.map +1 -0
- package/dist/chunk-EDJBZPMW.mjs +255 -0
- package/dist/chunk-EDJBZPMW.mjs.map +1 -0
- package/dist/chunk-FPAI4QYW.mjs +145 -0
- package/dist/chunk-FPAI4QYW.mjs.map +1 -0
- package/dist/chunk-HM25ZMO3.js +18 -0
- package/dist/chunk-HM25ZMO3.js.map +1 -0
- package/dist/chunk-IHC6UYKK.js +4 -0
- package/dist/{chunk-DRBRT57F.js.map → chunk-IHC6UYKK.js.map} +1 -1
- package/dist/{chunk-DMAHXBA5.mjs → chunk-J5BFFL3X.mjs} +87 -47
- package/dist/chunk-J5BFFL3X.mjs.map +1 -0
- package/dist/chunk-JIKAD4YL.js +4 -0
- package/dist/{chunk-KEXKKQVW.js.map → chunk-JIKAD4YL.js.map} +1 -1
- package/dist/{chunk-EFAPDN4J.js → chunk-JWEXGALU.js} +730 -33
- package/dist/chunk-JWEXGALU.js.map +1 -0
- package/dist/{chunk-4K5GBNQV.mjs → chunk-KDT76YQE.mjs} +52 -13
- package/dist/chunk-KDT76YQE.mjs.map +1 -0
- package/dist/chunk-LMQLMMEX.js +317 -0
- package/dist/chunk-LMQLMMEX.js.map +1 -0
- package/dist/{chunk-TOMVBPNZ.js → chunk-LS4TK6SX.js} +9 -4
- package/dist/chunk-LS4TK6SX.js.map +1 -0
- package/dist/chunk-M4WMHD3X.mjs +40 -0
- package/dist/chunk-M4WMHD3X.mjs.map +1 -0
- package/dist/chunk-MCOK3UFR.mjs +280 -0
- package/dist/chunk-MCOK3UFR.mjs.map +1 -0
- package/dist/chunk-MGQSQCFG.js +176 -0
- package/dist/chunk-MGQSQCFG.js.map +1 -0
- package/dist/chunk-MKE3BUL3.mjs +3 -0
- package/dist/{chunk-CYDWEPFL.mjs.map → chunk-MKE3BUL3.mjs.map} +1 -1
- package/dist/chunk-MNJ5OYPE.mjs +17 -0
- package/dist/chunk-MNJ5OYPE.mjs.map +1 -0
- package/dist/chunk-MNXD45J7.mjs +164 -0
- package/dist/chunk-MNXD45J7.mjs.map +1 -0
- package/dist/chunk-NGDPQC5E.js +333 -0
- package/dist/chunk-NGDPQC5E.js.map +1 -0
- package/dist/chunk-NNNCVFOH.mjs +16 -0
- package/dist/chunk-NNNCVFOH.mjs.map +1 -0
- package/dist/chunk-NZ4BJ2IC.mjs +315 -0
- package/dist/chunk-NZ4BJ2IC.mjs.map +1 -0
- package/dist/chunk-OKNM7ODQ.js +29 -0
- package/dist/chunk-OKNM7ODQ.js.map +1 -0
- package/dist/{chunk-DCFHANLR.mjs → chunk-OTG75GVH.mjs} +725 -34
- package/dist/chunk-OTG75GVH.mjs.map +1 -0
- package/dist/chunk-OZ6DGBRL.mjs +25 -0
- package/dist/chunk-OZ6DGBRL.mjs.map +1 -0
- package/dist/chunk-P25HBGP5.mjs +3 -0
- package/dist/chunk-P25HBGP5.mjs.map +1 -0
- package/dist/{chunk-XG7K4R56.js → chunk-P7KLEPVI.js} +52 -12
- package/dist/chunk-P7KLEPVI.js.map +1 -0
- package/dist/{chunk-OPKQMN46.mjs → chunk-PAPXGPJB.mjs} +9 -4
- package/dist/chunk-PAPXGPJB.mjs.map +1 -0
- package/dist/chunk-PCNXJAU5.js +19 -0
- package/dist/chunk-PCNXJAU5.js.map +1 -0
- package/dist/{chunk-5IT5OXQ5.js → chunk-PD6HWEMG.js} +40 -30
- package/dist/chunk-PD6HWEMG.js.map +1 -0
- package/dist/{chunk-ER42VG7H.js → chunk-PH2KXREH.js} +20 -3
- package/dist/chunk-PH2KXREH.js.map +1 -0
- package/dist/chunk-Q5ERW5ZW.mjs +107 -0
- package/dist/chunk-Q5ERW5ZW.mjs.map +1 -0
- package/dist/chunk-Q7YNBSVH.js +28 -0
- package/dist/chunk-Q7YNBSVH.js.map +1 -0
- package/dist/{chunk-T644D54P.mjs → chunk-QKO2FZGN.mjs} +16 -4
- package/dist/chunk-QKO2FZGN.mjs.map +1 -0
- package/dist/{chunk-CIRZKWLL.js → chunk-RVFSRYI5.js} +5 -3
- package/dist/chunk-RVFSRYI5.js.map +1 -0
- package/dist/{chunk-KPBCG4X2.js → chunk-RW37KJ77.js} +11 -11
- package/dist/chunk-RW37KJ77.js.map +1 -0
- package/dist/chunk-SD7BHT2F.mjs +3 -0
- package/dist/chunk-SD7BHT2F.mjs.map +1 -0
- package/dist/chunk-SP5M57BG.mjs +258 -0
- package/dist/chunk-SP5M57BG.mjs.map +1 -0
- package/dist/chunk-TKSHYEYA.mjs +1706 -0
- package/dist/chunk-TKSHYEYA.mjs.map +1 -0
- package/dist/chunk-WTS75RUC.js +4 -0
- package/dist/chunk-WTS75RUC.js.map +1 -0
- package/dist/{chunk-ZRDU6CIB.js → chunk-XRPIGMA2.js} +108 -68
- package/dist/chunk-XRPIGMA2.js.map +1 -0
- package/dist/chunk-XTKSM4QE.js +132 -0
- package/dist/chunk-XTKSM4QE.js.map +1 -0
- package/dist/chunk-XUE3CIJ5.mjs +174 -0
- package/dist/chunk-XUE3CIJ5.mjs.map +1 -0
- package/dist/chunk-YYUOLM6U.js +244 -0
- package/dist/chunk-YYUOLM6U.js.map +1 -0
- package/dist/chunk-ZH44DHVR.mjs +26 -0
- package/dist/chunk-ZH44DHVR.mjs.map +1 -0
- package/dist/chunk-ZPHOOG72.js +112 -0
- package/dist/chunk-ZPHOOG72.js.map +1 -0
- package/dist/constants.d.mts +7 -2
- package/dist/constants.d.ts +7 -2
- package/dist/constants.js +57 -38
- package/dist/constants.mjs +1 -2
- package/dist/deployments.generated.d.mts +2 -0
- package/dist/deployments.generated.d.ts +2 -0
- package/dist/deployments.generated.js +12 -0
- package/dist/deployments.generated.js.map +1 -0
- package/dist/deployments.generated.mjs +3 -0
- package/dist/deployments.generated.mjs.map +1 -0
- package/dist/entities/DopplerFactory.d.mts +139 -11
- package/dist/entities/DopplerFactory.d.ts +139 -11
- package/dist/entities/DopplerFactory.js +17 -7
- package/dist/entities/DopplerFactory.mjs +16 -6
- package/dist/entities/auction/DynamicAuction.d.mts +19 -4
- package/dist/entities/auction/DynamicAuction.d.ts +19 -4
- package/dist/entities/auction/DynamicAuction.js +6 -6
- package/dist/entities/auction/DynamicAuction.mjs +5 -5
- package/dist/entities/auction/MulticurvePool.d.mts +55 -0
- package/dist/entities/auction/MulticurvePool.d.ts +55 -0
- package/dist/entities/auction/MulticurvePool.js +18 -0
- package/dist/entities/auction/MulticurvePool.js.map +1 -0
- package/dist/entities/auction/MulticurvePool.mjs +9 -0
- package/dist/entities/auction/MulticurvePool.mjs.map +1 -0
- package/dist/entities/auction/StaticAuction.d.mts +6 -3
- package/dist/entities/auction/StaticAuction.d.ts +6 -3
- package/dist/entities/auction/StaticAuction.js +6 -6
- package/dist/entities/auction/StaticAuction.mjs +5 -5
- package/dist/entities/auction/index.d.mts +3 -0
- package/dist/entities/auction/index.d.ts +3 -0
- package/dist/entities/auction/index.js +16 -9
- package/dist/entities/auction/index.mjs +10 -7
- package/dist/entities/quoter/Quoter.d.mts +44 -2
- package/dist/entities/quoter/Quoter.d.ts +44 -2
- package/dist/entities/quoter/Quoter.js +6 -6
- package/dist/entities/quoter/Quoter.mjs +5 -5
- package/dist/entities/quoter/index.d.mts +3 -0
- package/dist/entities/quoter/index.d.ts +3 -0
- package/dist/entities/quoter/index.js +6 -6
- package/dist/entities/quoter/index.mjs +5 -5
- package/dist/entities/token/derc20/Derc20.d.mts +33 -7
- package/dist/entities/token/derc20/Derc20.d.ts +33 -7
- package/dist/entities/token/derc20/Derc20.js +4 -5
- package/dist/entities/token/derc20/Derc20.mjs +3 -4
- package/dist/entities/token/derc20/index.d.mts +3 -0
- package/dist/entities/token/derc20/index.d.ts +3 -0
- package/dist/entities/token/derc20/index.js +4 -5
- package/dist/entities/token/derc20/index.mjs +3 -4
- package/dist/entities/token/eth/Eth.d.mts +7 -3
- package/dist/entities/token/eth/Eth.d.ts +7 -3
- package/dist/entities/token/eth/Eth.js +2 -3
- package/dist/entities/token/eth/Eth.mjs +1 -2
- package/dist/entities/token/eth/index.d.mts +3 -0
- package/dist/entities/token/eth/index.d.ts +3 -0
- package/dist/entities/token/eth/index.js +2 -3
- package/dist/entities/token/eth/index.mjs +1 -2
- package/dist/entities/token/index.d.mts +3 -0
- package/dist/entities/token/index.d.ts +3 -0
- package/dist/entities/token/index.js +6 -7
- package/dist/entities/token/index.mjs +4 -5
- package/dist/index.d.mts +18 -6
- package/dist/index.d.ts +18 -6
- package/dist/index.js +305 -140
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +32 -19
- package/dist/index.mjs.map +1 -1
- package/dist/types.d.mts +260 -22
- package/dist/types.d.ts +260 -22
- package/dist/types.js +12 -3
- package/dist/types.mjs +3 -2
- package/dist/utils/airlock.d.mts +11 -0
- package/dist/utils/airlock.d.ts +11 -0
- package/dist/utils/airlock.js +26 -0
- package/dist/utils/airlock.js.map +1 -0
- package/dist/utils/airlock.mjs +5 -0
- package/dist/utils/airlock.mjs.map +1 -0
- package/dist/utils/balanceDelta.d.mts +10 -0
- package/dist/utils/balanceDelta.d.ts +10 -0
- package/dist/utils/balanceDelta.js +12 -0
- package/dist/utils/balanceDelta.js.map +1 -0
- package/dist/utils/balanceDelta.mjs +3 -0
- package/dist/utils/balanceDelta.mjs.map +1 -0
- package/dist/utils/computeOptimalGamma.d.mts +7 -0
- package/dist/utils/computeOptimalGamma.d.ts +7 -0
- package/dist/utils/computeOptimalGamma.js +12 -0
- package/dist/utils/computeOptimalGamma.js.map +1 -0
- package/dist/utils/computeOptimalGamma.mjs +3 -0
- package/dist/utils/computeOptimalGamma.mjs.map +1 -0
- package/dist/utils/index.d.mts +11 -0
- package/dist/utils/index.d.ts +11 -0
- package/dist/utils/index.js +114 -24
- package/dist/utils/index.mjs +14 -4
- package/dist/utils/isToken0Expected.d.mts +13 -0
- package/dist/utils/isToken0Expected.d.ts +13 -0
- package/dist/utils/isToken0Expected.js +12 -0
- package/dist/utils/isToken0Expected.js.map +1 -0
- package/dist/utils/isToken0Expected.mjs +3 -0
- package/dist/utils/isToken0Expected.mjs.map +1 -0
- package/dist/utils/marketCapHelpers.d.mts +309 -0
- package/dist/utils/marketCapHelpers.d.ts +309 -0
- package/dist/utils/marketCapHelpers.js +54 -0
- package/dist/utils/marketCapHelpers.js.map +1 -0
- package/dist/utils/marketCapHelpers.mjs +5 -0
- package/dist/utils/marketCapHelpers.mjs.map +1 -0
- package/dist/utils/poolKey.d.mts +17 -0
- package/dist/utils/poolKey.d.ts +17 -0
- package/dist/utils/poolKey.js +12 -0
- package/dist/utils/poolKey.js.map +1 -0
- package/dist/utils/poolKey.mjs +3 -0
- package/dist/utils/poolKey.mjs.map +1 -0
- package/dist/utils/priceHelpers.d.mts +3 -3
- package/dist/utils/priceHelpers.d.ts +3 -3
- package/dist/utils/priceHelpers.js +10 -11
- package/dist/utils/priceHelpers.mjs +2 -3
- package/dist/utils/tickMath.d.mts +8 -1
- package/dist/utils/tickMath.d.ts +8 -1
- package/dist/utils/tickMath.js +17 -14
- package/dist/utils/tickMath.mjs +1 -2
- package/dist/utils/tokenAddressMiner.d.mts +30 -0
- package/dist/utils/tokenAddressMiner.d.ts +30 -0
- package/dist/utils/tokenAddressMiner.js +14 -0
- package/dist/utils/tokenAddressMiner.js.map +1 -0
- package/dist/utils/tokenAddressMiner.mjs +5 -0
- package/dist/utils/tokenAddressMiner.mjs.map +1 -0
- package/package.json +14 -11
- package/dist/__tests__/mocks/addresses.d.mts +0 -46
- package/dist/__tests__/mocks/addresses.d.ts +0 -46
- package/dist/__tests__/mocks/addresses.js +0 -53
- package/dist/__tests__/mocks/addresses.js.map +0 -1
- package/dist/__tests__/mocks/addresses.mjs +0 -44
- package/dist/__tests__/mocks/addresses.mjs.map +0 -1
- package/dist/__tests__/mocks/clients.d.mts +0 -22
- package/dist/__tests__/mocks/clients.d.ts +0 -22
- package/dist/__tests__/mocks/clients.js +0 -17036
- package/dist/__tests__/mocks/clients.js.map +0 -1
- package/dist/__tests__/mocks/clients.mjs +0 -17032
- package/dist/__tests__/mocks/clients.mjs.map +0 -1
- package/dist/chunk-2N5JZSZ4.js +0 -14
- package/dist/chunk-2N5JZSZ4.js.map +0 -1
- package/dist/chunk-3OZRDL3O.js +0 -162
- package/dist/chunk-3OZRDL3O.js.map +0 -1
- package/dist/chunk-4K5GBNQV.mjs.map +0 -1
- package/dist/chunk-5IT5OXQ5.js.map +0 -1
- package/dist/chunk-7F5IXZLH.js +0 -308
- package/dist/chunk-7F5IXZLH.js.map +0 -1
- package/dist/chunk-7VP5VR7J.js +0 -82
- package/dist/chunk-7VP5VR7J.js.map +0 -1
- package/dist/chunk-7W72MFJO.mjs.map +0 -1
- package/dist/chunk-AYPP5JEQ.mjs.map +0 -1
- package/dist/chunk-AZLFJNTG.mjs +0 -3
- package/dist/chunk-CIRZKWLL.js.map +0 -1
- package/dist/chunk-CYDWEPFL.mjs +0 -3
- package/dist/chunk-DCFHANLR.mjs.map +0 -1
- package/dist/chunk-DMAHXBA5.mjs.map +0 -1
- package/dist/chunk-DRBRT57F.js +0 -4
- package/dist/chunk-EFAPDN4J.js.map +0 -1
- package/dist/chunk-ER42VG7H.js.map +0 -1
- package/dist/chunk-FVTIDXYK.mjs.map +0 -1
- package/dist/chunk-IHBIBFZK.mjs +0 -12
- package/dist/chunk-IHBIBFZK.mjs.map +0 -1
- package/dist/chunk-IXSKPEHB.mjs +0 -160
- package/dist/chunk-IXSKPEHB.mjs.map +0 -1
- package/dist/chunk-KEXKKQVW.js +0 -42
- package/dist/chunk-KFD6U3LQ.mjs +0 -305
- package/dist/chunk-KFD6U3LQ.mjs.map +0 -1
- package/dist/chunk-KPBCG4X2.js.map +0 -1
- package/dist/chunk-KRN3ROUE.js +0 -4
- package/dist/chunk-KT7U37XS.mjs +0 -207
- package/dist/chunk-KT7U37XS.mjs.map +0 -1
- package/dist/chunk-LOROXNH3.mjs +0 -37
- package/dist/chunk-LOROXNH3.mjs.map +0 -1
- package/dist/chunk-O6GYIJ6X.mjs +0 -80
- package/dist/chunk-O6GYIJ6X.mjs.map +0 -1
- package/dist/chunk-OPKQMN46.mjs.map +0 -1
- package/dist/chunk-RIMM47JL.mjs +0 -176
- package/dist/chunk-RIMM47JL.mjs.map +0 -1
- package/dist/chunk-SUOMK3CU.js +0 -872
- package/dist/chunk-SUOMK3CU.js.map +0 -1
- package/dist/chunk-T644D54P.mjs.map +0 -1
- package/dist/chunk-TOMVBPNZ.js.map +0 -1
- package/dist/chunk-XEMZQHTX.mjs +0 -870
- package/dist/chunk-XEMZQHTX.mjs.map +0 -1
- package/dist/chunk-XG7K4R56.js.map +0 -1
- package/dist/chunk-XQ2VMR26.js +0 -180
- package/dist/chunk-XQ2VMR26.js.map +0 -1
- package/dist/chunk-ZAIP54LX.js +0 -209
- package/dist/chunk-ZAIP54LX.js.map +0 -1
- package/dist/chunk-ZRDU6CIB.js.map +0 -1
- package/dist/magic-string.es-CBLXTCZP.js +0 -1304
- package/dist/magic-string.es-CBLXTCZP.js.map +0 -1
- package/dist/magic-string.es-QHA47FSB.mjs +0 -1298
- package/dist/magic-string.es-QHA47FSB.mjs.map +0 -1
|
@@ -1,22 +1,29 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
require('../../chunk-
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
require('../../chunk-
|
|
7
|
-
require('../../chunk-
|
|
8
|
-
require('../../chunk-
|
|
9
|
-
require('../../chunk-
|
|
3
|
+
require('../../chunk-3PNCB4W5.js');
|
|
4
|
+
var chunkXRPIGMA2_js = require('../../chunk-XRPIGMA2.js');
|
|
5
|
+
var chunk6KWCHTK3_js = require('../../chunk-6KWCHTK3.js');
|
|
6
|
+
var chunkPD6HWEMG_js = require('../../chunk-PD6HWEMG.js');
|
|
7
|
+
require('../../chunk-Q7YNBSVH.js');
|
|
8
|
+
require('../../chunk-JWEXGALU.js');
|
|
9
|
+
require('../../chunk-OKNM7ODQ.js');
|
|
10
|
+
require('../../chunk-YYUOLM6U.js');
|
|
11
|
+
require('../../chunk-CVHPLURA.js');
|
|
12
|
+
require('../../chunk-RVFSRYI5.js');
|
|
10
13
|
|
|
11
14
|
|
|
12
15
|
|
|
13
16
|
Object.defineProperty(exports, "DynamicAuction", {
|
|
14
17
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkXRPIGMA2_js.DynamicAuction; }
|
|
19
|
+
});
|
|
20
|
+
Object.defineProperty(exports, "MulticurvePool", {
|
|
21
|
+
enumerable: true,
|
|
22
|
+
get: function () { return chunk6KWCHTK3_js.MulticurvePool; }
|
|
16
23
|
});
|
|
17
24
|
Object.defineProperty(exports, "StaticAuction", {
|
|
18
25
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkPD6HWEMG_js.StaticAuction; }
|
|
20
27
|
});
|
|
21
28
|
//# sourceMappingURL=index.js.map
|
|
22
29
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,9 +1,12 @@
|
|
|
1
|
-
import '../../chunk-
|
|
2
|
-
export { DynamicAuction } from '../../chunk-
|
|
3
|
-
export {
|
|
4
|
-
|
|
5
|
-
import '../../chunk-
|
|
6
|
-
import '../../chunk-
|
|
7
|
-
import '../../chunk-
|
|
1
|
+
import '../../chunk-SD7BHT2F.mjs';
|
|
2
|
+
export { DynamicAuction } from '../../chunk-J5BFFL3X.mjs';
|
|
3
|
+
export { MulticurvePool } from '../../chunk-MNXD45J7.mjs';
|
|
4
|
+
export { StaticAuction } from '../../chunk-AKSEBAR7.mjs';
|
|
5
|
+
import '../../chunk-ZH44DHVR.mjs';
|
|
6
|
+
import '../../chunk-OTG75GVH.mjs';
|
|
7
|
+
import '../../chunk-OZ6DGBRL.mjs';
|
|
8
|
+
import '../../chunk-AW3WR2D3.mjs';
|
|
9
|
+
import '../../chunk-FPAI4QYW.mjs';
|
|
10
|
+
import '../../chunk-4TROGENW.mjs';
|
|
8
11
|
//# sourceMappingURL=index.mjs.map
|
|
9
12
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Address } from 'viem';
|
|
2
|
+
import { SupportedPublicClient } from '../../types.mjs';
|
|
3
|
+
import 'viem/chains';
|
|
4
|
+
import '../../addresses.mjs';
|
|
2
5
|
|
|
3
6
|
/**
|
|
4
7
|
* Unified Quoter for getting price quotes across Uniswap V2, V3, and V4
|
|
@@ -10,7 +13,8 @@ import { PublicClient, Address } from 'viem';
|
|
|
10
13
|
declare class Quoter {
|
|
11
14
|
private publicClient;
|
|
12
15
|
private chainId;
|
|
13
|
-
|
|
16
|
+
private get rpc();
|
|
17
|
+
constructor(publicClient: SupportedPublicClient, chainId: number);
|
|
14
18
|
/**
|
|
15
19
|
* Get a price quote for swapping an exact amount of input tokens on Uniswap V3
|
|
16
20
|
* @param params Parameters for the quote
|
|
@@ -103,6 +107,44 @@ declare class Quoter {
|
|
|
103
107
|
amountIn: bigint;
|
|
104
108
|
gasEstimate: bigint;
|
|
105
109
|
}>;
|
|
110
|
+
/**
|
|
111
|
+
* Quote a single exact-input trade using the Uniswap V4 Quoter (not Lens)
|
|
112
|
+
* @param params Parameters for the quote
|
|
113
|
+
*/
|
|
114
|
+
quoteExactInputV4Quoter(params: {
|
|
115
|
+
poolKey: {
|
|
116
|
+
currency0: Address;
|
|
117
|
+
currency1: Address;
|
|
118
|
+
fee: number;
|
|
119
|
+
tickSpacing: number;
|
|
120
|
+
hooks: Address;
|
|
121
|
+
};
|
|
122
|
+
zeroForOne: boolean;
|
|
123
|
+
exactAmount: bigint;
|
|
124
|
+
hookData?: string;
|
|
125
|
+
}): Promise<{
|
|
126
|
+
amountOut: bigint;
|
|
127
|
+
gasEstimate: bigint;
|
|
128
|
+
}>;
|
|
129
|
+
/**
|
|
130
|
+
* Quote a single exact-output trade using the Uniswap V4 Quoter (not Lens)
|
|
131
|
+
* @param params Parameters for the quote
|
|
132
|
+
*/
|
|
133
|
+
quoteExactOutputV4Quoter(params: {
|
|
134
|
+
poolKey: {
|
|
135
|
+
currency0: Address;
|
|
136
|
+
currency1: Address;
|
|
137
|
+
fee: number;
|
|
138
|
+
tickSpacing: number;
|
|
139
|
+
hooks: Address;
|
|
140
|
+
};
|
|
141
|
+
zeroForOne: boolean;
|
|
142
|
+
exactAmount: bigint;
|
|
143
|
+
hookData?: string;
|
|
144
|
+
}): Promise<{
|
|
145
|
+
amountIn: bigint;
|
|
146
|
+
gasEstimate: bigint;
|
|
147
|
+
}>;
|
|
106
148
|
}
|
|
107
149
|
|
|
108
150
|
export { Quoter };
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Address } from 'viem';
|
|
2
|
+
import { SupportedPublicClient } from '../../types.js';
|
|
3
|
+
import 'viem/chains';
|
|
4
|
+
import '../../addresses.js';
|
|
2
5
|
|
|
3
6
|
/**
|
|
4
7
|
* Unified Quoter for getting price quotes across Uniswap V2, V3, and V4
|
|
@@ -10,7 +13,8 @@ import { PublicClient, Address } from 'viem';
|
|
|
10
13
|
declare class Quoter {
|
|
11
14
|
private publicClient;
|
|
12
15
|
private chainId;
|
|
13
|
-
|
|
16
|
+
private get rpc();
|
|
17
|
+
constructor(publicClient: SupportedPublicClient, chainId: number);
|
|
14
18
|
/**
|
|
15
19
|
* Get a price quote for swapping an exact amount of input tokens on Uniswap V3
|
|
16
20
|
* @param params Parameters for the quote
|
|
@@ -103,6 +107,44 @@ declare class Quoter {
|
|
|
103
107
|
amountIn: bigint;
|
|
104
108
|
gasEstimate: bigint;
|
|
105
109
|
}>;
|
|
110
|
+
/**
|
|
111
|
+
* Quote a single exact-input trade using the Uniswap V4 Quoter (not Lens)
|
|
112
|
+
* @param params Parameters for the quote
|
|
113
|
+
*/
|
|
114
|
+
quoteExactInputV4Quoter(params: {
|
|
115
|
+
poolKey: {
|
|
116
|
+
currency0: Address;
|
|
117
|
+
currency1: Address;
|
|
118
|
+
fee: number;
|
|
119
|
+
tickSpacing: number;
|
|
120
|
+
hooks: Address;
|
|
121
|
+
};
|
|
122
|
+
zeroForOne: boolean;
|
|
123
|
+
exactAmount: bigint;
|
|
124
|
+
hookData?: string;
|
|
125
|
+
}): Promise<{
|
|
126
|
+
amountOut: bigint;
|
|
127
|
+
gasEstimate: bigint;
|
|
128
|
+
}>;
|
|
129
|
+
/**
|
|
130
|
+
* Quote a single exact-output trade using the Uniswap V4 Quoter (not Lens)
|
|
131
|
+
* @param params Parameters for the quote
|
|
132
|
+
*/
|
|
133
|
+
quoteExactOutputV4Quoter(params: {
|
|
134
|
+
poolKey: {
|
|
135
|
+
currency0: Address;
|
|
136
|
+
currency1: Address;
|
|
137
|
+
fee: number;
|
|
138
|
+
tickSpacing: number;
|
|
139
|
+
hooks: Address;
|
|
140
|
+
};
|
|
141
|
+
zeroForOne: boolean;
|
|
142
|
+
exactAmount: bigint;
|
|
143
|
+
hookData?: string;
|
|
144
|
+
}): Promise<{
|
|
145
|
+
amountIn: bigint;
|
|
146
|
+
gasEstimate: bigint;
|
|
147
|
+
}>;
|
|
106
148
|
}
|
|
107
149
|
|
|
108
150
|
export { Quoter };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../../chunk-
|
|
5
|
-
require('../../chunk-
|
|
6
|
-
require('../../chunk-
|
|
7
|
-
require('../../chunk-
|
|
3
|
+
var chunk7BBRPWQJ_js = require('../../chunk-7BBRPWQJ.js');
|
|
4
|
+
require('../../chunk-JWEXGALU.js');
|
|
5
|
+
require('../../chunk-YYUOLM6U.js');
|
|
6
|
+
require('../../chunk-CVHPLURA.js');
|
|
7
|
+
require('../../chunk-RVFSRYI5.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
Object.defineProperty(exports, "Quoter", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunk7BBRPWQJ_js.Quoter; }
|
|
14
14
|
});
|
|
15
15
|
//# sourceMappingURL=Quoter.js.map
|
|
16
16
|
//# sourceMappingURL=Quoter.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { Quoter } from '../../chunk-
|
|
2
|
-
import '../../chunk-
|
|
3
|
-
import '../../chunk-
|
|
4
|
-
import '../../chunk-
|
|
5
|
-
import '../../chunk-
|
|
1
|
+
export { Quoter } from '../../chunk-EDJBZPMW.mjs';
|
|
2
|
+
import '../../chunk-OTG75GVH.mjs';
|
|
3
|
+
import '../../chunk-AW3WR2D3.mjs';
|
|
4
|
+
import '../../chunk-FPAI4QYW.mjs';
|
|
5
|
+
import '../../chunk-4TROGENW.mjs';
|
|
6
6
|
//# sourceMappingURL=Quoter.mjs.map
|
|
7
7
|
//# sourceMappingURL=Quoter.mjs.map
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
require('../../chunk-P7CHGWY7.js');
|
|
4
|
-
var
|
|
5
|
-
require('../../chunk-
|
|
6
|
-
require('../../chunk-
|
|
7
|
-
require('../../chunk-
|
|
8
|
-
require('../../chunk-
|
|
4
|
+
var chunk7BBRPWQJ_js = require('../../chunk-7BBRPWQJ.js');
|
|
5
|
+
require('../../chunk-JWEXGALU.js');
|
|
6
|
+
require('../../chunk-YYUOLM6U.js');
|
|
7
|
+
require('../../chunk-CVHPLURA.js');
|
|
8
|
+
require('../../chunk-RVFSRYI5.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
Object.defineProperty(exports, "Quoter", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunk7BBRPWQJ_js.Quoter; }
|
|
15
15
|
});
|
|
16
16
|
//# sourceMappingURL=index.js.map
|
|
17
17
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import '../../chunk-QSQGLWNY.mjs';
|
|
2
|
-
export { Quoter } from '../../chunk-
|
|
3
|
-
import '../../chunk-
|
|
4
|
-
import '../../chunk-
|
|
5
|
-
import '../../chunk-
|
|
6
|
-
import '../../chunk-
|
|
2
|
+
export { Quoter } from '../../chunk-EDJBZPMW.mjs';
|
|
3
|
+
import '../../chunk-OTG75GVH.mjs';
|
|
4
|
+
import '../../chunk-AW3WR2D3.mjs';
|
|
5
|
+
import '../../chunk-FPAI4QYW.mjs';
|
|
6
|
+
import '../../chunk-4TROGENW.mjs';
|
|
7
7
|
//# sourceMappingURL=index.mjs.map
|
|
8
8
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { WalletClient, Address } from 'viem';
|
|
2
|
+
import { SupportedPublicClient } from '../../../types.mjs';
|
|
3
|
+
import 'viem/chains';
|
|
4
|
+
import '../../../addresses.mjs';
|
|
2
5
|
|
|
3
6
|
/**
|
|
4
7
|
* A class providing read and write access to a DERC20 token contract.
|
|
@@ -9,7 +12,9 @@ declare class Derc20 {
|
|
|
9
12
|
private publicClient;
|
|
10
13
|
private walletClient?;
|
|
11
14
|
private address;
|
|
12
|
-
|
|
15
|
+
private get rpc();
|
|
16
|
+
private static splitSignature;
|
|
17
|
+
constructor(publicClient: SupportedPublicClient, walletClient: WalletClient | undefined, address: Address);
|
|
13
18
|
/** Get the human-readable name of the token */
|
|
14
19
|
getName(): Promise<string>;
|
|
15
20
|
/** Get the symbol/ticker of the token */
|
|
@@ -18,6 +23,12 @@ declare class Derc20 {
|
|
|
18
23
|
getDecimals(): Promise<number>;
|
|
19
24
|
/** Get the token URI for the token */
|
|
20
25
|
getTokenURI(): Promise<string>;
|
|
26
|
+
/** Get the current delegate for an account */
|
|
27
|
+
getDelegates(account: Address): Promise<Address>;
|
|
28
|
+
/** Get current voting power for an account */
|
|
29
|
+
getVotes(account: Address): Promise<bigint>;
|
|
30
|
+
/** Get historical voting power at a given timepoint (block) */
|
|
31
|
+
getPastVotes(account: Address, timepoint: bigint): Promise<bigint>;
|
|
21
32
|
/**
|
|
22
33
|
* Get the allowance granted by an owner to a spender
|
|
23
34
|
* @param owner - The address that granted the allowance
|
|
@@ -64,13 +75,28 @@ declare class Derc20 {
|
|
|
64
75
|
* @param value - Amount of tokens to approve
|
|
65
76
|
* @returns Transaction hash
|
|
66
77
|
*/
|
|
67
|
-
approve(spender: Address, value: bigint
|
|
78
|
+
approve(spender: Address, value: bigint, options?: {
|
|
79
|
+
gas?: bigint;
|
|
80
|
+
}): Promise<`0x${string}`>;
|
|
68
81
|
/**
|
|
69
|
-
*
|
|
70
|
-
|
|
71
|
-
|
|
82
|
+
* Delegate governance votes to an address
|
|
83
|
+
*/
|
|
84
|
+
delegate(delegatee: Address, options?: {
|
|
85
|
+
gas?: bigint;
|
|
86
|
+
}): Promise<`0x${string}`>;
|
|
87
|
+
/**
|
|
88
|
+
* Delegate governance votes using an EIP-712 signature (gasless path)
|
|
89
|
+
* Note: Caller signs typed data; a relayer or the caller submits the tx.
|
|
90
|
+
*/
|
|
91
|
+
delegateBySig(delegatee: Address, expiry: bigint, options?: {
|
|
92
|
+
gas?: bigint;
|
|
93
|
+
}): Promise<`0x${string}`>;
|
|
94
|
+
/**
|
|
95
|
+
* Release all currently available vested tokens to the caller
|
|
72
96
|
*/
|
|
73
|
-
release(
|
|
97
|
+
release(options?: {
|
|
98
|
+
gas?: bigint;
|
|
99
|
+
}): Promise<`0x${string}`>;
|
|
74
100
|
}
|
|
75
101
|
|
|
76
102
|
export { Derc20 };
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { WalletClient, Address } from 'viem';
|
|
2
|
+
import { SupportedPublicClient } from '../../../types.js';
|
|
3
|
+
import 'viem/chains';
|
|
4
|
+
import '../../../addresses.js';
|
|
2
5
|
|
|
3
6
|
/**
|
|
4
7
|
* A class providing read and write access to a DERC20 token contract.
|
|
@@ -9,7 +12,9 @@ declare class Derc20 {
|
|
|
9
12
|
private publicClient;
|
|
10
13
|
private walletClient?;
|
|
11
14
|
private address;
|
|
12
|
-
|
|
15
|
+
private get rpc();
|
|
16
|
+
private static splitSignature;
|
|
17
|
+
constructor(publicClient: SupportedPublicClient, walletClient: WalletClient | undefined, address: Address);
|
|
13
18
|
/** Get the human-readable name of the token */
|
|
14
19
|
getName(): Promise<string>;
|
|
15
20
|
/** Get the symbol/ticker of the token */
|
|
@@ -18,6 +23,12 @@ declare class Derc20 {
|
|
|
18
23
|
getDecimals(): Promise<number>;
|
|
19
24
|
/** Get the token URI for the token */
|
|
20
25
|
getTokenURI(): Promise<string>;
|
|
26
|
+
/** Get the current delegate for an account */
|
|
27
|
+
getDelegates(account: Address): Promise<Address>;
|
|
28
|
+
/** Get current voting power for an account */
|
|
29
|
+
getVotes(account: Address): Promise<bigint>;
|
|
30
|
+
/** Get historical voting power at a given timepoint (block) */
|
|
31
|
+
getPastVotes(account: Address, timepoint: bigint): Promise<bigint>;
|
|
21
32
|
/**
|
|
22
33
|
* Get the allowance granted by an owner to a spender
|
|
23
34
|
* @param owner - The address that granted the allowance
|
|
@@ -64,13 +75,28 @@ declare class Derc20 {
|
|
|
64
75
|
* @param value - Amount of tokens to approve
|
|
65
76
|
* @returns Transaction hash
|
|
66
77
|
*/
|
|
67
|
-
approve(spender: Address, value: bigint
|
|
78
|
+
approve(spender: Address, value: bigint, options?: {
|
|
79
|
+
gas?: bigint;
|
|
80
|
+
}): Promise<`0x${string}`>;
|
|
68
81
|
/**
|
|
69
|
-
*
|
|
70
|
-
|
|
71
|
-
|
|
82
|
+
* Delegate governance votes to an address
|
|
83
|
+
*/
|
|
84
|
+
delegate(delegatee: Address, options?: {
|
|
85
|
+
gas?: bigint;
|
|
86
|
+
}): Promise<`0x${string}`>;
|
|
87
|
+
/**
|
|
88
|
+
* Delegate governance votes using an EIP-712 signature (gasless path)
|
|
89
|
+
* Note: Caller signs typed data; a relayer or the caller submits the tx.
|
|
90
|
+
*/
|
|
91
|
+
delegateBySig(delegatee: Address, expiry: bigint, options?: {
|
|
92
|
+
gas?: bigint;
|
|
93
|
+
}): Promise<`0x${string}`>;
|
|
94
|
+
/**
|
|
95
|
+
* Release all currently available vested tokens to the caller
|
|
72
96
|
*/
|
|
73
|
-
release(
|
|
97
|
+
release(options?: {
|
|
98
|
+
gas?: bigint;
|
|
99
|
+
}): Promise<`0x${string}`>;
|
|
74
100
|
}
|
|
75
101
|
|
|
76
102
|
export { Derc20 };
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../../../chunk-
|
|
5
|
-
require('../../../chunk-
|
|
6
|
-
require('../../../chunk-KEXKKQVW.js');
|
|
3
|
+
var chunkLMQLMMEX_js = require('../../../chunk-LMQLMMEX.js');
|
|
4
|
+
require('../../../chunk-JWEXGALU.js');
|
|
5
|
+
require('../../../chunk-RVFSRYI5.js');
|
|
7
6
|
|
|
8
7
|
|
|
9
8
|
|
|
10
9
|
Object.defineProperty(exports, "Derc20", {
|
|
11
10
|
enumerable: true,
|
|
12
|
-
get: function () { return
|
|
11
|
+
get: function () { return chunkLMQLMMEX_js.Derc20; }
|
|
13
12
|
});
|
|
14
13
|
//# sourceMappingURL=Derc20.js.map
|
|
15
14
|
//# sourceMappingURL=Derc20.js.map
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
export { Derc20 } from '../../../chunk-
|
|
2
|
-
import '../../../chunk-
|
|
3
|
-
import '../../../chunk-
|
|
4
|
-
import '../../../chunk-LOROXNH3.mjs';
|
|
1
|
+
export { Derc20 } from '../../../chunk-NZ4BJ2IC.mjs';
|
|
2
|
+
import '../../../chunk-OTG75GVH.mjs';
|
|
3
|
+
import '../../../chunk-4TROGENW.mjs';
|
|
5
4
|
//# sourceMappingURL=Derc20.mjs.map
|
|
6
5
|
//# sourceMappingURL=Derc20.mjs.map
|
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
require('../../../chunk-X3UMAHOJ.js');
|
|
4
|
-
var
|
|
5
|
-
require('../../../chunk-
|
|
6
|
-
require('../../../chunk-
|
|
7
|
-
require('../../../chunk-KEXKKQVW.js');
|
|
4
|
+
var chunkLMQLMMEX_js = require('../../../chunk-LMQLMMEX.js');
|
|
5
|
+
require('../../../chunk-JWEXGALU.js');
|
|
6
|
+
require('../../../chunk-RVFSRYI5.js');
|
|
8
7
|
|
|
9
8
|
|
|
10
9
|
|
|
11
10
|
Object.defineProperty(exports, "Derc20", {
|
|
12
11
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
12
|
+
get: function () { return chunkLMQLMMEX_js.Derc20; }
|
|
14
13
|
});
|
|
15
14
|
//# sourceMappingURL=index.js.map
|
|
16
15
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import '../../../chunk-RV64M4Q6.mjs';
|
|
2
|
-
export { Derc20 } from '../../../chunk-
|
|
3
|
-
import '../../../chunk-
|
|
4
|
-
import '../../../chunk-
|
|
5
|
-
import '../../../chunk-LOROXNH3.mjs';
|
|
2
|
+
export { Derc20 } from '../../../chunk-NZ4BJ2IC.mjs';
|
|
3
|
+
import '../../../chunk-OTG75GVH.mjs';
|
|
4
|
+
import '../../../chunk-4TROGENW.mjs';
|
|
6
5
|
//# sourceMappingURL=index.mjs.map
|
|
7
6
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
import { Address
|
|
1
|
+
import { Address } from 'viem';
|
|
2
|
+
import { SupportedPublicClient } from '../../../types.mjs';
|
|
3
|
+
import 'viem/chains';
|
|
4
|
+
import '../../../addresses.mjs';
|
|
2
5
|
|
|
3
6
|
/**
|
|
4
7
|
* A class providing read-only access to Ethereum (ETH) token information and balances.
|
|
@@ -12,9 +15,10 @@ import { Address, PublicClient } from 'viem';
|
|
|
12
15
|
*/
|
|
13
16
|
declare class Eth {
|
|
14
17
|
private publicClient;
|
|
18
|
+
private get rpc();
|
|
15
19
|
/** Static ETH address identifier (zero address) */
|
|
16
|
-
static readonly address:
|
|
17
|
-
constructor(publicClient:
|
|
20
|
+
static readonly address: "0x0000000000000000000000000000000000000000";
|
|
21
|
+
constructor(publicClient: SupportedPublicClient);
|
|
18
22
|
/**
|
|
19
23
|
* Get the human-readable name of the token
|
|
20
24
|
* @returns Promise resolving to "Ether" (hardcoded ETH name)
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
import { Address
|
|
1
|
+
import { Address } from 'viem';
|
|
2
|
+
import { SupportedPublicClient } from '../../../types.js';
|
|
3
|
+
import 'viem/chains';
|
|
4
|
+
import '../../../addresses.js';
|
|
2
5
|
|
|
3
6
|
/**
|
|
4
7
|
* A class providing read-only access to Ethereum (ETH) token information and balances.
|
|
@@ -12,9 +15,10 @@ import { Address, PublicClient } from 'viem';
|
|
|
12
15
|
*/
|
|
13
16
|
declare class Eth {
|
|
14
17
|
private publicClient;
|
|
18
|
+
private get rpc();
|
|
15
19
|
/** Static ETH address identifier (zero address) */
|
|
16
|
-
static readonly address:
|
|
17
|
-
constructor(publicClient:
|
|
20
|
+
static readonly address: "0x0000000000000000000000000000000000000000";
|
|
21
|
+
constructor(publicClient: SupportedPublicClient);
|
|
18
22
|
/**
|
|
19
23
|
* Get the human-readable name of the token
|
|
20
24
|
* @returns Promise resolving to "Ether" (hardcoded ETH name)
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../../../chunk-KEXKKQVW.js');
|
|
3
|
+
var chunkLS4TK6SX_js = require('../../../chunk-LS4TK6SX.js');
|
|
5
4
|
|
|
6
5
|
|
|
7
6
|
|
|
8
7
|
Object.defineProperty(exports, "Eth", {
|
|
9
8
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkLS4TK6SX_js.Eth; }
|
|
11
10
|
});
|
|
12
11
|
//# sourceMappingURL=Eth.js.map
|
|
13
12
|
//# sourceMappingURL=Eth.js.map
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
require('../../../chunk-VEIVYUYF.js');
|
|
4
|
-
var
|
|
5
|
-
require('../../../chunk-KEXKKQVW.js');
|
|
4
|
+
var chunkLS4TK6SX_js = require('../../../chunk-LS4TK6SX.js');
|
|
6
5
|
|
|
7
6
|
|
|
8
7
|
|
|
9
8
|
Object.defineProperty(exports, "Eth", {
|
|
10
9
|
enumerable: true,
|
|
11
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkLS4TK6SX_js.Eth; }
|
|
12
11
|
});
|
|
13
12
|
//# sourceMappingURL=index.js.map
|
|
14
13
|
//# sourceMappingURL=index.js.map
|
|
@@ -2,22 +2,21 @@
|
|
|
2
2
|
|
|
3
3
|
require('../../chunk-WQHTNL5L.js');
|
|
4
4
|
require('../../chunk-X3UMAHOJ.js');
|
|
5
|
-
var
|
|
5
|
+
var chunkLMQLMMEX_js = require('../../chunk-LMQLMMEX.js');
|
|
6
6
|
require('../../chunk-VEIVYUYF.js');
|
|
7
|
-
var
|
|
8
|
-
require('../../chunk-
|
|
9
|
-
require('../../chunk-
|
|
10
|
-
require('../../chunk-KEXKKQVW.js');
|
|
7
|
+
var chunkLS4TK6SX_js = require('../../chunk-LS4TK6SX.js');
|
|
8
|
+
require('../../chunk-JWEXGALU.js');
|
|
9
|
+
require('../../chunk-RVFSRYI5.js');
|
|
11
10
|
|
|
12
11
|
|
|
13
12
|
|
|
14
13
|
Object.defineProperty(exports, "Derc20", {
|
|
15
14
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunkLMQLMMEX_js.Derc20; }
|
|
17
16
|
});
|
|
18
17
|
Object.defineProperty(exports, "Eth", {
|
|
19
18
|
enumerable: true,
|
|
20
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkLS4TK6SX_js.Eth; }
|
|
21
20
|
});
|
|
22
21
|
//# sourceMappingURL=index.js.map
|
|
23
22
|
//# sourceMappingURL=index.js.map
|