@gardenfi/swap 0.1.3-beta.22 → 0.1.3-beta.24
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 +5 -5
- package/dist/index101.cjs +1 -1
- package/dist/index101.js +2 -2
- package/dist/index102.cjs +1 -1
- package/dist/index102.js +1 -1
- package/dist/index105.cjs +1 -1
- package/dist/index105.js +2 -2
- package/dist/index106.cjs +1 -1
- package/dist/index106.js +3 -3
- package/dist/index107.cjs +1 -1
- package/dist/index107.js +13 -13
- package/dist/index108.cjs +1 -1
- package/dist/index108.js +2 -2
- package/dist/index109.cjs +1 -1
- package/dist/index109.js +3 -3
- package/dist/index110.cjs +1 -1
- package/dist/index110.js +2 -2
- package/dist/index111.cjs +1 -1
- package/dist/index111.js +1 -1
- package/dist/index112.cjs +1 -1
- package/dist/index112.js +54 -32
- package/dist/index113.cjs +2 -1
- package/dist/index113.js +59 -3
- package/dist/index114.cjs +1 -1
- package/dist/index114.js +33 -8
- package/dist/index115.cjs +1 -1
- package/dist/index115.js +127 -116
- package/dist/index116.cjs +2 -1
- package/dist/index116.js +116 -57
- package/dist/index117.cjs +1 -1
- package/dist/index117.js +16 -23
- package/dist/index118.cjs +1 -1
- package/dist/index118.js +8 -36
- package/dist/index119.cjs +1 -1
- package/dist/index119.js +10 -41
- package/dist/index120.cjs +1 -1
- package/dist/index120.js +11 -58
- package/dist/index121.cjs +1 -1
- package/dist/index121.js +12 -39
- package/dist/index122.cjs +1 -1
- package/dist/index122.js +78 -9
- package/dist/index123.cjs +1 -1
- package/dist/index123.js +14 -31
- package/dist/index124.cjs +1 -1
- package/dist/index124.js +18 -36
- package/dist/index125.cjs +1 -1
- package/dist/index125.js +21 -9
- package/dist/index126.cjs +1 -1
- package/dist/index126.js +2 -30
- package/dist/index127.cjs +1 -1
- package/dist/index127.js +2 -51
- package/dist/index128.cjs +4 -1
- package/dist/index128.js +192 -68
- package/dist/index129.cjs +1 -1
- package/dist/index129.js +5 -41
- package/dist/index130.cjs +1 -1
- package/dist/index130.js +77 -75
- package/dist/index131.cjs +1 -1
- package/dist/index131.js +3 -9
- package/dist/index132.cjs +1 -1
- package/dist/index132.js +32 -6
- package/dist/index133.cjs +1 -1
- package/dist/index133.js +115 -17
- package/dist/index134.cjs +1 -1
- package/dist/index134.js +4 -9
- package/dist/index135.cjs +1 -1
- package/dist/index135.js +15 -13
- package/dist/index136.cjs +1 -1
- package/dist/index136.js +11 -7
- package/dist/index137.cjs +1 -1
- package/dist/index137.js +18 -16
- package/dist/index138.cjs +1 -1
- package/dist/index138.js +56 -44
- package/dist/index139.cjs +1 -1
- package/dist/index139.js +20 -13
- package/dist/index140.cjs +1 -1
- package/dist/index140.js +14 -17
- package/dist/index141.cjs +1 -1
- package/dist/index141.js +284 -13
- package/dist/index142.cjs +1 -1
- package/dist/index142.js +572 -5
- package/dist/index143.cjs +1 -1
- package/dist/index143.js +33 -35
- package/dist/index144.cjs +1 -1
- package/dist/index144.js +3 -9
- package/dist/index145.cjs +1 -1
- package/dist/index145.js +9 -8
- package/dist/index146.cjs +1 -1
- package/dist/index146.js +116 -29
- package/dist/index147.cjs +1 -1
- package/dist/index147.js +61 -10
- package/dist/index148.cjs +1 -1
- package/dist/index148.js +23 -13
- package/dist/index149.cjs +1 -1
- package/dist/index149.js +36 -12
- package/dist/index150.cjs +1 -1
- package/dist/index150.js +40 -120
- package/dist/index151.cjs +1 -1
- package/dist/index151.js +56 -80
- package/dist/index152.cjs +1 -1
- package/dist/index152.js +36 -173
- package/dist/index153.cjs +1 -1
- package/dist/index153.js +9 -44
- package/dist/index154.cjs +1 -1
- package/dist/index154.js +30 -5
- package/dist/index155.cjs +1 -1
- package/dist/index155.js +35 -13
- package/dist/index156.cjs +1 -1
- package/dist/index156.js +8 -13
- package/dist/index157.cjs +1 -1
- package/dist/index157.js +28 -102
- package/dist/index158.cjs +1 -1
- package/dist/index158.js +49 -74
- package/dist/index159.cjs +1 -1
- package/dist/index159.js +68 -87
- package/dist/index160.cjs +1 -1
- package/dist/index160.js +38 -148
- package/dist/index161.cjs +1 -1
- package/dist/index161.js +74 -135
- package/dist/index162.cjs +1 -1
- package/dist/index162.js +8 -69
- package/dist/index163.cjs +1 -1
- package/dist/index163.js +5 -22
- package/dist/index164.cjs +1 -1
- package/dist/index164.js +17 -164
- package/dist/index165.cjs +1 -1
- package/dist/index165.js +8 -6
- package/dist/index166.cjs +1 -1
- package/dist/index166.js +13 -13
- package/dist/index167.cjs +1 -1
- package/dist/index167.js +7 -19
- package/dist/index168.cjs +1 -1
- package/dist/index168.js +16 -106
- package/dist/index169.cjs +1 -1
- package/dist/index169.js +44 -76
- package/dist/index170.cjs +1 -1
- package/dist/index170.js +13 -9
- package/dist/index171.cjs +1 -1
- package/dist/index171.js +16 -28
- package/dist/index172.cjs +1 -1
- package/dist/index172.js +13 -90
- package/dist/index173.cjs +1 -1
- package/dist/index173.js +7 -3
- package/dist/index174.cjs +1 -1
- package/dist/index174.js +36 -2
- package/dist/index175.cjs +1 -2
- package/dist/index175.js +10 -3
- package/dist/index176.cjs +1 -1
- package/dist/index176.js +9 -9
- package/dist/index177.cjs +1 -20
- package/dist/index177.js +29 -326
- package/dist/index178.cjs +1 -1
- package/dist/index178.js +10 -13
- package/dist/index179.cjs +1 -2
- package/dist/index179.js +14 -59
- package/dist/index180.cjs +1 -1
- package/dist/index180.js +13 -2
- package/dist/index181.cjs +1 -1
- package/dist/index181.js +120 -6
- package/dist/index182.cjs +1 -1
- package/dist/index182.js +82 -31
- package/dist/index183.cjs +1 -1
- package/dist/index183.js +174 -18
- package/dist/index184.cjs +1 -1
- package/dist/index184.js +44 -5
- package/dist/index185.cjs +1 -1
- package/dist/index185.js +6 -73
- package/dist/index186.cjs +1 -1
- package/dist/index186.js +14 -5
- package/dist/index187.cjs +1 -1
- package/dist/index187.js +14 -5
- package/dist/index188.cjs +1 -9
- package/dist/index188.js +102 -34
- package/dist/index189.cjs +1 -2
- package/dist/index189.js +74 -119
- package/dist/index19.cjs +1 -1
- package/dist/index19.js +31 -30
- package/dist/index190.cjs +1 -1
- package/dist/index190.js +90 -3
- package/dist/index191.cjs +1 -1
- package/dist/index191.js +151 -18
- package/dist/index192.cjs +1 -1
- package/dist/index192.js +137 -32
- package/dist/index193.cjs +1 -1
- package/dist/index193.js +68 -34
- package/dist/index194.cjs +1 -1
- package/dist/index194.js +23 -23
- package/dist/index195.cjs +1 -1
- package/dist/index195.js +162 -6
- package/dist/index196.cjs +1 -4
- package/dist/index196.js +6 -194
- package/dist/index197.cjs +1 -1
- package/dist/index197.js +14 -2
- package/dist/index198.cjs +1 -3
- package/dist/index198.js +19 -451
- package/dist/index199.cjs +1 -1
- package/dist/index199.js +105 -26
- package/dist/index200.cjs +1 -1
- package/dist/index200.js +73 -156
- package/dist/index201.cjs +1 -1
- package/dist/index201.js +8 -126
- package/dist/index202.cjs +1 -1
- package/dist/index202.js +27 -37
- package/dist/index203.cjs +1 -1
- package/dist/index203.js +89 -26
- package/dist/index204.cjs +1 -1
- package/dist/index204.js +3 -56
- package/dist/index205.cjs +2 -1
- package/dist/index205.js +3 -192
- package/dist/index206.cjs +1 -1
- package/dist/index206.js +9 -4
- package/dist/index207.cjs +20 -1
- package/dist/index207.js +324 -71
- package/dist/index208.cjs +1 -1
- package/dist/index208.js +11 -18
- package/dist/index209.cjs +1 -1
- package/dist/index209.js +8 -3
- package/dist/index210.cjs +1 -1
- package/dist/index210.js +32 -17
- package/dist/index211.cjs +1 -1
- package/dist/index211.js +21 -23
- package/dist/index212.cjs +1 -1
- package/dist/index212.js +5 -34
- package/dist/index213.cjs +1 -1
- package/dist/index213.js +74 -3
- package/dist/index214.cjs +1 -1
- package/dist/index214.js +5 -27
- package/dist/index215.cjs +9 -1
- package/dist/index215.js +32 -33
- package/dist/index216.cjs +1 -1
- package/dist/index216.js +3 -9
- package/dist/index217.cjs +1 -1
- package/dist/index217.js +17 -24
- package/dist/index218.cjs +1 -1
- package/dist/index218.js +32 -27
- package/dist/index219.cjs +1 -1
- package/dist/index219.js +34 -74
- package/dist/index220.cjs +1 -1
- package/dist/index220.js +20 -18
- package/dist/index221.cjs +1 -1
- package/dist/index221.js +8 -8
- package/dist/index222.cjs +1 -1
- package/dist/index222.js +2 -11
- package/dist/index223.cjs +3 -1
- package/dist/index223.js +451 -11
- package/dist/index224.cjs +1 -1
- package/dist/index224.js +27 -6
- package/dist/index225.cjs +1 -1
- package/dist/index225.js +161 -6
- package/dist/index226.cjs +1 -1
- package/dist/index226.js +37 -12
- package/dist/index227.cjs +1 -1
- package/dist/index227.js +27 -32
- package/dist/index228.cjs +1 -1
- package/dist/index228.js +192 -5
- package/dist/index229.cjs +1 -1
- package/dist/index229.js +4 -38
- package/dist/index230.cjs +1 -1
- package/dist/index230.js +67 -105
- package/dist/index231.cjs +1 -1
- package/dist/index231.js +14 -43
- package/dist/index232.cjs +1 -1
- package/dist/index232.js +3 -33
- package/dist/index233.cjs +1 -1
- package/dist/index233.js +16 -8
- package/dist/index234.cjs +1 -1
- package/dist/index234.js +23 -7
- package/dist/index235.cjs +1 -1
- package/dist/index235.js +3 -17
- package/dist/index236.cjs +1 -1
- package/dist/index236.js +27 -22
- package/dist/index237.cjs +1 -1
- package/dist/index237.js +35 -103
- package/dist/index238.cjs +1 -1
- package/dist/index238.js +9 -3
- package/dist/index239.cjs +1 -1
- package/dist/index239.js +25 -5
- package/dist/index240.cjs +1 -1
- package/dist/index240.js +27 -30
- package/dist/index241.cjs +1 -1
- package/dist/index241.js +73 -18
- package/dist/index242.cjs +1 -1
- package/dist/index242.js +6 -3
- package/dist/index243.cjs +1 -1
- package/dist/index243.js +6 -17
- package/dist/index244.cjs +1 -1
- package/dist/index244.js +32 -5
- package/dist/index245.cjs +1 -1
- package/dist/index245.js +5 -9
- package/dist/index246.cjs +1 -1
- package/dist/index246.js +31 -97
- package/dist/index247.cjs +1 -1
- package/dist/index247.js +106 -59
- package/dist/index248.cjs +1 -1
- package/dist/index248.js +49 -6
- package/dist/index249.cjs +1 -1
- package/dist/index249.js +30 -25
- package/dist/index250.cjs +1 -1
- package/dist/index250.js +8 -34
- package/dist/index251.cjs +1 -1
- package/dist/index251.js +7 -16
- package/dist/index252.cjs +1 -1
- package/dist/index252.js +15 -77
- package/dist/index253.cjs +1 -1
- package/dist/index253.js +23 -2
- package/dist/index254.cjs +1 -1
- package/dist/index254.js +104 -14
- package/dist/index255.cjs +1 -1
- package/dist/index255.js +3 -19
- package/dist/index256.cjs +1 -1
- package/dist/index256.js +5 -17
- package/dist/index257.cjs +1 -1
- package/dist/index257.js +31 -10
- package/dist/index258.cjs +1 -1
- package/dist/index258.js +20 -40
- package/dist/index259.cjs +1 -1
- package/dist/index259.js +3 -79
- package/dist/index260.cjs +1 -1
- package/dist/index260.js +18 -3
- package/dist/index261.cjs +1 -1
- package/dist/index261.js +5 -32
- package/dist/index262.cjs +1 -1
- package/dist/index262.js +8 -115
- package/dist/index263.cjs +1 -1
- package/dist/index263.js +104 -4
- package/dist/index264.cjs +1 -1
- package/dist/index264.js +63 -14
- package/dist/index265.cjs +1 -1
- package/dist/index265.js +6 -11
- package/dist/index266.cjs +1 -1
- package/dist/index266.js +27 -18
- package/dist/index267.cjs +1 -1
- package/dist/index267.js +34 -58
- package/dist/index268.cjs +1 -1
- package/dist/index268.js +16 -20
- package/dist/index269.cjs +1 -1
- package/dist/index269.js +2 -14
- package/dist/index270.cjs +1 -1
- package/dist/index270.js +10 -284
- package/dist/index271.cjs +1 -1
- package/dist/index271.js +12 -572
- package/dist/index272.cjs +1 -1
- package/dist/index272.js +23 -12
- package/dist/index273.cjs +1 -1
- package/dist/index273.js +12 -24
- package/dist/index274.cjs +1 -1
- package/dist/index274.js +9 -12
- package/dist/index275.cjs +1 -1
- package/dist/index275.js +30 -9
- package/dist/index276.cjs +1 -1
- package/dist/index276.js +2 -31
- package/dist/index277.cjs +1 -1
- package/dist/index277.js +48 -2
- package/dist/index278.cjs +1 -1
- package/dist/index278.js +10 -46
- package/dist/index279.cjs +1 -1
- package/dist/index279.js +173 -10
- package/dist/index280.cjs +2 -1
- package/dist/index280.js +71 -154
- package/dist/index281.cjs +1 -2
- package/dist/index281.js +39 -90
- package/dist/index282.cjs +1 -1
- package/dist/index282.js +4 -40
- package/dist/index283.cjs +1 -1
- package/dist/index283.js +163 -4
- package/dist/index284.cjs +1 -1
- package/dist/index284.js +5 -164
- package/dist/index285.cjs +1 -1
- package/dist/index285.js +41 -5
- package/dist/index303.cjs +1 -1
- package/dist/index303.js +1 -1
- package/dist/index306.cjs +1 -1
- package/dist/index306.js +43 -10
- package/dist/index307.cjs +1 -1
- package/dist/index307.js +320 -16
- package/dist/index308.cjs +1 -1
- package/dist/index308.js +604 -21
- package/dist/index309.cjs +1 -1
- package/dist/index309.js +110 -14
- package/dist/index310.cjs +1 -1
- package/dist/index310.js +167 -13
- package/dist/index311.cjs +1 -1
- package/dist/index311.js +300 -13
- package/dist/index312.cjs +1 -1
- package/dist/index312.js +93 -9
- package/dist/index313.cjs +1 -1
- package/dist/index313.js +54 -13
- package/dist/index314.cjs +1 -1
- package/dist/index314.js +51 -23
- package/dist/index315.cjs +1 -1
- package/dist/index315.js +43 -30
- package/dist/index316.cjs +1 -2
- package/dist/index316.js +15 -18
- package/dist/index317.cjs +1 -1
- package/dist/index317.js +317 -14
- package/dist/index318.cjs +1 -1
- package/dist/index318.js +59 -11
- package/dist/index319.cjs +1 -1
- package/dist/index319.js +19 -12
- package/dist/index320.cjs +1 -1
- package/dist/index320.js +27 -31
- package/dist/index321.cjs +1 -1
- package/dist/index321.js +3 -115
- package/dist/index322.cjs +7 -1
- package/dist/index322.js +229 -95
- package/dist/index323.cjs +1 -1
- package/dist/index323.js +48 -7
- package/dist/index324.cjs +1 -1
- package/dist/index324.js +213 -7
- package/dist/index325.cjs +1 -1
- package/dist/index325.js +76 -21
- package/dist/index326.cjs +1 -1
- package/dist/index326.js +28 -15
- package/dist/index327.cjs +1 -1
- package/dist/index327.js +71 -209
- package/dist/index328.cjs +1 -1
- package/dist/index328.js +10 -43
- package/dist/index329.cjs +1 -1
- package/dist/index329.js +16 -320
- package/dist/index330.cjs +1 -1
- package/dist/index330.js +21 -604
- package/dist/index331.cjs +1 -1
- package/dist/index331.js +14 -110
- package/dist/index332.cjs +1 -1
- package/dist/index332.js +13 -167
- package/dist/index333.cjs +1 -1
- package/dist/index333.js +13 -300
- package/dist/index334.cjs +1 -1
- package/dist/index334.js +9 -93
- package/dist/index335.cjs +1 -1
- package/dist/index335.js +13 -54
- package/dist/index336.cjs +1 -1
- package/dist/index336.js +23 -51
- package/dist/index337.cjs +1 -1
- package/dist/index337.js +30 -43
- package/dist/index338.cjs +2 -1
- package/dist/index338.js +18 -15
- package/dist/index339.cjs +1 -1
- package/dist/index339.js +14 -317
- package/dist/index340.cjs +1 -1
- package/dist/index340.js +11 -59
- package/dist/index341.cjs +1 -1
- package/dist/index341.js +12 -19
- package/dist/index342.cjs +1 -1
- package/dist/index342.js +31 -27
- package/dist/index343.cjs +1 -1
- package/dist/index343.js +115 -3
- package/dist/index344.cjs +1 -7
- package/dist/index344.js +95 -229
- package/dist/index345.cjs +1 -1
- package/dist/index345.js +7 -48
- package/dist/index346.cjs +1 -1
- package/dist/index346.js +7 -213
- package/dist/index347.cjs +1 -1
- package/dist/index347.js +21 -76
- package/dist/index348.cjs +1 -1
- package/dist/index348.js +15 -28
- package/dist/index349.cjs +1 -1
- package/dist/index349.js +209 -71
- package/dist/index350.cjs +1 -1
- package/dist/index350.js +2 -2
- package/dist/index351.cjs +1 -1
- package/dist/index351.js +3 -3
- package/dist/index353.cjs +1 -1
- package/dist/index353.js +3 -3
- package/dist/index354.cjs +1 -1
- package/dist/index354.js +1 -1
- package/dist/index355.cjs +1 -1
- package/dist/index355.js +3 -3
- package/dist/index356.cjs +1 -1
- package/dist/index356.js +1 -1
- package/dist/index358.cjs +1 -1
- package/dist/index358.js +1 -1
- package/dist/index359.cjs +1 -1
- package/dist/index359.js +5 -5
- package/dist/index360.cjs +1 -1
- package/dist/index360.js +1 -1
- package/dist/index364.cjs +1 -1
- package/dist/index364.js +91 -137
- package/dist/index365.cjs +1 -1
- package/dist/index365.js +28 -3
- package/dist/index366.cjs +1 -1
- package/dist/index366.js +144 -129
- package/dist/index367.cjs +1 -1
- package/dist/index367.js +350 -74
- package/dist/index368.cjs +1 -1
- package/dist/index368.js +4 -2
- package/dist/index369.cjs +1 -1
- package/dist/index369.js +137 -39
- package/dist/index370.cjs +1 -1
- package/dist/index370.js +71 -655
- package/dist/index371.cjs +1 -1
- package/dist/index371.js +30 -176
- package/dist/index372.cjs +1 -1
- package/dist/index372.js +5 -94
- package/dist/index373.cjs +1 -1
- package/dist/index373.js +273 -26
- package/dist/index374.cjs +1 -1
- package/dist/index374.js +170 -148
- package/dist/index375.cjs +1 -1
- package/dist/index375.js +10 -355
- package/dist/index376.cjs +1 -1
- package/dist/index376.js +104 -70
- package/dist/index377.cjs +1 -1
- package/dist/index377.js +9 -31
- package/dist/index378.cjs +1 -1
- package/dist/index378.js +133 -5
- package/dist/index379.cjs +1 -1
- package/dist/index379.js +75 -272
- package/dist/index38.cjs +1 -1
- package/dist/index38.js +2 -2
- package/dist/index380.cjs +1 -1
- package/dist/index380.js +2 -171
- package/dist/index381.cjs +1 -1
- package/dist/index381.js +43 -10
- package/dist/index382.cjs +1 -1
- package/dist/index382.js +649 -99
- package/dist/index383.cjs +1 -1
- package/dist/index383.js +176 -8
- package/dist/index386.cjs +1 -1
- package/dist/index386.js +106 -59
- package/dist/index387.cjs +1 -1
- package/dist/index387.js +3 -110
- package/dist/index388.cjs +1 -1
- package/dist/index388.js +63 -3
- package/dist/index389.cjs +1 -1
- package/dist/index389.js +2 -2
- 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/index66.cjs +1 -1
- package/dist/index66.js +2 -2
- package/dist/index68.cjs +1 -1
- package/dist/index68.js +3 -3
- package/dist/index69.cjs +1 -1
- package/dist/index69.js +10 -30
- package/dist/index70.cjs +1 -1
- package/dist/index70.js +36 -14
- package/dist/index71.cjs +1 -1
- package/dist/index71.js +41 -12
- package/dist/index72.cjs +1 -1
- package/dist/index72.js +43 -37
- package/dist/index73.cjs +1 -1
- package/dist/index73.js +24 -41
- package/dist/index74.cjs +1 -1
- package/dist/index74.js +53 -41
- package/dist/index75.cjs +1 -1
- package/dist/index75.js +26 -23
- package/dist/index76.cjs +1 -1
- package/dist/index76.js +32 -54
- package/dist/index77.cjs +1 -1
- package/dist/index77.js +14 -27
- package/dist/index79.cjs +1 -1
- package/dist/index79.js +9 -724
- package/dist/index80.cjs +1 -1
- package/dist/index80.js +11 -521
- package/dist/index81.cjs +1 -1
- package/dist/index81.js +18 -12
- package/dist/index82.cjs +1 -1
- package/dist/index82.js +45 -11
- package/dist/index83.cjs +1 -1
- package/dist/index83.js +40 -16
- package/dist/index84.cjs +1 -1
- package/dist/index84.js +166 -40
- package/dist/index85.cjs +1 -1
- package/dist/index85.js +726 -41
- package/dist/index86.cjs +1 -1
- package/dist/index86.js +516 -166
- package/dist/index88.cjs +1 -1
- package/dist/index88.js +1 -1
- package/dist/index89.cjs +1 -1
- package/dist/index89.js +1 -1
- package/dist/index94.cjs +1 -1
- package/dist/index94.js +1 -1
- package/dist/index95.cjs +1 -1
- package/dist/index95.js +3 -3
- package/dist/index97.cjs +1 -1
- package/dist/index97.js +13 -13
- package/dist/index98.cjs +1 -1
- package/dist/index98.js +3 -3
- package/dist/index99.cjs +1 -1
- package/dist/index99.js +3 -3
- package/dist/src/lib/constants/wagmiConfig.d.ts +1 -1
- package/dist/src/lib/store/swapStore.d.ts +1 -1
- package/package.json +5 -5
package/dist/index115.js
CHANGED
|
@@ -1,119 +1,130 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
1
|
+
import { NegativeOffsetError as o, PositionOutOfBoundsError as e, RecursiveReadLimitExceededError as n } from "./index231.js";
|
|
2
|
+
const h = {
|
|
3
|
+
bytes: new Uint8Array(),
|
|
4
|
+
dataView: new DataView(new ArrayBuffer(0)),
|
|
5
|
+
position: 0,
|
|
6
|
+
positionReadCount: /* @__PURE__ */ new Map(),
|
|
7
|
+
recursiveReadCount: 0,
|
|
8
|
+
recursiveReadLimit: Number.POSITIVE_INFINITY,
|
|
9
|
+
assertReadLimit() {
|
|
10
|
+
if (this.recursiveReadCount >= this.recursiveReadLimit)
|
|
11
|
+
throw new n({
|
|
12
|
+
count: this.recursiveReadCount + 1,
|
|
13
|
+
limit: this.recursiveReadLimit
|
|
14
|
+
});
|
|
15
|
+
},
|
|
16
|
+
assertPosition(t) {
|
|
17
|
+
if (t < 0 || t > this.bytes.length - 1)
|
|
18
|
+
throw new e({
|
|
19
|
+
length: this.bytes.length,
|
|
20
|
+
position: t
|
|
21
|
+
});
|
|
22
|
+
},
|
|
23
|
+
decrementPosition(t) {
|
|
24
|
+
if (t < 0)
|
|
25
|
+
throw new o({ offset: t });
|
|
26
|
+
const i = this.position - t;
|
|
27
|
+
this.assertPosition(i), this.position = i;
|
|
28
|
+
},
|
|
29
|
+
getReadCount(t) {
|
|
30
|
+
return this.positionReadCount.get(t || this.position) || 0;
|
|
31
|
+
},
|
|
32
|
+
incrementPosition(t) {
|
|
33
|
+
if (t < 0)
|
|
34
|
+
throw new o({ offset: t });
|
|
35
|
+
const i = this.position + t;
|
|
36
|
+
this.assertPosition(i), this.position = i;
|
|
37
|
+
},
|
|
38
|
+
inspectByte(t) {
|
|
39
|
+
const i = t ?? this.position;
|
|
40
|
+
return this.assertPosition(i), this.bytes[i];
|
|
41
|
+
},
|
|
42
|
+
inspectBytes(t, i) {
|
|
43
|
+
const s = i ?? this.position;
|
|
44
|
+
return this.assertPosition(s + t - 1), this.bytes.subarray(s, s + t);
|
|
45
|
+
},
|
|
46
|
+
inspectUint8(t) {
|
|
47
|
+
const i = t ?? this.position;
|
|
48
|
+
return this.assertPosition(i), this.bytes[i];
|
|
49
|
+
},
|
|
50
|
+
inspectUint16(t) {
|
|
51
|
+
const i = t ?? this.position;
|
|
52
|
+
return this.assertPosition(i + 1), this.dataView.getUint16(i);
|
|
53
|
+
},
|
|
54
|
+
inspectUint24(t) {
|
|
55
|
+
const i = t ?? this.position;
|
|
56
|
+
return this.assertPosition(i + 2), (this.dataView.getUint16(i) << 8) + this.dataView.getUint8(i + 2);
|
|
57
|
+
},
|
|
58
|
+
inspectUint32(t) {
|
|
59
|
+
const i = t ?? this.position;
|
|
60
|
+
return this.assertPosition(i + 3), this.dataView.getUint32(i);
|
|
61
|
+
},
|
|
62
|
+
pushByte(t) {
|
|
63
|
+
this.assertPosition(this.position), this.bytes[this.position] = t, this.position++;
|
|
64
|
+
},
|
|
65
|
+
pushBytes(t) {
|
|
66
|
+
this.assertPosition(this.position + t.length - 1), this.bytes.set(t, this.position), this.position += t.length;
|
|
67
|
+
},
|
|
68
|
+
pushUint8(t) {
|
|
69
|
+
this.assertPosition(this.position), this.bytes[this.position] = t, this.position++;
|
|
70
|
+
},
|
|
71
|
+
pushUint16(t) {
|
|
72
|
+
this.assertPosition(this.position + 1), this.dataView.setUint16(this.position, t), this.position += 2;
|
|
73
|
+
},
|
|
74
|
+
pushUint24(t) {
|
|
75
|
+
this.assertPosition(this.position + 2), this.dataView.setUint16(this.position, t >> 8), this.dataView.setUint8(this.position + 2, t & 255), this.position += 3;
|
|
76
|
+
},
|
|
77
|
+
pushUint32(t) {
|
|
78
|
+
this.assertPosition(this.position + 3), this.dataView.setUint32(this.position, t), this.position += 4;
|
|
79
|
+
},
|
|
80
|
+
readByte() {
|
|
81
|
+
this.assertReadLimit(), this._touch();
|
|
82
|
+
const t = this.inspectByte();
|
|
83
|
+
return this.position++, t;
|
|
84
|
+
},
|
|
85
|
+
readBytes(t, i) {
|
|
86
|
+
this.assertReadLimit(), this._touch();
|
|
87
|
+
const s = this.inspectBytes(t);
|
|
88
|
+
return this.position += i ?? t, s;
|
|
89
|
+
},
|
|
90
|
+
readUint8() {
|
|
91
|
+
this.assertReadLimit(), this._touch();
|
|
92
|
+
const t = this.inspectUint8();
|
|
93
|
+
return this.position += 1, t;
|
|
94
|
+
},
|
|
95
|
+
readUint16() {
|
|
96
|
+
this.assertReadLimit(), this._touch();
|
|
97
|
+
const t = this.inspectUint16();
|
|
98
|
+
return this.position += 2, t;
|
|
99
|
+
},
|
|
100
|
+
readUint24() {
|
|
101
|
+
this.assertReadLimit(), this._touch();
|
|
102
|
+
const t = this.inspectUint24();
|
|
103
|
+
return this.position += 3, t;
|
|
104
|
+
},
|
|
105
|
+
readUint32() {
|
|
106
|
+
this.assertReadLimit(), this._touch();
|
|
107
|
+
const t = this.inspectUint32();
|
|
108
|
+
return this.position += 4, t;
|
|
109
|
+
},
|
|
110
|
+
get remaining() {
|
|
111
|
+
return this.bytes.length - this.position;
|
|
112
|
+
},
|
|
113
|
+
setPosition(t) {
|
|
114
|
+
const i = this.position;
|
|
115
|
+
return this.assertPosition(t), this.position = t, () => this.position = i;
|
|
116
|
+
},
|
|
117
|
+
_touch() {
|
|
118
|
+
if (this.recursiveReadLimit === Number.POSITIVE_INFINITY)
|
|
119
|
+
return;
|
|
120
|
+
const t = this.getReadCount();
|
|
121
|
+
this.positionReadCount.set(this.position, t + 1), t > 0 && this.recursiveReadCount++;
|
|
122
|
+
}
|
|
123
|
+
};
|
|
124
|
+
function a(t, { recursiveReadLimit: i = 8192 } = {}) {
|
|
125
|
+
const s = Object.create(h);
|
|
126
|
+
return s.bytes = t, s.dataView = new DataView(t.buffer ?? t, t.byteOffset, t.byteLength), s.positionReadCount = /* @__PURE__ */ new Map(), s.recursiveReadLimit = i, s;
|
|
116
127
|
}
|
|
117
128
|
export {
|
|
118
|
-
|
|
129
|
+
a as createCursor
|
|
119
130
|
};
|
package/dist/index116.cjs
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const g=require("./index214.cjs"),c=require("./index129.cjs"),i=require("./index113.cjs");function d(a){const e=Object.entries(a).map(([t,r])=>r===void 0||r===!1?null:[t,r]).filter(Boolean),o=e.reduce((t,[r])=>Math.max(t,r.length),0);return e.map(([t,r])=>` ${`${t}:`.padEnd(o+1)} ${r}`).join(`
|
|
2
|
+
`)}class y extends i.BaseError{constructor({v:e}){super(`Invalid \`v\` value "${e}". Expected 27 or 28.`,{name:"InvalidLegacyVError"})}}class b extends i.BaseError{constructor({transaction:e}){super("Cannot infer a transaction type from provided transaction.",{metaMessages:["Provided Transaction:","{",d(e),"}","","To infer the type, either provide:","- a `type` to the Transaction, or","- an EIP-1559 Transaction with `maxFeePerGas`, or","- an EIP-2930 Transaction with `gasPrice` & `accessList`, or","- an EIP-4844 Transaction with `blobs`, `blobVersionedHashes`, `sidecars`, or","- an EIP-7702 Transaction with `authorizationList`, or","- a Legacy Transaction with `gasPrice`"],name:"InvalidSerializableTransactionError"})}}class v extends i.BaseError{constructor({storageKey:e}){super(`Size for storage key "${e}" is invalid. Expected 32 bytes. Got ${Math.floor((e.length-2)/2)} bytes.`,{name:"InvalidStorageKeySizeError"})}}class w extends i.BaseError{constructor(e,{account:o,docsPath:t,chain:r,data:n,gas:s,gasPrice:u,maxFeePerGas:l,maxPriorityFeePerGas:f,nonce:p,to:T,value:m}){var E;const h=d({chain:r&&`${r==null?void 0:r.name} (id: ${r==null?void 0:r.id})`,from:o==null?void 0:o.address,to:T,value:typeof m<"u"&&`${g.formatEther(m)} ${((E=r==null?void 0:r.nativeCurrency)==null?void 0:E.symbol)||"ETH"}`,data:n,gas:s,gasPrice:typeof u<"u"&&`${c.formatGwei(u)} gwei`,maxFeePerGas:typeof l<"u"&&`${c.formatGwei(l)} gwei`,maxPriorityFeePerGas:typeof f<"u"&&`${c.formatGwei(f)} gwei`,nonce:p});super(e.shortMessage,{cause:e,docsPath:t,metaMessages:[...e.metaMessages?[...e.metaMessages," "]:[],"Request Arguments:",h].filter(Boolean),name:"TransactionExecutionError"}),Object.defineProperty(this,"cause",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.cause=e}}class $ extends i.BaseError{constructor({blockHash:e,blockNumber:o,blockTag:t,hash:r,index:n}){let s="Transaction";t&&n!==void 0&&(s=`Transaction at block time "${t}" at index "${n}"`),e&&n!==void 0&&(s=`Transaction at block hash "${e}" at index "${n}"`),o&&n!==void 0&&(s=`Transaction at block number "${o}" at index "${n}"`),r&&(s=`Transaction with hash "${r}"`),super(`${s} could not be found.`,{name:"TransactionNotFoundError"})}}class x extends i.BaseError{constructor({hash:e}){super(`Transaction receipt with hash "${e}" could not be found. The Transaction may not be processed on a block yet.`,{name:"TransactionReceiptNotFoundError"})}}class I extends i.BaseError{constructor({receipt:e}){super(`Transaction with hash "${e.transactionHash}" reverted.`,{metaMessages:['The receipt marked the transaction as "reverted". This could mean that the function on the contract you are trying to call threw an error.'," ","You can attempt to extract the revert reason by:","- calling the `simulateContract` or `simulateCalls` Action with the `abi` and `functionName` of the contract","- using the `call` Action with raw `data`"],name:"TransactionReceiptRevertedError"}),Object.defineProperty(this,"receipt",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.receipt=e}}class P extends i.BaseError{constructor({hash:e}){super(`Timed out while waiting for transaction with hash "${e}" to be confirmed.`,{name:"WaitForTransactionReceiptTimeoutError"})}}exports.InvalidLegacyVError=y;exports.InvalidSerializableTransactionError=b;exports.InvalidStorageKeySizeError=v;exports.TransactionExecutionError=w;exports.TransactionNotFoundError=$;exports.TransactionReceiptNotFoundError=x;exports.TransactionReceiptRevertedError=I;exports.WaitForTransactionReceiptTimeoutError=P;exports.prettyPrint=d;
|
package/dist/index116.js
CHANGED
|
@@ -1,64 +1,123 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
async function K(s, o) {
|
|
14
|
-
const { blockNumber: i, blockTag: f, coinType: a, name: e, gatewayUrls: v, strict: p } = o, { chain: t } = s, A = (() => {
|
|
15
|
-
if (o.universalResolverAddress)
|
|
16
|
-
return o.universalResolverAddress;
|
|
17
|
-
if (!t)
|
|
18
|
-
throw new Error("client chain not configured. universalResolverAddress is required.");
|
|
19
|
-
return w({
|
|
20
|
-
blockNumber: i,
|
|
21
|
-
chain: t,
|
|
22
|
-
contract: "ensUniversalResolver"
|
|
1
|
+
import { formatEther as g } from "./index214.js";
|
|
2
|
+
import { formatGwei as c } from "./index129.js";
|
|
3
|
+
import { BaseError as i } from "./index113.js";
|
|
4
|
+
function p(a) {
|
|
5
|
+
const e = Object.entries(a).map(([r, t]) => t === void 0 || t === !1 ? null : [r, t]).filter(Boolean), n = e.reduce((r, [t]) => Math.max(r, t.length), 0);
|
|
6
|
+
return e.map(([r, t]) => ` ${`${r}:`.padEnd(n + 1)} ${t}`).join(`
|
|
7
|
+
`);
|
|
8
|
+
}
|
|
9
|
+
class v extends i {
|
|
10
|
+
constructor({ v: e }) {
|
|
11
|
+
super(`Invalid \`v\` value "${e}". Expected 27 or 28.`, {
|
|
12
|
+
name: "InvalidLegacyVError"
|
|
23
13
|
});
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
class w extends i {
|
|
17
|
+
constructor({ transaction: e }) {
|
|
18
|
+
super("Cannot infer a transaction type from provided transaction.", {
|
|
19
|
+
metaMessages: [
|
|
20
|
+
"Provided Transaction:",
|
|
21
|
+
"{",
|
|
22
|
+
p(e),
|
|
23
|
+
"}",
|
|
24
|
+
"",
|
|
25
|
+
"To infer the type, either provide:",
|
|
26
|
+
"- a `type` to the Transaction, or",
|
|
27
|
+
"- an EIP-1559 Transaction with `maxFeePerGas`, or",
|
|
28
|
+
"- an EIP-2930 Transaction with `gasPrice` & `accessList`, or",
|
|
29
|
+
"- an EIP-4844 Transaction with `blobs`, `blobVersionedHashes`, `sidecars`, or",
|
|
30
|
+
"- an EIP-7702 Transaction with `authorizationList`, or",
|
|
31
|
+
"- a Legacy Transaction with `gasPrice`"
|
|
41
32
|
],
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
33
|
+
name: "InvalidSerializableTransactionError"
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
class x extends i {
|
|
38
|
+
constructor({ storageKey: e }) {
|
|
39
|
+
super(`Size for storage key "${e}" is invalid. Expected 32 bytes. Got ${Math.floor((e.length - 2) / 2)} bytes.`, { name: "InvalidStorageKeySizeError" });
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
class I extends i {
|
|
43
|
+
constructor(e, { account: n, docsPath: r, chain: t, data: o, gas: s, gasPrice: d, maxFeePerGas: u, maxPriorityFeePerGas: l, nonce: h, to: T, value: m }) {
|
|
44
|
+
var f;
|
|
45
|
+
const E = p({
|
|
46
|
+
chain: t && `${t == null ? void 0 : t.name} (id: ${t == null ? void 0 : t.id})`,
|
|
47
|
+
from: n == null ? void 0 : n.address,
|
|
48
|
+
to: T,
|
|
49
|
+
value: typeof m < "u" && `${g(m)} ${((f = t == null ? void 0 : t.nativeCurrency) == null ? void 0 : f.symbol) || "ETH"}`,
|
|
50
|
+
data: o,
|
|
51
|
+
gas: s,
|
|
52
|
+
gasPrice: typeof d < "u" && `${c(d)} gwei`,
|
|
53
|
+
maxFeePerGas: typeof u < "u" && `${c(u)} gwei`,
|
|
54
|
+
maxPriorityFeePerGas: typeof l < "u" && `${c(l)} gwei`,
|
|
55
|
+
nonce: h
|
|
52
56
|
});
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
57
|
+
super(e.shortMessage, {
|
|
58
|
+
cause: e,
|
|
59
|
+
docsPath: r,
|
|
60
|
+
metaMessages: [
|
|
61
|
+
...e.metaMessages ? [...e.metaMessages, " "] : [],
|
|
62
|
+
"Request Arguments:",
|
|
63
|
+
E
|
|
64
|
+
].filter(Boolean),
|
|
65
|
+
name: "TransactionExecutionError"
|
|
66
|
+
}), Object.defineProperty(this, "cause", {
|
|
67
|
+
enumerable: !0,
|
|
68
|
+
configurable: !0,
|
|
69
|
+
writable: !0,
|
|
70
|
+
value: void 0
|
|
71
|
+
}), this.cause = e;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
class P extends i {
|
|
75
|
+
constructor({ blockHash: e, blockNumber: n, blockTag: r, hash: t, index: o }) {
|
|
76
|
+
let s = "Transaction";
|
|
77
|
+
r && o !== void 0 && (s = `Transaction at block time "${r}" at index "${o}"`), e && o !== void 0 && (s = `Transaction at block hash "${e}" at index "${o}"`), n && o !== void 0 && (s = `Transaction at block number "${n}" at index "${o}"`), t && (s = `Transaction with hash "${t}"`), super(`${s} could not be found.`, {
|
|
78
|
+
name: "TransactionNotFoundError"
|
|
79
|
+
});
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
class R extends i {
|
|
83
|
+
constructor({ hash: e }) {
|
|
84
|
+
super(`Transaction receipt with hash "${e}" could not be found. The Transaction may not be processed on a block yet.`, {
|
|
85
|
+
name: "TransactionReceiptNotFoundError"
|
|
86
|
+
});
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
class M extends i {
|
|
90
|
+
constructor({ receipt: e }) {
|
|
91
|
+
super(`Transaction with hash "${e.transactionHash}" reverted.`, {
|
|
92
|
+
metaMessages: [
|
|
93
|
+
'The receipt marked the transaction as "reverted". This could mean that the function on the contract you are trying to call threw an error.',
|
|
94
|
+
" ",
|
|
95
|
+
"You can attempt to extract the revert reason by:",
|
|
96
|
+
"- calling the `simulateContract` or `simulateCalls` Action with the `abi` and `functionName` of the contract",
|
|
97
|
+
"- using the `call` Action with raw `data`"
|
|
98
|
+
],
|
|
99
|
+
name: "TransactionReceiptRevertedError"
|
|
100
|
+
}), Object.defineProperty(this, "receipt", {
|
|
101
|
+
enumerable: !0,
|
|
102
|
+
configurable: !0,
|
|
103
|
+
writable: !0,
|
|
104
|
+
value: void 0
|
|
105
|
+
}), this.receipt = e;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
class F extends i {
|
|
109
|
+
constructor({ hash: e }) {
|
|
110
|
+
super(`Timed out while waiting for transaction with hash "${e}" to be confirmed.`, { name: "WaitForTransactionReceiptTimeoutError" });
|
|
60
111
|
}
|
|
61
112
|
}
|
|
62
113
|
export {
|
|
63
|
-
|
|
114
|
+
v as InvalidLegacyVError,
|
|
115
|
+
w as InvalidSerializableTransactionError,
|
|
116
|
+
x as InvalidStorageKeySizeError,
|
|
117
|
+
I as TransactionExecutionError,
|
|
118
|
+
P as TransactionNotFoundError,
|
|
119
|
+
R as TransactionReceiptNotFoundError,
|
|
120
|
+
M as TransactionReceiptRevertedError,
|
|
121
|
+
F as WaitForTransactionReceiptTimeoutError,
|
|
122
|
+
p as prettyPrint
|
|
64
123
|
};
|
package/dist/index117.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 n=require("./index82.cjs"),c=require("./index84.cjs");function u(t){if(!t||t.length===0)return[];const e=[];for(const r of t){const{chainId:i,nonce:o,...s}=r,a=r.address;e.push([i?n.toHex(i):"0x",a,o?n.toHex(o):"0x",...c.toYParitySignatureArray({},s)])}return e}exports.serializeAuthorizationList=u;
|
package/dist/index117.js
CHANGED
|
@@ -1,27 +1,20 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
return null;
|
|
16
|
-
try {
|
|
17
|
-
return await m(t, {
|
|
18
|
-
record: r,
|
|
19
|
-
gatewayUrls: n
|
|
20
|
-
});
|
|
21
|
-
} catch {
|
|
22
|
-
return null;
|
|
1
|
+
import { toHex as i } from "./index82.js";
|
|
2
|
+
import { toYParitySignatureArray as c } from "./index84.js";
|
|
3
|
+
function f(r) {
|
|
4
|
+
if (!r || r.length === 0)
|
|
5
|
+
return [];
|
|
6
|
+
const t = [];
|
|
7
|
+
for (const o of r) {
|
|
8
|
+
const { chainId: n, nonce: e, ...s } = o, a = o.address;
|
|
9
|
+
t.push([
|
|
10
|
+
n ? i(n) : "0x",
|
|
11
|
+
a,
|
|
12
|
+
e ? i(e) : "0x",
|
|
13
|
+
...c({}, s)
|
|
14
|
+
]);
|
|
23
15
|
}
|
|
16
|
+
return t;
|
|
24
17
|
}
|
|
25
18
|
export {
|
|
26
|
-
|
|
19
|
+
f as serializeAuthorizationList
|
|
27
20
|
};
|
package/dist/index118.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("./index112.cjs"),l=require("./index82.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/index118.js
CHANGED
|
@@ -1,39 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
const { address: n, blockNumber: o, blockTag: a, coinType: i = 60n, gatewayUrls: c, strict: l } = e, { chain: s } = t, d = (() => {
|
|
9
|
-
if (e.universalResolverAddress)
|
|
10
|
-
return e.universalResolverAddress;
|
|
11
|
-
if (!s)
|
|
12
|
-
throw new Error("client chain not configured. universalResolverAddress is required.");
|
|
13
|
-
return f({
|
|
14
|
-
blockNumber: o,
|
|
15
|
-
chain: s,
|
|
16
|
-
contract: "ensUniversalResolver"
|
|
17
|
-
});
|
|
18
|
-
})();
|
|
19
|
-
try {
|
|
20
|
-
const r = {
|
|
21
|
-
address: d,
|
|
22
|
-
abi: m,
|
|
23
|
-
args: [n, i, c ?? [w]],
|
|
24
|
-
functionName: "reverseWithGateways",
|
|
25
|
-
blockNumber: o,
|
|
26
|
-
blockTag: a
|
|
27
|
-
}, u = A(t, R, "readContract"), [v] = await u(r);
|
|
28
|
-
return v || null;
|
|
29
|
-
} catch (r) {
|
|
30
|
-
if (l)
|
|
31
|
-
throw r;
|
|
32
|
-
if (h(r))
|
|
33
|
-
return null;
|
|
34
|
-
throw r;
|
|
35
|
-
}
|
|
1
|
+
import { hexToBytes as i } from "./index112.js";
|
|
2
|
+
import { bytesToHex as f } from "./index82.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));
|
|
36
8
|
}
|
|
37
9
|
export {
|
|
38
|
-
|
|
10
|
+
y as blobsToCommitments
|
|
39
11
|
};
|
package/dist/index119.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("./index112.cjs"),y=require("./index82.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/index119.js
CHANGED
|
@@ -1,44 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
if (!e)
|
|
11
|
-
throw new Error("client chain not configured. universalResolverAddress is required.");
|
|
12
|
-
return l({
|
|
13
|
-
blockNumber: n,
|
|
14
|
-
chain: e,
|
|
15
|
-
contract: "ensUniversalResolver"
|
|
16
|
-
});
|
|
17
|
-
})(), r = e == null ? void 0 : e.ensTlds;
|
|
18
|
-
if (r && !r.some((c) => o.endsWith(c)))
|
|
19
|
-
throw new Error(`${o} is not a valid ENS TLD (${r == null ? void 0 : r.join(", ")}) for chain "${e.name}" (id: ${e.id}).`);
|
|
20
|
-
const [d] = await f(s, m, "readContract")({
|
|
21
|
-
address: a,
|
|
22
|
-
abi: [
|
|
23
|
-
{
|
|
24
|
-
inputs: [{ type: "bytes" }],
|
|
25
|
-
name: "findResolver",
|
|
26
|
-
outputs: [
|
|
27
|
-
{ type: "address" },
|
|
28
|
-
{ type: "bytes32" },
|
|
29
|
-
{ type: "uint256" }
|
|
30
|
-
],
|
|
31
|
-
stateMutability: "view",
|
|
32
|
-
type: "function"
|
|
33
|
-
}
|
|
34
|
-
],
|
|
35
|
-
functionName: "findResolver",
|
|
36
|
-
args: [u(v(o))],
|
|
37
|
-
blockNumber: n,
|
|
38
|
-
blockTag: i
|
|
39
|
-
});
|
|
40
|
-
return d;
|
|
1
|
+
import { hexToBytes as b } from "./index112.js";
|
|
2
|
+
import { bytesToHex as y } from "./index82.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));
|
|
41
10
|
}
|
|
42
11
|
export {
|
|
43
|
-
|
|
12
|
+
h as blobsToProofs
|
|
44
13
|
};
|