@gardenfi/swap 0.1.3-beta.2 → 0.1.3-beta.21
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/dist/index100.cjs +1 -1
- package/dist/index100.js +21 -3
- package/dist/index101.cjs +1 -1
- package/dist/index101.js +9 -7
- package/dist/index102.cjs +1 -1
- package/dist/index102.js +9 -5
- package/dist/index103.cjs +1 -1
- package/dist/index103.js +3 -13
- package/dist/index104.cjs +1 -1
- package/dist/index104.js +7 -171
- package/dist/index105.cjs +1 -1
- package/dist/index105.js +5 -33
- package/dist/index106.cjs +1 -1
- package/dist/index106.js +13 -51
- package/dist/index107.cjs +1 -1
- package/dist/index107.js +168 -34
- package/dist/index108.cjs +1 -1
- package/dist/index108.js +33 -24
- package/dist/index109.cjs +1 -1
- package/dist/index109.js +49 -31
- package/dist/index110.cjs +1 -1
- package/dist/index110.js +37 -3
- package/dist/index111.cjs +1 -1
- package/dist/index111.js +24 -9
- package/dist/index112.cjs +1 -1
- package/dist/index112.js +32 -115
- package/dist/index113.cjs +1 -1
- package/dist/index113.js +3 -61
- package/dist/index114.cjs +1 -1
- package/dist/index114.js +8 -23
- package/dist/index115.cjs +1 -1
- package/dist/index115.js +116 -36
- package/dist/index116.cjs +1 -1
- package/dist/index116.js +58 -38
- package/dist/index117.cjs +1 -1
- package/dist/index117.js +20 -54
- package/dist/index118.cjs +1 -1
- package/dist/index118.js +34 -38
- package/dist/index119.cjs +1 -1
- package/dist/index119.js +40 -8
- package/dist/index12.cjs +1 -1
- package/dist/index12.js +1 -1
- package/dist/index120.cjs +1 -1
- package/dist/index120.js +58 -31
- package/dist/index121.cjs +1 -1
- package/dist/index121.js +40 -36
- package/dist/index122.cjs +1 -1
- package/dist/index122.js +6 -6
- package/dist/index123.cjs +1 -1
- package/dist/index123.js +30 -28
- package/dist/index124.cjs +1 -1
- package/dist/index124.js +34 -48
- package/dist/index125.cjs +1 -1
- package/dist/index125.js +9 -70
- package/dist/index126.cjs +1 -1
- package/dist/index126.js +26 -38
- package/dist/index127.cjs +1 -1
- package/dist/index127.js +47 -74
- package/dist/index128.cjs +1 -1
- package/dist/index128.js +70 -8
- package/dist/index129.cjs +1 -1
- package/dist/index129.js +41 -6
- package/dist/index130.cjs +1 -1
- package/dist/index130.js +77 -17
- package/dist/index131.cjs +1 -1
- package/dist/index131.js +8 -8
- package/dist/index132.cjs +1 -1
- package/dist/index132.js +6 -13
- package/dist/index133.cjs +1 -1
- package/dist/index133.js +17 -7
- package/dist/index134.cjs +1 -1
- package/dist/index134.js +8 -16
- package/dist/index135.cjs +1 -1
- package/dist/index135.js +13 -46
- package/dist/index136.cjs +1 -1
- package/dist/index136.js +7 -13
- package/dist/index137.cjs +1 -1
- package/dist/index137.js +15 -15
- package/dist/index138.cjs +1 -1
- package/dist/index138.js +46 -13
- package/dist/index139.cjs +1 -1
- package/dist/index139.js +13 -6
- package/dist/index140.cjs +1 -1
- package/dist/index140.js +15 -34
- package/dist/index141.cjs +1 -1
- package/dist/index141.js +13 -9
- package/dist/index142.cjs +1 -1
- package/dist/index142.js +5 -7
- package/dist/index143.cjs +1 -1
- package/dist/index143.js +35 -29
- package/dist/index144.cjs +1 -1
- package/dist/index144.js +9 -10
- package/dist/index145.cjs +1 -1
- package/dist/index145.js +7 -13
- package/dist/index146.cjs +1 -1
- package/dist/index146.js +29 -12
- package/dist/index147.cjs +1 -1
- package/dist/index147.js +10 -121
- package/dist/index148.cjs +1 -1
- package/dist/index148.js +14 -82
- package/dist/index149.cjs +1 -1
- package/dist/index149.js +12 -177
- package/dist/index15.cjs +1 -1
- package/dist/index15.js +29 -29
- package/dist/index150.cjs +1 -1
- package/dist/index150.js +119 -42
- package/dist/index151.cjs +1 -1
- package/dist/index151.js +82 -6
- package/dist/index152.cjs +1 -1
- package/dist/index152.js +177 -14
- package/dist/index153.cjs +1 -1
- package/dist/index153.js +44 -14
- package/dist/index154.cjs +1 -1
- package/dist/index154.js +6 -103
- package/dist/index155.cjs +1 -1
- package/dist/index155.js +14 -75
- package/dist/index156.cjs +1 -1
- package/dist/index156.js +14 -89
- package/dist/index157.cjs +1 -1
- package/dist/index157.js +97 -145
- package/dist/index158.cjs +1 -1
- package/dist/index158.js +68 -131
- package/dist/index159.cjs +1 -1
- package/dist/index159.js +75 -55
- package/dist/index160.cjs +1 -1
- package/dist/index160.js +151 -23
- package/dist/index161.cjs +1 -1
- package/dist/index161.js +134 -160
- package/dist/index162.cjs +1 -1
- package/dist/index162.js +69 -6
- package/dist/index163.cjs +1 -1
- package/dist/index163.js +23 -13
- package/dist/index164.cjs +1 -1
- package/dist/index164.js +163 -18
- package/dist/index165.cjs +1 -1
- package/dist/index165.js +6 -106
- package/dist/index166.cjs +1 -1
- package/dist/index166.js +13 -78
- package/dist/index167.cjs +1 -1
- package/dist/index167.js +19 -9
- package/dist/index168.cjs +1 -1
- package/dist/index168.js +104 -26
- package/dist/index169.cjs +1 -1
- package/dist/index169.js +76 -88
- package/dist/index170.cjs +1 -1
- package/dist/index170.js +10 -3
- package/dist/index171.cjs +1 -1
- package/dist/index171.js +29 -2
- package/dist/index172.cjs +1 -2
- package/dist/index172.js +91 -3
- package/dist/index173.cjs +1 -1
- package/dist/index173.js +3 -9
- package/dist/index174.cjs +1 -20
- package/dist/index174.js +2 -327
- package/dist/index175.cjs +2 -1
- package/dist/index175.js +3 -14
- package/dist/index176.cjs +1 -2
- package/dist/index176.js +8 -59
- package/dist/index177.cjs +20 -1
- package/dist/index177.js +327 -2
- package/dist/index178.cjs +1 -1
- package/dist/index178.js +13 -7
- package/dist/index179.cjs +2 -1
- package/dist/index179.js +59 -31
- package/dist/index180.cjs +1 -1
- package/dist/index180.js +2 -22
- package/dist/index181.cjs +1 -1
- package/dist/index181.js +7 -5
- package/dist/index182.cjs +1 -1
- package/dist/index182.js +30 -72
- package/dist/index183.cjs +1 -1
- package/dist/index183.js +21 -5
- package/dist/index184.cjs +1 -1
- package/dist/index184.js +5 -5
- package/dist/index185.cjs +1 -9
- package/dist/index185.js +69 -31
- package/dist/index186.cjs +1 -2
- package/dist/index186.js +5 -120
- package/dist/index187.cjs +1 -1
- package/dist/index187.js +6 -3
- package/dist/index188.cjs +9 -1
- package/dist/index188.js +31 -14
- package/dist/index189.cjs +2 -1
- package/dist/index189.js +108 -21
- package/dist/index19.cjs +1 -1
- package/dist/index19.js +14 -8
- package/dist/index190.cjs +1 -1
- package/dist/index190.js +3 -36
- package/dist/index191.cjs +1 -1
- package/dist/index191.js +13 -18
- package/dist/index192.cjs +1 -1
- package/dist/index192.js +31 -6
- package/dist/index193.cjs +1 -4
- package/dist/index193.js +33 -192
- package/dist/index194.cjs +1 -1
- package/dist/index194.js +24 -2
- package/dist/index195.cjs +1 -3
- package/dist/index195.js +6 -449
- package/dist/index196.cjs +4 -1
- package/dist/index196.js +185 -18
- package/dist/index197.cjs +1 -1
- package/dist/index197.js +2 -162
- package/dist/index198.cjs +3 -1
- package/dist/index198.js +450 -126
- package/dist/index199.cjs +1 -1
- package/dist/index199.js +23 -34
- package/dist/index200.cjs +1 -1
- package/dist/index200.js +161 -27
- package/dist/index201.cjs +1 -1
- package/dist/index201.js +126 -54
- package/dist/index202.cjs +1 -1
- package/dist/index202.js +31 -184
- package/dist/index203.cjs +1 -1
- package/dist/index203.js +28 -4
- package/dist/index204.cjs +1 -1
- package/dist/index204.js +53 -71
- package/dist/index205.cjs +1 -1
- package/dist/index205.js +185 -14
- package/dist/index206.cjs +1 -1
- package/dist/index206.js +4 -3
- package/dist/index207.cjs +1 -1
- package/dist/index207.js +70 -13
- package/dist/index208.cjs +1 -1
- package/dist/index208.js +19 -22
- package/dist/index209.cjs +1 -1
- package/dist/index209.js +3 -35
- package/dist/index21.cjs +1 -1
- package/dist/index21.js +2 -2
- package/dist/index210.cjs +1 -1
- package/dist/index210.js +17 -3
- package/dist/index211.cjs +1 -1
- package/dist/index211.js +22 -26
- package/dist/index212.cjs +1 -1
- package/dist/index212.js +33 -35
- package/dist/index213.cjs +1 -1
- package/dist/index213.js +3 -9
- package/dist/index214.cjs +1 -1
- package/dist/index214.js +26 -24
- package/dist/index215.cjs +1 -1
- package/dist/index215.js +35 -27
- package/dist/index216.cjs +1 -1
- package/dist/index216.js +8 -75
- package/dist/index217.cjs +1 -1
- package/dist/index217.js +24 -20
- package/dist/index218.cjs +1 -1
- package/dist/index218.js +28 -8
- package/dist/index219.cjs +1 -1
- package/dist/index219.js +74 -9
- package/dist/index220.cjs +1 -1
- package/dist/index220.js +21 -11
- package/dist/index221.cjs +1 -1
- package/dist/index221.js +8 -6
- package/dist/index222.cjs +1 -1
- package/dist/index222.js +10 -6
- package/dist/index223.cjs +1 -1
- package/dist/index223.js +11 -13
- package/dist/index224.cjs +1 -1
- package/dist/index224.js +6 -32
- package/dist/index225.cjs +1 -1
- package/dist/index225.js +7 -5
- package/dist/index226.cjs +1 -1
- package/dist/index226.js +12 -36
- package/dist/index227.cjs +1 -1
- package/dist/index227.js +28 -107
- package/dist/index228.cjs +1 -1
- package/dist/index228.js +5 -50
- package/dist/index229.cjs +1 -1
- package/dist/index229.js +36 -31
- package/dist/index230.cjs +1 -1
- package/dist/index230.js +111 -8
- package/dist/index231.cjs +1 -1
- package/dist/index231.js +49 -7
- package/dist/index232.cjs +1 -1
- package/dist/index232.js +32 -16
- package/dist/index233.cjs +1 -1
- package/dist/index233.js +8 -22
- package/dist/index234.cjs +1 -1
- package/dist/index234.js +7 -104
- package/dist/index235.cjs +1 -1
- package/dist/index235.js +17 -3
- package/dist/index236.cjs +1 -1
- package/dist/index236.js +22 -5
- package/dist/index237.cjs +1 -1
- package/dist/index237.js +102 -29
- package/dist/index238.cjs +1 -1
- package/dist/index238.js +3 -21
- package/dist/index239.cjs +1 -1
- package/dist/index239.js +5 -3
- package/dist/index240.cjs +1 -1
- package/dist/index240.js +31 -17
- package/dist/index241.cjs +1 -1
- package/dist/index241.js +20 -5
- package/dist/index242.cjs +1 -1
- package/dist/index242.js +3 -8
- package/dist/index243.cjs +1 -1
- package/dist/index243.js +16 -102
- package/dist/index244.cjs +1 -1
- package/dist/index244.js +5 -64
- package/dist/index245.cjs +1 -1
- package/dist/index245.js +8 -6
- package/dist/index246.cjs +1 -1
- package/dist/index246.js +103 -27
- package/dist/index247.cjs +1 -1
- package/dist/index247.js +63 -33
- package/dist/index248.cjs +1 -1
- package/dist/index248.js +6 -16
- package/dist/index249.cjs +1 -1
- package/dist/index249.js +25 -76
- package/dist/index250.cjs +1 -1
- package/dist/index250.js +35 -2
- package/dist/index251.cjs +1 -1
- package/dist/index251.js +16 -14
- package/dist/index252.cjs +1 -1
- package/dist/index252.js +77 -17
- package/dist/index253.cjs +1 -1
- package/dist/index253.js +2 -18
- package/dist/index254.cjs +1 -1
- package/dist/index254.js +14 -10
- package/dist/index255.cjs +1 -1
- package/dist/index255.js +17 -78
- package/dist/index256.cjs +1 -1
- package/dist/index256.js +18 -3
- package/dist/index257.cjs +1 -1
- package/dist/index257.js +10 -32
- package/dist/index258.cjs +1 -1
- package/dist/index258.js +70 -106
- package/dist/index259.cjs +1 -1
- package/dist/index259.js +3 -4
- package/dist/index260.cjs +1 -1
- package/dist/index260.js +30 -13
- package/dist/index261.cjs +1 -1
- package/dist/index261.js +114 -10
- package/dist/index262.cjs +1 -1
- package/dist/index262.js +4 -19
- package/dist/index263.cjs +1 -1
- package/dist/index263.js +14 -57
- package/dist/index264.cjs +1 -1
- package/dist/index264.js +10 -19
- package/dist/index265.cjs +1 -1
- package/dist/index265.js +19 -14
- package/dist/index266.cjs +1 -1
- package/dist/index266.js +48 -274
- package/dist/index267.cjs +1 -1
- package/dist/index267.js +20 -573
- package/dist/index268.cjs +1 -1
- package/dist/index268.js +13 -40
- package/dist/index269.cjs +1 -1
- package/dist/index269.js +283 -12
- package/dist/index270.cjs +1 -1
- package/dist/index270.js +572 -23
- package/dist/index271.cjs +1 -1
- package/dist/index271.js +41 -13
- package/dist/index272.cjs +1 -1
- package/dist/index272.js +12 -8
- package/dist/index273.cjs +1 -1
- package/dist/index273.js +24 -30
- package/dist/index274.cjs +1 -1
- package/dist/index274.js +13 -2
- package/dist/index275.cjs +1 -1
- package/dist/index275.js +9 -47
- package/dist/index276.cjs +1 -1
- package/dist/index276.js +30 -11
- package/dist/index277.cjs +1 -1
- package/dist/index277.js +2 -175
- package/dist/index278.cjs +1 -2
- package/dist/index278.js +44 -88
- package/dist/index279.cjs +1 -1
- package/dist/index279.js +11 -40
- package/dist/index28.cjs +1 -1
- package/dist/index28.js +126 -123
- package/dist/index280.cjs +1 -1
- package/dist/index280.js +174 -4
- package/dist/index281.cjs +2 -1
- package/dist/index281.js +71 -143
- package/dist/index282.cjs +1 -1
- package/dist/index282.js +41 -5
- package/dist/index283.cjs +1 -2
- package/dist/index283.js +4 -41
- package/dist/index284.cjs +1 -1
- package/dist/index284.js +164 -2
- package/dist/index285.cjs +1 -1
- package/dist/index285.js +5 -6
- package/dist/index286.cjs +2 -1
- package/dist/index286.js +40 -9
- package/dist/index287.cjs +1 -1
- package/dist/index287.js +2 -20
- package/dist/index288.cjs +1 -1
- package/dist/index288.js +5 -8
- package/dist/index289.cjs +1 -1
- package/dist/index289.js +9 -71
- package/dist/index290.cjs +1 -1
- package/dist/index290.js +17 -63
- package/dist/index291.cjs +1 -1
- package/dist/index291.js +8 -188
- package/dist/index292.cjs +1 -1
- package/dist/index292.js +72 -22
- package/dist/index293.cjs +1 -1
- package/dist/index293.js +61 -38
- package/dist/index294.cjs +1 -1
- package/dist/index294.js +186 -23
- package/dist/index295.cjs +1 -1
- package/dist/index295.js +21 -89
- package/dist/index296.cjs +1 -1
- package/dist/index296.js +22 -20
- package/dist/index297.cjs +1 -1
- package/dist/index297.js +24 -15
- package/dist/index298.cjs +1 -1
- package/dist/index298.js +84 -7
- package/dist/index299.cjs +1 -1
- package/dist/index299.js +40 -37
- package/dist/index300.cjs +1 -1
- package/dist/index300.js +16 -15
- package/dist/index301.cjs +1 -1
- package/dist/index301.js +13 -8
- package/dist/index303.cjs +1 -1
- package/dist/index303.js +37 -9
- package/dist/index304.cjs +1 -1
- package/dist/index304.js +15 -16
- package/dist/index305.cjs +1 -1
- package/dist/index305.js +8 -22
- package/dist/index306.cjs +1 -1
- package/dist/index306.js +9 -13
- package/dist/index307.cjs +1 -1
- package/dist/index307.js +16 -13
- package/dist/index308.cjs +1 -1
- package/dist/index308.js +21 -13
- package/dist/index309.cjs +1 -1
- package/dist/index309.js +13 -9
- package/dist/index31.cjs +1 -1
- package/dist/index31.js +1 -1
- package/dist/index310.cjs +1 -1
- package/dist/index310.js +13 -15
- package/dist/index311.cjs +1 -1
- package/dist/index311.js +14 -25
- package/dist/index312.cjs +1 -1
- package/dist/index312.js +9 -31
- package/dist/index313.cjs +1 -2
- package/dist/index313.js +13 -16
- package/dist/index314.cjs +1 -1
- package/dist/index314.js +25 -14
- package/dist/index315.cjs +1 -1
- package/dist/index315.js +31 -11
- package/dist/index316.cjs +2 -1
- package/dist/index316.js +16 -10
- package/dist/index317.cjs +1 -1
- package/dist/index317.js +13 -32
- package/dist/index318.cjs +1 -1
- package/dist/index318.js +11 -115
- package/dist/index319.cjs +1 -1
- package/dist/index319.js +11 -102
- package/dist/index32.cjs +1 -1
- package/dist/index32.js +1 -1
- package/dist/index320.cjs +1 -1
- package/dist/index320.js +33 -6
- package/dist/index321.cjs +1 -1
- package/dist/index321.js +116 -7
- package/dist/index322.cjs +1 -1
- package/dist/index322.js +101 -24
- package/dist/index323.cjs +1 -1
- package/dist/index323.js +6 -16
- package/dist/index324.cjs +1 -1
- package/dist/index324.js +7 -215
- package/dist/index325.cjs +1 -1
- package/dist/index325.js +25 -41
- package/dist/index326.cjs +1 -1
- package/dist/index326.js +16 -320
- package/dist/index327.cjs +1 -1
- package/dist/index327.js +209 -600
- package/dist/index328.cjs +1 -1
- package/dist/index328.js +41 -108
- package/dist/index329.cjs +1 -1
- package/dist/index329.js +319 -166
- package/dist/index330.cjs +1 -1
- package/dist/index330.js +590 -286
- package/dist/index331.cjs +1 -1
- package/dist/index331.js +110 -94
- package/dist/index332.cjs +1 -1
- package/dist/index332.js +167 -56
- package/dist/index333.cjs +1 -1
- package/dist/index333.js +297 -49
- package/dist/index334.cjs +1 -1
- package/dist/index334.js +93 -44
- package/dist/index335.cjs +1 -1
- package/dist/index335.js +56 -15
- package/dist/index336.cjs +1 -1
- package/dist/index336.js +47 -311
- package/dist/index337.cjs +1 -1
- package/dist/index337.js +41 -56
- package/dist/index338.cjs +1 -1
- package/dist/index338.js +15 -19
- package/dist/index339.cjs +1 -1
- package/dist/index339.js +314 -26
- package/dist/index340.cjs +1 -1
- package/dist/index340.js +59 -3
- package/dist/index341.cjs +1 -7
- package/dist/index341.js +17 -235
- package/dist/index342.cjs +1 -1
- package/dist/index342.js +30 -48
- package/dist/index343.cjs +1 -1
- package/dist/index343.js +3 -212
- package/dist/index344.cjs +7 -1
- package/dist/index344.js +229 -73
- package/dist/index345.cjs +1 -1
- package/dist/index345.js +48 -30
- package/dist/index346.cjs +1 -1
- package/dist/index346.js +206 -70
- package/dist/index347.cjs +1 -1
- package/dist/index347.js +81 -7
- package/dist/index348.cjs +1 -1
- package/dist/index348.js +26 -116
- package/dist/index349.cjs +1 -1
- package/dist/index349.js +76 -4
- package/dist/index350.cjs +1 -2
- package/dist/index350.js +7 -193
- package/dist/index351.cjs +1 -1
- package/dist/index351.js +98 -56
- package/dist/index352.cjs +1 -1
- package/dist/index352.js +4 -343
- package/dist/index353.cjs +2 -1
- package/dist/index353.js +173 -140
- package/dist/index354.cjs +1 -1
- package/dist/index354.js +78 -5
- package/dist/index355.cjs +1 -1
- package/dist/index355.js +340 -11
- package/dist/index356.cjs +1 -1
- package/dist/index356.js +160 -16
- package/dist/index357.cjs +1 -1
- package/dist/index357.js +5 -10
- package/dist/index358.cjs +1 -1
- package/dist/index358.js +13 -205
- package/dist/index359.cjs +1 -1
- package/dist/index359.js +16 -52
- package/dist/index360.cjs +1 -1
- package/dist/index360.js +9 -68
- package/dist/index361.cjs +1 -1
- package/dist/index361.js +206 -3
- package/dist/index362.cjs +1 -1
- package/dist/index362.js +47 -135
- package/dist/index363.cjs +1 -1
- package/dist/index363.js +67 -132
- package/dist/index364.cjs +1 -1
- package/dist/index364.js +3 -78
- package/dist/index365.cjs +1 -1
- package/dist/index365.js +141 -2
- package/dist/index366.cjs +1 -1
- package/dist/index366.js +130 -39
- package/dist/index367.cjs +1 -1
- package/dist/index367.js +73 -652
- package/dist/index368.cjs +1 -1
- package/dist/index368.js +2 -178
- package/dist/index369.cjs +1 -1
- package/dist/index369.js +41 -93
- package/dist/index370.cjs +1 -1
- package/dist/index370.js +654 -25
- package/dist/index371.cjs +1 -1
- package/dist/index371.js +174 -145
- package/dist/index372.cjs +1 -1
- package/dist/index372.js +71 -331
- package/dist/index373.cjs +1 -1
- package/dist/index373.js +27 -72
- package/dist/index374.cjs +1 -1
- package/dist/index374.js +148 -31
- package/dist/index375.cjs +1 -1
- package/dist/index375.js +354 -5
- package/dist/index376.cjs +1 -1
- package/dist/index376.js +72 -274
- package/dist/index377.cjs +1 -1
- package/dist/index377.js +32 -171
- package/dist/index378.cjs +1 -1
- package/dist/index378.js +6 -10
- package/dist/index379.cjs +1 -1
- package/dist/index379.js +3 -3
- package/dist/index38.cjs +1 -1
- package/dist/index38.js +2 -2
- package/dist/index380.cjs +1 -1
- package/dist/index380.js +10 -10
- package/dist/index381.cjs +1 -1
- package/dist/index381.js +276 -2
- package/dist/index382.cjs +1 -1
- package/dist/index382.js +170 -21
- package/dist/index383.cjs +1 -1
- package/dist/index383.js +9 -62
- package/dist/index384.cjs +1 -1
- package/dist/index384.js +2 -110
- package/dist/index385.cjs +1 -1
- package/dist/index385.js +22 -3
- package/dist/index386.cjs +1 -1
- package/dist/index386.js +55 -124
- package/dist/index387.cjs +1 -1
- package/dist/index387.js +110 -260
- package/dist/index388.cjs +1 -0
- package/dist/index388.js +5 -0
- package/dist/index389.cjs +1 -0
- package/dist/index389.js +134 -0
- package/dist/index390.cjs +1 -0
- package/dist/index390.js +262 -0
- package/dist/index41.cjs +1 -1
- package/dist/index41.js +1 -1
- package/dist/index44.cjs +1 -1
- package/dist/index44.js +2 -2
- package/dist/index45.cjs +1 -1
- package/dist/index45.js +5 -5
- package/dist/index47.cjs +1 -1
- package/dist/index47.js +1 -1
- package/dist/index48.cjs +1 -1
- package/dist/index48.js +1 -1
- package/dist/index49.cjs +1 -1
- package/dist/index49.js +1 -1
- package/dist/index50.cjs +1 -1
- package/dist/index50.js +2 -2
- package/dist/index51.cjs +1 -1
- package/dist/index51.js +1 -1
- package/dist/index52.cjs +1 -1
- package/dist/index52.js +1 -1
- package/dist/index53.cjs +1 -1
- package/dist/index53.js +1 -1
- package/dist/index54.cjs +1 -1
- package/dist/index54.js +1 -1
- package/dist/index55.cjs +1 -1
- package/dist/index55.js +2 -2
- package/dist/index56.cjs +1 -1
- package/dist/index56.js +2 -2
- package/dist/index57.cjs +1 -1
- package/dist/index57.js +1 -1
- package/dist/index58.cjs +1 -1
- package/dist/index58.js +1 -1
- package/dist/index59.cjs +1 -1
- package/dist/index59.js +1 -1
- package/dist/index6.cjs +1 -1
- package/dist/index6.js +46 -42
- package/dist/index60.cjs +1 -1
- package/dist/index60.js +1 -1
- package/dist/index61.cjs +1 -1
- package/dist/index61.js +1 -1
- package/dist/index62.cjs +1 -1
- package/dist/index62.js +38 -15
- package/dist/index63.cjs +1 -1
- package/dist/index63.js +45 -14
- package/dist/index64.cjs +1 -1
- package/dist/index64.js +52 -18
- package/dist/index65.cjs +1 -1
- package/dist/index65.js +15 -10
- package/dist/index66.cjs +1 -1
- package/dist/index66.js +13 -32
- package/dist/index67.cjs +1 -1
- package/dist/index67.js +18 -15
- package/dist/index68.cjs +1 -1
- package/dist/index68.js +9 -12
- package/dist/index69.cjs +1 -1
- package/dist/index69.js +30 -34
- package/dist/index70.cjs +1 -1
- package/dist/index70.js +14 -41
- package/dist/index71.cjs +1 -1
- package/dist/index71.js +13 -43
- package/dist/index72.cjs +1 -1
- package/dist/index72.js +37 -25
- package/dist/index73.cjs +1 -1
- package/dist/index73.js +39 -52
- package/dist/index74.cjs +1 -1
- package/dist/index74.js +42 -27
- package/dist/index75.cjs +1 -1
- package/dist/index75.js +25 -20
- package/dist/index76.cjs +1 -1
- package/dist/index76.js +53 -726
- package/dist/index77.cjs +1 -1
- package/dist/index77.js +27 -521
- package/dist/index78.cjs +1 -1
- package/dist/index78.js +19 -20
- package/dist/index79.cjs +1 -1
- package/dist/index79.js +721 -24
- package/dist/index80.cjs +1 -1
- package/dist/index80.js +520 -11
- package/dist/index81.cjs +1 -1
- package/dist/index81.js +12 -11
- package/dist/index82.cjs +1 -1
- package/dist/index82.js +11 -18
- package/dist/index83.cjs +1 -1
- package/dist/index83.js +16 -43
- package/dist/index84.cjs +1 -1
- package/dist/index84.js +41 -38
- package/dist/index85.cjs +1 -1
- package/dist/index85.js +37 -166
- package/dist/index86.cjs +1 -1
- package/dist/index86.js +166 -21
- package/dist/index87.cjs +1 -1
- package/dist/index87.js +20 -4
- package/dist/index88.cjs +1 -1
- package/dist/index88.js +30 -6
- package/dist/index89.cjs +1 -1
- package/dist/index89.js +26 -16
- package/dist/index9.cjs +1 -1
- package/dist/index9.js +16 -14
- package/dist/index90.cjs +1 -1
- package/dist/index90.js +4 -12
- package/dist/index91.cjs +1 -1
- package/dist/index91.js +6 -9
- package/dist/index92.cjs +1 -1
- package/dist/index92.js +15 -155
- package/dist/index93.cjs +1 -1
- package/dist/index93.js +13 -5
- package/dist/index94.cjs +1 -3
- package/dist/index94.js +9 -215
- package/dist/index95.cjs +1 -1
- package/dist/index95.js +156 -18
- package/dist/index96.cjs +1 -1
- package/dist/index96.js +5 -11
- package/dist/index97.cjs +3 -1
- package/dist/index97.js +214 -20
- package/dist/index98.cjs +1 -1
- package/dist/index98.js +18 -9
- package/dist/index99.cjs +1 -1
- package/dist/index99.js +10 -9
- package/dist/src/lib/constants/wagmiConfig.d.ts +664 -0
- package/dist/src/lib/store/swapStore.d.ts +3 -1
- package/package.json +5 -5
package/dist/index219.js
CHANGED
|
@@ -1,13 +1,78 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import { isAddressEqual as A } from "./index101.js";
|
|
2
|
+
import { toBytes as d } from "./index204.js";
|
|
3
|
+
import { keccak256 as p } from "./index216.js";
|
|
4
|
+
import { toEventSelector as b } from "./index209.js";
|
|
5
|
+
import { decodeEventLog as l } from "./index207.js";
|
|
6
|
+
function j(f) {
|
|
7
|
+
const { abi: s, args: a, logs: u, strict: c = !0 } = f, e = (() => {
|
|
8
|
+
if (f.eventName)
|
|
9
|
+
return Array.isArray(f.eventName) ? f.eventName : [f.eventName];
|
|
10
|
+
})();
|
|
11
|
+
return u.map((r) => {
|
|
12
|
+
var m;
|
|
13
|
+
const t = s.filter((o) => o.type === "event" && r.topics[0] === b(o));
|
|
14
|
+
if (t.length === 0)
|
|
15
|
+
return null;
|
|
16
|
+
let i, n;
|
|
17
|
+
for (const o of t)
|
|
18
|
+
try {
|
|
19
|
+
i = l({
|
|
20
|
+
...r,
|
|
21
|
+
abi: [o],
|
|
22
|
+
strict: !0
|
|
23
|
+
}), n = o;
|
|
24
|
+
break;
|
|
25
|
+
} catch {
|
|
26
|
+
}
|
|
27
|
+
if (!i && !c) {
|
|
28
|
+
n = t[0];
|
|
29
|
+
try {
|
|
30
|
+
i = l({
|
|
31
|
+
...r,
|
|
32
|
+
abi: [n],
|
|
33
|
+
strict: !1
|
|
34
|
+
});
|
|
35
|
+
} catch {
|
|
36
|
+
const o = (m = n.inputs) == null ? void 0 : m.some((y) => !("name" in y && y.name));
|
|
37
|
+
return {
|
|
38
|
+
...r,
|
|
39
|
+
args: o ? [] : {},
|
|
40
|
+
eventName: n.name
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
return !i || !n || e && !e.includes(i.eventName) || !v({
|
|
45
|
+
args: i.args,
|
|
46
|
+
inputs: n.inputs,
|
|
47
|
+
matchArgs: a
|
|
48
|
+
}) ? null : { ...i, ...r };
|
|
49
|
+
}).filter(Boolean);
|
|
50
|
+
}
|
|
51
|
+
function v(f) {
|
|
52
|
+
const { args: s, inputs: a, matchArgs: u } = f;
|
|
53
|
+
if (!u)
|
|
54
|
+
return !0;
|
|
55
|
+
if (!s)
|
|
56
|
+
return !1;
|
|
57
|
+
function c(e, r, t) {
|
|
58
|
+
try {
|
|
59
|
+
return e.type === "address" ? A(r, t) : e.type === "string" || e.type === "bytes" ? p(d(r)) === t : r === t;
|
|
60
|
+
} catch {
|
|
61
|
+
return !1;
|
|
62
|
+
}
|
|
8
63
|
}
|
|
9
|
-
return
|
|
64
|
+
return Array.isArray(s) && Array.isArray(u) ? u.every((e, r) => {
|
|
65
|
+
if (e == null)
|
|
66
|
+
return !0;
|
|
67
|
+
const t = a[r];
|
|
68
|
+
return t ? (Array.isArray(e) ? e : [e]).some((n) => c(t, n, s[r])) : !1;
|
|
69
|
+
}) : typeof s == "object" && !Array.isArray(s) && typeof u == "object" && !Array.isArray(u) ? Object.entries(u).every(([e, r]) => {
|
|
70
|
+
if (r == null)
|
|
71
|
+
return !0;
|
|
72
|
+
const t = a.find((n) => n.name === e);
|
|
73
|
+
return t ? (Array.isArray(r) ? r : [r]).some((n) => c(t, n, s[e])) : !1;
|
|
74
|
+
}) : !1;
|
|
10
75
|
}
|
|
11
76
|
export {
|
|
12
|
-
|
|
77
|
+
j as parseEventLogs
|
|
13
78
|
};
|
package/dist/index220.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});class i extends Map{constructor(e){super(),Object.defineProperty(this,"maxSize",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.maxSize=e}get(e){const t=super.get(e);return super.has(e)&&t!==void 0&&(this.delete(e),super.set(e,t)),t}set(e,t){if(super.set(e,t),this.maxSize&&this.size>this.maxSize){const s=this.keys().next().value;s&&this.delete(s)}return this}}exports.LruMap=i;
|
package/dist/index220.js
CHANGED
|
@@ -1,14 +1,24 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
class r extends Map {
|
|
2
|
+
constructor(e) {
|
|
3
|
+
super(), Object.defineProperty(this, "maxSize", {
|
|
4
|
+
enumerable: !0,
|
|
5
|
+
configurable: !0,
|
|
6
|
+
writable: !0,
|
|
7
|
+
value: void 0
|
|
8
|
+
}), this.maxSize = e;
|
|
9
|
+
}
|
|
10
|
+
get(e) {
|
|
11
|
+
const t = super.get(e);
|
|
12
|
+
return super.has(e) && t !== void 0 && (this.delete(e), super.set(e, t)), t;
|
|
13
|
+
}
|
|
14
|
+
set(e, t) {
|
|
15
|
+
if (super.set(e, t), this.maxSize && this.size > this.maxSize) {
|
|
16
|
+
const s = this.keys().next().value;
|
|
17
|
+
s && this.delete(s);
|
|
18
|
+
}
|
|
19
|
+
return this;
|
|
20
|
+
}
|
|
11
21
|
}
|
|
12
22
|
export {
|
|
13
|
-
r as
|
|
23
|
+
r as LruMap
|
|
14
24
|
};
|
package/dist/index221.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./index204.cjs"),l=require("./index84.cjs");function c(o){const{kzg:s}=o,n=o.to??(typeof o.blobs[0]=="string"?"hex":"bytes"),e=typeof o.blobs[0]=="string"?o.blobs.map(t=>i.hexToBytes(t)):o.blobs,b=[];for(const t of e)b.push(Uint8Array.from(s.blobToKzgCommitment(t)));return n==="bytes"?b:b.map(t=>l.bytesToHex(t))}exports.blobsToCommitments=c;
|
package/dist/index221.js
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
function
|
|
4
|
-
const {
|
|
5
|
-
|
|
1
|
+
import { hexToBytes as i } from "./index204.js";
|
|
2
|
+
import { bytesToHex as f } from "./index84.js";
|
|
3
|
+
function y(o) {
|
|
4
|
+
const { kzg: s } = o, n = o.to ?? (typeof o.blobs[0] == "string" ? "hex" : "bytes"), m = typeof o.blobs[0] == "string" ? o.blobs.map((t) => i(t)) : o.blobs, b = [];
|
|
5
|
+
for (const t of m)
|
|
6
|
+
b.push(Uint8Array.from(s.blobToKzgCommitment(t)));
|
|
7
|
+
return n === "bytes" ? b : b.map((t) => f(t));
|
|
6
8
|
}
|
|
7
9
|
export {
|
|
8
|
-
|
|
10
|
+
y as blobsToCommitments
|
|
9
11
|
};
|
package/dist/index222.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=require("./index204.cjs"),y=require("./index84.cjs");function f(t){const{kzg:c}=t,e=t.to??(typeof t.blobs[0]=="string"?"hex":"bytes"),n=typeof t.blobs[0]=="string"?t.blobs.map(o=>b.hexToBytes(o)):t.blobs,i=typeof t.commitments[0]=="string"?t.commitments.map(o=>b.hexToBytes(o)):t.commitments,s=[];for(let o=0;o<n.length;o++){const l=n[o],m=i[o];s.push(Uint8Array.from(c.computeBlobKzgProof(l,m)))}return e==="bytes"?s:s.map(o=>y.bytesToHex(o))}exports.blobsToProofs=f;
|
package/dist/index222.js
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { hexToBytes as b } from "./index204.js";
|
|
2
|
+
import { bytesToHex as y } from "./index84.js";
|
|
3
|
+
function h(t) {
|
|
4
|
+
const { kzg: m } = t, c = t.to ?? (typeof t.blobs[0] == "string" ? "hex" : "bytes"), s = typeof t.blobs[0] == "string" ? t.blobs.map((o) => b(o)) : t.blobs, i = typeof t.commitments[0] == "string" ? t.commitments.map((o) => b(o)) : t.commitments, n = [];
|
|
5
|
+
for (let o = 0; o < s.length; o++) {
|
|
6
|
+
const f = s[o], l = i[o];
|
|
7
|
+
n.push(Uint8Array.from(m.computeBlobKzgProof(f, l)));
|
|
8
|
+
}
|
|
9
|
+
return c === "bytes" ? n : n.map((o) => y(o));
|
|
6
10
|
}
|
|
7
11
|
export {
|
|
8
|
-
|
|
12
|
+
h as blobsToProofs
|
|
9
13
|
};
|
package/dist/index223.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./index224.cjs");function c(o){const{commitments:e,version:s}=o,n=o.to??(typeof e[0]=="string"?"hex":"bytes"),t=[];for(const m of e)t.push(i.commitmentToVersionedHash({commitment:m,to:n,version:s}));return t}exports.commitmentsToVersionedHashes=c;
|
package/dist/index223.js
CHANGED
|
@@ -1,16 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
});
|
|
12
|
-
return c;
|
|
1
|
+
import { commitmentToVersionedHash as i } from "./index224.js";
|
|
2
|
+
function r(o) {
|
|
3
|
+
const { commitments: t, version: n } = o, e = o.to ?? (typeof t[0] == "string" ? "hex" : "bytes"), s = [];
|
|
4
|
+
for (const m of t)
|
|
5
|
+
s.push(i({
|
|
6
|
+
commitment: m,
|
|
7
|
+
to: e,
|
|
8
|
+
version: n
|
|
9
|
+
}));
|
|
10
|
+
return s;
|
|
13
11
|
}
|
|
14
12
|
export {
|
|
15
|
-
|
|
13
|
+
r as commitmentsToVersionedHashes
|
|
16
14
|
};
|
package/dist/index224.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./index84.cjs"),r=require("./index225.cjs");function c(t){const{commitment:o,version:s=1}=t,n=t.to??(typeof o=="string"?"hex":"bytes"),e=r.sha256(o);return e.set([s],0),n==="bytes"?e:i.bytesToHex(e)}exports.commitmentToVersionedHash=c;
|
package/dist/index224.js
CHANGED
|
@@ -1,35 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
import { bytesToHex as d } from "./index83.js";
|
|
7
|
-
function S(e) {
|
|
8
|
-
const m = e.to ?? (typeof e.data == "string" ? "hex" : "bytes"), i = typeof e.data == "string" ? x(e.data) : e.data, o = u(i);
|
|
9
|
-
if (!o)
|
|
10
|
-
throw new c();
|
|
11
|
-
if (o > y)
|
|
12
|
-
throw new h({
|
|
13
|
-
maxSize: y,
|
|
14
|
-
size: o
|
|
15
|
-
});
|
|
16
|
-
const s = [];
|
|
17
|
-
let n = !0, r = 0;
|
|
18
|
-
for (; n; ) {
|
|
19
|
-
const t = B(new Uint8Array(p));
|
|
20
|
-
let l = 0;
|
|
21
|
-
for (; l < a; ) {
|
|
22
|
-
const b = i.slice(r, r + (f - 1));
|
|
23
|
-
if (t.pushByte(0), t.pushBytes(b), b.length < 31) {
|
|
24
|
-
t.pushByte(128), n = !1;
|
|
25
|
-
break;
|
|
26
|
-
}
|
|
27
|
-
l++, r += 31;
|
|
28
|
-
}
|
|
29
|
-
s.push(t);
|
|
30
|
-
}
|
|
31
|
-
return m === "bytes" ? s.map((t) => t.bytes) : s.map((t) => d(t.bytes));
|
|
1
|
+
import { bytesToHex as i } from "./index84.js";
|
|
2
|
+
import { sha256 as m } from "./index225.js";
|
|
3
|
+
function f(t) {
|
|
4
|
+
const { commitment: e, version: s = 1 } = t, n = t.to ?? (typeof e == "string" ? "hex" : "bytes"), o = m(e);
|
|
5
|
+
return o.set([s], 0), n === "bytes" ? o : i(o);
|
|
32
6
|
}
|
|
33
7
|
export {
|
|
34
|
-
|
|
8
|
+
f as commitmentToVersionedHash
|
|
35
9
|
};
|
package/dist/index225.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index238.cjs"),s=require("./index103.cjs"),r=require("./index204.cjs");function o(t,i){return e.sha256(s.isHex(t,{strict:!1})?r.toBytes(t):t)}exports.sha256=o;
|
package/dist/index225.js
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
import { sha256 as o } from "./index238.js";
|
|
2
|
+
import { isHex as s } from "./index103.js";
|
|
3
|
+
import { toBytes as r } from "./index204.js";
|
|
4
|
+
function p(t, i) {
|
|
5
|
+
return o(s(t, { strict: !1 }) ? r(t) : t);
|
|
6
|
+
}
|
|
2
7
|
export {
|
|
3
|
-
|
|
4
|
-
e as bytesPerFieldElement,
|
|
5
|
-
s as fieldElementsPerBlob,
|
|
6
|
-
l as maxBytesPerTransaction
|
|
8
|
+
p as sha256
|
|
7
9
|
};
|
package/dist/index226.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index221.cjs"),m=require("./index222.cjs"),u=require("./index227.cjs");function f(t){const{data:i,kzg:n,to:b}=t,s=t.blobs??u.toBlobs({data:i,to:b}),e=t.commitments??r.blobsToCommitments({blobs:s,kzg:n,to:b}),l=t.proofs??m.blobsToProofs({blobs:s,commitments:e,kzg:n,to:b}),c=[];for(let o=0;o<s.length;o++)c.push({blob:s[o],commitment:e[o],proof:l[o]});return c}exports.toBlobSidecars=f;
|
package/dist/index226.js
CHANGED
|
@@ -1,40 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import { blobsToCommitments as f } from "./index221.js";
|
|
2
|
+
import { blobsToProofs as l } from "./index222.js";
|
|
3
|
+
import { toBlobs as p } from "./index227.js";
|
|
4
|
+
function k(t) {
|
|
5
|
+
const { data: i, kzg: n, to: m } = t, s = t.blobs ?? p({ data: i, to: m }), b = t.commitments ?? f({ blobs: s, kzg: n, to: m }), r = t.proofs ?? l({ blobs: s, commitments: b, kzg: n, to: m }), c = [];
|
|
6
|
+
for (let o = 0; o < s.length; o++)
|
|
7
|
+
c.push({
|
|
8
|
+
blob: s[o],
|
|
9
|
+
commitment: b[o],
|
|
10
|
+
proof: r[o]
|
|
8
11
|
});
|
|
9
|
-
|
|
10
|
-
}
|
|
11
|
-
class d extends s {
|
|
12
|
-
constructor() {
|
|
13
|
-
super("Blob data must not be empty.", { name: "EmptyBlobError" });
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
class l extends s {
|
|
17
|
-
constructor({ hash: e, size: r }) {
|
|
18
|
-
super(`Versioned hash "${e}" size is invalid.`, {
|
|
19
|
-
metaMessages: ["Expected: 32", `Received: ${r}`],
|
|
20
|
-
name: "InvalidVersionedHashSizeError"
|
|
21
|
-
});
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
class c extends s {
|
|
25
|
-
constructor({ hash: e, version: r }) {
|
|
26
|
-
super(`Versioned hash "${e}" version is invalid.`, {
|
|
27
|
-
metaMessages: [
|
|
28
|
-
`Expected: ${a}`,
|
|
29
|
-
`Received: ${r}`
|
|
30
|
-
],
|
|
31
|
-
name: "InvalidVersionedHashVersionError"
|
|
32
|
-
});
|
|
33
|
-
}
|
|
12
|
+
return c;
|
|
34
13
|
}
|
|
35
14
|
export {
|
|
36
|
-
|
|
37
|
-
d as EmptyBlobError,
|
|
38
|
-
l as InvalidVersionedHashSizeError,
|
|
39
|
-
c as InvalidVersionedHashVersionError
|
|
15
|
+
k as toBlobSidecars
|
|
40
16
|
};
|
package/dist/index227.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index228.cjs"),y=require("./index229.cjs"),u=require("./index201.cjs"),B=require("./index90.cjs"),h=require("./index204.cjs"),d=require("./index84.cjs");function f(t){const a=t.to??(typeof t.data=="string"?"hex":"bytes"),n=typeof t.data=="string"?h.hexToBytes(t.data):t.data,s=B.size(n);if(!s)throw new y.EmptyBlobError;if(s>o.maxBytesPerTransaction)throw new y.BlobSizeTooLargeError({maxSize:o.maxBytesPerTransaction,size:s});const r=[];let b=!0,i=0;for(;b;){const e=u.createCursor(new Uint8Array(o.bytesPerBlob));let l=0;for(;l<o.fieldElementsPerBlob;){const c=n.slice(i,i+(o.bytesPerFieldElement-1));if(e.pushByte(0),e.pushBytes(c),c.length<31){e.pushByte(128),b=!1;break}l++,i+=31}r.push(e)}return a==="bytes"?r.map(e=>e.bytes):r.map(e=>d.bytesToHex(e.bytes))}exports.toBlobs=f;
|
package/dist/index227.js
CHANGED
|
@@ -1,114 +1,35 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
{
|
|
16
|
-
name: "sender",
|
|
17
|
-
type: "address"
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
name: "urls",
|
|
21
|
-
type: "string[]"
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
name: "callData",
|
|
25
|
-
type: "bytes"
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
name: "callbackFunction",
|
|
29
|
-
type: "bytes4"
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
name: "extraData",
|
|
33
|
-
type: "bytes"
|
|
34
|
-
}
|
|
35
|
-
]
|
|
36
|
-
};
|
|
37
|
-
async function J(c, { blockNumber: p, blockTag: f, data: o, to: n }) {
|
|
38
|
-
const { args: i } = g({
|
|
39
|
-
data: o,
|
|
40
|
-
abi: [R]
|
|
41
|
-
}), [r, a, s, u, e] = i, { ccipRead: t } = c, m = t && typeof (t == null ? void 0 : t.request) == "function" ? t.request : A;
|
|
42
|
-
try {
|
|
43
|
-
if (!E(n, r))
|
|
44
|
-
throw new w({ sender: r, to: n });
|
|
45
|
-
const l = a.includes(x) ? await S({
|
|
46
|
-
data: s,
|
|
47
|
-
ccipRequest: m
|
|
48
|
-
}) : await m({ data: s, sender: r, urls: a }), { data: y } = await h(c, {
|
|
49
|
-
blockNumber: p,
|
|
50
|
-
blockTag: f,
|
|
51
|
-
data: L([
|
|
52
|
-
u,
|
|
53
|
-
q([{ type: "bytes" }, { type: "bytes" }], [l, e])
|
|
54
|
-
]),
|
|
55
|
-
to: n
|
|
56
|
-
});
|
|
57
|
-
return y;
|
|
58
|
-
} catch (l) {
|
|
59
|
-
throw new b({
|
|
60
|
-
callbackSelector: u,
|
|
61
|
-
cause: l,
|
|
62
|
-
data: o,
|
|
63
|
-
extraData: e,
|
|
64
|
-
sender: r,
|
|
65
|
-
urls: a
|
|
1
|
+
import { maxBytesPerTransaction as y, fieldElementsPerBlob as a, bytesPerFieldElement as f, bytesPerBlob as p } from "./index228.js";
|
|
2
|
+
import { EmptyBlobError as c, BlobSizeTooLargeError as h } from "./index229.js";
|
|
3
|
+
import { createCursor as B } from "./index201.js";
|
|
4
|
+
import { size as u } from "./index90.js";
|
|
5
|
+
import { hexToBytes as x } from "./index204.js";
|
|
6
|
+
import { bytesToHex as d } from "./index84.js";
|
|
7
|
+
function S(e) {
|
|
8
|
+
const m = e.to ?? (typeof e.data == "string" ? "hex" : "bytes"), i = typeof e.data == "string" ? x(e.data) : e.data, o = u(i);
|
|
9
|
+
if (!o)
|
|
10
|
+
throw new c();
|
|
11
|
+
if (o > y)
|
|
12
|
+
throw new h({
|
|
13
|
+
maxSize: y,
|
|
14
|
+
size: o
|
|
66
15
|
});
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
headers: u,
|
|
78
|
-
method: a
|
|
79
|
-
});
|
|
80
|
-
let t;
|
|
81
|
-
if ((n = e.headers.get("Content-Type")) != null && n.startsWith("application/json") ? t = (await e.json()).data : t = await e.text(), !e.ok) {
|
|
82
|
-
o = new d({
|
|
83
|
-
body: s,
|
|
84
|
-
details: t != null && t.error ? T(t.error) : e.statusText,
|
|
85
|
-
headers: e.headers,
|
|
86
|
-
status: e.status,
|
|
87
|
-
url: r
|
|
88
|
-
});
|
|
89
|
-
continue;
|
|
90
|
-
}
|
|
91
|
-
if (!O(t)) {
|
|
92
|
-
o = new k({
|
|
93
|
-
result: t,
|
|
94
|
-
url: r
|
|
95
|
-
});
|
|
96
|
-
continue;
|
|
16
|
+
const s = [];
|
|
17
|
+
let n = !0, r = 0;
|
|
18
|
+
for (; n; ) {
|
|
19
|
+
const t = B(new Uint8Array(p));
|
|
20
|
+
let l = 0;
|
|
21
|
+
for (; l < a; ) {
|
|
22
|
+
const b = i.slice(r, r + (f - 1));
|
|
23
|
+
if (t.pushByte(0), t.pushBytes(b), b.length < 31) {
|
|
24
|
+
t.pushByte(128), n = !1;
|
|
25
|
+
break;
|
|
97
26
|
}
|
|
98
|
-
|
|
99
|
-
} catch (e) {
|
|
100
|
-
o = new d({
|
|
101
|
-
body: s,
|
|
102
|
-
details: e.message,
|
|
103
|
-
url: r
|
|
104
|
-
});
|
|
27
|
+
l++, r += 31;
|
|
105
28
|
}
|
|
29
|
+
s.push(t);
|
|
106
30
|
}
|
|
107
|
-
|
|
31
|
+
return m === "bytes" ? s.map((t) => t.bytes) : s.map((t) => d(t.bytes));
|
|
108
32
|
}
|
|
109
33
|
export {
|
|
110
|
-
|
|
111
|
-
J as offchainLookup,
|
|
112
|
-
R as offchainLookupAbiItem,
|
|
113
|
-
I as offchainLookupSignature
|
|
34
|
+
S as toBlobs
|
|
114
35
|
};
|
package/dist/index228.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=6,s=32,e=4096,n=s*e,o=n*t-1-1*e*t;exports.bytesPerBlob=n;exports.bytesPerFieldElement=s;exports.fieldElementsPerBlob=e;exports.maxBytesPerTransaction=o;
|
package/dist/index228.js
CHANGED
|
@@ -1,52 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
import { BaseError as a } from "./index176.js";
|
|
3
|
-
import { getUrl as n } from "./index187.js";
|
|
4
|
-
class u extends a {
|
|
5
|
-
constructor({ callbackSelector: r, cause: e, data: f, extraData: c, sender: d, urls: o }) {
|
|
6
|
-
var t;
|
|
7
|
-
super(e.shortMessage || "An error occurred while fetching for an offchain result.", {
|
|
8
|
-
cause: e,
|
|
9
|
-
metaMessages: [
|
|
10
|
-
...e.metaMessages || [],
|
|
11
|
-
(t = e.metaMessages) != null && t.length ? "" : [],
|
|
12
|
-
"Offchain Gateway Call:",
|
|
13
|
-
o && [
|
|
14
|
-
" Gateway URL(s):",
|
|
15
|
-
...o.map((m) => ` ${n(m)}`)
|
|
16
|
-
],
|
|
17
|
-
` Sender: ${d}`,
|
|
18
|
-
` Data: ${f}`,
|
|
19
|
-
` Callback selector: ${r}`,
|
|
20
|
-
` Extra data: ${c}`
|
|
21
|
-
].flat(),
|
|
22
|
-
name: "OffchainLookupError"
|
|
23
|
-
});
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
class g extends a {
|
|
27
|
-
constructor({ result: r, url: e }) {
|
|
28
|
-
super("Offchain gateway response is malformed. Response data must be a hex value.", {
|
|
29
|
-
metaMessages: [
|
|
30
|
-
`Gateway URL: ${n(e)}`,
|
|
31
|
-
`Response: ${i(r)}`
|
|
32
|
-
],
|
|
33
|
-
name: "OffchainLookupResponseMalformedError"
|
|
34
|
-
});
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
class M extends a {
|
|
38
|
-
constructor({ sender: r, to: e }) {
|
|
39
|
-
super("Reverted sender address does not match target contract address (`to`).", {
|
|
40
|
-
metaMessages: [
|
|
41
|
-
`Contract address: ${e}`,
|
|
42
|
-
`OffchainLookup sender address: ${r}`
|
|
43
|
-
],
|
|
44
|
-
name: "OffchainLookupSenderMismatchError"
|
|
45
|
-
});
|
|
46
|
-
}
|
|
47
|
-
}
|
|
1
|
+
const e = 32, s = 4096, t = 131072, l = 761855;
|
|
48
2
|
export {
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
3
|
+
t as bytesPerBlob,
|
|
4
|
+
e as bytesPerFieldElement,
|
|
5
|
+
s as fieldElementsPerBlob,
|
|
6
|
+
l as maxBytesPerTransaction
|
|
52
7
|
};
|
package/dist/index229.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./index253.cjs"),s=require("./index179.cjs");class i extends s.BaseError{constructor({maxSize:e,size:r}){super("Blob size is too large.",{metaMessages:[`Max: ${e} bytes`,`Given: ${r} bytes`],name:"BlobSizeTooLargeError"})}}class n extends s.BaseError{constructor(){super("Blob data must not be empty.",{name:"EmptyBlobError"})}}class t extends s.BaseError{constructor({hash:e,size:r}){super(`Versioned hash "${e}" size is invalid.`,{metaMessages:["Expected: 32",`Received: ${r}`],name:"InvalidVersionedHashSizeError"})}}class d extends s.BaseError{constructor({hash:e,version:r}){super(`Versioned hash "${e}" version is invalid.`,{metaMessages:[`Expected: ${a.versionedHashVersionKzg}`,`Received: ${r}`],name:"InvalidVersionedHashVersionError"})}}exports.BlobSizeTooLargeError=i;exports.EmptyBlobError=n;exports.InvalidVersionedHashSizeError=t;exports.InvalidVersionedHashVersionError=d;
|