@zoralabs/coins 0.9.0 → 1.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/.turbo/turbo-build.log +179 -114
- package/CHANGELOG.md +46 -0
- package/abis/BaseCoin.json +26 -118
- package/abis/BaseTest.json +47 -0
- package/abis/BuySupplyWithSwapRouterHook.json +40 -0
- package/abis/Coin.json +171 -63
- package/abis/CoinDopplerMultiCurve.json +38 -0
- package/abis/CoinRewardsV4.json +54 -0
- package/abis/CoinTest.json +53 -20
- package/abis/CoinUniV4Test.json +1091 -0
- package/abis/CoinV4.json +234 -211
- package/abis/DeployScript.json +47 -0
- package/abis/DeployedCoinVersionLookup.json +21 -0
- package/abis/DeployedCoinVersionLookupTest.json +716 -0
- package/abis/DifferentNamespaceVersionLookup.json +39 -0
- package/abis/DopplerUniswapV3Test.json +49 -93
- package/abis/ERC20.json +310 -0
- package/abis/FactoryTest.json +85 -7
- package/abis/FeeEstimatorHook.json +1515 -0
- package/abis/HooksDeployment.json +23 -0
- package/abis/HooksTest.json +60 -0
- package/abis/ICoin.json +40 -71
- package/abis/ICoinV3.json +879 -0
- package/abis/ICoinV4.json +915 -0
- package/abis/IDeployedCoinVersionLookup.json +21 -0
- package/abis/IERC721.json +36 -36
- package/abis/IHasPoolKey.json +42 -0
- package/abis/IHasRewardsRecipients.json +54 -0
- package/abis/IHasSwapPath.json +60 -0
- package/abis/IMsgSender.json +15 -0
- package/abis/IPoolConfigEncoding.json +46 -0
- package/abis/ISwapPathRouter.json +92 -0
- package/abis/IUniversalRouter.json +61 -0
- package/abis/IUnlockCallback.json +21 -0
- package/abis/IV4Quoter.json +310 -0
- package/abis/IZoraFactory.json +210 -11
- package/abis/IZoraV4CoinHook.json +348 -4
- package/abis/MockERC20.json +21 -0
- package/abis/MultiOwnableTest.json +47 -0
- package/abis/{CoinConfigurationVersions.json → Position.json} +1 -1
- package/abis/PrintUpgradeCommand.json +9 -0
- package/abis/ProxyShim.json +24 -0
- package/abis/StateLibrary.json +80 -0
- package/abis/TestDeployedCoinVersionLookupImplementation.json +39 -0
- package/abis/TestV4Swap.json +9 -0
- package/abis/UpgradeCoinImpl.json +47 -0
- package/abis/UpgradesTest.json +81 -0
- package/abis/Vm.json +1482 -111
- package/abis/VmSafe.json +856 -32
- package/abis/ZoraFactoryImpl.json +339 -1
- package/abis/ZoraV4CoinHook.json +442 -5
- package/addresses/8453.json +7 -4
- package/addresses/84532.json +8 -5
- package/addresses/dev/8453.json +10 -0
- package/dist/index.cjs +1932 -167
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1928 -167
- package/dist/index.js.map +1 -1
- package/dist/wagmiGenerated.d.ts +2606 -160
- package/dist/wagmiGenerated.d.ts.map +1 -1
- package/foundry.toml +1 -0
- package/package/wagmiGenerated.ts +1941 -164
- package/package.json +8 -3
- package/remappings.txt +6 -1
- package/script/Deploy.s.sol +1 -1
- package/script/DeployDevFactory.s.sol +21 -0
- package/script/DeployHooks.s.sol +1 -1
- package/script/PrintUpgradeCommand.s.sol +13 -0
- package/script/Simulate.s.sol +1 -10
- package/script/TestBackingCoinSwap.s.sol +147 -0
- package/script/TestV4Swap.s.sol +136 -0
- package/script/UpgradeCoinImpl.sol +2 -2
- package/script/UpgradeFactoryImpl.s.sol +2 -2
- package/src/BaseCoin.sol +190 -0
- package/src/Coin.sol +87 -202
- package/src/CoinV4.sol +121 -0
- package/src/ZoraFactoryImpl.sol +208 -36
- package/{script → src/deployment}/CoinsDeployerBase.sol +111 -17
- package/src/hooks/ZoraV4CoinHook.sol +212 -0
- package/src/hooks/{BaseCoinDeployHook.sol → deployment/BaseCoinDeployHook.sol} +3 -3
- package/src/hooks/deployment/BuySupplyWithSwapRouterHook.sol +140 -0
- package/src/interfaces/ICoin.sol +31 -39
- package/src/interfaces/ICoinV3.sol +71 -0
- package/src/interfaces/ICoinV4.sol +69 -0
- package/src/interfaces/IDeployedCoinVersionLookup.sol +11 -0
- package/src/interfaces/IMsgSender.sol +9 -0
- package/src/interfaces/IPoolConfigEncoding.sol +14 -0
- package/src/interfaces/ISwapPathRouter.sol +14 -0
- package/src/interfaces/IZoraFactory.sol +67 -28
- package/src/interfaces/IZoraV4CoinHook.sol +116 -0
- package/src/libs/CoinCommon.sol +15 -0
- package/src/libs/CoinConfigurationVersions.sol +116 -1
- package/src/libs/CoinConstants.sol +5 -0
- package/src/libs/CoinDopplerMultiCurve.sol +134 -0
- package/src/libs/CoinDopplerUniV3.sol +19 -171
- package/src/libs/CoinRewards.sol +195 -0
- package/src/libs/CoinRewardsV4.sol +179 -0
- package/src/libs/CoinSetup.sol +57 -0
- package/src/libs/CoinSetupV3.sol +6 -67
- package/src/libs/DopplerMath.sol +156 -0
- package/src/libs/HooksDeployment.sol +128 -0
- package/src/libs/MarketConstants.sol +4 -0
- package/src/libs/PoolStateReader.sol +22 -0
- package/src/libs/UniV3BuySell.sol +74 -292
- package/src/libs/UniV4SwapHelper.sol +65 -0
- package/src/libs/UniV4SwapToCurrency.sol +109 -0
- package/src/libs/V4Liquidity.sol +122 -0
- package/src/types/PoolConfiguration.sol +15 -0
- package/src/utils/DeployedCoinVersionLookup.sol +52 -0
- package/src/version/ContractVersionBase.sol +1 -1
- package/test/Coin.t.sol +78 -88
- package/test/CoinDopplerUniV3.t.sol +32 -171
- package/test/CoinUniV4.t.sol +777 -0
- package/test/{Hooks.t.sol → DeploymentHooks.t.sol} +53 -16
- package/test/Factory.t.sol +80 -47
- package/test/MultiOwnable.t.sol +6 -3
- package/test/Upgrades.t.sol +97 -5
- package/test/mocks/MockERC20.sol +12 -0
- package/test/utils/BaseTest.sol +162 -57
- package/test/utils/DeployedCoinVersionLookup.t.sol +127 -0
- package/test/utils/FeeEstimatorHook.sol +84 -0
- package/test/utils/ProxyShim.sol +17 -0
- package/wagmi.config.ts +4 -0
- package/.env +0 -1
- package/.turbo/turbo-update-contract-version.log +0 -22
- package/abis/CoinSetupV3.json +0 -7
- package/abis/HookDeployer.json +0 -68
- package/abis/IHookDeployer.json +0 -42
- package/src/hooks/BuySupplyWithSwapRouterHook.sol +0 -78
- package/src/libs/CoinLegacy.sol +0 -48
- package/src/libs/CoinLegacyMarket.sol +0 -182
package/abis/VmSafe.json
CHANGED
|
@@ -2653,6 +2653,13 @@
|
|
|
2653
2653
|
"outputs": [],
|
|
2654
2654
|
"stateMutability": "pure"
|
|
2655
2655
|
},
|
|
2656
|
+
{
|
|
2657
|
+
"type": "function",
|
|
2658
|
+
"name": "assumeNoRevert",
|
|
2659
|
+
"inputs": [],
|
|
2660
|
+
"outputs": [],
|
|
2661
|
+
"stateMutability": "pure"
|
|
2662
|
+
},
|
|
2656
2663
|
{
|
|
2657
2664
|
"type": "function",
|
|
2658
2665
|
"name": "breakpoint",
|
|
@@ -2664,7 +2671,7 @@
|
|
|
2664
2671
|
}
|
|
2665
2672
|
],
|
|
2666
2673
|
"outputs": [],
|
|
2667
|
-
"stateMutability": "
|
|
2674
|
+
"stateMutability": "pure"
|
|
2668
2675
|
},
|
|
2669
2676
|
{
|
|
2670
2677
|
"type": "function",
|
|
@@ -2682,7 +2689,7 @@
|
|
|
2682
2689
|
}
|
|
2683
2690
|
],
|
|
2684
2691
|
"outputs": [],
|
|
2685
|
-
"stateMutability": "
|
|
2692
|
+
"stateMutability": "pure"
|
|
2686
2693
|
},
|
|
2687
2694
|
{
|
|
2688
2695
|
"type": "function",
|
|
@@ -2717,6 +2724,19 @@
|
|
|
2717
2724
|
"outputs": [],
|
|
2718
2725
|
"stateMutability": "nonpayable"
|
|
2719
2726
|
},
|
|
2727
|
+
{
|
|
2728
|
+
"type": "function",
|
|
2729
|
+
"name": "broadcastRawTransaction",
|
|
2730
|
+
"inputs": [
|
|
2731
|
+
{
|
|
2732
|
+
"name": "data",
|
|
2733
|
+
"type": "bytes",
|
|
2734
|
+
"internalType": "bytes"
|
|
2735
|
+
}
|
|
2736
|
+
],
|
|
2737
|
+
"outputs": [],
|
|
2738
|
+
"stateMutability": "nonpayable"
|
|
2739
|
+
},
|
|
2720
2740
|
{
|
|
2721
2741
|
"type": "function",
|
|
2722
2742
|
"name": "closeFile",
|
|
@@ -2831,6 +2851,24 @@
|
|
|
2831
2851
|
],
|
|
2832
2852
|
"stateMutability": "nonpayable"
|
|
2833
2853
|
},
|
|
2854
|
+
{
|
|
2855
|
+
"type": "function",
|
|
2856
|
+
"name": "copyStorage",
|
|
2857
|
+
"inputs": [
|
|
2858
|
+
{
|
|
2859
|
+
"name": "from",
|
|
2860
|
+
"type": "address",
|
|
2861
|
+
"internalType": "address"
|
|
2862
|
+
},
|
|
2863
|
+
{
|
|
2864
|
+
"name": "to",
|
|
2865
|
+
"type": "address",
|
|
2866
|
+
"internalType": "address"
|
|
2867
|
+
}
|
|
2868
|
+
],
|
|
2869
|
+
"outputs": [],
|
|
2870
|
+
"stateMutability": "nonpayable"
|
|
2871
|
+
},
|
|
2834
2872
|
{
|
|
2835
2873
|
"type": "function",
|
|
2836
2874
|
"name": "createDir",
|
|
@@ -2977,6 +3015,49 @@
|
|
|
2977
3015
|
],
|
|
2978
3016
|
"stateMutability": "nonpayable"
|
|
2979
3017
|
},
|
|
3018
|
+
{
|
|
3019
|
+
"type": "function",
|
|
3020
|
+
"name": "deployCode",
|
|
3021
|
+
"inputs": [
|
|
3022
|
+
{
|
|
3023
|
+
"name": "artifactPath",
|
|
3024
|
+
"type": "string",
|
|
3025
|
+
"internalType": "string"
|
|
3026
|
+
},
|
|
3027
|
+
{
|
|
3028
|
+
"name": "constructorArgs",
|
|
3029
|
+
"type": "bytes",
|
|
3030
|
+
"internalType": "bytes"
|
|
3031
|
+
}
|
|
3032
|
+
],
|
|
3033
|
+
"outputs": [
|
|
3034
|
+
{
|
|
3035
|
+
"name": "deployedAddress",
|
|
3036
|
+
"type": "address",
|
|
3037
|
+
"internalType": "address"
|
|
3038
|
+
}
|
|
3039
|
+
],
|
|
3040
|
+
"stateMutability": "nonpayable"
|
|
3041
|
+
},
|
|
3042
|
+
{
|
|
3043
|
+
"type": "function",
|
|
3044
|
+
"name": "deployCode",
|
|
3045
|
+
"inputs": [
|
|
3046
|
+
{
|
|
3047
|
+
"name": "artifactPath",
|
|
3048
|
+
"type": "string",
|
|
3049
|
+
"internalType": "string"
|
|
3050
|
+
}
|
|
3051
|
+
],
|
|
3052
|
+
"outputs": [
|
|
3053
|
+
{
|
|
3054
|
+
"name": "deployedAddress",
|
|
3055
|
+
"type": "address",
|
|
3056
|
+
"internalType": "address"
|
|
3057
|
+
}
|
|
3058
|
+
],
|
|
3059
|
+
"stateMutability": "nonpayable"
|
|
3060
|
+
},
|
|
2980
3061
|
{
|
|
2981
3062
|
"type": "function",
|
|
2982
3063
|
"name": "deriveKey",
|
|
@@ -3978,6 +4059,44 @@
|
|
|
3978
4059
|
],
|
|
3979
4060
|
"stateMutability": "view"
|
|
3980
4061
|
},
|
|
4062
|
+
{
|
|
4063
|
+
"type": "function",
|
|
4064
|
+
"name": "getArtifactPathByCode",
|
|
4065
|
+
"inputs": [
|
|
4066
|
+
{
|
|
4067
|
+
"name": "code",
|
|
4068
|
+
"type": "bytes",
|
|
4069
|
+
"internalType": "bytes"
|
|
4070
|
+
}
|
|
4071
|
+
],
|
|
4072
|
+
"outputs": [
|
|
4073
|
+
{
|
|
4074
|
+
"name": "path",
|
|
4075
|
+
"type": "string",
|
|
4076
|
+
"internalType": "string"
|
|
4077
|
+
}
|
|
4078
|
+
],
|
|
4079
|
+
"stateMutability": "view"
|
|
4080
|
+
},
|
|
4081
|
+
{
|
|
4082
|
+
"type": "function",
|
|
4083
|
+
"name": "getArtifactPathByDeployedCode",
|
|
4084
|
+
"inputs": [
|
|
4085
|
+
{
|
|
4086
|
+
"name": "deployedCode",
|
|
4087
|
+
"type": "bytes",
|
|
4088
|
+
"internalType": "bytes"
|
|
4089
|
+
}
|
|
4090
|
+
],
|
|
4091
|
+
"outputs": [
|
|
4092
|
+
{
|
|
4093
|
+
"name": "path",
|
|
4094
|
+
"type": "string",
|
|
4095
|
+
"internalType": "string"
|
|
4096
|
+
}
|
|
4097
|
+
],
|
|
4098
|
+
"stateMutability": "view"
|
|
4099
|
+
},
|
|
3981
4100
|
{
|
|
3982
4101
|
"type": "function",
|
|
3983
4102
|
"name": "getBlobBaseFee",
|
|
@@ -4055,6 +4174,19 @@
|
|
|
4055
4174
|
],
|
|
4056
4175
|
"stateMutability": "view"
|
|
4057
4176
|
},
|
|
4177
|
+
{
|
|
4178
|
+
"type": "function",
|
|
4179
|
+
"name": "getFoundryVersion",
|
|
4180
|
+
"inputs": [],
|
|
4181
|
+
"outputs": [
|
|
4182
|
+
{
|
|
4183
|
+
"name": "version",
|
|
4184
|
+
"type": "string",
|
|
4185
|
+
"internalType": "string"
|
|
4186
|
+
}
|
|
4187
|
+
],
|
|
4188
|
+
"stateMutability": "view"
|
|
4189
|
+
},
|
|
4058
4190
|
{
|
|
4059
4191
|
"type": "function",
|
|
4060
4192
|
"name": "getLabel",
|
|
@@ -4251,6 +4383,32 @@
|
|
|
4251
4383
|
],
|
|
4252
4384
|
"stateMutability": "nonpayable"
|
|
4253
4385
|
},
|
|
4386
|
+
{
|
|
4387
|
+
"type": "function",
|
|
4388
|
+
"name": "getScriptWallets",
|
|
4389
|
+
"inputs": [],
|
|
4390
|
+
"outputs": [
|
|
4391
|
+
{
|
|
4392
|
+
"name": "wallets",
|
|
4393
|
+
"type": "address[]",
|
|
4394
|
+
"internalType": "address[]"
|
|
4395
|
+
}
|
|
4396
|
+
],
|
|
4397
|
+
"stateMutability": "nonpayable"
|
|
4398
|
+
},
|
|
4399
|
+
{
|
|
4400
|
+
"type": "function",
|
|
4401
|
+
"name": "getWallets",
|
|
4402
|
+
"inputs": [],
|
|
4403
|
+
"outputs": [
|
|
4404
|
+
{
|
|
4405
|
+
"name": "wallets",
|
|
4406
|
+
"type": "address[]",
|
|
4407
|
+
"internalType": "address[]"
|
|
4408
|
+
}
|
|
4409
|
+
],
|
|
4410
|
+
"stateMutability": "nonpayable"
|
|
4411
|
+
},
|
|
4254
4412
|
{
|
|
4255
4413
|
"type": "function",
|
|
4256
4414
|
"name": "indexOf",
|
|
@@ -4936,6 +5094,88 @@
|
|
|
4936
5094
|
],
|
|
4937
5095
|
"stateMutability": "pure"
|
|
4938
5096
|
},
|
|
5097
|
+
{
|
|
5098
|
+
"type": "function",
|
|
5099
|
+
"name": "parseJsonType",
|
|
5100
|
+
"inputs": [
|
|
5101
|
+
{
|
|
5102
|
+
"name": "json",
|
|
5103
|
+
"type": "string",
|
|
5104
|
+
"internalType": "string"
|
|
5105
|
+
},
|
|
5106
|
+
{
|
|
5107
|
+
"name": "typeDescription",
|
|
5108
|
+
"type": "string",
|
|
5109
|
+
"internalType": "string"
|
|
5110
|
+
}
|
|
5111
|
+
],
|
|
5112
|
+
"outputs": [
|
|
5113
|
+
{
|
|
5114
|
+
"name": "",
|
|
5115
|
+
"type": "bytes",
|
|
5116
|
+
"internalType": "bytes"
|
|
5117
|
+
}
|
|
5118
|
+
],
|
|
5119
|
+
"stateMutability": "pure"
|
|
5120
|
+
},
|
|
5121
|
+
{
|
|
5122
|
+
"type": "function",
|
|
5123
|
+
"name": "parseJsonType",
|
|
5124
|
+
"inputs": [
|
|
5125
|
+
{
|
|
5126
|
+
"name": "json",
|
|
5127
|
+
"type": "string",
|
|
5128
|
+
"internalType": "string"
|
|
5129
|
+
},
|
|
5130
|
+
{
|
|
5131
|
+
"name": "key",
|
|
5132
|
+
"type": "string",
|
|
5133
|
+
"internalType": "string"
|
|
5134
|
+
},
|
|
5135
|
+
{
|
|
5136
|
+
"name": "typeDescription",
|
|
5137
|
+
"type": "string",
|
|
5138
|
+
"internalType": "string"
|
|
5139
|
+
}
|
|
5140
|
+
],
|
|
5141
|
+
"outputs": [
|
|
5142
|
+
{
|
|
5143
|
+
"name": "",
|
|
5144
|
+
"type": "bytes",
|
|
5145
|
+
"internalType": "bytes"
|
|
5146
|
+
}
|
|
5147
|
+
],
|
|
5148
|
+
"stateMutability": "pure"
|
|
5149
|
+
},
|
|
5150
|
+
{
|
|
5151
|
+
"type": "function",
|
|
5152
|
+
"name": "parseJsonTypeArray",
|
|
5153
|
+
"inputs": [
|
|
5154
|
+
{
|
|
5155
|
+
"name": "json",
|
|
5156
|
+
"type": "string",
|
|
5157
|
+
"internalType": "string"
|
|
5158
|
+
},
|
|
5159
|
+
{
|
|
5160
|
+
"name": "key",
|
|
5161
|
+
"type": "string",
|
|
5162
|
+
"internalType": "string"
|
|
5163
|
+
},
|
|
5164
|
+
{
|
|
5165
|
+
"name": "typeDescription",
|
|
5166
|
+
"type": "string",
|
|
5167
|
+
"internalType": "string"
|
|
5168
|
+
}
|
|
5169
|
+
],
|
|
5170
|
+
"outputs": [
|
|
5171
|
+
{
|
|
5172
|
+
"name": "",
|
|
5173
|
+
"type": "bytes",
|
|
5174
|
+
"internalType": "bytes"
|
|
5175
|
+
}
|
|
5176
|
+
],
|
|
5177
|
+
"stateMutability": "pure"
|
|
5178
|
+
},
|
|
4939
5179
|
{
|
|
4940
5180
|
"type": "function",
|
|
4941
5181
|
"name": "parseJsonUint",
|
|
@@ -5341,7 +5581,7 @@
|
|
|
5341
5581
|
},
|
|
5342
5582
|
{
|
|
5343
5583
|
"type": "function",
|
|
5344
|
-
"name": "
|
|
5584
|
+
"name": "parseTomlType",
|
|
5345
5585
|
"inputs": [
|
|
5346
5586
|
{
|
|
5347
5587
|
"name": "toml",
|
|
@@ -5349,7 +5589,7 @@
|
|
|
5349
5589
|
"internalType": "string"
|
|
5350
5590
|
},
|
|
5351
5591
|
{
|
|
5352
|
-
"name": "
|
|
5592
|
+
"name": "typeDescription",
|
|
5353
5593
|
"type": "string",
|
|
5354
5594
|
"internalType": "string"
|
|
5355
5595
|
}
|
|
@@ -5357,15 +5597,15 @@
|
|
|
5357
5597
|
"outputs": [
|
|
5358
5598
|
{
|
|
5359
5599
|
"name": "",
|
|
5360
|
-
"type": "
|
|
5361
|
-
"internalType": "
|
|
5600
|
+
"type": "bytes",
|
|
5601
|
+
"internalType": "bytes"
|
|
5362
5602
|
}
|
|
5363
5603
|
],
|
|
5364
5604
|
"stateMutability": "pure"
|
|
5365
5605
|
},
|
|
5366
5606
|
{
|
|
5367
5607
|
"type": "function",
|
|
5368
|
-
"name": "
|
|
5608
|
+
"name": "parseTomlType",
|
|
5369
5609
|
"inputs": [
|
|
5370
5610
|
{
|
|
5371
5611
|
"name": "toml",
|
|
@@ -5376,43 +5616,132 @@
|
|
|
5376
5616
|
"name": "key",
|
|
5377
5617
|
"type": "string",
|
|
5378
5618
|
"internalType": "string"
|
|
5619
|
+
},
|
|
5620
|
+
{
|
|
5621
|
+
"name": "typeDescription",
|
|
5622
|
+
"type": "string",
|
|
5623
|
+
"internalType": "string"
|
|
5379
5624
|
}
|
|
5380
5625
|
],
|
|
5381
5626
|
"outputs": [
|
|
5382
5627
|
{
|
|
5383
5628
|
"name": "",
|
|
5384
|
-
"type": "
|
|
5385
|
-
"internalType": "
|
|
5629
|
+
"type": "bytes",
|
|
5630
|
+
"internalType": "bytes"
|
|
5386
5631
|
}
|
|
5387
5632
|
],
|
|
5388
5633
|
"stateMutability": "pure"
|
|
5389
5634
|
},
|
|
5390
5635
|
{
|
|
5391
5636
|
"type": "function",
|
|
5392
|
-
"name": "
|
|
5637
|
+
"name": "parseTomlTypeArray",
|
|
5393
5638
|
"inputs": [
|
|
5394
5639
|
{
|
|
5395
|
-
"name": "
|
|
5640
|
+
"name": "toml",
|
|
5641
|
+
"type": "string",
|
|
5642
|
+
"internalType": "string"
|
|
5643
|
+
},
|
|
5644
|
+
{
|
|
5645
|
+
"name": "key",
|
|
5646
|
+
"type": "string",
|
|
5647
|
+
"internalType": "string"
|
|
5648
|
+
},
|
|
5649
|
+
{
|
|
5650
|
+
"name": "typeDescription",
|
|
5396
5651
|
"type": "string",
|
|
5397
5652
|
"internalType": "string"
|
|
5398
5653
|
}
|
|
5399
5654
|
],
|
|
5400
5655
|
"outputs": [
|
|
5401
5656
|
{
|
|
5402
|
-
"name": "
|
|
5403
|
-
"type": "
|
|
5404
|
-
"internalType": "
|
|
5657
|
+
"name": "",
|
|
5658
|
+
"type": "bytes",
|
|
5659
|
+
"internalType": "bytes"
|
|
5405
5660
|
}
|
|
5406
5661
|
],
|
|
5407
5662
|
"stateMutability": "pure"
|
|
5408
5663
|
},
|
|
5409
5664
|
{
|
|
5410
5665
|
"type": "function",
|
|
5411
|
-
"name": "
|
|
5412
|
-
"inputs": [
|
|
5413
|
-
|
|
5666
|
+
"name": "parseTomlUint",
|
|
5667
|
+
"inputs": [
|
|
5668
|
+
{
|
|
5669
|
+
"name": "toml",
|
|
5670
|
+
"type": "string",
|
|
5671
|
+
"internalType": "string"
|
|
5672
|
+
},
|
|
5673
|
+
{
|
|
5674
|
+
"name": "key",
|
|
5675
|
+
"type": "string",
|
|
5676
|
+
"internalType": "string"
|
|
5677
|
+
}
|
|
5678
|
+
],
|
|
5679
|
+
"outputs": [
|
|
5680
|
+
{
|
|
5681
|
+
"name": "",
|
|
5682
|
+
"type": "uint256",
|
|
5683
|
+
"internalType": "uint256"
|
|
5684
|
+
}
|
|
5685
|
+
],
|
|
5686
|
+
"stateMutability": "pure"
|
|
5687
|
+
},
|
|
5688
|
+
{
|
|
5689
|
+
"type": "function",
|
|
5690
|
+
"name": "parseTomlUintArray",
|
|
5691
|
+
"inputs": [
|
|
5692
|
+
{
|
|
5693
|
+
"name": "toml",
|
|
5694
|
+
"type": "string",
|
|
5695
|
+
"internalType": "string"
|
|
5696
|
+
},
|
|
5697
|
+
{
|
|
5698
|
+
"name": "key",
|
|
5699
|
+
"type": "string",
|
|
5700
|
+
"internalType": "string"
|
|
5701
|
+
}
|
|
5702
|
+
],
|
|
5703
|
+
"outputs": [
|
|
5704
|
+
{
|
|
5705
|
+
"name": "",
|
|
5706
|
+
"type": "uint256[]",
|
|
5707
|
+
"internalType": "uint256[]"
|
|
5708
|
+
}
|
|
5709
|
+
],
|
|
5710
|
+
"stateMutability": "pure"
|
|
5711
|
+
},
|
|
5712
|
+
{
|
|
5713
|
+
"type": "function",
|
|
5714
|
+
"name": "parseUint",
|
|
5715
|
+
"inputs": [
|
|
5716
|
+
{
|
|
5717
|
+
"name": "stringifiedValue",
|
|
5718
|
+
"type": "string",
|
|
5719
|
+
"internalType": "string"
|
|
5720
|
+
}
|
|
5721
|
+
],
|
|
5722
|
+
"outputs": [
|
|
5723
|
+
{
|
|
5724
|
+
"name": "parsedValue",
|
|
5725
|
+
"type": "uint256",
|
|
5726
|
+
"internalType": "uint256"
|
|
5727
|
+
}
|
|
5728
|
+
],
|
|
5729
|
+
"stateMutability": "pure"
|
|
5730
|
+
},
|
|
5731
|
+
{
|
|
5732
|
+
"type": "function",
|
|
5733
|
+
"name": "pauseGasMetering",
|
|
5734
|
+
"inputs": [],
|
|
5735
|
+
"outputs": [],
|
|
5414
5736
|
"stateMutability": "nonpayable"
|
|
5415
5737
|
},
|
|
5738
|
+
{
|
|
5739
|
+
"type": "function",
|
|
5740
|
+
"name": "pauseTracing",
|
|
5741
|
+
"inputs": [],
|
|
5742
|
+
"outputs": [],
|
|
5743
|
+
"stateMutability": "view"
|
|
5744
|
+
},
|
|
5416
5745
|
{
|
|
5417
5746
|
"type": "function",
|
|
5418
5747
|
"name": "projectRoot",
|
|
@@ -5521,6 +5850,30 @@
|
|
|
5521
5850
|
],
|
|
5522
5851
|
"stateMutability": "nonpayable"
|
|
5523
5852
|
},
|
|
5853
|
+
{
|
|
5854
|
+
"type": "function",
|
|
5855
|
+
"name": "publicKeyP256",
|
|
5856
|
+
"inputs": [
|
|
5857
|
+
{
|
|
5858
|
+
"name": "privateKey",
|
|
5859
|
+
"type": "uint256",
|
|
5860
|
+
"internalType": "uint256"
|
|
5861
|
+
}
|
|
5862
|
+
],
|
|
5863
|
+
"outputs": [
|
|
5864
|
+
{
|
|
5865
|
+
"name": "publicKeyX",
|
|
5866
|
+
"type": "uint256",
|
|
5867
|
+
"internalType": "uint256"
|
|
5868
|
+
},
|
|
5869
|
+
{
|
|
5870
|
+
"name": "publicKeyY",
|
|
5871
|
+
"type": "uint256",
|
|
5872
|
+
"internalType": "uint256"
|
|
5873
|
+
}
|
|
5874
|
+
],
|
|
5875
|
+
"stateMutability": "pure"
|
|
5876
|
+
},
|
|
5524
5877
|
{
|
|
5525
5878
|
"type": "function",
|
|
5526
5879
|
"name": "randomAddress",
|
|
@@ -5534,6 +5887,96 @@
|
|
|
5534
5887
|
],
|
|
5535
5888
|
"stateMutability": "nonpayable"
|
|
5536
5889
|
},
|
|
5890
|
+
{
|
|
5891
|
+
"type": "function",
|
|
5892
|
+
"name": "randomBool",
|
|
5893
|
+
"inputs": [],
|
|
5894
|
+
"outputs": [
|
|
5895
|
+
{
|
|
5896
|
+
"name": "",
|
|
5897
|
+
"type": "bool",
|
|
5898
|
+
"internalType": "bool"
|
|
5899
|
+
}
|
|
5900
|
+
],
|
|
5901
|
+
"stateMutability": "view"
|
|
5902
|
+
},
|
|
5903
|
+
{
|
|
5904
|
+
"type": "function",
|
|
5905
|
+
"name": "randomBytes",
|
|
5906
|
+
"inputs": [
|
|
5907
|
+
{
|
|
5908
|
+
"name": "len",
|
|
5909
|
+
"type": "uint256",
|
|
5910
|
+
"internalType": "uint256"
|
|
5911
|
+
}
|
|
5912
|
+
],
|
|
5913
|
+
"outputs": [
|
|
5914
|
+
{
|
|
5915
|
+
"name": "",
|
|
5916
|
+
"type": "bytes",
|
|
5917
|
+
"internalType": "bytes"
|
|
5918
|
+
}
|
|
5919
|
+
],
|
|
5920
|
+
"stateMutability": "view"
|
|
5921
|
+
},
|
|
5922
|
+
{
|
|
5923
|
+
"type": "function",
|
|
5924
|
+
"name": "randomBytes4",
|
|
5925
|
+
"inputs": [],
|
|
5926
|
+
"outputs": [
|
|
5927
|
+
{
|
|
5928
|
+
"name": "",
|
|
5929
|
+
"type": "bytes4",
|
|
5930
|
+
"internalType": "bytes4"
|
|
5931
|
+
}
|
|
5932
|
+
],
|
|
5933
|
+
"stateMutability": "view"
|
|
5934
|
+
},
|
|
5935
|
+
{
|
|
5936
|
+
"type": "function",
|
|
5937
|
+
"name": "randomBytes8",
|
|
5938
|
+
"inputs": [],
|
|
5939
|
+
"outputs": [
|
|
5940
|
+
{
|
|
5941
|
+
"name": "",
|
|
5942
|
+
"type": "bytes8",
|
|
5943
|
+
"internalType": "bytes8"
|
|
5944
|
+
}
|
|
5945
|
+
],
|
|
5946
|
+
"stateMutability": "view"
|
|
5947
|
+
},
|
|
5948
|
+
{
|
|
5949
|
+
"type": "function",
|
|
5950
|
+
"name": "randomInt",
|
|
5951
|
+
"inputs": [],
|
|
5952
|
+
"outputs": [
|
|
5953
|
+
{
|
|
5954
|
+
"name": "",
|
|
5955
|
+
"type": "int256",
|
|
5956
|
+
"internalType": "int256"
|
|
5957
|
+
}
|
|
5958
|
+
],
|
|
5959
|
+
"stateMutability": "view"
|
|
5960
|
+
},
|
|
5961
|
+
{
|
|
5962
|
+
"type": "function",
|
|
5963
|
+
"name": "randomInt",
|
|
5964
|
+
"inputs": [
|
|
5965
|
+
{
|
|
5966
|
+
"name": "bits",
|
|
5967
|
+
"type": "uint256",
|
|
5968
|
+
"internalType": "uint256"
|
|
5969
|
+
}
|
|
5970
|
+
],
|
|
5971
|
+
"outputs": [
|
|
5972
|
+
{
|
|
5973
|
+
"name": "",
|
|
5974
|
+
"type": "int256",
|
|
5975
|
+
"internalType": "int256"
|
|
5976
|
+
}
|
|
5977
|
+
],
|
|
5978
|
+
"stateMutability": "view"
|
|
5979
|
+
},
|
|
5537
5980
|
{
|
|
5538
5981
|
"type": "function",
|
|
5539
5982
|
"name": "randomUint",
|
|
@@ -5547,6 +5990,25 @@
|
|
|
5547
5990
|
],
|
|
5548
5991
|
"stateMutability": "nonpayable"
|
|
5549
5992
|
},
|
|
5993
|
+
{
|
|
5994
|
+
"type": "function",
|
|
5995
|
+
"name": "randomUint",
|
|
5996
|
+
"inputs": [
|
|
5997
|
+
{
|
|
5998
|
+
"name": "bits",
|
|
5999
|
+
"type": "uint256",
|
|
6000
|
+
"internalType": "uint256"
|
|
6001
|
+
}
|
|
6002
|
+
],
|
|
6003
|
+
"outputs": [
|
|
6004
|
+
{
|
|
6005
|
+
"name": "",
|
|
6006
|
+
"type": "uint256",
|
|
6007
|
+
"internalType": "uint256"
|
|
6008
|
+
}
|
|
6009
|
+
],
|
|
6010
|
+
"stateMutability": "view"
|
|
6011
|
+
},
|
|
5550
6012
|
{
|
|
5551
6013
|
"type": "function",
|
|
5552
6014
|
"name": "randomUint",
|
|
@@ -5833,6 +6295,69 @@
|
|
|
5833
6295
|
],
|
|
5834
6296
|
"stateMutability": "nonpayable"
|
|
5835
6297
|
},
|
|
6298
|
+
{
|
|
6299
|
+
"type": "function",
|
|
6300
|
+
"name": "rememberKeys",
|
|
6301
|
+
"inputs": [
|
|
6302
|
+
{
|
|
6303
|
+
"name": "mnemonic",
|
|
6304
|
+
"type": "string",
|
|
6305
|
+
"internalType": "string"
|
|
6306
|
+
},
|
|
6307
|
+
{
|
|
6308
|
+
"name": "derivationPath",
|
|
6309
|
+
"type": "string",
|
|
6310
|
+
"internalType": "string"
|
|
6311
|
+
},
|
|
6312
|
+
{
|
|
6313
|
+
"name": "count",
|
|
6314
|
+
"type": "uint32",
|
|
6315
|
+
"internalType": "uint32"
|
|
6316
|
+
}
|
|
6317
|
+
],
|
|
6318
|
+
"outputs": [
|
|
6319
|
+
{
|
|
6320
|
+
"name": "keyAddrs",
|
|
6321
|
+
"type": "address[]",
|
|
6322
|
+
"internalType": "address[]"
|
|
6323
|
+
}
|
|
6324
|
+
],
|
|
6325
|
+
"stateMutability": "nonpayable"
|
|
6326
|
+
},
|
|
6327
|
+
{
|
|
6328
|
+
"type": "function",
|
|
6329
|
+
"name": "rememberKeys",
|
|
6330
|
+
"inputs": [
|
|
6331
|
+
{
|
|
6332
|
+
"name": "mnemonic",
|
|
6333
|
+
"type": "string",
|
|
6334
|
+
"internalType": "string"
|
|
6335
|
+
},
|
|
6336
|
+
{
|
|
6337
|
+
"name": "derivationPath",
|
|
6338
|
+
"type": "string",
|
|
6339
|
+
"internalType": "string"
|
|
6340
|
+
},
|
|
6341
|
+
{
|
|
6342
|
+
"name": "language",
|
|
6343
|
+
"type": "string",
|
|
6344
|
+
"internalType": "string"
|
|
6345
|
+
},
|
|
6346
|
+
{
|
|
6347
|
+
"name": "count",
|
|
6348
|
+
"type": "uint32",
|
|
6349
|
+
"internalType": "uint32"
|
|
6350
|
+
}
|
|
6351
|
+
],
|
|
6352
|
+
"outputs": [
|
|
6353
|
+
{
|
|
6354
|
+
"name": "keyAddrs",
|
|
6355
|
+
"type": "address[]",
|
|
6356
|
+
"internalType": "address[]"
|
|
6357
|
+
}
|
|
6358
|
+
],
|
|
6359
|
+
"stateMutability": "nonpayable"
|
|
6360
|
+
},
|
|
5836
6361
|
{
|
|
5837
6362
|
"type": "function",
|
|
5838
6363
|
"name": "removeDir",
|
|
@@ -5862,42 +6387,85 @@
|
|
|
5862
6387
|
}
|
|
5863
6388
|
],
|
|
5864
6389
|
"outputs": [],
|
|
5865
|
-
"stateMutability": "nonpayable"
|
|
6390
|
+
"stateMutability": "nonpayable"
|
|
6391
|
+
},
|
|
6392
|
+
{
|
|
6393
|
+
"type": "function",
|
|
6394
|
+
"name": "replace",
|
|
6395
|
+
"inputs": [
|
|
6396
|
+
{
|
|
6397
|
+
"name": "input",
|
|
6398
|
+
"type": "string",
|
|
6399
|
+
"internalType": "string"
|
|
6400
|
+
},
|
|
6401
|
+
{
|
|
6402
|
+
"name": "from",
|
|
6403
|
+
"type": "string",
|
|
6404
|
+
"internalType": "string"
|
|
6405
|
+
},
|
|
6406
|
+
{
|
|
6407
|
+
"name": "to",
|
|
6408
|
+
"type": "string",
|
|
6409
|
+
"internalType": "string"
|
|
6410
|
+
}
|
|
6411
|
+
],
|
|
6412
|
+
"outputs": [
|
|
6413
|
+
{
|
|
6414
|
+
"name": "output",
|
|
6415
|
+
"type": "string",
|
|
6416
|
+
"internalType": "string"
|
|
6417
|
+
}
|
|
6418
|
+
],
|
|
6419
|
+
"stateMutability": "pure"
|
|
6420
|
+
},
|
|
6421
|
+
{
|
|
6422
|
+
"type": "function",
|
|
6423
|
+
"name": "resetGasMetering",
|
|
6424
|
+
"inputs": [],
|
|
6425
|
+
"outputs": [],
|
|
6426
|
+
"stateMutability": "nonpayable"
|
|
6427
|
+
},
|
|
6428
|
+
{
|
|
6429
|
+
"type": "function",
|
|
6430
|
+
"name": "resumeGasMetering",
|
|
6431
|
+
"inputs": [],
|
|
6432
|
+
"outputs": [],
|
|
6433
|
+
"stateMutability": "nonpayable"
|
|
6434
|
+
},
|
|
6435
|
+
{
|
|
6436
|
+
"type": "function",
|
|
6437
|
+
"name": "resumeTracing",
|
|
6438
|
+
"inputs": [],
|
|
6439
|
+
"outputs": [],
|
|
6440
|
+
"stateMutability": "view"
|
|
5866
6441
|
},
|
|
5867
6442
|
{
|
|
5868
6443
|
"type": "function",
|
|
5869
|
-
"name": "
|
|
6444
|
+
"name": "rpc",
|
|
5870
6445
|
"inputs": [
|
|
5871
6446
|
{
|
|
5872
|
-
"name": "
|
|
6447
|
+
"name": "urlOrAlias",
|
|
5873
6448
|
"type": "string",
|
|
5874
6449
|
"internalType": "string"
|
|
5875
6450
|
},
|
|
5876
6451
|
{
|
|
5877
|
-
"name": "
|
|
6452
|
+
"name": "method",
|
|
5878
6453
|
"type": "string",
|
|
5879
6454
|
"internalType": "string"
|
|
5880
6455
|
},
|
|
5881
6456
|
{
|
|
5882
|
-
"name": "
|
|
6457
|
+
"name": "params",
|
|
5883
6458
|
"type": "string",
|
|
5884
6459
|
"internalType": "string"
|
|
5885
6460
|
}
|
|
5886
6461
|
],
|
|
5887
6462
|
"outputs": [
|
|
5888
6463
|
{
|
|
5889
|
-
"name": "
|
|
5890
|
-
"type": "
|
|
5891
|
-
"internalType": "
|
|
6464
|
+
"name": "data",
|
|
6465
|
+
"type": "bytes",
|
|
6466
|
+
"internalType": "bytes"
|
|
5892
6467
|
}
|
|
5893
6468
|
],
|
|
5894
|
-
"stateMutability": "pure"
|
|
5895
|
-
},
|
|
5896
|
-
{
|
|
5897
|
-
"type": "function",
|
|
5898
|
-
"name": "resumeGasMetering",
|
|
5899
|
-
"inputs": [],
|
|
5900
|
-
"outputs": [],
|
|
5901
6469
|
"stateMutability": "nonpayable"
|
|
5902
6470
|
},
|
|
5903
6471
|
{
|
|
@@ -6295,6 +6863,64 @@
|
|
|
6295
6863
|
],
|
|
6296
6864
|
"stateMutability": "nonpayable"
|
|
6297
6865
|
},
|
|
6866
|
+
{
|
|
6867
|
+
"type": "function",
|
|
6868
|
+
"name": "serializeJsonType",
|
|
6869
|
+
"inputs": [
|
|
6870
|
+
{
|
|
6871
|
+
"name": "typeDescription",
|
|
6872
|
+
"type": "string",
|
|
6873
|
+
"internalType": "string"
|
|
6874
|
+
},
|
|
6875
|
+
{
|
|
6876
|
+
"name": "value",
|
|
6877
|
+
"type": "bytes",
|
|
6878
|
+
"internalType": "bytes"
|
|
6879
|
+
}
|
|
6880
|
+
],
|
|
6881
|
+
"outputs": [
|
|
6882
|
+
{
|
|
6883
|
+
"name": "json",
|
|
6884
|
+
"type": "string",
|
|
6885
|
+
"internalType": "string"
|
|
6886
|
+
}
|
|
6887
|
+
],
|
|
6888
|
+
"stateMutability": "pure"
|
|
6889
|
+
},
|
|
6890
|
+
{
|
|
6891
|
+
"type": "function",
|
|
6892
|
+
"name": "serializeJsonType",
|
|
6893
|
+
"inputs": [
|
|
6894
|
+
{
|
|
6895
|
+
"name": "objectKey",
|
|
6896
|
+
"type": "string",
|
|
6897
|
+
"internalType": "string"
|
|
6898
|
+
},
|
|
6899
|
+
{
|
|
6900
|
+
"name": "valueKey",
|
|
6901
|
+
"type": "string",
|
|
6902
|
+
"internalType": "string"
|
|
6903
|
+
},
|
|
6904
|
+
{
|
|
6905
|
+
"name": "typeDescription",
|
|
6906
|
+
"type": "string",
|
|
6907
|
+
"internalType": "string"
|
|
6908
|
+
},
|
|
6909
|
+
{
|
|
6910
|
+
"name": "value",
|
|
6911
|
+
"type": "bytes",
|
|
6912
|
+
"internalType": "bytes"
|
|
6913
|
+
}
|
|
6914
|
+
],
|
|
6915
|
+
"outputs": [
|
|
6916
|
+
{
|
|
6917
|
+
"name": "json",
|
|
6918
|
+
"type": "string",
|
|
6919
|
+
"internalType": "string"
|
|
6920
|
+
}
|
|
6921
|
+
],
|
|
6922
|
+
"stateMutability": "nonpayable"
|
|
6923
|
+
},
|
|
6298
6924
|
{
|
|
6299
6925
|
"type": "function",
|
|
6300
6926
|
"name": "serializeString",
|
|
@@ -6440,6 +7066,19 @@
|
|
|
6440
7066
|
],
|
|
6441
7067
|
"stateMutability": "nonpayable"
|
|
6442
7068
|
},
|
|
7069
|
+
{
|
|
7070
|
+
"type": "function",
|
|
7071
|
+
"name": "setArbitraryStorage",
|
|
7072
|
+
"inputs": [
|
|
7073
|
+
{
|
|
7074
|
+
"name": "target",
|
|
7075
|
+
"type": "address",
|
|
7076
|
+
"internalType": "address"
|
|
7077
|
+
}
|
|
7078
|
+
],
|
|
7079
|
+
"outputs": [],
|
|
7080
|
+
"stateMutability": "nonpayable"
|
|
7081
|
+
},
|
|
6443
7082
|
{
|
|
6444
7083
|
"type": "function",
|
|
6445
7084
|
"name": "setEnv",
|
|
@@ -6611,6 +7250,139 @@
|
|
|
6611
7250
|
],
|
|
6612
7251
|
"stateMutability": "pure"
|
|
6613
7252
|
},
|
|
7253
|
+
{
|
|
7254
|
+
"type": "function",
|
|
7255
|
+
"name": "signCompact",
|
|
7256
|
+
"inputs": [
|
|
7257
|
+
{
|
|
7258
|
+
"name": "wallet",
|
|
7259
|
+
"type": "tuple",
|
|
7260
|
+
"internalType": "struct VmSafe.Wallet",
|
|
7261
|
+
"components": [
|
|
7262
|
+
{
|
|
7263
|
+
"name": "addr",
|
|
7264
|
+
"type": "address",
|
|
7265
|
+
"internalType": "address"
|
|
7266
|
+
},
|
|
7267
|
+
{
|
|
7268
|
+
"name": "publicKeyX",
|
|
7269
|
+
"type": "uint256",
|
|
7270
|
+
"internalType": "uint256"
|
|
7271
|
+
},
|
|
7272
|
+
{
|
|
7273
|
+
"name": "publicKeyY",
|
|
7274
|
+
"type": "uint256",
|
|
7275
|
+
"internalType": "uint256"
|
|
7276
|
+
},
|
|
7277
|
+
{
|
|
7278
|
+
"name": "privateKey",
|
|
7279
|
+
"type": "uint256",
|
|
7280
|
+
"internalType": "uint256"
|
|
7281
|
+
}
|
|
7282
|
+
]
|
|
7283
|
+
},
|
|
7284
|
+
{
|
|
7285
|
+
"name": "digest",
|
|
7286
|
+
"type": "bytes32",
|
|
7287
|
+
"internalType": "bytes32"
|
|
7288
|
+
}
|
|
7289
|
+
],
|
|
7290
|
+
"outputs": [
|
|
7291
|
+
{
|
|
7292
|
+
"name": "r",
|
|
7293
|
+
"type": "bytes32",
|
|
7294
|
+
"internalType": "bytes32"
|
|
7295
|
+
},
|
|
7296
|
+
{
|
|
7297
|
+
"name": "vs",
|
|
7298
|
+
"type": "bytes32",
|
|
7299
|
+
"internalType": "bytes32"
|
|
7300
|
+
}
|
|
7301
|
+
],
|
|
7302
|
+
"stateMutability": "nonpayable"
|
|
7303
|
+
},
|
|
7304
|
+
{
|
|
7305
|
+
"type": "function",
|
|
7306
|
+
"name": "signCompact",
|
|
7307
|
+
"inputs": [
|
|
7308
|
+
{
|
|
7309
|
+
"name": "signer",
|
|
7310
|
+
"type": "address",
|
|
7311
|
+
"internalType": "address"
|
|
7312
|
+
},
|
|
7313
|
+
{
|
|
7314
|
+
"name": "digest",
|
|
7315
|
+
"type": "bytes32",
|
|
7316
|
+
"internalType": "bytes32"
|
|
7317
|
+
}
|
|
7318
|
+
],
|
|
7319
|
+
"outputs": [
|
|
7320
|
+
{
|
|
7321
|
+
"name": "r",
|
|
7322
|
+
"type": "bytes32",
|
|
7323
|
+
"internalType": "bytes32"
|
|
7324
|
+
},
|
|
7325
|
+
{
|
|
7326
|
+
"name": "vs",
|
|
7327
|
+
"type": "bytes32",
|
|
7328
|
+
"internalType": "bytes32"
|
|
7329
|
+
}
|
|
7330
|
+
],
|
|
7331
|
+
"stateMutability": "pure"
|
|
7332
|
+
},
|
|
7333
|
+
{
|
|
7334
|
+
"type": "function",
|
|
7335
|
+
"name": "signCompact",
|
|
7336
|
+
"inputs": [
|
|
7337
|
+
{
|
|
7338
|
+
"name": "digest",
|
|
7339
|
+
"type": "bytes32",
|
|
7340
|
+
"internalType": "bytes32"
|
|
7341
|
+
}
|
|
7342
|
+
],
|
|
7343
|
+
"outputs": [
|
|
7344
|
+
{
|
|
7345
|
+
"name": "r",
|
|
7346
|
+
"type": "bytes32",
|
|
7347
|
+
"internalType": "bytes32"
|
|
7348
|
+
},
|
|
7349
|
+
{
|
|
7350
|
+
"name": "vs",
|
|
7351
|
+
"type": "bytes32",
|
|
7352
|
+
"internalType": "bytes32"
|
|
7353
|
+
}
|
|
7354
|
+
],
|
|
7355
|
+
"stateMutability": "pure"
|
|
7356
|
+
},
|
|
7357
|
+
{
|
|
7358
|
+
"type": "function",
|
|
7359
|
+
"name": "signCompact",
|
|
7360
|
+
"inputs": [
|
|
7361
|
+
{
|
|
7362
|
+
"name": "privateKey",
|
|
7363
|
+
"type": "uint256",
|
|
7364
|
+
"internalType": "uint256"
|
|
7365
|
+
},
|
|
7366
|
+
{
|
|
7367
|
+
"name": "digest",
|
|
7368
|
+
"type": "bytes32",
|
|
7369
|
+
"internalType": "bytes32"
|
|
7370
|
+
}
|
|
7371
|
+
],
|
|
7372
|
+
"outputs": [
|
|
7373
|
+
{
|
|
7374
|
+
"name": "r",
|
|
7375
|
+
"type": "bytes32",
|
|
7376
|
+
"internalType": "bytes32"
|
|
7377
|
+
},
|
|
7378
|
+
{
|
|
7379
|
+
"name": "vs",
|
|
7380
|
+
"type": "bytes32",
|
|
7381
|
+
"internalType": "bytes32"
|
|
7382
|
+
}
|
|
7383
|
+
],
|
|
7384
|
+
"stateMutability": "pure"
|
|
7385
|
+
},
|
|
6614
7386
|
{
|
|
6615
7387
|
"type": "function",
|
|
6616
7388
|
"name": "signP256",
|
|
@@ -6710,6 +7482,13 @@
|
|
|
6710
7482
|
"outputs": [],
|
|
6711
7483
|
"stateMutability": "nonpayable"
|
|
6712
7484
|
},
|
|
7485
|
+
{
|
|
7486
|
+
"type": "function",
|
|
7487
|
+
"name": "startDebugTraceRecording",
|
|
7488
|
+
"inputs": [],
|
|
7489
|
+
"outputs": [],
|
|
7490
|
+
"stateMutability": "nonpayable"
|
|
7491
|
+
},
|
|
6713
7492
|
{
|
|
6714
7493
|
"type": "function",
|
|
6715
7494
|
"name": "startMappingRecording",
|
|
@@ -6724,6 +7503,51 @@
|
|
|
6724
7503
|
"outputs": [],
|
|
6725
7504
|
"stateMutability": "nonpayable"
|
|
6726
7505
|
},
|
|
7506
|
+
{
|
|
7507
|
+
"type": "function",
|
|
7508
|
+
"name": "stopAndReturnDebugTraceRecording",
|
|
7509
|
+
"inputs": [],
|
|
7510
|
+
"outputs": [
|
|
7511
|
+
{
|
|
7512
|
+
"name": "step",
|
|
7513
|
+
"type": "tuple[]",
|
|
7514
|
+
"internalType": "struct VmSafe.DebugStep[]",
|
|
7515
|
+
"components": [
|
|
7516
|
+
{
|
|
7517
|
+
"name": "stack",
|
|
7518
|
+
"type": "uint256[]",
|
|
7519
|
+
"internalType": "uint256[]"
|
|
7520
|
+
},
|
|
7521
|
+
{
|
|
7522
|
+
"name": "memoryInput",
|
|
7523
|
+
"type": "bytes",
|
|
7524
|
+
"internalType": "bytes"
|
|
7525
|
+
},
|
|
7526
|
+
{
|
|
7527
|
+
"name": "opcode",
|
|
7528
|
+
"type": "uint8",
|
|
7529
|
+
"internalType": "uint8"
|
|
7530
|
+
},
|
|
7531
|
+
{
|
|
7532
|
+
"name": "depth",
|
|
7533
|
+
"type": "uint64",
|
|
7534
|
+
"internalType": "uint64"
|
|
7535
|
+
},
|
|
7536
|
+
{
|
|
7537
|
+
"name": "isOutOfGas",
|
|
7538
|
+
"type": "bool",
|
|
7539
|
+
"internalType": "bool"
|
|
7540
|
+
},
|
|
7541
|
+
{
|
|
7542
|
+
"name": "contractAddr",
|
|
7543
|
+
"type": "address",
|
|
7544
|
+
"internalType": "address"
|
|
7545
|
+
}
|
|
7546
|
+
]
|
|
7547
|
+
}
|
|
7548
|
+
],
|
|
7549
|
+
"stateMutability": "nonpayable"
|
|
7550
|
+
},
|
|
6727
7551
|
{
|
|
6728
7552
|
"type": "function",
|
|
6729
7553
|
"name": "stopAndReturnStateDiff",
|